/**
*/

/**
* Check out variables.css for easy customization of colors, typography, and other repetitive properties
*/
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
}

/* Section backgrounds come from content JSON. White is the only fallback.
   Editor choices intentionally override legacy utility and ID selectors. */
[data-editor-section] { background-color: #fff !important; }

body {
  font-size: 20px;
  line-height: 1.7em;
  color: var(--color-default);
}

a {
  color: var(--color-links);
  text-decoration: none;
}

a:hover {
  color: var(--color-links-hover);
}

b {
  font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
}

h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 48px;
}
h2 {
  font-size: 40px;
}
h3 {
  font-size: 32px;
}
h4 {
  font-size: 24px;
}
h5 {
  font-size: 24px;
}
p {
  font-size: 18px;
}

.btn-rounded{
  border-radius: 8px;
}
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: visible;
  background: var(--color-white);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--color-primary);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  animation-delay: -0.5s;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Sections & Section Header
--------------------------------------------------------------*/
section {
  padding: 10px 0;
  overflow: hidden;
}

.section-header {
  text-align: center;
  padding-bottom: 40px;
}

.section-title {
  font-weight: 600;
  font-size: 32px;
  color: var(--color-secondary);
  font-family: var(--font-display);

}

/* I titoli delle card condividono il font-display dei titoli di sezione. */
.blog .posts-list .title,
.blog .posts-list .title a {
  font-family: var(--font-display);
}

.section-header h2 {
  font-size: 48px;
  /* font-weight: 300; */
  margin-bottom: 20px;
  color: var(--color-secondary);
}

.section-header p {
  margin: 0 auto;
  color: var(--color-secondary-light);
}

@media (min-width: 1280px) {
  .section-header p {
    max-width: 80%;
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background: #7b7b7b0d;
  min-height: 40px;
  margin-top: 76px;
}

.breadcrumbs h2 {
  font-size: 30px;
  font-weight: 300;
  margin: 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: var(--color-secondary-light);
  content: "/";
}

@media (max-width: 992px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs h2 {
    margin-bottom: 10px;
    font-size: 24px;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 995;
  background: var(--color-primary);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--color-white);
  line-height: 0;
}

.scroll-top:hover {
  background: rgba(var(--color-primary-rgb), 0.85);
  color: var(--color-white);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Cookie banner
--------------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 996;
  padding: 16px 0;
  background: rgba(var(--color-secondary-rgb), 0.96);
  color: var(--color-white);
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.18);
}

.cookie-banner.d-none {
  display: none !important;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner__content {
  max-width: 760px;
}

.cookie-banner__eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 6px;
}

.cookie-banner__title {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--color-white);
}

.cookie-banner__text {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.88);
}

.cookie-banner__link {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cookie-banner__actions .btn {
  min-width: 150px;
  border-radius: 8px;
  font-weight: 600;
}

/*--------------------------------------------------------------
# Video player
--------------------------------------------------------------*/
.video-player {
  margin: 2rem auto;
  max-width: 960px;
}

.video-player__frame,
.video-player__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}

.video-player__media {
  display: block;
  background: #111;
}

.video-player__external {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 2rem;
  background-color: var(--color-secondary);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.video-player__external::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.video-player__external {
  position: relative;
}

.video-player__external iframe {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.video-player__consent {
  position: relative;
  max-width: 600px;
  padding: 1.5rem;
  color: var(--color-white);
  text-align: center;
}

.video-player__consent p {
  color: var(--color-white);
}

.video-player__title {
  font-size: 1.35rem;
  font-weight: 600;
}

.video-player__manage {
  display: block;
  margin: 0.5rem auto 0;
  color: var(--color-white);
}

.video-player figcaption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .cookie-banner {
    padding: 14px 0 calc(14px + env(safe-area-inset-bottom));
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions .btn {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header.sticked {
  background: var(--color-white);
  box-shadow: 0px 2px 20px rgba(var(--color-secondary-rgb), 0.1);
}

.header .logo img {
  max-height: 40px;
  margin-right: 6px;
  margin-top: 10px;
}

.header .logo h1 {
  font-size: 32px;
  font-weight: 300;
  color: var(--color-secondary);
  font-family: var(--font-secondary);
}

.header .logo h1 span {
  color: var(--color-primary);
  font-weight: 500;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  font-size: 16px;
  color: var(--color-white);
  background: var(--color-primary);
  padding: 8px 23px;
  border-radius: 4px;
  transition: 0.3s;
  font-family: var(--font-secondary);
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--color-white);
  background: rgba(var(--color-primary-rgb), 0.85);
}



@media (max-width: 1279px) {

  .header .btn-getstarted,
  .header .btn-getstarted:focus {
    margin-right: 50px;
  }
}

/*--------------------------------------------------------------
# Desktop Navigation 
--------------------------------------------------------------*/
.header > .container {
  position: relative;
}

.site-search-header {
  position: relative;
}

.header-social-links {
  display: none;
}

@media (min-width: 1280px) {
  .header-social-links {
    align-items: center;
    display: flex;
    gap: .25rem;
    margin-left: 1rem;
  }

  .header-social-links a {
    align-items: center;
    border: 1px solid rgba(var(--color-secondary-rgb), 0.35);
    border-radius: 50%;
    color: #1a1f24;
    display: inline-flex;
    font-size: 16px;
    height: 32px;
    justify-content: center;
    transition: 0.3s;
    width: 32px;
  }

  .header-social-links a:hover,
  .header-social-links a:focus-visible {
    background: var(--color-secondary);
    color: var(--color-white);
    text-decoration: none;
  }
}

.site-search-header__toggle {
  border: 0;
  background: transparent;
  color: #1a1f24;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 8px;
}

.site-search-header__form {
  background: var(--color-white);
  box-shadow: 0 10px 24px rgba(var(--color-secondary-rgb), 0.16);
  min-width: 270px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 1000;
}

.mobile-search {
  display: none;
}

@media (max-width: 575px) {
  .site-search-header__form {
    min-width: min(270px, calc(100vw - 32px));
  }
}

@media (min-width: 1280px) {
  .navbar {
    padding: 0;
    position: relative;
  }

  .navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navbar li {
    position: relative;
  }

  .navbar>ul>li {
    white-space: nowrap;
  }

  .navbar a,
  .navbar a:focus {
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 10px;
    margin: 7px 0px;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 400;
    color: #5D5E63;
    letter-spacing: 0.025em;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .header .navbar li:not(:last-child) a {
    border-right: 1px solid #D4D4D4;
  }

  .header .navbar > ul > li.menu-item-last > a {
    border-right: 0;
  }

  .header .navbar li:last-child a {
    padding-right: 0;
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navbar>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    visibility: hidden;
    transition: all 0.3s ease-in-out 0s;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out 0s;
  }

  .navbar a:hover:before,
  .navbar li:hover>a:before,
  .navbar .active:before {
    visibility: visible;
    transform: scaleX(0.7);
  }

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover>a {
    color: var(--color-primary);
  }

  .navbar .dropdown a:hover:before,
  .navbar .dropdown:hover>a:before,
  .navbar .dropdown .active:before {
    visibility: hidden;
  }

  .navbar .dropdown a:hover,
  .navbar .dropdown .active,
  .navbar .dropdown .active:focus,
  .navbar .dropdown:hover>a {
    color: var(--color-primary);
    background: transparent;
  }

  .navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 0;
    top: 100%;
    width: max-content;
    min-width: 280px;
    margin: 0;
    padding: 0 0 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: var(--color-white);
    border: 1px solid rgba(var(--color-secondary-rgb), 0.12);
    box-shadow: 0 10px 24px rgba(var(--color-secondary-rgb), 0.12);
    transition: 0.3s;
  }

  .navbar .dropdown ul li {
    min-width: 200px;
  }

  .navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    font-weight: 400;
    color: var(--color-secondary);
    white-space: nowrap;
  }

  .navbar .dropdown ul a i {
    font-size: 12px;
  }

  .navbar .dropdown ul a:hover,
  .navbar .dropdown ul .active,
  .navbar .dropdown ul .active:hover,
  .navbar .dropdown ul li:hover>a {
    color: var(--color-white);
    background: var(--color-primary);
  }

  .navbar .dropdown:hover>ul {
    opacity: 1;
    visibility: visible;
  }

  .navbar .megamenu {
    position: static;
  }

  .navbar .megamenu ul {
    right: 0;
    padding: 10px;
    display: flex;
  }

  .navbar .megamenu ul li {
    flex: 1;
  }

  .navbar .megamenu ul li a,
  .navbar .megamenu ul li:hover>a {
    color: rgba(var(--color-white-rgb), 0.5);
    background: none;
  }

  .navbar .megamenu ul li a:hover,
  .navbar .megamenu ul li .active,
  .navbar .megamenu ul li .active:hover {
    color: var(--color-white);
    background: var(--color-primary);
  }

  .navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
  }

  .navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
  }
}

