/*
  File unico CSS custom del progetto.
  Ordine mantenuto rispetto agli include originali in head.php.
*/

/* menu-unified.css */

.it-header-area .row {
  align-items: center !important;
}

#header-sticky {
  padding: 10px 0;
}

.nav-header {
  padding: 10px 0;
}

.it-header-menu .it-menu-content ul li {
  padding: 0 4px !important;
}

.it-header-logo img {
  width: 105px !important;
}

.gea-logo-img {
  display: block !important;
  height: 45px !important;
  width: auto !important;
}

.nav-cart .cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  margin-left: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #db2833;
  border-radius: 999px;
  transform: translateY(-2px);
}

.nav-logout-pill > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px;
  padding: 0 10px !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #00456F !important;
  font-weight: 700 !important;
}

.nav-logout-pill > a:hover {
  background: transparent !important;
  color: #003554 !important;
}

.nav-logout-icon > a {
  width: auto;
  min-width: 0;
  padding: 0 !important;
}

@media (min-width: 1200px) {
  .it-header-area .row .col-xxl-2:first-child,
  .it-header-area .row .col-xxl-2:last-child {
    width: 16.666667% !important;
  }

  .it-header-area .row .col-xxl-8 {
    width: 66.666667% !important;
  }

  .it-header-menu .it-menu-content > ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  .it-header-menu .it-menu-content > ul > li {
    flex-shrink: 0 !important;
  }

  .it-header-menu .it-menu-content > ul > li > a {
    font-size: 14px !important;
    white-space: nowrap !important;
    display: inline-block !important;
  }
}

@media (min-width: 1400px) {
  .it-header-menu .it-menu-content ul li {
    padding: 0 6px !important;
  }
}

@media (max-width: 1399px) and (min-width: 1200px) {
  .it-header-menu .it-menu-content ul li {
    padding: 0 3px !important;
  }

  .it-header-menu .it-menu-content > ul > li > a {
    font-size: 11px !important;
  }

  .it-header-logo img {
    width: 100px !important;
  }
}

@media (max-width: 1199px) {
  .it-header-menu .it-menu-content ul li {
    padding: 0 8px !important;
  }

  .it-header-logo img {
    width: 100px !important;
  }
}


/* head-custom.css */

/* LOGO GEA accanto a Portale Studente (fix dimensioni) */
.gea-logo-item{
  margin-left: 10px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
}

.gea-logo-link{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  /* reset stile "voce menu" */
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  transform: none !important;
}

.gea-logo-link:hover{
  transform: translateY(-2px) !important;
}

.gea-logo-link img{
  display: block !important;
  object-fit: contain !important;
}

@media (max-width: 1199px){
  .gea-logo-link img{
    margin-top: 20px !important;
  }
}



  /* Nascondo il banner in alto di Google e il logo */
  .goog-te-banner-frame.skiptranslate {
    display: none !important;
  }
  body {
    top: 0 !important;
  }
  .goog-logo-link {
    display: none !important;
  }

  /* NON usare display:none qui, lo nascondiamo "fuori vista" */
  #google_translate_element {
    position: fixed;
    bottom: 0;
    left: 0;
    opacity: 0;
    z-index: -1;
    pointer-events: none;
  }

/* ========================================
   VARIABILI COLORI TRAINING ACADEMY
======================================== */
.it-header-area .row {
    align-items: center !important;
}
#header-sticky {
    padding: 10px 0; /* stesso padding dell'header */
}

:root {
   --ta-red: #db2833;
   --ta-red-hover: #9A2218;
   --ta-blue: #00456F;
   --ta-blue-dark: #003554;
   --ta-yellow: #00456F;
   --ta-white: #ffffff;
   --ta-gray-light: #f8f9fa;
   --ta-text: #1F2432;
}

/* ========================================
   NAVBAR CUSTOMIZATIONS
======================================== */
.it-header-right-action {
   gap: 15px;
}

/* Language Selector Styles */
.language-selector {
   position: relative;
   display: flex;
   align-items: center;
   cursor: pointer;
}

.language-selector .current-lang {
   display: flex;
   align-items: center;
   gap: 8px;
   padding: 8px 15px;
   background: var(--ta-gray-light);
   border-radius: 25px;
   transition: all 0.3s ease;
}

.language-selector .current-lang:hover {
   background: #e9ecef;
}

.language-selector .flag-icon {
   width: 24px;
   height: 18px;
   border-radius: 3px;
   object-fit: cover;
}

.language-selector .lang-code {
   font-weight: 600;
   font-size: 14px;
   color: var(--ta-text);
   text-transform: uppercase;
}

.language-selector .dropdown-arrow {
   font-size: 10px;
   color: #6c757d;
   transition: transform 0.3s ease;
}

.language-selector:hover .dropdown-arrow {
   transform: rotate(180deg);
}

.language-dropdown {
   position: absolute;
   top: 100%;
   right: 0;
   margin-top: 10px;
   background: var(--ta-white);
   border-radius: 10px;
   box-shadow: 0 10px 40px rgba(0,0,0,0.15);
   padding: 10px 0;
   min-width: 160px;
   opacity: 0;
   visibility: hidden;
   transform: translateY(-10px);
   transition: all 0.3s ease;
   z-index: 1000;
}

.language-selector:hover .language-dropdown {
   opacity: 1;
   visibility: visible;
   transform: translateY(0);
}

.language-dropdown a {
   display: flex;
   align-items: center;
   gap: 10px;
   padding: 10px 20px;
   color: var(--ta-text);
   text-decoration: none;
   transition: all 0.3s ease;
}

.language-dropdown a:hover {
   background: var(--ta-gray-light);
   color: var(--ta-red);
}

.language-dropdown a .flag-icon {
   width: 24px;
   height: 18px;
   border-radius: 3px;
   object-fit: cover;
}

.language-dropdown a span {
   font-weight: 500;
   font-size: 14px;
}

/* ========================================
   HERO SECTION CUSTOMIZATIONS
======================================== */
.it-hero-title {
   font-family: 'Lato', sans-serif !important;
}

.it-hero-title span.z-index-1 {
   color: var(--ta-red);
}

.it-hero-text p {
   font-family: 'Lato', sans-serif;
   font-weight: 400;
   line-height: 1.8;
}

/* ========================================
   BOTTONI ROSSI
======================================== */
.it-btn-red {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 15px 35px;
   background: var(--ta-red);
   color: var(--ta-white);
   font-family: 'Lato', sans-serif;
   font-weight: 700;
   font-size: 16px;
   text-transform: uppercase;
   text-decoration: none;
   border-radius: 30px;
   border: none;
   cursor: pointer;
   position: relative;
   overflow: hidden;
   transition: all 0.4s ease;
   box-shadow: 0 4px 15px rgba(190, 42, 29, 0.3);
}

