* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* HERO */

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #4a7c59 0%, #5d9370 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient( 30deg, rgba(255,255,255,0.025) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.025) 87.5%, rgba(255,255,255,0.025) ), linear-gradient( 150deg, rgba(255,255,255,0.025) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.025) 87.5%, rgba(255,255,255,0.025) ), linear-gradient( to bottom, rgba(34, 122, 84, 0.92), rgba(18, 78, 54, 0.96) );
  background-size: 100px 180px, 100px 180px, 100% 100%;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-label {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: white;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 48px;
  color: white;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 800px;
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  max-width: 720px;
  line-height: 1.7;
  font-weight: 400;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 15px;
  font-weight: 500;
}

.feature-icon {
  background: rgba(255,255,255,0.2);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
  }
}

@media (max-width: 991.98px) {
  .hero-content {
    padding-top: 42px;
    padding-bottom: 42px;
  }
}

@media (max-width: 991.98px) {
  .hero h1 {
    font-size: 34px;
    line-height: 1.15;
    margin-bottom: 12px;
  }
}

@media (max-width: 991.98px) {
  .hero-subtitle {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 16px !important;
    max-width: 100%;
  }
}

@media (max-width: 991.98px) {
  .hero-label {
    font-size: 12px;
    padding: 6px 14px;
    margin-bottom: 16px;
  }
}

.hero-features {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 991.98px) {
  .feature-item {
    font-size: 13px;
    gap: 10px;
  }
}

@media (max-width: 991.98px) {
  .feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
}

@media (max-width: 991.98px) {
  .feature-icon svg {
    width: 18px;
    height: 18px;
  }
}

/* Bottoni: rinominati per non pestare Bootstrap */

.btn-link-custom {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  padding: 0.6rem 0.2rem;
  border-radius: 10px;
}

.btn-link-custom:hover {
  color: #fff;
  text-decoration: underline;
}

.btn-primary-custom, .btn-secondary-custom {
  padding: 15px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary-custom {
  background: white;
  color: #2d5a3d;
}

.btn-primary-custom:hover {
  background: rgba(0,0,0,0.29);
  transform: translateY(-1px);
}

.btn-secondary-custom {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.31);
  font-weight: 300;
}

.btn-secondary-custom:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
}

@media (max-width: 991.98px) {
  .cta-buttons a {
    width: 100%;
    text-align: center;
  }
}

/* INTRO */

.intro-section {
  background: white;
  padding: 20px 0;
}

.intro-content {
  max-width: 900px;
  margin-bottom: 60px;
}

.intro-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #55635C;
  margin-bottom: 20px;
}

.intro-content strong {
  color: #2d5a3d;
  font-weight: 600;
}

/* PROFESSIONALS */

.professionals-section {
  background: #f8f9fa;
  padding: 45px 0;
}

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

.section-label {
  display: inline-block;
  color: #4a7c59;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 40px;
  color: #1F3D2B;
  margin-bottom: 16px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 18px;
  color: #55635C;
  line-height: 1.7;
}

.professional-card {
  background: white;
  padding: 32px 28px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.professional-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(74,124,89,0.12);
  border-color: #4a7c59;
}

.professional-icon {
  width: 56px;
  height: 56px;
  background: rgba(34, 122, 84, 0.12);
  color: #1B6547;
  border: 1px solid rgba(34, 122, 84, 0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.professional-card h3 {
  color: #227A54;
  font-size: 19px;
  margin-bottom: 12px;
  font-weight: 700;
}

.professional-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* PROGRAMS */

.programs-section {
  background: white;
  padding: 45px 0;
}

.program-card {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(74,124,89,0.15);
  border-color: #4a7c59;
}

.program-header {
  background: linear-gradient( 135deg, rgba(34, 122, 84, 0.92), rgba(18, 78, 54, 0.96) );
  padding: 40px 35px;
  text-align: center;
}

.program-logo {
  max-width: 130px;
  height: auto;
  margin: 0 auto 20px;
  background: white;
  padding: 15px;
  border-radius: 8px;
}

.program-header h3 {
  color: white;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.program-body {
  padding: 35px;
}

.program-body h4 {
  color: #2d5a3d;
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 700;
}

.program-body ul {
  list-style: none;
}

.program-body li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: #55635C;
  line-height: 1.6;
}

.program-body li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4a7c59;
  font-weight: bold;
  font-size: 18px;
}

.program-cta {
  text-align: center;
  padding: 0 35px 35px;
}

/* HOW IT WORKS */

.how-it-works {
  background: #f8f9fa;
  padding: 45px 0;
}

.step-card {
  background: white;
  padding: 35px 30px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  position: relative;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 30px;
  background: linear-gradient( 135deg, rgba(34, 122, 84, 0.95), rgba(18, 78, 54, 0.98) );
  color: rgba(255,255,255,0.95);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(18,78,54,0.35);
}

.step-card h4 {
  color: #2d5a3d;
  font-size: 19px;
  margin-bottom: 12px;
  margin-top: 15px;
  font-weight: 700;
}

.step-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* STATS */

.stat-item {
  padding: 20px;
}

.stat-item h4 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #4a7c59;
}