@media (min-width: 1280px) and (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
@media (max-width: 1279px) {
  .site-search-header {
    display: none;
  }

  .mobile-search {
    display: block;
    padding: 10px 20px 20px;
  }

  .mobile-search form {
    width: 100%;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: -100%;
    width: calc(100% - 70px);
    bottom: 0;
    transition: 0.3s;
    z-index: 9997;
  }

  .navbar ul {
    position: absolute;
    inset: 0;
    padding: 10px 0;
    margin: 0;
    background: rgba(var(--color-secondary-rgb), 0.9);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(var(--color-white-rgb), 0.7);
    white-space: nowrap;
    transition: 0.3s;
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover>a {
    color: var(--color-white);
  }

  .navbar .dropdown ul,
  .navbar .dropdown .dropdown ul {
    position: static;
    display: none;
    padding: 10px 0;
    margin: 10px 20px;
    transition: all 0.5s ease-in-out;
    border: 1px solid rgba(var(--color-secondary-light-rgb), 0.3);
  }

  .navbar .dropdown>.dropdown-active,
  .navbar .dropdown .dropdown>.dropdown-active {
    display: block;
  }

  .mobile-nav-toggle {
    display: block !important;
    color: var(--color-secondary);
    font-size: 28px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    position: fixed;
    top: 20px;
    z-index: 9999;
    right: 20px;
  }

  .mobile-nav-toggle.bi-x {
    color: var(--color-white);
  }

  .mobile-nav-active {
    overflow: hidden;
    z-index: 9995;
    position: relative;
  }

  .mobile-nav-active .navbar {
    left: 0;
  }

}

.mobile-nav-backdrop {
  display: none;
}

.mobile-nav-active .mobile-nav-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(var(--color-secondary-rgb), 0.8);
  z-index: 9996;
}

/*--------------------------------------------------------------
# Index Page
--------------------------------------------------------------*/


@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/*--------------------------------------------------------------
# Carousel Hero Section
--------------------------------------------------------------*/

.hero {
  background-size: cover;
  background-repeat: no-repeat;
}

.hero3 {
  background-image: url(/static/images/hero1.svg);
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-title{
  font-family: var(--font-display);
  max-width: 550px;
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.18;
  color: #326D94;
  letter-spacing: -0.02em;
}

.home-solutions .section-header h2 {
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.25;
}

.home-solutions .section-header p {
  max-width: 760px;
  margin-inline: auto;
  line-height: 1.6;
}

.home-hero-chat {
  width: 100%;
  max-width: 550px;
}

.home-hero-chat > kai-chat-box {
  display: block;
  width: 100%;
  min-width: 0;
}

.hero-subtitle {
  max-width: 550px;
  font-family: 'Poppins', var(--font-secondary);
  color: #707176;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.features {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;
	background-image: url(/static/images/bg1.svg);
  background-blend-mode: color-dodge;
}
.text-new-color {
  color: #5D86A0 !important;
}

.hero .carousel-item {
  overflow: hidden;
}

@media (max-width: 640px) {
  .hero .container {
    padding: 0 60px;
  }
}

.hero h2 {
  color: var(--color-secondary);
  margin-bottom: 25px;
  font-size: 48px;
  font-weight: 300;
  animation: fadeInDown 1s both 0.2s;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 30px;
  }
}

.hero p {
  color: var(--color-secondary-light);
  animation: fadeInDown 1s both 0.4s;
  font-weight: 500;
  margin-bottom: 30px;
}

.hero .img {
  margin-bottom: 40px;
  animation: fadeInDownLite 1s both;
}

.hero .btn-get-started {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 32px;
  border-radius: 5px;
  transition: 0.5s;
  animation: fadeInUp 1s both 0.6s;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.hero .btn-get-started:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.hero .carousel-control-prev {
  justify-content: start;
}

@media (min-width: 640px) {
  .hero .carousel-control-prev {
    padding-left: 15px;
  }
}

.hero .carousel-control-next {
  justify-content: end;
}

@media (min-width: 640px) {
  .hero .carousel-control-next {
    padding-right: 15px;
  }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  font-size: 26px;
  line-height: 0;
  background: rgba(var(--color-secondary-rgb), 0.4);
  color: rgba(var(--color-white-rgb), 0.98);
  border-radius: 50px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .carousel-control-next-icon {
  padding-left: 3px;
}

.hero .carousel-control-prev-icon {
  padding-right: 3px;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  transition: 0.3s;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}

.hero .carousel-indicators li {
  list-style-type: none;
  cursor: pointer;
  background: rgba(var(--color-secondary-rgb), 0.5);
  overflow: hidden;
  border: 0;
  width: 12px;
  height: 12px;
  border-radius: 50px;
  opacity: 0.6;
  transition: 0.3s;
}

.hero .carousel-indicators li.active {
  opacity: 1;
  background: var(--color-primary);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDownLite {
  from {
    opacity: 0;
    transform: translate3d(0, -10%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}


/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services .service-item {
  padding: 30px;
  transition: all ease-in-out 0.4s;
  background: var(--color-white);
  height: 100%;
}

.featured-services .service-item .icon {
  margin-bottom: 10px;
}

.featured-services .service-item .icon i {
  color: var(--color-primary);
  font-size: 36px;
  transition: 0.3s;
}

.featured-services .service-item h4 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 24px;
}

.featured-services .service-item h4 a {
  color: var(--color-secondary);
  transition: ease-in-out 0.3s;
}

.featured-services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.featured-services .service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0px 0 60px 0 rgba(var(--color-secondary-rgb), 0.1);
}

.featured-services .service-item:hover h4 a {
  color: var(--color-primary);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .about-img {
  position: relative;
  margin: 60px 0 0 60px;
}

.about .about-img:before {
  position: absolute;
  inset: -60px 0 0 -60px;
  z-index: -1;
  content: "";
  background: url("/static/img/about-bg.png") top left;
  background-repeat: no-repeat;
}

@media (max-width: 575px) {
  .about .about-img {
    margin: 30px 0 0 30px;
  }

  .about .about-img:before {
    inset: -30px 0 0 -30px;
  }
}

.about h3 {
  color: var(--color-secondary);
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 32px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .about h3 {
    font-size: 28px;
  }
}

.about .nav-pills {
  border-bottom: 1px solid rgba(var(--color-secondary-rgb), 0.2);
}

.about .nav-pills li+li {
  margin-left: 40px;
}

.about .nav-link {
  background: none;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-secondary);
  padding: 12px 0;
  margin-bottom: -2px;
  border-radius: 0;
  font-family: var(--font-secondary);
}

.about .nav-link.active {
  color: var(--color-primary);
  background: none;
  border-bottom: 3px solid var(--color-primary);
}

@media (max-width: 575px) {
  .about .nav-link {
    font-size: 16px;
  }
}

.about .tab-content h4 {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
  color: var(--color-secondary);
}

.about .tab-content i {
  font-size: 22px;
  line-height: 0;
  margin-right: 8px;
  color: var(--color-primary);
}


/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
#cta {
  background-color: #fff;
  padding: 120px 0;
  color: var(--color-white);
}

.cta-section {
  position: relative;
  min-height: 500px;
  background-color: #fff;
  color: var(--color-white);
  overflow: hidden;
}

.cta-section .section-title {
  color: var(--color-white);
}

.cta-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: url("/static/images/home/target.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.cta-section.cta-custom-image::after { display: none; }
.cta-editor-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 767.98px) {
  .cta-editor-image { display: none; }
  .cta-section::after {
      display: none;
  }
}

/* il contenuto resta sopra lo sfondo */
.cta-section .container {
  position: relative;
  z-index: 1;
}


.cta .content .cta-btn:hover {
  background: var(--color-primary);
}

.cta .img {
  position: relative;
}

.cta .img img {
  position: relative;
  z-index: 3;
  border-radius: 15px;
}

/*--------------------------------------------------------------
# On Focus Section
--------------------------------------------------------------*/
.onfocus {
  padding: 0;
}

.onfocus .video-play {
  min-height: 400px;
  background: linear-gradient(rgba(var(--color-black-rgb), 0.4), rgba(var(--color-black-rgb), 0.7)), url("/static/img/onfocus-video-bg.jpg") center center;
  background-size: cover;
}

.onfocus .content {
  background: linear-gradient(rgba(var(--color-secondary-rgb), 0.5), rgba(var(--color-secondary-rgb), 0.8)), url("/static/img/onfocus-content-bg.jpg") center center;
  background-size: cover;
  color: rgba(var(--color-white-rgb), 0.8);
  padding: 40px;
}

@media (min-width: 768px) {
  .onfocus .content {
    padding: 80px;
  }
}

.onfocus .content h3 {
  font-weight: 600;
  font-size: 32px;
  color: var(--color-white);
}

.onfocus .content ul {
  list-style: none;
  padding: 0;
}

.onfocus .content ul li {
  padding-bottom: 10px;
}

.onfocus .content ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--color-primary);
}

.onfocus .content p:last-child {
  margin-bottom: 0;
}

.onfocus .content .read-more {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 5px;
  transition: 0.3s;
  display: -nline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  background: var(--color-primary);
}

.onfocus .content .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.onfocus .content .read-more:hover {
  background: rgba(var(--color-primary-rgb), 0.9);
  color: white;
  padding-right: 19px;
}

.onfocus .content .read-more:hover i {
  margin-left: 10px;
}

.onfocus .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--color-primary) 50%, rgba(var(--color-primary-rgb), 0.4) 52%);
  border-radius: 50%;
  display: block;
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
  overflow: hidden;
}

.onfocus .play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(var(--color-primary-rgb), 0.7);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.onfocus .play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--color-white);
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.onfocus .play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--color-white);
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.onfocus .play-btn:hover:after {
  border-left: 15px solid var(--color-primary);
  transform: scale(20);
}

@keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .nav-tabs {
  border: 0;
}

.features .nav-link {
  border: 0;
  padding: 25px 20px;
  color: var(--color-secondary);
  box-shadow: 5px 5px 25px rgba(var(--color-secondary-rgb), 0.15);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: 0s;
  cursor: pointer;
  height: 100%;
}

.features .nav-link i {
  font-size: 32px;
  line-height: 0;
}

.features .nav-link h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 10px 0 0 0;
  color: var(--color-secondary);
}

.features .nav-link:hover {
  color: var(--color-primary);
}

.features .nav-link.active {
  transition: 0.3s;
  background: var(--color-secondary) linear-gradient(rgba(var(--color-primary-rgb), 0.95), rgba(var(--color-primary-rgb), 0.6));
  border-color: var(--color-primary);
}

.features .nav-link.active h4 {
  color: var(--color-white);
}