.it-btn-red:hover {
   background: var(--ta-red-hover);
   transform: translateY(-3px);
   box-shadow: 0 8px 25px rgba(190, 42, 29, 0.4);
   color: var(--ta-white);
}

.it-btn-red span {
   position: relative;
   z-index: 2;
}

.it-btn-red-outline {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 14px 34px;
   background: transparent;
   color: var(--ta-white);
   font-family: 'Lato', sans-serif;
   font-weight: 700;
   font-size: 16px;
   text-transform: uppercase;
   text-decoration: none;
   border-radius: 30px;
   border: 2px solid var(--ta-white);
   cursor: pointer;
   transition: all 0.4s ease;
}

.it-btn-red-outline:hover {
   background: var(--ta-white);
   color: var(--ta-red);
   transform: translateY(-3px);
}

/* ========================================
   SERVICES CARDS AREA
======================================== */
.services-cards-area {
   background: var(--ta-gray-light);
   padding-top: 100px;
   padding-bottom: 120px;
}

.section-subtitle {
   display: inline-block;
   font-family: 'Lato', sans-serif;
   font-weight: 700;
   font-size: 14px;
   text-transform: uppercase;
   color: var(--ta-red);
   letter-spacing: 2px;
   margin-bottom: 15px;
   position: relative;
   padding: 0 20px;
}

.section-subtitle::before,
.section-subtitle::after {
   content: '';
   position: absolute;
   top: 50%;
   width: 30px;
   height: 2px;
   background: var(--ta-red);
}

.section-subtitle::before {
   left: -20px;
}

.section-subtitle::after {
   right: -20px;
}

.section-title {
   font-family: 'Lato', sans-serif;
   font-weight: 900;
   font-size: 42px;
   color: var(--ta-text);
   margin-bottom: 0;
}

.service-card {
   background: var(--ta-white);
   border-radius: 20px;
   overflow: hidden;
   box-shadow: 0 10px 40px rgba(0,0,0,0.08);
   transition: all 0.4s ease;
   height: 100%;
   margin-bottom: 30px;
   position: relative;
}

.service-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 5px;
   background: linear-gradient(90deg, var(--ta-red), var(--ta-blue));
   opacity: 0;
   transition: opacity 0.4s ease;
}

.service-card:hover {
   transform: translateY(-15px);
   box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.service-card:hover::before {
   opacity: 1;
}

.service-card-img {
   width: 100%;
   height: 250px;
   overflow: hidden;
   position: relative;
}

.service-card-img::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   height: 50%;
   background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
   opacity: 0;
   transition: opacity 0.4s ease;
}

.service-card:hover .service-card-img::after {
   opacity: 1;
}

.service-card-img img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: all 0.5s ease;
}

.service-card:hover .service-card-img img {
   transform: scale(1.1);
}

.service-card-content {
   padding: 40px 35px;
   text-align: center;
}

.service-card-icon {
   width: 70px;
   height: 70px;
   background: linear-gradient(135deg, var(--ta-red), var(--ta-red-hover));
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   margin: -70px auto 25px;
   position: relative;
   z-index: 10;
   box-shadow: 0 10px 30px rgba(190, 42, 29, 0.3);
}

.service-card-icon i {
   font-size: 28px;
   color: var(--ta-white);
}

.service-card-title {
   font-family: 'Lato', sans-serif;
   font-size: 24px;
   font-weight: 700;
   color: var(--ta-text);
   margin-bottom: 15px;
}

.service-card-text {
   font-family: 'Lato', sans-serif;
   font-weight: 400;
   font-size: 15px;
   color: #6c757d;
   line-height: 1.7;
   margin-bottom: 25px;
}

/* ========================================
   FOOTER STYLES
======================================== */
footer {
   margin-top: 0;
}

.it-footer-wrap {
   position: relative;
   overflow: hidden;
}

.it-footer-area {
   padding-top: 80px;
}

.it-footer-widget a:hover h4 {
   color: var(--ta-yellow) !important;
   transition: all 0.3s ease;
}

.it-footer-widget-social {
   display: flex;
   justify-content: center;
   gap: 15px;
   align-items: center;
}

.it-footer-widget-social a {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   transition: all 0.3s ease;
}

.it-footer-widget-social a:hover {
   transform: translateY(-3px);
}

.it-footer-widget-social a:hover i {
   color: var(--ta-yellow) !important;
}

.footer-partners {
   display: flex;
   justify-content: center;
   align-items: center;
   flex-wrap: wrap;
   gap: 20px;
}

.footer-partners img {
   transition: all 0.3s ease;
}

.footer-partners img:hover {
   transform: scale(1.1);
}

.it-copyright-left a {
   color: var(--ta-white);
   text-decoration: none;
   transition: color 0.3s ease;
}

.it-copyright-left a:hover {
   color: var(--ta-yellow);
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1200px) {
   .section-title {
      font-size: 36px;
   }
}

@media (max-width: 992px) {
   .it-footer-area {
      padding-top: 60px;
   }
   
   .it-footer-widget h4 {
      font-size: 18px !important;
   }
   
   .it-footer-widget p {
      font-size: 11px !important;
   }
   
   .services-cards-area {
      padding-top: 80px;
      padding-bottom: 80px;
   }
   
   .section-title {
      font-size: 32px;
   }
   
   .service-card-img {
      height: 200px;
   }
}

@media (max-width: 768px) {
   .it-footer-area {
      padding-top: 40px;
   }
   
   .it-footer-widget {
      margin-bottom: 30px;
   }
   
   .it-footer-widget h4 {
      font-size: 16px !important;
      margin-bottom: 15px !important;
   }
   
   .it-footer-widget p {
      font-size: 11px !important;
   }
   
   .footer-partners {
      flex-direction: column;
      gap: 15px;
   }
   
   .footer-partners img {
      width: 80px !important;
      max-width: 150px;
   }
   
   .it-copyright-left p {
      font-size: 11px !important;
   }
   
   .services-cards-area {
      padding-top: 60px;
      padding-bottom: 60px;
   }
   
   .section-title {
      font-size: 28px;
   }
   
   .service-card-title {
      font-size: 20px;
   }
   
   .service-card-content {
      padding: 30px 25px;
   }
   
   .it-btn-red {
      padding: 12px 25px;
      font-size: 14px;
   }
   
   .language-selector .current-lang {
      padding: 6px 12px;
   }
   
   .language-selector .lang-code {
      display: none;
   }
}

@media (max-width: 576px) {
   .it-footer-widget h4 {
      font-size: 15px !important;
   }
   
   .it-footer-widget p {
      font-size: 10px !important;
   }
   
   .it-copyright-left p {
      font-size: 10px !important;
   }
   
   .footer-partners img {
      width: 70px !important;
   }
   
   .section-subtitle {
      font-size: 12px;
   }
   
   .section-title {
      font-size: 24px;
   }
   
   .service-card-icon {
      width: 60px;
      height: 60px;
      margin-top: -55px;
   }
   
   .service-card-icon i {
      font-size: 24px;
   }
}