.stat-item p {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Responsive */

@media (max-width: 768px) {
  .hero {
    min-height: 500px;
  }
}

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

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

@media (max-width: 768px) {
  .intro-section {
    padding: 50px 0;
  }
}

@media (max-width: 768px) {
  .intro-content p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .professionals-section {
    padding: 20px 0;
  }
}

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

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

@media (max-width: 768px) {
  .programs-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .how-it-works {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .stats-section {
    padding: 50px 0;
  }
}

@media (max-width: 768px) {
  .stat-item h4 {
    font-size: 40px;
  }
}

/* CTA full-width su mobile, stile identico al tuo */

@media (max-width: 768px) {
  .cta-buttons a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .hero-subtitle {
    font-size: 16px;
  }
}

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

/* =====================
   SWIPER / CAROUSEL
===================== */

.carousel-item {
  height: auto;
  width: 210px;
}

.mySwiper {
  width: 100%;
  height: 160px;
}

.swiper-slide {
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}

.swiper-slide img {
  height: 100px;
  width: 150px;
  object-fit: contain;
}

.swiper-button-next, .swiper-button-prev {
  color: #3f3f3f;
}

.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 10px!important;
}

/* =====================
   REVIEWS
===================== */

#reviews-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px;
  justify-content: flex-start;
}

.review-card {
  flex: 1 1 280px;
  max-width: 100%;
  border: 1px solid #ddd;
  padding: 16px;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.review-card:hover {
  transform: scale(1.02);
}

.review-stars {
  color: #ffc107;
  font-size: 1.2em;
  margin-bottom: 8px;
}

.review-text {
  font-size: 1rem;
  color: #333;
  margin-bottom: 10px;
}

.review-meta {
  font-size: 0.9rem;
  color: #666;
  text-align: right;
}

@media (max-width: 600px) {
  #reviews-container {
    padding: 8px;
  }
}

@media (max-width: 600px) {
  .review-card {
    flex: 1 1 100%;
    padding: 12px;
  }
}

.hero-sideCard {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 22px;
}

.hero-sideTitle {
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 8px;
}

.hero-sideText {
  color: rgba(255,255,255,0.88);
  line-height: 1.55;
  font-size: 0.98rem;
}

.hero-sideMini {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.hero-miniItem {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255,255,255,0.86);
  font-size: 0.95rem;
}

@media (max-width: 991.98px) {
  .hero-sideCard--compact {
    padding: 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.10);
  }
}

@media (max-width: 991.98px) {
  .hero-sideCard--compact .hero-sideTitle {
    font-size: 0.98rem;
    margin-bottom: 8px;
  }
}

@media (max-width: 991.98px) {
  .hero-sideList--compact {
    padding-left: 16px;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.35;
  }
}

@media (max-width: 991.98px) {
  .hero-sideList--compact li {
    margin-bottom: 6px;
  }
}

@media (max-width: 991.98px) {
  .hero-sideCallout {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.92);
    font-size: 0.90rem;
    line-height: 1.35;
  }
}

.hero-miniDot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.25);
  flex: 0 0 auto;
}

.nca-heroTitle, .hero h1 {
  text-shadow: 0 10px 26px rgba(0,0,0,0.18);
}

.hero-sideList {
  color: rgba(255,255,255,0.84);
  font-size: 0.95rem;
}

.hero-sideList strong {
  color: rgba(255,255,255,0.92);
  font-weight: 750;
}

.hero-sideList li {
  margin-bottom: 10px;
}

.hero-sideDivider {
  background: rgba(255,255,255,0.29);
  margin: 12px 0;
  height: 1px;
  width: 100%;
}

.hero-sideNote {
  color: rgba(255,255,255,0.80);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero-sideCard--mobile {
  box-shadow: none;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
}

@media (max-width: 991.98px) {
  .hero-subtitle {
    margin-bottom: 1.2rem !important;
  }
}

@media (max-width: 991.98px) {
  .hero-features {
    margin-bottom: 1.2rem !important;
  }
}