.features .nav-link.active i {
  color: var(--color-white) !important;
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.features .tab-pane h3 {
  font-weight: 600;
  font-size: 36px;
  color: var(--color-secondary);
}

.features .tab-pane ul {
  list-style: none;
  padding: 0;
}

.features .tab-pane ul li {
  padding-bottom: 10px;
}

.features .tab-pane ul i {
  font-size: 24px;
  margin-right: 4px;
  color: var(--color-primary);
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .img {
  border-radius: 8px;
  overflow: hidden;
}

.services .img img {
  transition: 0.6s;
}

.services .details {
  padding: 30px 30px;
  margin: -100px 30px 0 30px;
  transition: all ease-in-out 0.3s;
  background: var(--color-white);
  position: relative;
  background: rgba(var(--color-white-rgb), 0.9);
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 0 25px rgba(var(--color-black-rgb), 0.1);
}

.services .details .icon {
  margin: 0;
  width: 72px;
  height: 72px;
  background: var(--color-primary);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-white);
  font-size: 28px;
  transition: ease-in-out 0.3s;
  position: absolute;
  top: -36px;
  left: calc(50% - 36px);
  border: 6px solid var(--color-white);
}

.services .details h3 {
  color: var(--color-default);
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: ease-in-out 0.3s;
}

.services .details p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover .details h3 {
  color: var(--color-primary);
}

.services .service-item:hover .details .icon {
  background: var(--color-white);
  border: 2px solid var(--color-primary);
}

.services .service-item:hover .details .icon i {
  color: var(--color-primary);
}

.services .service-item:hover .img img {
  transform: scale(1.2);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  background: url("/static/img/testimonials-bg.jpg") no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(var(--color-secondary-dark-rgb), 0.8);
}

.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
  color: var(--color-white);
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid rgba(var(--color-white-rgb), 0.15);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: var(--color-white);
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: rgba(var(--color-white-rgb), 0.6);
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: var(--color-yellow);
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: rgba(var(--color-white-rgb), 0.6);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(var(--color-white-rgb), 0.4);
  opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-white);
  opacity: 1;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing {
  background: rgba(var(--color-secondary-rgb), 0.04);
}

.pricing .pricing-item {
  padding: 60px 40px;
  box-shadow: 0 3px 20px -2px rgba(var(--color-gray-rgb), 0.15);
  background: var(--color-white);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 4px solid var(--color-white);
  border-radius: 10px;
  overflow: hidden;
}

.pricing .pricing-header {
  background: linear-gradient(rgba(var(--color-secondary-rgb), 0.9), rgba(var(--color-secondary-rgb), 0.9)), url("/static/img/pricing-bg.jpg") center center;
  background-size: cover;
  text-align: center;
  padding: 40px;
  margin: -60px -40px 0;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 36px;
  color: var(--color-white);
}

.pricing h4 {
  font-size: 48px;
  color: var(--color-white);
  font-weight: 400;
  font-family: var(--font-primary);
  margin-bottom: 0;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: rgba(var(--color-white-rgb), 0.6);
  font-size: 24px;
}

.pricing ul {
  padding: 30px 0;
  list-style: none;
  color: var(--color-gray);
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.pricing ul i {
  color: var(--color-primary);
  font-size: 36px;
  padding-right: 3px;
  line-height: 0;
}

.pricing ul .na {
  color: rgba(var(--color-gray-rgb), 0.5);
}

.pricing ul .na i {
  color: rgba(var(--color-gray-rgb), 0.5);
  font-size: 24px;
  padding-left: 4px;
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .buy-btn {
  display: inline-block;
  padding: 12px 40px;
  border-radius: 6px;
  color: var(--color-primary);
  transition: none;
  font-size: 16px;
  font-weight: 700;
  transition: 0.3s;
  border: 1px solid var(--color-primary);
}

.pricing .buy-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.pricing .featured {
  border-color: var(--color-primary);
}

.pricing .featured .pricing-header {
  background: linear-gradient(rgba(var(--color-primary-rgb), 0.9), rgba(var(--color-primary-rgb), 0.9)), url("/static/img/pricing-bg.jpg") center center;
}

.pricing .featured .buy-btn {
  background: var(--color-primary);
  color: var(--color-white);
}

/*--------------------------------------------------------------
# F.A.Q Section
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .faq {
    padding: 0;
  }
}

.faq .content h3 {
  font-weight: 400;
  font-size: 34px;
  color: var(--color-secondary);
}

.faq .content h4 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 5px;
}

.faq .content p {
  font-size: 15px;
  color: var(--color-gray);
}

.faq .img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 400px;
}

.faq .accordion-item {
  border: 0;
  margin-top: 15px;
  box-shadow: 0px 5px 25px 0px rgba(var(--color-black-rgb), 0.06);
}

.faq .accordion-collapse {
  border: 0;
}

.faq .accordion-button {
  padding: 15px 40px 20px 60px;
  font-weight: 600;
  border: 0;
  font-size: 18px;
  color: var(--color-default);
  text-align: left;
  background: var(--color-white);
  box-shadow: none;
  border-radius: 5px;
}

.faq .accordion-button:not(.collapsed) {
  color: var(--color-primary);
  border-bottom: 0;
  box-shadow: none;
}

.faq .question-icon {
  position: absolute;
  top: 14px;
  left: 25px;
  font-size: 20px;
  color: var(--color-primary);
}

.faq .accordion-button:after {
  position: absolute;
  right: 15px;
  top: 15px;
  color: var(--color-primary);
}

.faq .accordion-body {
  padding: 0 30px 25px 60px;
  border: 0;
  border-radius: 5px;
  background: var(--color-white);
  box-shadow: none;
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-flters {
  padding: 0;
  margin: 0 auto 0px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 300;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-flters li:hover,
.portfolio .portfolio-flters li.filter-active {
  color: var(--color-primary);
}

.portfolio .portfolio-flters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-flters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-flters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-item {
  position: relative;
  border: 1px solid var(--color-white);
  overflow: hidden;
  z-index: 1;
}

.portfolio .portfolio-item img {
  transition: all 0.3s;
}

.portfolio .portfolio-item:before {
  content: "";
  inset: 0;
  position: absolute;
  background: rgba(var(--color-secondary-rgb), 0.8);
  z-index: 2;
  transition: 0.5s;
  visibility: hidden;
  opacity: 0;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: auto 40px 40px 40px;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  padding: 20px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: rgba(var(--color-white-rgb), 0.7);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--color-white);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover:before {
  visibility: visible;
  opacity: 1;
}

.portfolio .portfolio-item:hover img {
  transform: scale(1.2);
}
.scale {
  transition: transform .4s; /* Animation */
}
.scale:hover {
  transform: scale(1.2);
}
.client-logo img {
  width: 100%;
  height: auto;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  inset: auto 10px 0 10px;
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member .member-img {
  border-radius: 8px;
  overflow: hidden;
}

.team .team-member .social {
  position: absolute;
  left: 0;
  top: -18px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team .team-member .social a {
  transition: color 0.3s;
  color: var(--color-white);
  background: var(--color-primary);
  margin: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: 0.3s;
}

.team .team-member .social a i {
  line-height: 0;
  font-size: 16px;
}

.team .team-member .social a:hover {
  background: var(--color-primary-light);
}

.team .team-member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.team .team-member .member-info {
  padding: 30px 15px;
  text-align: center;
  box-shadow: 0px 2px 15px rgba(var(--color-black-rgb), 0.1);
  background: var(--color-white);
  margin: -50px 20px 0 20px;
  position: relative;
  border-radius: 8px;
}

.team .team-member .member-info h4 {
  font-weight: 400;
  margin-bottom: 5px;
  font-size: 24px;
  color: var(--color-secondary);
}

.team .team-member .member-info span {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-gray);
}

.team .team-member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: var(--color-gray);
}

.team .team-member:hover .social {
  opacity: 1;
}

/*--------------------------------------------------------------
# Recent Blog Posts
--------------------------------------------------------------*/
.recent-blog-posts .post-box {
  transition: 0.3s;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.recent-blog-posts .post-box .post-img {
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}

.recent-blog-posts .post-box .post-img img {
  transition: 0.5s;
}

.recent-blog-posts .post-box .meta {
  margin-top: 15px;
}

.recent-blog-posts .post-box .meta .post-date {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-primary);
}

.recent-blog-posts .post-box .meta .post-author {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-secondary);
}

.recent-blog-posts .post-box .post-title {
  font-size: 24px;
  color: var(--color-secondary);
  font-weight: 700;
  margin: 15px 0 0 0;
  position: relative;
  transition: 0.3s;
}

.recent-blog-posts .post-box p {
  margin: 15px 0 0 0;
  color: rgba(var(--color-secondary-dark-rgb), 0.7);
}

.recent-blog-posts .post-box .readmore {
  display: flex;
  align-items: center;
  font-weight: 600;
  line-height: 1;
  transition: 0.3s;
  margin-top: 15px;
}

.recent-blog-posts .post-box .readmore i {
  line-height: 0;
  margin-left: 4px;
  font-size: 18px;
}

.recent-blog-posts .post-box:hover .post-title {
  color: var(--color-primary);
}

.recent-blog-posts .post-box:hover .post-img img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .map {
  margin-bottom: 40px;
}

.contact .map iframe {
  border: 0;
  width: 100%;
  height: 400px;
}

.contact .info {
  padding: 40px;
  box-shadow: 0px 2px 15px rgba(var(--color-black-rgb), 0.1);
  overflow: hidden;
}

.contact .info h3 {
  font-weight: 600;
  font-size: 24px;
}

.contact .info p {
  color: var(--color-secondary-light);
  margin-bottom: 30px;
  font-size: 15px;
}

.contact .info-item+.info-item {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(var(--color-secondary-rgb), 0.15);
}

.contact .info-item i {
  font-size: 24px;
  color: var(--color-primary);
  transition: all 0.3s ease-in-out;
  margin-right: 20px;
}

.contact .info-item h4 {
  padding: 0;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--color-secondary);
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
  color: var(--color-secondary-light);
}

.contact .php-email-form {
  width: 100%;
  background: var(--color-white);
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .error-message {
  display: none;
  color: var(--color-white);
  background: var(--color-red);
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: var(--color-white);
  background: var(--color-green);
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: var(--color-white);
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--color-green);
  border-top-color: var(--color-white);
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  border-radius: 0px;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--color-secondary-light);
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email] {
  height: 48px;
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
  height: 290px;
}

.contact .php-email-form button[type=submit] {
  background: var(--color-primary);
  border: 0;
  padding: 13px 50px;
  color: var(--color-white);
  transition: 0.4s;
  border-radius: 0;
}

.contact .php-email-form button[type=submit]:hover {
  background: rgba(var(--color-primary-rgb), 0.85);
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--color-white);
  opacity: 1;
  border: 1px solid var(--color-primary);
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(var(--color-secondary-rgb), 0.15);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-secondary-light);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Blog Stylings
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Blog Home Posts List
--------------------------------------------------------------*/
.blog .posts-list article {
  box-shadow: 0 4px 16px rgba(var(--color-black-rgb), 0.1);
  padding: 30px;
  height: 100%;
  border-radius: 8px;
}