/* ========================================
   ANIMATIONS
======================================== */
.wow {
   visibility: hidden;
}

.itfadeUp {
   animation-name: fadeInUp;
}

@keyframes fadeInUp {
   from {
      opacity: 0;
      transform: translate3d(0, 40px, 0);
   }
   to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
   }
}

@keyframes pulse {
   0% {
      box-shadow: 0 4px 15px rgba(190, 42, 29, 0.3);
   }
   50% {
      box-shadow: 0 4px 25px rgba(190, 42, 29, 0.5);
   }
   100% {
      box-shadow: 0 4px 15px rgba(190, 42, 29, 0.3);
   }
}

.it-btn-red:focus {
   animation: pulse 1.5s infinite;
}


/* footer-custom.css */

.it-footer-widget-btn .it-btn-yellow {
  padding: 10px 18px !important;
  font-size: 14px !important;
  border-radius: 40px !important;
  margin-bottom: 8px;
}

.it-footer-widget-btn .it-btn-yellow .text-1,
.it-footer-widget-btn .it-btn-yellow .text-2 {
  font-size: 14px !important;
}

.it-footer-widget-btn .it-btn-yellow svg {
  width: 13px !important;
  height: 13px !important;
}

.loghi-ecm {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 20px;
}

.logo-agenas {
  height: 90px;
  width: auto;
}

.logo-ecm {
  height: 105px;
  width: auto;
}

.footer-logo-main {
  max-width: 200px;
}

.footer-cta-group {
  margin-top: 15px;
}

.footer-cta-link {
  display: inline-block;
}

.footer-social {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.footer-social i {
  font-size: 20px;
}

@media (min-width: 1200px) {
  .it-footer-col-1-3 {
    margin-left: 48px !important;
  }

  .it-footer-area .row {
    align-items: stretch;
  }

  .it-footer-area .it-footer-widget {
    height: 100%;
  }

  .it-footer-area .col-xl-3:nth-child(2) .it-footer-widget,
  .it-footer-area .col-xl-3:nth-child(3) .it-footer-widget,
  .it-footer-area .col-xl-3:nth-child(4) .it-footer-widget {
    position: relative;
    padding-left: 28px;
  }

  .it-footer-area .col-xl-3:nth-child(2) .it-footer-widget::before,
  .it-footer-area .col-xl-3:nth-child(3) .it-footer-widget::before,
  .it-footer-area .col-xl-3:nth-child(4) .it-footer-widget::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: #cfcfcf;
    opacity: 0.9;
  }
}

@media (max-width: 1199px) {
  .it-footer-col-1-3 {
    margin-left: 0 !important;
  }

  .it-footer-area .it-footer-widget {
    padding-left: 0 !important;
  }

  .it-footer-area .it-footer-widget::before {
    display: none !important;
  }

  .it-footer-widget-btn {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px !important;
  }

  .it-footer-widget-btn a.it-btn-yellow {
    width: 100% !important;
    max-width: 260px;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
  }

  .it-footer-widget-social {
    margin-top: 18px !important;
  }
}

@media (min-width: 992px) {
  .it-footer-area .col-xl-6 {
    display: grid;
    justify-content: center;
  }

  .it-footer-widget {
    max-width: 500px;
    width: 100%;
  }
}


/* pages/index.css */

﻿/* TOGLIE LE 2 LINEETTE PRIMA/DOPO DEL SUBTITLE */
  .section-subtitle::before,
  .section-subtitle::after {
    content: none !important;
    display: none !important;
    background: none !important;
  }

  /* Services Cards */
  .services-cards-area {
    background: var(--ta-gray-light);
    padding-top: 100px;
    padding-bottom: 120px;
  }

  .section-subtitle {
    display: inline-block;
    font-family: "new-science", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 14px;
    text-transform: uppercase;
    color: #db2833;
    letter-spacing: 7px;
    margin-bottom: 1px;
  }

  .section-title {
    font-family: "abril-text", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 42px;
    color: #00456f;
    margin-bottom: 0;
  }

  .service-card {
    background: var(--ta-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    margin-bottom: 30px;
    position: relative;
  }

  .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--ta-red), var(--ta-blue));
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  }

  .service-card:hover::before {
    opacity: 1;
  }

  .service-card-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
  }

  .service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
  }

  .service-card:hover .service-card-img img {
    transform: scale(1.1);
  }

  .service-card-content {
    padding: 40px 35px;
    text-align: center;
  }

  .service-card-title {
    font-family: "new-science", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    color: #00456f;
    text-transform: uppercase;
    margin-bottom: 15px;
  }

  .service-card-text {
    font-family: "new-science", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 25px;
  }

  .it-btn-red-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    background: transparent;
    color: var(--ta-white);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 30px;
    border: 2px solid var(--ta-white);
    cursor: pointer;
    transition: all 0.4s ease;
  }

  .course-card {
    border-radius: 22px !important;
    overflow: hidden !important;
  }

  .course-card .course-card-img {
    border-top-left-radius: 22px !important;
    border-top-right-radius: 22px !important;
    overflow: hidden !important;
  }

  .course-card .course-card-img img {
    display: block;
  }

  .course-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
  }

  .it-btn-red-outline:hover {
    background: var(--ta-white);
    color: #db2833;
    transform: translateY(-3px);
  }

  .it-brand-5-area {
    padding: 30px 0;
    background: transparent;
    overflow: hidden;
  }

  .it-brand-6-active {
    overflow: hidden !important;
    width: 100%;
  }

  .it-brand-6-active .swiper-wrapper {
    display: flex;
    will-change: transform;
    animation-name: marquee;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-duration: var(--marquee-duration, 16s);
  }

  @keyframes marquee {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(calc(-1 * var(--marquee-distance, 0px)));
    }
  }

  .it-brand-6-active .swiper-slide {
    width: auto !important;
    flex-shrink: 0;
  }

  /* BOX */
  .it-brand-5-item {
    border-radius: 999px;
    padding: 14px 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-right: 20px;
    /* distanze uguali */
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  }

  .it-brand-5-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
    filter: brightness(1.03);
  }

  /* testo sempre bianco */
  .it-brand-5-item span {
    color: #fff !important;
    font-family: "new-science", sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
  }

  /* icone */
  .it-brand-5-item img {
    width: 46px !important;
    height: 46px !important;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(1.05) contrast(1.05);
  }

  /* COLORI MACROAREE */
  .it-brand-5-item.is-beauty {
    background: #da2732 !important;
  }

  /* beauty */
  .it-brand-5-item.is-health {
    background: #00456f !important;
  }

  /* business/health */
  .it-brand-5-item.is-business {
    background: #00456f !important;
  }

  /* business/health */
  .it-brand-5-item.is-job {
    background: #0d2a3e !important;
  }

  /* engineering/job */
  .it-brand-5-item.is-engineering {
    background: #0d2a3e !important;
  }

  /* engineering/job */
  .it-brand-5-item.is-food {
    background: #9e1a28 !important;
  }

  /* food */

  /* responsive: box un filo piÃ¹ compatti */
  @media (max-width: 768px) {
    .it-brand-5-item {
      padding: 12px 18px;
      margin-right: 14px;
    }

    .it-brand-5-item img {
      width: 38px !important;
      height: 38px !important;
    }

    .it-brand-5-item span {
      font-size: 12px;
    }
  }

  /* SLIDER CORSI - SOLO 3 VISIBILI */
  .top-corsi-slider-area {
    background: var(--ta-gray-light);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
  }

  .top-corsi-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
  }

  .top-corsi-swiper {
    overflow: hidden;
    padding: 20px 0 40px;
  }

  .top-corsi-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
  }

  .top-corsi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  }

  .top-corsi-card-img {
    position: relative;
    height: 250px;
    overflow: hidden;
  }

  .top-corsi-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }

  .top-corsi-card:hover .top-corsi-card-img img {
    transform: scale(1.15);
  }

  .top-corsi-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--ta-red);
    color: #fff;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .top-corsi-clicks {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    backdrop-filter: blur(10px);
  }

  .top-corsi-clicks i {
    color: #ff6b35;
    animation: fireFlicker 1.5s infinite;
  }

  @keyframes fireFlicker {

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

    50% {
      opacity: 0.8;
      transform: scale(1.1);
    }
  }

  .top-corsi-card-content {
    padding: 35px 30px;
    text-align: center;
  }

  .top-corsi-icon {
    width: 70px;
    height: 70px;
    background: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -55px auto 25px;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 15px;
  }

  .top-corsi-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .top-corsi-icon i {
    font-size: 32px;
    color: #fff;
  }

  .top-corsi-title {
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--ta-text);
    margin-bottom: 15px;
    line-height: 1.3;
  }

  .top-corsi-desc {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 30px;
    min-height: 48px;
  }

  .top-corsi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: #00456f;
    color: #fff;
    font-family: "new-science", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px #0d2a3e;
  }

  .top-corsi-btn:hover {
    background: #0d2a3e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px #0d2a3e;
  }

  /* FRECCE NAVIGAZIONE */
  .top-corsi-nav-prev,
  .top-corsi-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    color: var(--ta-red);
    font-size: 20px;
  }

  .top-corsi-nav-prev {
    left: 10px;
  }

  .top-corsi-nav-next {
    right: 10px;
  }

  .top-corsi-nav-prev:hover,
  .top-corsi-nav-next:hover {
    background: var(--ta-red);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(219, 40, 51, 0.4);
  }

  /* PAGINATION */
  .top-corsi-pagination {
    margin-top: 40px;
    text-align: center;
  }

  .top-corsi-pagination .swiper-pagination-bullet {
    background: #ccc;
    width: 12px;
    height: 12px;
    opacity: 1;
    margin: 0 6px;
    transition: all 0.3s ease;
  }

  .top-corsi-pagination .swiper-pagination-bullet-active {
    background: var(--ta-red);
    width: 35px;
    border-radius: 6px;
  }

  /* RESPONSIVE */
  @media (max-width: 1200px) {
    .top-corsi-slider-wrapper {
      padding: 0 60px;
      max-width: 1000px;
    }
  }

  @media (max-width: 992px) {
    .services-cards-area {
      padding-top: 80px;
      padding-bottom: 80px;
    }

    .section-title {
      font-size: 32px;
    }

    .service-card-img {
      height: 200px;
    }

    .top-corsi-slider-wrapper {
      max-width: 700px;
    }
  }

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

    .service-card-title {
      font-size: 20px;
    }

    .service-card-content {
      padding: 30px 25px;
    }

    .it-brand-5-item {
      padding: 12px 24px;
    }

    .it-brand-5-item img {
      width: 36px !important;
      height: 36px !important;
    }

    .it-brand-5-item span {
      font-size: 12px;
    }

    .top-corsi-slider-wrapper {
      padding: 0 50px;
      max-width: 100%;
    }

    .top-corsi-nav-prev,
    .top-corsi-nav-next {
      width: 45px;
      height: 45px;
      font-size: 16px;
    }

    .top-corsi-nav-prev {
      left: 5px;
    }

    .top-corsi-nav-next {
      right: 5px;
    }

    .top-corsi-card-img {
      height: 200px;
    }

    .top-corsi-title {
      font-size: 20px;
    }
  }

  .top-corsi-title {
    text-transform: uppercase;
    color: #00456f;
  }

  /* Seconda strip: scorre al contrario */
  .it-brand-6-active.reverse .swiper-wrapper {
    animation: scroll-infinite-reverse 13s linear infinite;
  }

  @keyframes scroll-infinite-reverse {
    0% {
      transform: translateX(-50%);
    }

    100% {
      transform: translateX(0%);
    }
  }

  /* HERO FIX: font + spazi + responsive */
  .it-hero-area.it-hero-style-2 {
    font-family: "new-science", sans-serif !important;
    padding: 140px 0 170px;
    /* piÃ¹ â€œariaâ€ sopra e sotto */
    min-height: 760px;
    /* altezza maggiore desktop */
    background-repeat: no-repeat;
    background-position: right center;
    /* sposta lâ€™immagine piÃ¹ a destra */
    background-size: cover;
    /* desktop: ok cover */
  }

  /* contenuto: un poâ€™ di margine dal bordo e dallâ€™immagine */
  .it-hero-area.it-hero-style-2 .it-hero-content {
    padding-left: 10px;
  }

  /* titolo e testo col font giusto */
  .it-hero-area.it-hero-style-2 .it-hero-title {
    font-family: "new-science", sans-serif !important;
    font-weight: 400 !important;
    /* Regular */
    color: #00456f !important;
    margin: 0 0 22px 0;
    line-height: 1.1;
  }



  /* paragrafo */
  .it-hero-area.it-hero-style-2 .it-hero-text p {
    font-family: "new-science", sans-serif !important;
    font-weight: 400 !important;
    color: #616160 !important;
    max-width: 620px;
  }

  /* Bottoni in bold */
  .it-hero-area.it-hero-style-2 a.it-btn-red,
  .it-hero-area.it-hero-style-2 a.it-btn-red-outline {
    font-family: "new-science", sans-serif !important;
    font-weight: 700 !important;
  }

  /* MOBILE: qui risolviamo â€œfa schifoâ€ ðŸ˜„
   - mettiamo lâ€™immagine piÃ¹ â€œin altoâ€ e meno invasiva
   - aumentiamo padding e altezza
   - riduciamo un filo i font con clamp
*/
  @media (max-width: 991px) {
    .it-hero-area.it-hero-style-2 {
      padding: 110px 0 210px;
      min-height: 920px;
      /* piÃ¹ spazio per tanto testo */
      background-position: top center;
      /* evita piuma rossa dentro al testo */
      background-size: cover;
    }

    .it-hero-area.it-hero-style-2 .it-hero-title {
      font-size: clamp(34px, 7vw, 48px) !important;
      letter-spacing: 0.2px;
    }

    .it-hero-area.it-hero-style-2 .it-hero-text p {
      font-size: 16px !important;
      line-height: 1.75 !important;
      max-width: 100%;
    }
  }

  /* MOBILE â€œestremoâ€ (tipo iPhone): proviamo a non far invadere il testo
   se cover ti taglia male, usa contain per far vedere piÃ¹ immagine */
  @media (max-width: 480px) {
    .it-hero-area.it-hero-style-2 {
      background-size: contain;
      /* mostra piÃ¹ immagine, taglia meno */
      background-position: top center;
      background-color: #f6f6f6;
      /* fallback carino se rimane â€œvuotoâ€ */
    }
  }

  /* HERO â€“ BACKGROUND MOBILE */
  @media (max-width: 768px) {
    .it-hero-area.it-hero-style-2 {
      background-image: url('assets/img/shape/mobile.jpg') !important;
      background-position: center top !important;
      background-size: cover !important;
      min-height: 900px;
      padding: 110px 0 220px;
    }
  }

  /* =========================================================
   âœ… FIX CLICK/HOVER â€œBLOCCATIâ€ DA OVERLAY DEL TEMA
   (solo per questa pagina)
========================================================= */

  /* 1) Porta sopra TUTTE le sezioni dove vuoi click/hover */
  .it-hero-area.it-hero-style-2,
  .services-cards-area,
  .top-corsi-slider-area,
  .it-brand-5-area {
    position: relative !important;
    z-index: 1 !important;
  }

  /* 2) Rendi "trasparenti ai click" eventuali overlay/pseudo-elementi */
  .it-hero-area.it-hero-style-2::before,
  .it-hero-area.it-hero-style-2::after,
  .services-cards-area::before,
  .services-cards-area::after,
  .top-corsi-slider-area::before,
  .top-corsi-slider-area::after,
  .it-brand-5-area::before,
  .it-brand-5-area::after {
    pointer-events: none !important;
  }

  /* 3) Se nel tema ci sono shape assolute dentro queste sezioni */
  .it-hero-area.it-hero-style-2 *::before,
  .it-hero-area.it-hero-style-2 *::after,
  .services-cards-area *::before,
  .services-cards-area *::after,
  .top-corsi-slider-area *::before,
  .top-corsi-slider-area *::after,
  .it-brand-5-area *::before,
  .it-brand-5-area *::after {
    pointer-events: none;
  }

  /* âœ… Hover bottoni hero (inline style ma li agganciamo dal CSS) */
  .it-hero-area.it-hero-style-2 a[href="corsi.php"],
  .it-hero-area.it-hero-style-2 a[href="contatti.php"] {
    transition: transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
  }

  .it-hero-area.it-hero-style-2 a[href="corsi.php"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    filter: brightness(1.03);
  }

  .it-hero-area.it-hero-style-2 a[href="contatti.php"]:hover {
    background: #db2833 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  }

  /* âœ… Bottoni nelle card sempre cliccabili e sopra */
  .service-card-content {
    position: relative;
    z-index: 5;
  }

  .service-card a {
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
  }

  /* âœ… Hover piÃ¹ evidente */
  .service-card a:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
  }

  /* âœ… Slider corsi sopra il contenuto, ma NON sopra la navbar */
  .top-corsi-slider-area,
  .top-corsi-slider-area .container-fluid,
  .top-corsi-slider-wrapper,
  .top-corsi-swiper {
    position: relative !important;
    z-index: 1 !important;
    /* <-- prima era 9999 */
  }

  .top-corsi-btn {
    position: relative !important;
    z-index: 50 !important;
    /* sopra slider/overlay, sotto navbar */
    pointer-events: auto !important;
  }


  /* ===== BOX MACROAREE (strip corsi/partner) ===== */
  .it-brand-5-item {
    border-radius: 999px;
    padding: 14px 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-right: 20px;
    /* âœ… distanze uguali */
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  }

  /* testo sempre bianco */
  .it-brand-5-item span {
    color: #fff !important;
    font-family: "new-science", sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
  }

  /* icone: leggermente â€œpuliteâ€ su sfondo scuro */
  .it-brand-5-item img {
    width: 46px !important;
    height: 46px !important;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(1.05) contrast(1.05);
  }

  /* hover carino ma leggero */
  .it-brand-5-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
    filter: brightness(1.03);
  }

  /* ===== COLORI MACROAREE ===== */
  .it-brand-5-item.is-beauty {
    background: #da2732 !important;
  }

  .it-brand-5-item.is-business,
  .it-brand-5-item.is-health {
    background: #00456f !important;
  }

  .it-brand-5-item.is-engineering,
  .it-brand-5-item.is-job {
    background: #0d2a3e !important;
  }

  .it-brand-5-item.is-food {
    background: #9e1a28 !important;
  }