.blog .posts-list article+article {
  margin-top: 60px;
}

.blog .posts-list .post-img {
  height: 240px;
  margin: -30px -30px 0 -30px;
  overflow: hidden;
  border-radius: 8px 8px 0 0 ;
}
.blog .posts-list .post-img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.blog .posts-list .title {
  font-size: 24px;
  font-weight: 600;
  padding: 0;
  margin: 20px 0 0 0;
}

.blog .posts-list .title a {
  color: var(--color-secondary);
  transition: 0.3s;
}

.blog .posts-list .title a:hover {
  color: var(--color-primary);
}

.blog .posts-list .meta-top {
  margin-top: 20px;
  color: var(--color-gray);
}

.blog .posts-list .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog .posts-list .meta-top ul li+li {
  padding-left: 20px;
}

.blog .posts-list .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: rgba(var(--color-primary-rgb), 0.8);
}

.blog .posts-list .meta-top a {
  color: var(--color-gray);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog .posts-list .content {
  margin-top: 20px;
}

.blog .posts-list .read-more a {
  display: inline-block;
  background: white;
  color: #4F7892;
  border: 2px solid #4F7892;
  padding: 8px 30px;
  transition: 0.3s;
  font-size: 14px;
  border-radius: 8px;
}

.blog .posts-list .read-more a:hover {
  background: #3f667e;
  color: white;
}

/* Compact blog previews (related + product gallery) */
.blog.blog-compact .posts-list article {
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

.blog.blog-compact .posts-list .post-preview {
  gap: 16px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(var(--color-black-rgb), 0.1);
  border-radius: 8px;
}

.blog.blog-compact .posts-list .post-thumb {
  flex: 0 0 180px;
  max-width: 180px;
  display: block;
  overflow: hidden;
  border-radius: 8px 0 0px 8px;
}

.blog.blog-compact .posts-list .post-thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.blog.blog-compact .posts-list .post-body {
  flex: 1 1 auto;
}

.blog.blog-compact .posts-list .title {
  display: block;
  font-size: 18px;
  margin: 0 0 8px 0;
}

.blog.blog-compact .posts-list .meta-top {
  display: block;
  margin-top: 0;
}

.blog.blog-compact .posts-list .content {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.blog.blog-compact .posts-list .post-preview:hover .title {
  color: var(--color-primary);
}

@media (max-width: 991px) {
  .blog.blog-compact .posts-list .post-preview {
    flex-direction: column;
    gap: 10px;
  }

  .blog.blog-compact .posts-list .post-thumb {
    max-width: 100%;
    flex-basis: auto;
    width: 100%;
    border-radius: 8px 8px 0 0 ;
  }

  .blog.blog-compact .posts-list .post-thumb img {
    height: 140px;
  }

  .blog.blog-compact .posts-list .post-body {
    padding: 16px;
  }
}

@media (max-width: 576px) {
  .blog.blog-compact .posts-list .post-preview {
    padding: 8px 0;
  }

  .blog.blog-compact .posts-list .title {
    font-size: 16px;
  }

  .blog.blog-compact .posts-list .content {
    font-size: 13px;
  }

  .blog.blog-compact .posts-list .post-thumb img {
    height: 120px;
  }
}

/*--------------------------------------------------------------
# Project contact landing page
--------------------------------------------------------------*/
.project-contact-page-hero .hero2 {
  min-height: 480px;
  padding-top: 82px;
  padding-bottom: 96px;
  background-size: auto 470px;
  background-position: right bottom;
}

.project-contact-page-hero .hero2 h1 {
  max-width: 500px;
  margin-bottom: 0;
  padding-bottom: 24px !important;
  font-size: clamp(46px, 5.2vw, 66px);
  line-height: 0.98;
  letter-spacing: -1.5px;
}

.project-contact-page-hero .hero2 .mb-4 {
  font-size: 18px;
  line-height: 1.55;
}

.project-contact-page-hero + .container {
  margin-bottom: 42px !important;
}

.project-contact-page-hero + .container .linea-full {
  height: 28px;
  opacity: 0.68;
}

.project-contact-page > .mb-5:first-child {
  margin-bottom: 34px !important;
}

.project-contact-page > .mb-5:first-child p {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.55;
}

.project-contact-page h2 {
  color: var(--color-secondary);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.2;
}

.project-contact-page p {
  font-size: 16px;
  line-height: 1.55;
}

.project-contact-topics {
  margin-top: 30px;
  padding: 34px 0 46px;
}

.project-contact-topics > h2 {
  margin: 0 0 26px;
  color: #1763a5;
  font-size: 30px;
}

.project-contact-topic {
  min-height: 194px;
  padding: 24px 28px 22px;
  align-items: flex-start;
  border: 1px solid rgba(79, 120, 146, 0.2);
  border-radius: 14px;
  background: linear-gradient(145deg, #f8fbfd 0%, #ffffff 100%);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.project-contact-topics__grid {
  gap: 18px;
}

@media (min-width: 992px) {
  .project-contact-topic {
    flex: 1 1 0;
    max-width: none;
  }
}

.project-contact-topic + .project-contact-topic {
  margin-left: 0;
}

.project-contact-topic:last-child {
  border-right: 1px solid rgba(79, 120, 146, 0.2);
}

.project-contact-topic:hover {
  border-color: rgba(20, 103, 173, .45);
  box-shadow: 0 12px 28px rgba(22, 58, 82, .1);
  transform: translateY(-3px);
}

.project-contact-topic__icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 3px;
  color: #1467ad;
  font-size: 32px;
  line-height: 1;
}

.project-contact-topic h3 {
  margin: 0 0 9px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.project-contact-topic__link {
  color: var(--color-heading);
  text-decoration: none;
}

.project-contact-topic__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: #1467ad;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.project-contact-topic p {
  margin: 0;
  color: rgba(var(--color-default-rgb), 0.7);
  font-size: 14px;
  line-height: 1.45;
}

.project-contact-actions {
  margin: 4px 0 24px;
  padding: 28px 38px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef8ff 0%, #f4faff 100%);
}

.project-contact-actions__copy h2 {
  margin: 0 0 10px;
  color: #1763a5;
  font-size: 28px;
}

.project-contact-actions__copy p {
  max-width: 280px;
  margin: 0;
}

.project-contact-actions__buttons {
  min-width: 0;
}

.project-contact-action {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 10px 22px;
  border: 2px solid #1467ad;
  border-radius: 6px;
  color: #1467ad;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.project-contact-action i {
  min-width: 26px;
  font-size: 24px;
  text-align: center;
}

.project-contact-action--primary {
  background: #1467ad;
  color: #fff;
}

.project-contact-action:hover {
  background: #0e4f87;
  color: #fff;
  transform: translateY(-1px);
}

.project-contact-actions__benefits {
  padding-top: 16px;
  border-top: 1px solid rgba(20, 103, 173, 0.24);
  color: #1467ad;
  font-size: 14px;
}

.project-contact-actions__benefits span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.project-contact-actions__benefits i {
  font-size: 20px;
}

.project-contact-materials {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 28px;
  padding: 21px 38px;
  border-radius: 16px;
  background: #f2f9fe;
}

.project-contact-materials > i {
  color: #1467ad;
  font-size: 46px;
}

.project-contact-materials h2 {
  margin: 0 0 3px;
  color: #1763a5;
  font-size: 23px;
}

.project-contact-materials p {
  margin: 0;
  font-size: 14px;
}

.project-contact-materials a {
  color: #1467ad;
  font-weight: 700;
}

@media (max-width: 991px) {
  .project-contact-page-hero .hero2 {
    min-height: 430px;
    padding-top: 66px;
    padding-bottom: 230px;
    background-image: url('/static/images/hero/hero_contatti.png') !important;
    background-size: min(76vw, 460px) auto;
    background-position: center bottom;
  }

  .project-contact-page-hero .hero2 h1 {
    max-width: 430px;
    font-size: 48px;
  }

  .project-contact-topic,
  .project-contact-topic + .project-contact-topic {
    min-height: 0;
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(79, 120, 146, 0.2);
  }

  .project-contact-topics__grid {
    gap: 0;
  }

  .project-contact-topic:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .project-contact-actions {
    padding: 26px 28px 20px;
  }

  .project-contact-actions__copy p {
    max-width: 600px;
  }
}

@media (max-width: 576px) {
  .project-contact-page-hero .hero2 {
    min-height: 390px;
    padding-top: 48px;
    padding-bottom: 190px;
    background-size: 100% auto;
  }

  .project-contact-page-hero .hero2 h1 {
    font-size: 42px;
  }

  .project-contact-page-hero .hero2 .mb-4 {
    font-size: 16px;
  }

  .project-contact-page {
    padding-inline: 4px;
  }

  .project-contact-actions,
  .project-contact-materials {
    padding-right: 20px;
    padding-left: 20px;
  }

  .project-contact-actions__benefits {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .project-contact-action {
    padding-right: 14px;
    padding-left: 14px;
    font-size: 13px;
  }

  .project-contact-materials {
    align-items: flex-start;
    gap: 14px;
  }

  .project-contact-materials > i {
    font-size: 38px;
  }
}

/*--------------------------------------------------------------
# Blog Details Page
--------------------------------------------------------------*/
.blog .blog-details {
  box-shadow: 0 4px 16px rgba(var(--color-black-rgb), 0.1);
  padding: 30px;
}

.blog .blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog .blog-details .title {
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 20px 0 0 0;
  color: var(--color-secondary);
}

.blog .blog-details .content {
  margin-top: 20px;
}

.blog .blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog .blog-details .content blockquote {
  overflow: hidden;
  background-color: rgba(var(--color-secondary-rgb), 0.06);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog .blog-details .content blockquote p {
  color: var(--color-default);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog .blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--color-secondary);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog .blog-details .meta-top {
  margin-top: 20px;
  color: var(--color-gray);
}

.blog .blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog .blog-details .meta-top ul li+li {
  padding-left: 20px;
}

.blog .blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: rgba(var(--color-primary-rgb), 0.8);
}

.blog .blog-details .meta-top a {
  color: var(--color-gray);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog .blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid rgba(var(--color-secondary-rgb), 0.15);
}

.blog .blog-details .meta-bottom i {
  color: var(--color-secondary-light);
  display: inline;
}

.blog .blog-details .meta-bottom a {
  color: rgba(var(--color-secondary-rgb), 0.8);
  transition: 0.3s;
}

.blog .blog-details .meta-bottom a:hover {
  color: var(--color-primary);
}

.blog .blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog .blog-details .meta-bottom .cats li {
  display: inline-block;
}

.blog .blog-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog .blog-details .meta-bottom .tags li {
  display: inline-block;
}

.blog .blog-details .meta-bottom .tags li+li::before {
  padding-right: 6px;
  color: var(--color-default);
  content: ",";
}

.blog .blog-details .meta-bottom .share {
  font-size: 16px;
}

.blog .blog-details .meta-bottom .share i {
  padding-left: 5px;
}

.blog .post-author {
  padding: 20px;
  margin-top: 30px;
  box-shadow: 0 4px 16px rgba(var(--color-black-rgb), 0.1);
}

.blog .post-author img {
  max-width: 120px;
  margin-right: 20px;
}

.blog .post-author h4 {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 0px;
  padding: 0;
  color: var(--color-secondary);
}

.blog .post-author .social-links {
  margin: 0 10px 10px 0;
}

.blog .post-author .social-links a {
  color: rgba(var(--color-secondary-rgb), 0.5);
  margin-right: 5px;
}

.blog .post-author p {
  font-style: italic;
  color: rgba(var(--color-gray-rgb), 0.8);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Sidebar
--------------------------------------------------------------*/
.blog .sidebar {
  padding: 30px;
  box-shadow: 0 4px 16px rgba(var(--color-black-rgb), 0.1);
}

.blog .sidebar .sidebar-title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0;
  color: var(--color-secondary);
}

.blog .sidebar .sidebar-item+.sidebar-item {
  margin-top: 40px;
}

.blog .sidebar .search-form form {
  background: var(--color-white);
  border: 1px solid rgba(var(--color-secondary-rgb), 0.3);
  padding: 3px 10px;
  position: relative;
}

.blog .sidebar .search-form form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
}

.blog .sidebar .search-form form input[type=text]:focus {
  outline: none;
}

.blog .sidebar .search-form form button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  background: var(--color-primary);
  color: var(--color-white);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.blog .sidebar .search-form form button i {
  line-height: 0;
}

.blog .sidebar .search-form form button:hover {
  background: rgba(var(--color-primary-rgb), 0.8);
}

.blog .sidebar .categories ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .categories ul li+li {
  padding-top: 10px;
}

.blog .sidebar .categories ul a {
  color: var(--color-secondary);
  transition: 0.3s;
}

.blog .sidebar .categories ul a:hover {
  color: var(--color-default);
}

.blog .sidebar .categories ul a span {
  padding-left: 5px;
  color: rgba(var(--color-default-rgb), 0.4);
  font-size: 14px;
}

.blog .sidebar .recent-posts .post-item {
  display: flex;
}

.blog .sidebar .recent-posts .post-item+.post-item {
  margin-top: 15px;
}

.blog .sidebar .recent-posts img {
  width: 80px;
  margin-right: 15px;
}

.blog .sidebar .recent-posts h4 {
  font-size: 18px;
  font-weight: 400;
}

.blog .sidebar .recent-posts h4 a {
  color: var(--color-secondary);
  transition: 0.3s;
}

.blog .sidebar .recent-posts h4 a:hover {
  color: var(--color-primary);
}

.blog .sidebar .recent-posts time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: rgba(var(--color-default-rgb), 0.4);
}

.blog .sidebar .tags {
  margin-bottom: -10px;
}

.blog .sidebar .tags ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .tags ul li {
  display: inline-block;
}

.blog .sidebar .tags ul a {
  color: var(--color-secondary-light);
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid rgba(var(--color-secondary-light-rgb), 0.8);
  display: inline-block;
  transition: 0.3s;
}

.blog .sidebar .tags ul a:hover {
  color: var(--color-white);
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
}

.blog .sidebar .tags ul a span {
  padding-left: 5px;
  color: rgba(var(--color-secondary-light-rgb), 0.8);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Blog Comments
--------------------------------------------------------------*/
.blog .comments {
  margin-top: 30px;
}

.blog .comments .comments-count {
  font-weight: bold;
}

.blog .comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog .comments .comment .comment-img {
  margin-right: 14px;
}

.blog .comments .comment .comment-img img {
  width: 60px;
}

.blog .comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog .comments .comment h5 a {
  font-weight: bold;
  color: var(--color-default);
  transition: 0.3s;
}

.blog .comments .comment h5 a:hover {
  color: var(--color-primary);
}

.blog .comments .comment h5 .reply {
  padding-left: 10px;
  color: var(--color-secondary);
}

.blog .comments .comment h5 .reply i {
  font-size: 20px;
}

.blog .comments .comment time {
  display: block;
  font-size: 14px;
  color: rgba(var(--color-secondary-rgb), 0.8);
  margin-bottom: 5px;
}

.blog .comments .comment.comment-reply {
  padding-left: 40px;
}

.blog .comments .reply-form {
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(var(--color-black-rgb), 0.1);
}

.blog .comments .reply-form h4 {
  font-weight: bold;
  font-size: 22px;
}

.blog .comments .reply-form p {
  font-size: 14px;
}

.blog .comments .reply-form input {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
}

.blog .comments .reply-form input:focus {
  box-shadow: none;
  border-color: rgba(var(--color-primary-rgb), 0.8);
}

.blog .comments .reply-form textarea {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
}

.blog .comments .reply-form textarea:focus {
  box-shadow: none;
  border-color: rgba(var(--color-primary-rgb), 0.8);
}

.blog .comments .reply-form .form-group {
  margin-bottom: 25px;
}

.blog .comments .reply-form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--color-secondary);
}

.blog .comments .reply-form .btn-primary:hover {
  background-color: rgba(var(--color-secondary-rgb), 0.8);
}

/*--------------------------------------------------------------
# Blog Home Pagination
--------------------------------------------------------------*/
.blog .blog-pagination {
  margin-top: 30px;
  color: var(--color-secondary-light);
}

.blog .blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog .blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog .blog-pagination li a {
  color: var(--color-secondary);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog .blog-pagination li.active,
.blog .blog-pagination li:hover {
  background: var(--color-primary);
}

.blog .blog-pagination li.active a,
.blog .blog-pagination li:hover a {
  color: var(--color-white);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  color: #333;
  font-size: 14px;
}
.footer a {
  color: #333;
}

.footer .footer-content {
  background: #fff;
  padding: 60px 0 30px 0;
}

.footer .footer-content .footer-info {
  margin-bottom: 30px;
}

.footer .footer-content .footer-info h3 {
  font-size: 28px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.footer .footer-content .footer-info h3 span {
  color: #333;;
}

.footer .footer-content .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: var(--font-primary);
  color: #333;
}
.footer .h4, .footer h2, .footer h2 a, .footer hr {
  color: var(--color-primary-dark);
}
.footer hr {
  border-top: 1px solid;
  opacity: 1;
}
.footer .footer-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary-dark);
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 15px;
}