/* pages/corsi.css */

﻿/* Spazio tra banner e lista corsi */
.corsi-list-area {
   padding-top: 45px;
}

/* Course Page Styles */
   .course-filter-area {
      padding: 30px 0;
   }

   .filter-btn {
      padding: 12px 25px;
      border: 2px solid #dee2e6;
      background: #fff;
      border-radius: 30px;
      font-family: 'new-science', sans-serif;
      font-weight: 600;
      font-size: 14px;
      color: var(--ta-text);
      cursor: pointer;
      transition: all 0.3s ease;
      margin: 5px;
   }

   .filter-btn:hover,
   .filter-btn.active {
      border-color: var(--ta-red);
      background: var(--ta-red);
      color: #fff;
   }

   .course-card {
      background: #fff;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
      transition: all 0.4s ease;
      height: 100%;
      margin-bottom: 30px;
   }

   .course-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
   }

   .course-card-img {
      position: relative;
      height: 200px;
      overflow: hidden;
   }

   .course-card-img img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center top;
      transition: all 0.5s ease;
   }

   .course-card:hover .course-card-img img {
      transform: scale(1.03);
   }

   .course-category-badge {
      position: absolute;
      top: 15px;
      left: 15px;
      background: var(--ta-red);
      color: #fff;
      padding: 5px 15px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
   }

   .it-breadcrumb-area {
    min-height: 320px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

   /* struttura flex per allineare blocchi */
   .course-card-content {
      display: flex;
      flex-direction: column;
      height: 100%;
   }

   .course-price-box {
      min-height: 110px;
      display: flex;
      flex-direction: column;
      justify-content: center;
   }

   .course-price-box del {
      display: block;
      min-height: 20px;
   }

   .course-rate {
      min-height: 18px;
   }

   /* DESCRIZIONE: massimo 3 righe e altezza fissa */
   .course-card-desc {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
      /* <-- 3 righe */
      overflow: hidden;

      min-height: 72px;
      /* <-- spazio fisso (3 righe circa) */
      margin-bottom: 20px;
   }

   .course-card-content {
      padding: 15px 25px 30px;
      text-align: center;

      /* ALLINEAMENTO CARD */
      display: flex;
      flex-direction: column;
      height: 100%;
   }


   /* =========================
   COURSE CARD â€“ TITOLO & SOTTOTITOLO
   stile Training Academy
========================= */

   .course-card-title {
      font-family: 'new-science', sans-serif;
      font-weight: 700;
      font-size: 22px;
      line-height: 1.15;
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      text-transform: uppercase;
      color: #00456f;
      margin-top: 10px;
      margin-bottom: 6px;
   }

   .course-card-subtitle {
      font-family: 'new-science', sans-serif;
      font-weight: 400;
      font-size: 12px;
      line-height: 1.35;
      text-align: center;
      text-transform: uppercase;
      color: #00456f;
      margin-top: 0;
      margin-bottom: 20px;
      max-width: 90%;
      margin-left: auto;
      margin-right: auto;
   }



   .course-card-desc {
      font-family: 'new-science', sans-serif;
      font-size: 14px;
      color: #6c757d;
      line-height: 1.6;
      margin-bottom: 20px;
      min-height: 65px;
   }

   .course-meta-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-bottom: 20px;
      text-align: left;
   }

   .course-meta-item {
      background: var(--ta-gray-light);
      padding: 10px;
      border-radius: 10px;
   }

   .course-meta-item span {
      display: block;
      font-size: 11px;
      color: #6c757d;
      margin-bottom: 2px;
   }

   .course-meta-item strong {
      font-size: 13px;
      color: var(--ta-text);
   }

   .course-price-box {
      background: linear-gradient(135deg, var(--ta-blue), var(--ta-blue-dark));
      padding: 15px;
      border-radius: 15px;
      margin-bottom: 20px;
      color: #fff;
   }

   .course-price {
      font-size: 28px;
      font-weight: 700;
      margin-bottom: 5px;
   }

.course-rate {
      font-size: 13px;
      opacity: 0.9;
   }

.course-provider-ecm {
  margin: -6px 0 14px;
  font-family: 'new-science', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #00456f;
}

.corsi-list-area.ecm-view .course-card {
  background: #e3e3e3;
  border: 1px solid #d0d0d0;
}

.corsi-list-area.ecm-view .course-card:hover {
  background: #dcdcdc;
}

.corsi-list-area.ecm-view .course-meta-item {
  background: #efefef;
}

.corsi-list-area .course-card.course-card-ecm {
  background: #e7e7e7;
  border: 1px solid #d4d4d4;
}

.corsi-list-area .course-card.course-card-ecm:hover {
  background: #dfdfdf;
}

.corsi-list-area .course-card.course-card-ecm .course-meta-item {
  background: #f1f1f1;
}

   .course-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 30px;
      background: var(--ta-red);
      color: #fff;
      font-family: 'new-science', sans-serif;
      font-weight: 700;
      font-size: 14px;
      text-transform: uppercase;
      text-decoration: none;
      border-radius: 25px;
      transition: all 0.3s ease;
      width: 100%;
   }

   .course-btn:hover {
      background: var(--ta-red-hover);
      color: #fff;
      transform: translateY(-2px);
   }

   .section-divider {
      padding: 60px 0 30px;
      text-align: center;
   }

   .section-divider h2 {
      font-family: 'new-science', sans-serif;
      font-weight: 900;
      font-size: 36px;
      color: var(--ta-text);
      margin-bottom: 10px;
   }

   .section-divider .subtitle {
      font-family: 'new-science', sans-serif;
      font-size: 14px;
      font-weight: 700;
      text-transform: uppercase;
      color: var(--ta-red);
      letter-spacing: 2px;
   }

   .section-divider-icon {
      width: 80px;
      height: 80px;
      background: linear-gradient(135deg, var(--ta-red), var(--ta-red-hover));
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
   }

   .section-divider-icon i {
      font-size: 36px;
      color: #fff;
   }

   @media (max-width: 768px) {
      .course-card-desc {
         min-height: auto;
      }

      .section-divider h2 {
         font-size: 28px;
      }
   }

   .course-buy-btn {
      margin-top: 8px;
      margin-bottom: 5px;
      background: var(--ta-blue);
      /* blu come il box prezzo */
   }

   .course-buy-btn:hover {
      background: var(--ta-blue-dark);
   }

   .course-payments {
      font-family: 'new-science', sans-serif;
      font-size: 12px;
      color: #6c757d;
      margin-top: 6px;
      text-align: center;
   }

   .course-payments-icons {
      margin-top: 4px;
   }

.course-payments-icons i {
      font-size: 20px;
      margin: 0 4px;
      color: #003f7f;
      /* se vuoi, lo cambi */
   }

.course-payments-icons {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 8px;
   }

.course-payment-icon-blue {
      font-size: 30px;
      color: #0b4f7f;
      line-height: 1;
   }

.course-payment-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 78px;
      height: 32px;
      padding: 0 14px;
      border-radius: 999px;
      background: #f7a9c3;
      color: #1f2432;
      border: 1px solid rgba(31, 36, 50, 0.06);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.02em;
      vertical-align: middle;
   }