.footer .footer-content h2 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.footer .footer-certifications {
  margin-top: 0;
}

.footer .footer-certifications h2 {
  margin-bottom: 1rem;
}

.footer .footer-certification {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 56px;
  line-height: 1.25;
}

.footer .footer-certification-logo {
  flex: 0 0 50px;
  max-width: 50px;
  height: 50px;
  object-fit: contain;
}

.footer .footer-certification:hover {
  text-decoration: underline;
}

/*.footer .footer-content h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  bottom: 0;
  left: 0;
}
.footer .footer-content .footer-links {
  margin-bottom: 30px;
}*/


.footer .footer-content .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-content .footer-links ul i {
  padding-right: 2px;
  color: #333;;
  font-size: 12px;
  line-height: 1;
}

.footer .footer-content .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-content .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-content .footer-links ul a {
  color: #333;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

.footer .footer-content .footer-links ul a:hover {
  color: #333;
}

.footer .footer-content .footer-newsletter form {
  margin-top: 30px;
  background:#333;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
}

.footer .footer-content .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

.footer .footer-content .footer-newsletter form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-content .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  /*background: var(--color-primary);*/
  color: #333;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-content .footer-newsletter form input[type=submit]:hover {
  /*background: rgba(var(--color-primary-rgb), 0.85);*/
}

.footer .footer-legal {
  padding: 30px 0;
  background: #fff;
}
.footer img {
  /*filter: brightness(0) invert(1);*/
}

.footer .footer-legal .credits {
  padding-top: 4px;
  font-size: 13px;
  color: #333;;
}

.footer .footer-legal .credits a {
  color: #333;;
}

.footer .footer-legal .social-links a {
  font-size: 18px;
  display: inline-block;
  /*background: rgba(var(--color-white-rgb), 0.1);*/
  color: #333;;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .footer-legal .social-links a:hover {
  background: #333;
  text-decoration: none;
  color: #fff;
}

.footer-funding {
  align-items: center;
}

.footer-funding img {
  height: auto;
  max-width: 100%;
  object-fit: contain;
  width: auto !important;
}

.footer-legal-links {
  gap: .5rem 1rem;
}

@media (max-width: 767.98px) {
  .footer .footer-content {
    padding-top: 40px;
  }

  .footer-funding {
    row-gap: 1.5rem !important;
  }

  .footer-funding > [class*="col-"] {
    width: 100%;
  }

  .footer-funding a {
    justify-content: flex-start;
  }

  .footer-legal .row {
    row-gap: 1rem;
  }

  .footer-legal .col-lg-8 {
    text-align: left !important;
  }

  .footer-legal-links {
    float: none !important;
    justify-content: flex-start;
    margin-left: 0 !important;
    width: 100%;
  }
}


/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding: 60px 0 60px 0;
}

.clients .swiper-slide img {
  /*opacity: 0.5;
  transition: 0.3s;
  filter: grayscale(100);*/
  filter: brightness(0.4) invert(1);
}