.payment-label {
      margin-bottom: 10px;
      font-size: 12px;
      font-weight: 700;
      color: #4f6472;
   }

   /* TOGLIE LE 2 LINEETTE PRIMA/DOPO DEL SUBTITLE */
   .section-subtitle::before,
   .section-subtitle::after {
      content: none !important;
      display: none !important;
      background: none !important;
   }

   /* Services Cards */
   .services-cards-area {
      padding-top: 100px;
      padding-bottom: 120px;
   }

   .section-subtitle {
      display: inline-block;
      font-family: "new-science", sans-serif;
      font-weight: 700;
      font-style: normal;
      font-size: 14px;
      text-transform: uppercase;
      color: #db2833;
      letter-spacing: 7px;
      margin-bottom: 1px;
   }

   .section-title {
      font-family: "abril-text", serif;
      font-weight: 700;
      font-style: normal;
      font-size: 42px;
      color: #00456f;
      margin-bottom: 0;
   }

   #courseLeadModal {
      padding: 24px !important;
   }

   #courseLeadModal .modal-dialog {
      width: 100%;
      max-width: 540px !important;
      margin: 40px auto !important;
   }

   #courseLeadModal .modal-content {
      width: 100%;
      border: 0;
      border-radius: 24px;
      overflow: hidden;
      background: #ffffff;
      box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
   }

   #courseLeadModal .modal-header {
      padding: 24px 24px 16px !important;
      border-bottom: 0;
      background: linear-gradient(135deg, rgba(0, 69, 111, 0.96), rgba(7, 43, 69, 0.94));
      color: #fff;
      align-items: flex-start;
   }

   #courseLeadModal .modal-title {
      font-family: "new-science", sans-serif;
      font-size: 24px;
      font-weight: 700;
      line-height: 1.1;
      color: #fff;
      margin: 0 0 8px;
      text-transform: uppercase;
   }

   #courseLeadModal .modal-header p {
      color: rgba(255, 255, 255, 0.82) !important;
      font-family: "new-science", sans-serif;
      font-size: 13px;
      line-height: 1.55;
      max-width: 360px;
      margin-bottom: 0;
   }

   #courseLeadModal .btn-close {
      position: static;
      flex-shrink: 0;
      margin-left: 14px;
      height: 40px;
      width: 40px;
      background-color: rgba(255, 255, 255, 0.14) !important;
      border: 1px solid rgba(255, 255, 255, 0.22);
      filter: invert(1) grayscale(1) brightness(200%);
      box-shadow: none;
   }

   #courseLeadModal .btn-close:hover {
      border-color: rgba(255, 255, 255, 0.4) !important;
      transform: rotate(180deg);
   }

   #courseLeadModal .modal-body {
      padding: 24px !important;
      background: radial-gradient(circle at top right, rgba(219, 40, 51, 0.08), transparent 34%), linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
   }

   #courseLeadModal .mb-3 {
      margin-bottom: 14px !important;
   }

   #courseLeadModal .form-label {
      display: block;
      margin-bottom: 8px;
      font-family: "new-science", sans-serif;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 1.8px;
      text-transform: uppercase;
      color: #db2833;
   }

   #courseLeadModal .form-control {
      min-height: 50px;
      border-radius: 14px;
      border: 1px solid rgba(0, 69, 111, 0.12);
      background: #f4f7fa;
      padding: 12px 16px;
      font-family: "new-science", sans-serif;
      font-size: 15px;
      color: #163247;
      box-shadow: none;
   }

   #courseLeadModal .form-control:focus {
      border-color: rgba(0, 69, 111, 0.35);
      background: #ffffff;
      box-shadow: 0 0 0 4px rgba(0, 69, 111, 0.08);
   }

   #courseLeadModal #courseLeadCourseDisplay {
      background: linear-gradient(180deg, #eef3f7 0%, #f8fafc 100%);
      color: #00456f;
      font-weight: 700;
   }

   #courseLeadModal .btn-primary {
      min-height: 52px;
      border: 0;
      border-radius: 999px;
      background: #db2833;
      font-family: "new-science", sans-serif;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.8px;
      text-transform: uppercase;
      transition: all 0.3s ease;
      box-shadow: 0 14px 28px rgba(219, 40, 51, 0.22);
   }

   #courseLeadModal .btn-primary:hover,
   #courseLeadModal .btn-primary:focus {
      background: #b9202a;
      transform: translateY(-2px);
      box-shadow: 0 18px 34px rgba(185, 32, 42, 0.24);
   }

   @media (max-width: 767px) {
      #courseLeadModal {
         padding: 10px !important;
      }

      #courseLeadModal .modal-dialog {
         max-width: 100% !important;
         margin: 18px auto !important;
      }

      #courseLeadModal .modal-content {
         border-radius: 20px;
      }

      #courseLeadModal .modal-header,
      #courseLeadModal .modal-body {
         padding: 18px !important;
      }

      #courseLeadModal .modal-header {
         display: flex;
         justify-content: space-between;
         align-items: flex-start;
      }

      #courseLeadModal .modal-title {
         font-size: 20px;
      }

      #courseLeadModal .modal-header p {
         max-width: 100%;
         font-size: 12px;
         line-height: 1.5;
      }

      #courseLeadModal .btn-close {
         height: 36px;
         width: 36px;
         min-width: 36px;
         margin-left: 12px;
      }

      #courseLeadModal .mb-3 {
         margin-bottom: 12px !important;
      }

      #courseLeadModal .form-label {
         font-size: 10px;
         letter-spacing: 1.4px;
      }

      #courseLeadModal .form-control,
      #courseLeadModal .btn-primary {
         min-height: 52px;
         font-size: 14px;
      }

      #courseLeadModal .form-control {
         padding: 12px 14px;
      }

      #courseLeadModal .btn-primary {
         width: 100%;
      }
   }



/* pages/corso.css */

.course-page {
  background: #f5f7fa;
  padding: 40px 0 80px;
}

.course-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.video-section,
.course-header-info,
.main-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.video-section {
  overflow: hidden;
  margin-bottom: 30px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.course-main-image {
  width: 100%;
  height: auto;
  display: block;
}

.course-header-info {
  padding: 30px;
  margin-bottom: 30px;
}

.course-title-main {
  color: #00456f;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.course-subtitle-main {
  color: #666;
  font-size: 16px;
  margin-bottom: 20px;
}


.content-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
  align-items: start;
}

.main-content {
  padding: 0;
}

.tabs-navigation {
  display: flex;
  border-bottom: 2px solid #e9ecef;
  background: #f8f9fa;
  border-radius: 12px 12px 0 0;
}

.tab-button {
  flex: 1;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: #666;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.tab-button:hover {
  background: rgba(0, 69, 93, 0.05);
  color: #00456f;
}

.tab-button.active {
  background: #fff;
  color: #00456f;
  border-bottom: 3px solid #00456f;
}

.tab-content {
  display: none;
  padding: 35px;
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  color: #00456f;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 15px;
}

.tab-content p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

.course-description-content {
  color: #555;
}

.course-description-content p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}

.course-description-content h4 {
  color: #00456f;
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 12px;
  letter-spacing: 0.02em;
}

.course-description-content h4:first-child {
  margin-top: 0;
}

.course-description-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.course-description-content li {
  color: #555;
  line-height: 1.8;
  margin-bottom: 8px;
}

.course-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin: 20px 0;
  color: #444;
}

.edizioni-wrapper {
  display: grid;
  gap: 15px;
}

.edizione-item {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 20px;
}

.edizione-date {
  color: #00456f;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.edizione-details {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

.edizione-badge {
  display: inline-block;
  background: #00456f;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 10px;
}

.brochure-download {
  background: #00456f;
  padding: 35px;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  margin: 26px 0 20px;
}

.brochure-download h3,
.brochure-download p {
  color: #fff;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #00456f;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
}

.contact-form-wrapper {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  margin-top: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-size: 15px;
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 20px 0;
}

.form-submit {
  width: 100%;
  background: #00456f;
  color: #fff;
  padding: 14px;
  border: 0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
}

.sidebar-price {
  position: sticky;
  top: 80px;
}

.price-box {
  background: #00456f;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.price-header {
  background: #00456f;
  padding: 25px;
  text-align: center;
  color: #fff;
}

.price-label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.price-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.price-current {
  font-size: 40px;
  font-weight: 700;
}

.price-old {
  font-size: 22px;
  text-decoration: line-through;
  opacity: 0.7;
}

.price-vat {
  font-size: 13px;
}

.price-body {
  background: #fff;
  padding: 25px;
}

#course-buy-form,
#course-buy-btn {
  position: relative;
  z-index: 30;
}

.formula-section {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.formula-title {
  color: #00456f;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.formula-price {
  font-size: 32px;
  font-weight: 700;
  color: #00456f;
}

.formula-rate,
.formula-note {
  font-size: 14px;
  color: #666;
}

.formula-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
  font-weight: 700;
}

.payment-methods {
  text-align: center;
  margin: 20px 0;
}

.course-payments-icons i {
  font-size: 30px;
  margin: 0 5px;
}

.reservation-note {
  background: #fff3cd;
  color: #856404;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
  margin-bottom: 15px;
  border-left: 3px solid #ffc107;
}

.cta-primary,
.cta-secondary {
  display: block;
  text-align: center;
  padding: 16px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.cta-primary {
  background: #dc143c;
  color: #fff;
  margin-bottom: 12px;
}

.cta-secondary {
  background: #00456f;
  color: #fff;
}

.about-hero-img {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  overflow: hidden;
  background: #fff;
}

.about-hero-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .2) 100%);
}

.captcha-wrap {
  margin: 18px 0;
}

.course-empty {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.course-promo-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6d8292;
}

.course-promo-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: min(360px, calc(100vw - 32px));
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.course-promo-widget.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.course-promo-widget-inner {
  position: relative;
  border: 1px solid rgba(0, 69, 111, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 45px rgba(8, 34, 52, 0.16);
  padding: 18px;
  backdrop-filter: blur(12px);
}

.course-promo-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #eff4f7;
  color: #345466;
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.course-promo-title {
  color: #00456f;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.08;
  margin: 0 42px 10px 0;
}

.course-promo-text {
  color: #375466;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 14px;
  padding-right: 18px;
}

.course-promo-price-box {
  border-radius: 16px;
  background: #eef4f8;
  padding: 14px 16px;
  margin-bottom: 0;
}

.course-promo-price-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a7f8d;
  margin-bottom: 6px;
}

.course-promo-price {
  display: block;
  color: #db2833;
  font-size: 28px;
  line-height: 1;
}

.course-promo-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  border-radius: 999px;
  background: #db2833;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.course-promo-buy:hover {
  background: #b9202a;
  color: #fff;
}

@media (max-width: 767px) {
  .course-promo-widget {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }

  .course-promo-widget-inner {
    padding: 16px;
  }

  .course-promo-title {
    font-size: 19px;
  }

  .course-promo-text {
    font-size: 14px;
  }

  .course-promo-price {
    font-size: 24px;
  }
}

@media (max-width: 991px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-price {
    position: relative;
    top: 0;
    order: -1;
  }

  .course-title-main {
    font-size: 26px;
  }

  .course-single-main + footer .it-footer-style-3 .it-footer-area {
    padding-top: 60px;
  }
}

@media (max-width: 767px) {
  .course-page {
    padding: 20px 0 50px;
  }

  .course-header-info,
  .tab-content,
  .contact-form-wrapper {
    padding: 20px;
  }

  .form-row,
  .course-data-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-img {
    height: 320px;
  }

  .about-hero-photo {
    height: 100%;
  }

  .course-single-main + footer .it-footer-style-3 .it-footer-area {
    padding-top: 40px;
  }
}


/* pages/contatti.css */

.contact-action-img {
  cursor: pointer;
}

.contact-map-frame {
  border: 0;
}


/* carrello.css */

.flash-stack {
  max-width: 900px;
  margin: 16px auto 0;
  display: grid;
  gap: 10px;
  padding: 0 12px;
}

.flash-card {
  border: 1px solid;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
}

.flash-dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  flex: 0 0 auto;
}

.flash-card.flash-info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e3a8a;
}

.flash-card.flash-info .flash-dot {
  background: #2563eb;
}

.flash-card.flash-success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.flash-card.flash-success .flash-dot {
  background: #059669;
}

.flash-card.flash-danger {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.flash-card.flash-danger .flash-dot {
  background: #dc2626;
}

.auth-password-wrap {
  position: relative;
}

.auth-password-input {
  padding-right: 44px;
}

.auth-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #0d6efd;
  width: 24px;
  height: 24px;
  padding: 0;
  z-index: 4;
  line-height: 1;
}

.auth-password-toggle:hover {
  color: #0a58ca;
}

.auth-password-toggle:focus {
  outline: none;
  box-shadow: none;
}

.auth-password-toggle i {
  pointer-events: none;
}

/* Corregge conflitto con pages/corso.css che nasconde globalmente .tab-content */
.cart-page .tab-content {
  display: block;
}

/* Evita che overlay/global theme blocchino i click nella pagina corso singolo */
.course-page .course-container,
.course-page .main-content,
.course-page .sidebar-price,
.course-page .price-box,
.course-page .price-body,
.course-page #course-buy-Zform {
  z-index: 5;
}

.course-page #course-buy-btn,
.course-page #course-buy-form button,
.course-page #course-buy-form input,
.course-page a,
.course-page button {
  pointer-events: auto !important;
}

/* Nella pagina dettaglio corso il footer style-3 non deve sovrapporsi al box acquisto */
.course-single-main + footer .it-footer-style-3 {
  margin-top: 0;
}

.course-single-main + footer .it-footer-style-3 .it-footer-area {
  padding-top: 80px;
}

/* Evita che overlay/global theme blocchino i click nel box auth del carrello */
.cart-page .container,
.cart-page .row,
.cart-page .col-md-6,
.cart-page .nav,
.cart-page .tab-content,
.cart-page .tab-pane,
.cart-page form {
  position: relative;
  z-index: 5;
}

.cart-page .nav-link,
.cart-page .btn,
.cart-page input,
.cart-page label,
.cart-page a {
  pointer-events: auto !important;
}

/* Form carrello: stile squadrato (niente bordi stondati) */
.cart-page .form-control,
.cart-page .form-select,
.cart-page .btn {
  border-radius: 0 !important;
}

/* Back to top reliability fix */
.scroll-top {
  z-index: 9999;
  pointer-events: auto;
}

/* Distanzia la lista corsi dal banner hero */
.it-breadcrumb-area + .corsi-list-area {
  padding-top: 70px !important;
}
/* Card: imposto solo altezza minima 120 */
.course-card {
  min-height: 120px !important;
}