.clients .swiper-slide img:hover {
  filter: brightness(1) invert(1);
}
.clients {

}

.section-box {
}

.imgs-grid, .img-wrap {
  transition: 0.6s;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
}
.img-wrap img {
  border-radius: 8px;
}
@media (max-width: 992px) {
  .mobile-flex-invert{
    flex-direction: column-reverse;
  }
  .hero .container{
    padding: 0 30px;
  }
}
.home-hero-section {
  padding: 30px 20px 0px 20px;
}

.hero-img {
  /* background-image: url(/static/images/hero1.svg); */
  background-size: contain;
  background-position: bottom right;
  background-repeat: no-repeat;
  min-height: 680px;
  padding: 70px 0;
}

.hero-img {
  /* background-image: url(/static/images/home/bg.png); */
}

.hero-logo {
  max-width: 450px;
}

@media (max-width: 992px) {
  .hero-img-right {
    display: none;
  }
  .hero-logo {
    max-width: 100%;
  }
  
}

.hero-img {
  color: var(--color-secondary);
}

.hero-img > .container {
  position: relative;
  z-index: 2;
}

.hero-img em {
  font-style: normal;
  position: relative;
}
.hero-img em:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 10px;
  background: rgba(var(--color-primary-rgb), 0.5);
  z-index: -1;
}

@media (max-width: 960px) {
  .hero-img {
    min-height: 250px;
  }
}

.hero .pr-u {
  font-style: normal;
  position: relative;
}
.hero .pr-u:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 10px;
  background: rgba(var(--color-primary-rgb), 0.5);
  z-index: -1;
}

.section-box ul {
  list-style: none;
  padding: 0;
}

.section-box  ul li {
  background-color: #F4F8F9;
  border-radius: 10px;
  padding: 20px 20px;
  margin-bottom: 10px;
  padding-left: 60px;
  position: relative;
}

.section-box ul li::before {
  content: '';
	position: absolute;
	left: 15px;
	top: 25px;
	width: 24px;
	height: 24px;
	background-repeat: no-repeat;
	background-image: url("data:image/svg+xml;utf8,<?xml version='1.0' encoding='utf-8'?><svg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='check-circle' class='svg-inline--fa fa-check-circle fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='%235F77A8' d='M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z'></path></svg>");
}


.linea {
  /* linea */

  /* Auto layout */
  display: flex;
  flex-direction: column;
  margin: 10px 10px;

  background-color: #D1D2D3;
  height: 1px;
  align-items: center;

}

.color-new {
  color: #4F7892
}
.bg-grigio {
  background-color: #F4F8F9;
}

.linea-full {
  width: 100%;
  height: 39px;
  background: url(/static/images/9px.png);

  flex: none;
  order: 1;
  flex-grow: 0;
}

.filter__section li {
  flex: 0 0 auto;
  border-radius: 8px;
  border: 2px solid #4F7892;
  padding: 16px !important;
  color: #4F7892;
  font-weight: bold !important;
}

.product-search {
  flex: 0 1 clamp(280px, 28vw, 360px);
  min-width: 0;
}

.product-search input {
  width: 100%;
  max-width: none;
  border-radius: 8px;
  border: 2px solid #4F7892;
  padding: 12px 16px;
  color: #4F7892;
  font-weight: 600;
}
.filter__section li.active {
  background-color: #4F7892;
  color: white;
}
.filter__section li.active:hover {
  background-color: white;
  color: #2a2d2f;
  border: 2px solid #2a2d2f;
}

.portfolio-toolbar {
  gap: 24px;
}

.portfolio-toolbar > .d-flex {
  flex: 1 1 0;
  min-width: 0;
}

.filter__section {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  padding-left: 0;
  margin-bottom: 0;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  width: 100%;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: #4F7892 transparent;
}

@media (max-width: 991px) {
  .portfolio-toolbar {
    flex-direction: column;
    align-items: stretch !important;
  }

  .product-search {
    flex: 1 1 auto;
  }
}

@media (max-width: 575px) {
  .filter__section {
    gap: 8px;
  }

  .filter__section li {
    width: auto;
    flex: 0 0 auto;
    margin: 0 !important;
    text-align: center;
    font-size: 15px !important;
    line-height: 1.3;
  }
}


/*--------------------------------------------------------------
# Grid Section
--------------------------------------------------------------*/

.grid{
  display: flex;
  padding: 30px 0px;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  align-self: stretch;
  
}

@media (max-width: 992px) {
  .grid{
    flex-direction: column;
    justify-content: center;
  }
  .grid-item{
    width: 100%;
  }
}

.grid-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex: 1 0 0;
}

.grid-title{
  align-self: stretch;
  color: var(--color-1-a-1-f-24, #1A1F24);
  text-align: center;
  font-family: Quicksand;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.grid-img{
  width: 167px;
  height: 167px;
}

.grid-img-lg{
  width: 300px;
  height: 300px;
  flex-shrink: 0;
  border-radius: 300px;
  /* background: var(--logo-5-f-77-a-8, #4F7892); */
}

.grid-text{
  align-self: stretch;
  color: #1A1F24;
  text-align: center;
  font-family: Quicksand;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.hero2 {
  background-size: auto 100%;
  background-position: bottom right;
  background-repeat: no-repeat;
  padding-top: 112px;
  padding-bottom: 112px;
  min-height: 500px;
}
.hero2Products {
  background-size: auto 600px
}

/* Match the Competenze index illustration to the standard landing hero scale. */
@media (min-width: 961px) {
  .competences-index-hero .hero2 {
    background-size: auto 100%;
  }
}

.editor-text {
  white-space: pre-line;
}

.hero-summary {
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding: 1rem 1.25rem;
  padding-left: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0.75rem;
  isolation: isolate;
}

.hero-summary::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.78);
  content: "";
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 35%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 35%, #000 100%);
}

@media (max-width: 960px) {
  .hero2 {
    background-size: min(88vw, 520px) auto;
    background-position: bottom right;
    padding-top: 72px;
    padding-bottom: min(76vw, 440px);
    min-height: 430px;
  }

  .hero {
    min-height: 300px;
  }
  section {
    padding: 10px 0;
  }

  .cta {
    background-image: none;
    padding: 60px 0 60px 0;
  }


  body {
    font-size: 20px;
  }
  h1 {
    font-size: 38px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 25px;
  }
  h4 {
    font-size: 20px;
  }
  h5 {
    font-size: 21px;
  }
  p {
    font-size: 16px;
  }

  .section-header {
    padding: 28px 20px 32px;
    margin-bottom: 28px;
  }

  .section-header h2 {
    font-size: 32px;
    line-height: 1.15;
  }

  .blog .posts-list article {
    margin-bottom: 0;
  }
}

/*--------------------------------------------------------------
# Landing page rhythm and warmer content surfaces
--------------------------------------------------------------*/
.entry-content h2 {
  color: var(--color-secondary);
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.15;
  margin: 2.75rem 0 0.75rem;
}

.entry-content p {
  color: rgba(var(--color-default-rgb), 0.86);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.65;
  margin-bottom: 1.15rem;
}

.sector-introduction {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  background: #f3f8fb;
}

.sector-introduction .entry-content h2 {
  margin-top: 0;
}

.sector-introduction__description {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(93, 134, 160, 0.22);
}

.sector-introduction__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 2.75rem 0 0;
  padding: 0;
  list-style: none;
}

.sector-introduction__points li {
  position: relative;
  display: block;
  min-height: 132px;
  padding: 0 1.5rem;
  font-family: var(--font-display);
}

.sector-introduction__points li:first-child {
  padding-left: 0;
}

.sector-introduction__points li:last-child {
  padding-right: 0;
}

.sector-introduction__points li + li {
  border-left: 1px solid rgba(93, 134, 160, 0.2);
}

.sector-introduction__point--blue {
  --sector-accent: #4c9de1;
}

.sector-introduction__point--mint {
  --sector-accent: #2eae96;
}

.sector-introduction__point--ochre {
  --sector-accent: #edac23;
}

.sector-introduction__point-copy {
  min-width: 0;
}

.sector-introduction__accent {
  display: block;
  width: 4rem;
  height: 4px;
  margin-bottom: 1rem;
  background: var(--sector-accent);
  border-radius: 999px;
}

.sector-introduction__points strong {
  display: block;
  color: #326d94;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: uppercase;
}

.sector-introduction__point-description {
  display: block;
  color: #555e66;
  font-size: 16px;
  line-height: 1.55;
}

/* Optional editorial section for videos, publications and other extra content. */
.extra-content-section {
  padding: clamp(4rem, 7vw, 7rem) 0;
  background: #fff;
}

.extra-content-section__intro {
  max-width: 780px;
}

.extra-content-section--publication-below .extra-content-section__intro {
  width: 82%;
  max-width: 1000px;
  margin-inline: auto;
}

.extra-content-section__eyebrow,
.extra-content-section__publication-eyebrow {
  color: #8a9eb2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.25;
  text-transform: uppercase;
}

.extra-content-section__eyebrow {
  width: fit-content;
  padding-top: .55rem;
  border-top: 4px solid #edac23;
}

.extra-content-section__intro h2 {
  margin: .15rem 0 .45rem;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.3vw, 32px) !important;
  font-weight: 600 !important;
  line-height: 1.25;
  color: #326d94 !important;
}

.extra-content-section__intro p {
  margin: 0;
  color: #426b84;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.5;
}

.extra-content-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(130px, .72fr) minmax(230px, .9fr);
  gap: 1.1rem;
  align-items: center;
  margin-top: 2.35rem;
}

.extra-content-section__layout--without-video {
  grid-template-columns: minmax(130px, .72fr) minmax(230px, .9fr);
}

.extra-content-section__layout--without-publication-image {
  grid-template-columns: minmax(0, 2fr) minmax(230px, .9fr);
}

.extra-content-section__layout--without-video.extra-content-section__layout--without-publication-image {
  grid-template-columns: minmax(0, 1fr);
}

.extra-content-section__layout--publication-below {
  grid-template-columns: minmax(0, 1fr);
}

.extra-content-section__layout--publication-below .extra-content-section__video {
  width: 82%;
  max-width: 1000px;
  margin-inline: auto;
}

.extra-content-section__publication-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
  margin-top: clamp(4rem, 6vw, 5.5rem);
}

.extra-content-section__publication-flipbook {
  min-width: 0;
}

.extra-content-section__publication-flipbook .flipbook-engine {
  width: min(100%, 1000px);
  max-width: 1000px;
  margin: 0 auto;
}

.extra-content-section__publication-flipbook .flipbook-engine__stage {
  padding: 1rem 3rem;
}

.extra-content-section__publication-flipbook .flipbook-engine__book {
  width: 100%;
  max-width: none;
  margin-inline: auto;
}

.extra-content-section__video,
.extra-content-section__publication-image {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #eef4f8;
}

.extra-content-section__video {
  aspect-ratio: 16 / 9;
}

.extra-content-section__video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.extra-content-section__publication-image {
  align-self: center;
  width: 100%;
  aspect-ratio: .72;
  max-height: 360px;
}

.extra-content-section__publication-image a,
.extra-content-section__publication-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.extra-content-section__publication-image img {
  object-fit: cover;
}

.extra-content-section__publication-copy {
  width: min(100%, 1000px);
  margin-inline: auto;
  min-width: 0;
  text-align: right;
}

.extra-content-section__publication-eyebrow {
  width: fit-content;
  margin: 0 0 .55rem auto;
  padding-top: .55rem;
  border-top: 4px solid #edac23;
}

.extra-content-section__publication-copy h3 {
  margin: .15rem 0 .45rem;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.3vw, 32px) !important;
  font-weight: 600 !important;
  line-height: 1.25;
  color: #326d94 !important;
}

.extra-content-section__publication-copy p {
  margin: 0 0 1.25rem;
  color: #426b84;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.5;
}

.extra-content-section__cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: .15rem;
  padding: .75rem 1rem;
  color: #fff;
  background: #5577b3;
  border-radius: 7px;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.extra-content-section__cta:hover,
.extra-content-section__cta:focus-visible {
  color: #fff;
  background: #42649e;
}

@media (max-width: 900px) {
  .extra-content-section__layout,
  .extra-content-section__layout--without-video,
  .extra-content-section__layout--without-publication-image,
  .extra-content-section__layout--publication-below {
    grid-template-columns: minmax(0, 1fr) minmax(150px, .72fr);
  }

  .extra-content-section__layout--publication-below {
    grid-template-columns: minmax(0, 1fr);
  }

  .extra-content-section__layout--publication-below .extra-content-section__video {
    width: 92%;
  }

  .extra-content-section--publication-below .extra-content-section__intro {
    width: 92%;
  }

  .extra-content-section__publication-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .extra-content-section__publication-flipbook .flipbook-engine {
    width: 100%;
    max-width: 1000px;
  }

  .extra-content-section__publication-flipbook .flipbook-engine__stage {
    padding: 1rem 2rem;
  }

  .extra-content-section__video {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .extra-content-section__layout,
  .extra-content-section__layout--without-video,
  .extra-content-section__layout--without-publication-image,
  .extra-content-section__layout--publication-below,
  .extra-content-section__layout--without-video.extra-content-section__layout--without-publication-image {
    grid-template-columns: 1fr;
  }

  .extra-content-section__video {
    grid-column: auto;
  }

  .extra-content-section__layout--publication-below .extra-content-section__video,
  .extra-content-section__publication-flipbook .flipbook-engine__book {
    width: 100%;
  }

  .extra-content-section--publication-below .extra-content-section__intro {
    width: 100%;
  }

  .extra-content-section__publication-flipbook .flipbook-engine__stage {
    padding: 1rem;
  }

  .extra-content-section__publication-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .sector-introduction__points {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .sector-introduction__points li,
  .sector-introduction__points li + li {
    min-height: 0;
    padding: 0;
    border-left: 0;
  }

  .sector-introduction__accent {
    margin-bottom: .65rem;
  }

  .sector-introduction__points strong {
    font-size: 18px;
  }
}

.section-header p {
  position: relative;
  color: rgba(var(--color-default-rgb), 0.72);
  line-height: 1.55;
}

.blog .posts-list article {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  padding: 28px;
  border: 1px solid rgba(79, 120, 146, 0.12);
  border-radius: 16px;
  background: #fffdfa;
  box-shadow: 0 12px 28px rgba(26, 31, 36, 0.07);
}

.btn-hero {
  border: 2px solid #557F9A;
  border-radius: 10px;
  border-color: #557F9A;
  border-radius: 10px;
  background: #557F9A;
  color: #fff;
  padding: 8px 26px;
  z-index: 100;
}

.btn-hero:hover,
.btn-hero:focus-visible {
  background: #426B84;
  border-color: #426B84;
  color: #fff;
}

.blog .posts-list article+article {
  margin-top: 0;
}

.blog .posts-list .post-img {
  height: 220px;
  margin: -28px -28px 0 -28px;
  border-radius: 16px 16px 0 0;
}

.blog .posts-list .title {
  min-height: 2.3em;
  margin-top: 22px;
  font-size: 23px;
  line-height: 1.2;
}

.blog .posts-list .content {
  margin-top: 14px;
}

.blog .posts-list .content p {
  color: rgba(var(--color-default-rgb), 0.76);
  font-size: 16px;
  line-height: 1.6;
}

.blog .posts-list .read-more a {
  border-color: rgba(79, 120, 146, 0.72);
  border-radius: 10px;
  background: transparent;
  padding: 8px 26px;
}

@media (max-width: 960px) {
  .entry-content h2 {
    margin-top: 2.25rem;
  }

  .entry-content p {
    max-width: none;
  }

  .blog .posts-list .post-img {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .hero2 {
    background-size: min(100vw, 420px) auto;
    padding-top: 56px;
    padding-bottom: min(86vw, 360px);
    min-height: 390px;
  }

  .section-header {
    padding: 30px 18px 32px;
    border-radius: 14px;
  }

  .section-header h2 {
    font-size: 30px;
  }

  .blog .posts-list article {
    padding: 22px;
    border-radius: 14px;
  }

  .blog .posts-list .post-img {
    height: 180px;
    margin: -22px -22px 0 -22px;
    border-radius: 14px 14px 0 0;
  }
}


.bg-0 {
  background-color: #F4F8F9;
  color: #333;
  border-radius: 8px;
}
.bg-1 {
  background-color: #F4F8F9;
  color: #333;
  border-radius: 8px;
}
.bg-2 {
  background-color: #F4F8F9;
  color: #333;
  border-radius: 8px;
}
.bg-3 {
  background-color: #F4F8F9;
  color: #333;
  border-radius: 8px;
}

.small-images {
}

@keyframes MoveUpDown {
  0%, 100% {
    bottom: 0;
  }
  50% {
    bottom: 10px;
  }
}
.hero-img-home-2 {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.hero-img-home-2 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 992px) {
  .hero-img-home-2 img {
    display: none;
  }
}

.btn-green-blue {
  background-color: #fff !important;
  border : 2px solid #4F7892 !important;
  color: #4F7892 !important;
}
.btn-green-blue:hover {
  background-color: #fff !important;
  border : 2px solid #4F7892 !important;
  color: #4F7892 !important;
}

.btn-white {
  border-color: white;
  color: white;
}

.btn-white:hover {
  border-color: rgb(220, 220, 220);
  color: rgb(220, 220, 220);
}

.extra_margin img {
  padding: 30px;
  width: 100%;
}

.pdf-flipbook {
  --pdf-flipbook-border: #dce5e8;
  margin: 2rem auto;
  max-width: 960px;
  border: 1px solid var(--pdf-flipbook-border);
  border-radius: 0.5rem;
  background: #f7fafb;
  overflow: hidden;
}

.pdf-flipbook__header,
.pdf-flipbook__toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
}

.pdf-flipbook__header {
  justify-content: space-between;
  background: #fff;
}

.pdf-flipbook__title {
  margin: 0;
  font-size: 1.15rem;
}

.pdf-flipbook__download,
.pdf-flipbook__fallback a {
  color: #315f78;
  font-weight: 600;
}

.pdf-flipbook__toolbar {
  flex-wrap: wrap;
  border-top: 1px solid var(--pdf-flipbook-border);
  border-bottom: 1px solid var(--pdf-flipbook-border);
}

.pdf-flipbook__button {
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0.25rem 0.65rem;
  border: 1px solid #b9cbd2;
  border-radius: 0.25rem;
  background: #fff;
  color: #244c60;
  cursor: pointer;
}

.pdf-flipbook__button:hover:not(:disabled),
.pdf-flipbook__button:focus-visible {
  border-color: #315f78;
  background: #edf5f7;
}

.pdf-flipbook__button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.pdf-flipbook__button--wide {
  min-width: auto;
}

.pdf-flipbook__toolbar-spacer {
  flex: 1;
}

.pdf-flipbook__stage {
  display: flex;
  justify-content: center;
  min-height: 360px;
  padding: 1rem;
  outline: none;
  overflow: auto;
  background: #e9eff1;
}

.pdf-flipbook__canvas {
  display: block;
  max-width: none;
  height: auto;
  background: #fff;
  box-shadow: 0 0.3rem 1rem rgb(23 48 57 / 18%);
  opacity: 1;
}

.pdf-flipbook.is-changing .pdf-flipbook__canvas {
  animation: pdf-flipbook-page-in 180ms ease-out;
}

.pdf-flipbook__message {
  align-self: center;
  max-width: 32rem;
  margin: auto;
  color: #5b2b2b;
  text-align: center;
}

.pdf-flipbook__fallback {
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.9rem;
}

.flipbook-engine {
  max-width: 1100px;
  margin: 2rem auto;
  background: transparent;
}
.flipbook-engine__toolbar {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1rem;
}
.flipbook-engine__download { color: #315f78; font-weight: 600; }
.flipbook-engine__toolbar { flex-wrap: wrap; }
.flipbook-engine__toolbar button, .flipbook-engine__download { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; min-height: 2.25rem; padding: .25rem .7rem; border: 1px solid #b9cbd2; border-radius: .25rem; background: #fff; color: #244c60; cursor: pointer; text-decoration: none; }
.flipbook-engine__toolbar button:hover, .flipbook-engine__toolbar button:focus-visible { border-color: #315f78; background: #edf5f7; }
.flipbook-engine__download:hover, .flipbook-engine__download:focus-visible { border-color: #315f78; background: #edf5f7; }
.flipbook-engine__toolbar svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.flipbook-engine__spacer { flex: 1; }
.flipbook-engine__stage { min-height: 560px; padding: 2rem 1rem; perspective: 1800px; background: radial-gradient(circle, #eef4f5, #d7e2e5); }
.flipbook-engine__book { position: relative; display: flex; width: min(100%, 900px); aspect-ratio: 2 / 1.414; margin: auto; transform-style: preserve-3d; }
.flipbook-engine__page, .flipbook-engine__turning-page, .flipbook-engine__page-face { position: absolute; top: 0; width: 50%; height: 100%; background-color: #fff; background-position: center; background-repeat: no-repeat; background-size: cover; }
.flipbook-engine__page--left { left: 0; transform-origin: right center; border-right: 1px solid #ccd7da; cursor: w-resize; transition: left .5s ease, width .5s ease; }
.flipbook-engine__page--right { right: 0; transform-origin: left center; border-left: 1px solid #ccd7da; cursor: e-resize; transition: left .5s ease, right .5s ease, width .5s ease; }
.flipbook-engine__page--left::after, .flipbook-engine__page--right::after { position: absolute; top: 0; display: flex; align-items: center; width: 2.4rem; height: 100%; content: ''; opacity: 0; color: #244c60; font-size: 2.4rem; font-weight: 300; line-height: 1; pointer-events: none; }
.flipbook-engine__page--left::after { left: 0; justify-content: flex-start; padding-left: .35rem; background: linear-gradient(90deg, rgb(49 95 120 / 28%), transparent); content: '‹'; }
.flipbook-engine__page--right::after { right: 0; justify-content: flex-end; padding-right: .35rem; background: linear-gradient(270deg, rgb(49 95 120 / 28%), transparent); content: '›'; }
.flipbook-engine__page--left:hover::after, .flipbook-engine__page--right:hover::after { animation: flipbook-edge-pulse 1.1s ease-in-out infinite; }
.flipbook-engine__page.is-blank { background: #fff; }
.flipbook-engine__book.is-cover .flipbook-engine__page--left { display: none; }
.flipbook-engine__book.is-cover .flipbook-engine__page--right { left: 25%; right: auto; width: 50%; border: 0; }
.flipbook-engine__book.is-end .flipbook-engine__page--left { left: 25%; width: 50%; border: 0; }
.flipbook-engine__book.is-end .flipbook-engine__page--right { display: none; }
.flipbook-engine__turning-page { left: 50%; z-index: 3; transform-style: preserve-3d; transform-origin: left center; visibility: hidden; }
.flipbook-engine__page-face { width: 100%; backface-visibility: hidden; }
.flipbook-engine__page-face--front { left: 0; }
.flipbook-engine__page-face--back { left: 0; transform: rotateY(180deg); }
.flipbook-engine__turning-page.is-turning-forward { visibility: visible; animation: flipbook-turn-forward .75s ease-in-out forwards; }
.flipbook-engine__turning-page.is-turning-backward { left: 0; transform-origin: right center; visibility: visible; animation: flipbook-turn-backward .75s ease-in-out forwards; }
.flipbook-engine__corner { position: absolute; bottom: 0; z-index: 5; width: 4rem; height: 4rem; padding: 0; border: 0; background: transparent; cursor: pointer; }
.flipbook-engine__corner::before, .flipbook-engine__corner::after { position: absolute; bottom: .2rem; width: 4.5rem; height: 4.5rem; content: ''; opacity: 0; pointer-events: none; transform-style: preserve-3d; transition: opacity .2s ease, transform .2s ease; }
.flipbook-engine__corner--left { left: 0; }
.flipbook-engine__corner--right { right: 0; }
.flipbook-engine__corner--left::before, .flipbook-engine__corner--left::after { left: .2rem; clip-path: polygon(0 0, 100% 100%, 0 100%); transform-origin: bottom left; }
.flipbook-engine__corner--right::before, .flipbook-engine__corner--right::after { right: .2rem; clip-path: polygon(100% 0, 100% 100%, 0 100%); transform-origin: bottom right; }
.flipbook-engine__corner--left::before, .flipbook-engine__corner--right::before { z-index: 1; background: linear-gradient(135deg, #fff 35%, #d7e2e5); box-shadow: -4px -3px 8px rgb(23 48 57 / 18%); }
.flipbook-engine__corner--left::after, .flipbook-engine__corner--right::after { background: rgb(49 95 120 / 32%); }
.flipbook-engine__corner.is-corner-hover::before, .flipbook-engine__corner.is-corner-hover::after, .flipbook-engine__corner:hover::before, .flipbook-engine__corner:hover::after, .flipbook-engine__corner:focus-visible::before, .flipbook-engine__corner:focus-visible::after { opacity: 1; transform: rotateX(48deg) rotate(var(--corner-angle, 0deg)) translateY(-.15rem); }
@keyframes flipbook-turn-forward { from { transform: rotateY(0); } to { transform: rotateY(-180deg); } }
@keyframes flipbook-turn-backward { from { transform: rotateY(0); } to { transform: rotateY(180deg); } }
@keyframes flipbook-edge-pulse { 0%, 100% { opacity: .15; transform: scaleX(.65); } 50% { opacity: 1; transform: scaleX(1.25); } }
@media (max-width: 576px) {
  .flipbook-engine__stage { min-height: 360px; padding: 1rem .5rem; }
  .flipbook-engine__book { width: 100%; aspect-ratio: 1 / 1.414; }
  .flipbook-engine__page--left { display: none; }
  .flipbook-engine__page--right { left: 0; width: 100%; border: 0; }
  .flipbook-engine__turning-page { left: 0; width: 100%; }
}

@keyframes pdf-flipbook-page-in {
  from { opacity: 0.35; transform: translateX(0.5rem); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 576px) {
  .pdf-flipbook__header { align-items: flex-start; flex-direction: column; }
  .pdf-flipbook__toolbar { gap: 0.5rem; }
  .pdf-flipbook__toolbar-spacer { display: none; }
  .pdf-flipbook__stage { min-height: 240px; padding: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pdf-flipbook.is-changing .pdf-flipbook__canvas { animation: none; }
}

/* StPageFlip: the canvas is responsible for the real folded corner and the
   portion of the next page revealed while the pointer is moving. */
.flipbook-engine__stage {
  min-height: 0;
  padding: 2rem 1rem 1rem;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #f7fafb 0, #e4edef 58%, #d3e0e3 100%);
}
.flipbook-engine__book {
  width: min(100%, 1000px);
  min-height: 396px;
  margin: 0 auto;
}
.flipbook-engine__book .stf__parent {
  margin: 0 auto;
}
.flipbook-engine__book canvas {
  display: block;
  outline: none;
}
.flipbook-engine__toolbar {
  padding-top: 1rem;
  position: relative;
  z-index: 10;
}
.flipbook-engine:fullscreen,
.flipbook-engine.is-fullscreen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  margin: 0;
  background: #dfe9eb;
}
.flipbook-engine:fullscreen .flipbook-engine__stage,
.flipbook-engine.is-fullscreen .flipbook-engine__stage {
  width: 100%;
  min-height: 0;
  height: calc(100vh - 7rem);
  padding: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.flipbook-engine:fullscreen .flipbook-engine__book,
.flipbook-engine.is-fullscreen .flipbook-engine__book {
  width: min(100%, calc((100vh - 7rem) * 1.414));
  height: calc(100vh - 7rem);
  min-height: 0;
  flex: 0 1 auto;
}
.flipbook-engine:fullscreen .flipbook-engine__book .stf__parent,
.flipbook-engine.is-fullscreen .flipbook-engine__book .stf__parent {
  max-height: calc(100vh - 7rem);
}
@media (max-width: 576px) {
  .flipbook-engine__stage { padding: 1rem .25rem .5rem; }
  .flipbook-engine__book { min-height: 396px; }
  .flipbook-engine__toolbar { gap: .45rem; padding-inline: .5rem; }
  .flipbook-engine__toolbar [data-flipbook-status] { font-size: .85rem; }
}

.service-overview-intro {
  max-width: 900px;
}

.service-overview-card {
  padding: 1.75rem;
  border: 0;
  border-radius: 1rem;
  background: linear-gradient(145deg, var(--color-green), var(--color-green-blue));
  color: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-overview-card--secondary {
  background: linear-gradient(145deg, var(--color-primary), var(--color-primary-dark));
}

.service-overview-card:hover {
  transform: translateY(-0.25rem);
}

.service-overview-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 15%);
  color: #fff;
  font-size: 2rem;
}

.service-overview-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  color: #fff;
}

.service-overview-card p {
  margin-bottom: 0;
  color: rgb(255 255 255 / 80%);
}

.service-process {
  padding: 2rem;
  border-radius: 1rem;
  background: #f2f7f6;
}

.service-process-step {
  position: relative;
  padding: 1.25rem;
  border: 1px solid rgb(31 54 72 / 10%);
  border-radius: 0.85rem;
  background: #fff;
}

.service-process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--color-green-blue);
  color: #fff;
  font-weight: 700;
}

.service-process-step h3 {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.service-process-step p {
  margin-bottom: 0;
  color: #52656a;
}

.service-outcome {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-left: 4px solid var(--color-green);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 0.5rem 1.25rem rgb(31 54 72 / 7%);
}

.service-outcome i {
  flex: 0 0 auto;
  color: var(--color-green);
  font-size: 1.35rem;
}

.service-outcome p {
  margin: 0;
}

.service-practical {
  padding: 1.25rem 1.5rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #eef8f3, #eef4f8);
}

.service-practical h3 {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
  color: var(--color-green-blue);
  font-size: 1.05rem;
}

.service-practical ul {
  margin: 0;
  padding-left: 1.25rem;
}

@media (max-width: 767px) {
  .service-process {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-overview-card {
    transition: none;
  }

  .service-overview-card:hover {
    transform: none;
  }
}
