@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0a4d2e;           /* Deep Forest Green */
  --primary-dark: #042e1b;      /* Minimal Dark Green */
  --primary-light: #12663f;     /* Vibrant Accent Green */
  --accent-gold: #d49b28;       /* Premium Warm Gold */
  --accent-gold-hover: #b3801d;
  --accent-light: #f0f7f3;      /* Crisp Mint Ivory */
  --bg-cream: #fafcfb;         /* Minimal White Cream */
  --bg-light: #f4f8f5;
  --text-dark: #0f172a;        /* Deep Slate Dark */
  --text-body: #334155;        /* Premium Body Text */
  --text-muted: #64748b;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 10px rgba(10, 77, 46, 0.05);
  --shadow-md: 0 8px 24px rgba(10, 77, 46, 0.08);
  --shadow-lg: 0 16px 36px rgba(10, 77, 46, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-main: 'Poppins', -apple-system, sans-serif;
  --font-heading: 'Montserrat', -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-cream);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-name, .section-title {
  font-family: var(--font-heading);
}



a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography & Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }

.section-tag {
  display: inline-block;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: var(--accent-light);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 680px;
  margin: 0 auto 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13, 92, 58, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 92, 58, 0.35);
}

.btn-gold {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

.btn-gold:hover {
  background: var(--accent-gold-hover);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-color);
  color: var(--text-dark);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--accent-light);
}

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

.btn-white:hover {
  background: var(--accent-light);
  color: var(--primary-dark);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* TOP ANNOUNCEMENT BAR */
.top-bar {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.825rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-text {
  font-weight: 600;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-links a {
  color: rgba(255, 255, 255, 0.85);
}

.top-bar-links a:hover {
  color: var(--accent-gold);
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-left: 10px;
}

/* HEADER & MAIN NAV */
.main-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo img {
  height: 52px;
  width: auto;
}

.brand-title {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}

.mobile-toggle {
  display: none;
  font-size: 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
}

/* HERO SECTION */
.hero-section {
  padding: 40px 0 60px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-cream) 100%);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.18;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.badge-item i {
  color: var(--accent-gold);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 420px;
  background: transparent;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: transparent;
}

.hero-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-image-wrapper > img,
.hero-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transition: transform 6s ease;
  transform: scale(1.0);
}

.hero-slide.active img {
  transform: scale(1.05);
}

.hero-slider-prev,
.hero-slider-next {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(13, 92, 58, 0.85);
  color: white;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
  transform: translateY(-50%) scale(1.1);
}

.hero-slider-prev { left: 14px; }
.hero-slider-next { right: 14px; }

.hero-slider-dots {
  position: absolute;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-slider-dot.active {
  background: var(--accent-gold);
  width: 24px;
  border-radius: 10px;
}

.hero-overlay-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.96);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-md);
}

.hero-overlay-icon {
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* STATS ROW */
.stats-bar {
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.stat-card {
  text-align: center;
  padding: 10px;
  border-right: 1px dashed var(--border-color);
}

.stat-card:last-child {
  border-right: none;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-card:last-child .stat-number {
  font-size: 1.25rem;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-body);
}

/* WHY CHOOSE US */
.why-choose {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: var(--white);
  padding: 28px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

/* ADMISSIONS BANNER */
.admissions-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.admissions-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.admissions-info h2 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.admissions-info p {
  opacity: 0.9;
  margin-bottom: 24px;
}

.admissions-img img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-height: 240px;
  object-fit: cover;
  width: 100%;
}

.admissions-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admissions-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.admissions-checklist i {
  color: var(--accent-gold);
}

/* COURSES SECTION */
.courses-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.course-thumb {
  position: relative;
  height: 180px;
  background: #2c4a3b;
  overflow: hidden;
}

.course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent-gold);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.course-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
  font-size: 0.825rem;
  color: var(--text-body);
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-body .btn {
  margin-top: auto;
  width: 100%;
}

/* PLACEMENTS SECTION */
.placements-section {
  padding: 80px 0;
}

.placement-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
}

.recruiters-box {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.recruiters-logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0 32px;;
}

.recruiter-item {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  background: var(--accent-light);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  height: 110px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.65);
  color: var(--white);
  font-size: 0.7rem;
  text-align: center;
  padding: 4px;
}

/* SIDEBAR ENQUIRY FORM */
.enquiry-card {
  background: var(--primary-dark);
  color: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.enquiry-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--accent-gold);
}

.enquiry-card p {
  font-size: 0.875rem;
  opacity: 0.85;
  margin-bottom: 24px;
}

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

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(217, 155, 38, 0.3);
}

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

.enquiry-card .btn {
  width: 100%;
  margin-top: 10px;
  background: var(--primary-light);
}

.enquiry-card .btn:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

.quick-contact-btns {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.quick-contact-btns a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.quick-contact-btns a:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* TESTIMONIALS SECTION */
.testimonials-section {
  padding: 70px 0;
  background: var(--bg-cream);
}

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.tab-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--border-color);
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* SHORT VERTICAL VIDEO TESTIMONIALS (9:16 REELS) */
.vertical-video-section {
  padding: 70px 0;
  background: var(--bg-cream);
}

.vertical-video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
  width: 100%;
  box-sizing: border-box;
}

.vertical-video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-color);
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vertical-video-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.vertical-video-card:active {
  transform: scale(0.97);
}

.vertical-video-thumb,
.vertical-video-card img,
.vertical-video-card video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  z-index: 1;
}

.vertical-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  color: #fff;
  z-index: 2;
  pointer-events: none;
  box-sizing: border-box;
}

.vertical-duration-badge {
  align-self: flex-end;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.vertical-play-icon {
  align-self: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(217, 155, 38, 0.9);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

.vertical-video-card:hover .vertical-play-icon {
  transform: scale(1.15);
  background: #d99b26;
}

.vertical-user-info {
  width: 100%;
  box-sizing: border-box;
}

.vertical-user-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  line-height: 1.2;
}

.vertical-user-info span {
  font-size: 0.78rem;
  color: var(--accent-gold);
  font-weight: 600;
  display: block;
}

/* Mobile & Tablet Optimizations for Short Vertical Reels */
@media (max-width: 992px) {
  .vertical-video-section {
    padding: 50px 0;
  }
  .vertical-video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
  }
}

@media (max-width: 576px) {
  .vertical-video-section {
    padding: 36px 0 70px; /* Extra bottom clearance for mobile floating widgets */
  }
  .vertical-video-grid {
    grid-template-columns: repeat(2, 1fr) !important; /* 2 Symmetrical Reel columns filling 100% mobile width */
    gap: 12px !important;
    margin-top: 18px !important;
    width: 100% !important;
  }
  .vertical-video-card {
    border-radius: 12px;
    border-width: 1.5px;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 9 / 16 !important;
  }
  /* Show only 2 videos on mobile view */
  .vertical-video-card:nth-child(n+3) {
    display: none !important;
  }
  .vertical-video-card:only-child {
    grid-column: span 2;
    max-width: 220px !important;
    justify-self: center;
    margin: 0 auto;
  }
  .vertical-video-overlay {
    padding: 10px 10px;
  }
  .vertical-duration-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 10px;
  }
  .vertical-play-icon {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
  .vertical-user-info h4 {
    font-size: 0.85rem;
    margin-bottom: 2px;
    line-height: 1.2;
  }
  .vertical-user-info span {
    font-size: 0.7rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 360px) {
  .vertical-video-grid {
    gap: 8px !important;
  }
  .vertical-video-overlay {
    padding: 8px;
  }
  .vertical-user-info h4 {
    font-size: 0.8rem;
  }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--accent-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.user-details h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.user-details span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stars {
  color: var(--accent-gold);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 0.925rem;
  color: var(--text-body);
  font-style: italic;
}

/* LATEST ACTIVITIES */
.activities-section {
  padding: 70px 0;
  background: var(--white);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.activity-card {
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.25s ease;
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.activity-thumb {
  height: 120px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 2rem;
}

.activity-content {
  padding: 14px;
}

.activity-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.activity-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

/* BOTTOM CTA BANNER */
.bottom-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 48px 0;
}

.bottom-cta-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bottom-cta-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.bottom-cta-btns {
  display: flex;
  gap: 16px;
}

/* FOOTER */
.site-footer {
  background: #042416;
  color: #c5d8cf;
  padding: 60px 0 20px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: var(--white);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

/* MODAL STYLES */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 16px;
  box-sizing: border-box;
  overflow-y: auto;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* SHORT VERTICAL VIDEO MODAL STYLES */
.video-modal-box {
  max-width: 320px !important;
  width: auto !important;
  max-height: 92vh !important;
  padding: 14px 16px 16px !important;
  background: #042e1b !important;
  color: white !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  position: relative !important;
  border-radius: 16px !important;
  border: 1px solid rgba(217, 155, 38, 0.5) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.85) !important;
  margin: auto !important;
}

.video-modal-box .modal-close {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.25) !important;
  color: white !important;
  border: none !important;
  font-size: 1.4rem !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 100 !important;
  transition: all 0.2s ease !important;
}

.video-modal-box .modal-close:hover {
  background: var(--accent-gold) !important;
  color: #000 !important;
}

.video-modal-player-wrapper {
  height: min(62vh, 430px) !important;
  aspect-ratio: 9 / 16 !important;
  width: auto !important;
  max-width: 100% !important;
  background: #000 !important;
  border-radius: 12px !important;
  border: 2px solid var(--accent-gold) !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 1 !important;
}

/* COMPREHENSIVE MOBILE OPTIMIZATIONS & MEDIA QUERIES */

/* Header Stacking for Mobile Menu */
.main-header.menu-open,
.main-header:has(.nav-menu.active) {
  z-index: 999995 !important;
}

/* Mobile Drawer Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65) !important;
  z-index: 999990 !important;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: none !important;
  -webkit-filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

@media (max-width: 1024px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .hero-image-wrapper {
    order: -1;
    width: 100%;
  }
  .hero-content {
    order: 1;
  }
  .placement-layout, .admissions-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .features-grid, .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .activities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .mobile-toggle { 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--accent-light);
    color: var(--primary);
  }

  /* Slide-in Mobile Drawer */
  .nav-menu {
    display: flex;
    position: fixed;
    top: 0;
    right: -300px;
    width: 285px;
    height: 100vh;
    background: #ffffff !important;
    flex-direction: column;
    padding: 80px 24px 30px;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
    z-index: 999999 !important;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    gap: 16px;
    filter: none !important;
    -webkit-filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0d5c3a !important;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    opacity: 1 !important;
    filter: none !important;
    text-shadow: none !important;
  }

  .mobile-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-dark);
    background: none;
    border: none;
    cursor: pointer;
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 16px; }
  .stat-card { border-right: none; border-bottom: 1px dashed var(--border-color); padding-bottom: 12px; }
  .features-grid, .courses-grid, .activities-grid { grid-template-columns: 1fr; }
  .bottom-cta-flex { flex-direction: column; gap: 20px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }

  /* Hero Section Mobile Adjustments */
  .hero-content h1 { font-size: 1.85rem; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .hero-image-wrapper,
  .hero-slider-container,
  .hero-slide {
    min-height: 230px !important;
    max-height: 240px !important;
    height: 230px !important;
    border-radius: 14px !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .hero-image-wrapper img,
  .hero-slide img {
    width: 100% !important;
    height: 230px !important;
    min-height: 230px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  /* Floating Widgets on Mobile */
  .whatsapp-float {
    bottom: 12px !important;
    right: 10px !important;
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    border-radius: 20px !important;
    z-index: 1200 !important;
  }

  #aiBotWidget {
    bottom: 12px !important;
    left: 10px !important;
    z-index: 1200 !important;
  }

  #aiBotToggle {
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    border-radius: 20px !important;
  }

  #aiBotWindow {
    width: calc(100vw - 20px) !important;
    max-width: 320px !important;
    bottom: 48px !important;
    left: 0 !important;
  }

  /* Modals on Mobile */
  .modal-box {
    width: 94%;
    padding: 24px 18px;
    max-height: 85vh;
    overflow-y: auto;
  }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.1rem; }
  .brand-sub { font-size: 0.65rem; }
  .section-title { font-size: 1.75rem; }
}

/* ==========================================================================
   OUR JOURNEY - AYURVEDA HERITAGE SECTION
   ========================================================================== */
.heritage-intro-wrapper {
  margin-bottom: 50px;
}

.heritage-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: stretch;
}

.heritage-img-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.heritage-founder-frame {
  background: #fdfaf3;
  border: 1px solid #ebd9c0;
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heritage-founder-frame img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.heritage-building-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 320px;
  border: 1px solid var(--border-color);
}

.heritage-building-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.heritage-badge-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(4, 46, 27, 0.92) 0%, rgba(4, 46, 27, 0.4) 70%, transparent 100%);
  padding: 24px 16px 16px;
  color: #ffffff;
}

.heritage-badge {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: var(--accent-gold);
  color: #000000;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.heritage-badge-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
}

.heritage-text-content {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.heritage-headline {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 18px;
  line-height: 1.3;
}

.malayalam-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.heritage-quote-box {
  margin-top: 24px;
  padding: 18px 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.7;
  box-shadow: 0 8px 20px rgba(10, 77, 46, 0.2);
  border-left: 5px solid var(--accent-gold);
  position: relative;
}

.heritage-quote-box .quote-icon {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-right: 8px;
}

@media (max-width: 991px) {
  .heritage-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .heritage-img-card {
    max-width: 100%;
    width: 100%;
  }
  .heritage-founder-frame img {
    max-height: 360px;
  }
  .heritage-building-frame {
    height: 280px;
  }
}

/* ==========================================================================
   ATTRACTIVE MODERN JOURNEY TIMELINE — CLEAN, ELEGANT & STABLE
   ========================================================================== */
.winding-road-section.clean-timeline-section {
  background: linear-gradient(180deg, #f8fbf9 0%, #edf5f0 100%);
  border-radius: 30px;
  padding: 60px 30px 70px;
  margin-top: 40px;
  border: 1px solid #d4e8dd;
  box-shadow: 0 12px 36px rgba(13, 92, 58, 0.06);
  position: relative;
}

/* Header */
.wm-header {
  text-align: center;
  margin-bottom: 50px;
}

.wm-tag {
  display: inline-block;
  background: #fef0cc;
  color: #8b2613;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 7px 24px;
  border-radius: 24px;
  margin-bottom: 14px;
  border: 1px solid #f0d9a0;
  text-transform: uppercase;
}

.wm-main-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0d5c3a;
  line-height: 1.35;
  margin: 0 0 12px;
  font-family: 'Montserrat', sans-serif;
}

.wm-title-sub {
  display: block;
  font-size: 1.7rem;
  color: #8b2613;
  margin-top: 4px;
}

.wm-lead {
  max-width: 820px;
  margin: 0 auto;
  font-size: 0.96rem;
  line-height: 1.85;
  color: #2c4237;
}

/* Timeline Track Container */
.ct-timeline-wrap {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Continuous Center Spine */
.ct-timeline-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 60px;
  left: 50%;
  width: 4px;
  background: linear-gradient(180deg, #eab308 0%, #0d5c3a 40%, #0d5c3a 75%, #eab308 100%);
  transform: translateX(-50%);
  border-radius: 4px;
  z-index: 1;
}

/* Timeline Item Row */
.ct-item {
  position: relative;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.ct-item-left {
  justify-content: flex-start;
}

.ct-item-right {
  justify-content: flex-end;
}

/* Interlock Left and Right Cards on Desktop to Drastically Reduce the Vertical Gap */
@media (min-width: 769px) {
  .ct-item-right {
    margin-top: -55px;
  }
  .ct-item-left:not(:first-child) {
    margin-top: -55px;
  }
}

/* Central Milestone Badge Node */
.ct-node {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #0d5c3a;
  box-shadow: 0 0 0 4px rgba(234, 179, 8, 0.35), 0 4px 14px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0d5c3a;
  z-index: 10;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.ct-item:hover .ct-node {
  background: #0d5c3a;
  color: #facc15;
  transform: translateX(-50%) scale(1.08);
  box-shadow: 0 0 0 6px rgba(234, 179, 8, 0.55), 0 6px 20px rgba(13, 92, 58, 0.22);
}

/* Content Card */
.ct-card {
  width: calc(50% - 38px);
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 20px;
  border: 1px solid #dcece3;
  box-shadow: 0 6px 18px rgba(13, 92, 58, 0.05);
  position: relative;
  transition: all 0.3s ease;
  z-index: 5;
}

.ct-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(13, 92, 58, 0.11);
  border-color: #a7d6bc;
}

/* Card Pointer Connector to Center Line */
.ct-item-left .ct-card::after {
  content: '';
  position: absolute;
  top: 24px;
  right: -8px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-top: 1px solid #dcece3;
  border-right: 1px solid #dcece3;
  transform: translateY(-50%) rotate(45deg);
}

.ct-item-right .ct-card::after {
  content: '';
  position: absolute;
  top: 24px;
  left: -8px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-bottom: 1px solid #dcece3;
  border-left: 1px solid #dcece3;
  transform: translateY(-50%) rotate(45deg);
}

/* Card Header */
.ct-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ct-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eef7f2;
  color: #0d5c3a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.ct-card:hover .ct-icon-box {
  transform: scale(1.08) rotate(4deg);
  background: #0d5c3a;
  color: #facc15;
}

.ct-step-tag {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid #fde68a;
  text-transform: uppercase;
}

/* Card Title */
.ct-card-title {
  font-size: 1.06rem;
  font-weight: 800;
  color: #0d5c3a;
  margin: 0 0 5px;
  line-height: 1.35;
  font-family: 'Montserrat', sans-serif;
}

.ct-accent-line {
  width: 28px;
  height: 2.5px;
  background: #eab308;
  border-radius: 2px;
  margin-bottom: 8px;
}

/* Card Description */
.ct-card-desc {
  font-size: 0.86rem;
  line-height: 1.68;
  color: #374151;
  margin: 0;
}

/* Bottom Vision Banner */
.ct-bottom-banner {
  position: relative;
  z-index: 10;
  background: linear-gradient(135deg, #0d5c3a 0%, #06311d 100%);
  border: 2px solid #eab308;
  border-radius: 22px;
  padding: 22px 30px;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 36px;
  box-shadow: 0 14px 34px rgba(13, 92, 58, 0.22);
}

.ct-rocket-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef08a 0%, #eab308 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06311d;
  font-size: 1.75rem;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(234, 179, 8, 0.4);
  transition: transform 0.3s ease;
}

.ct-bottom-banner:hover .ct-rocket-circle {
  transform: scale(1.08) rotate(10deg);
}

.ct-banner-title {
  color: #facc15;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 4px;
  font-family: 'Montserrat', sans-serif;
}

.ct-banner-sub {
  color: #d1fae5;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   RESPONSIVE TIMELINE (MOBILE & TABLETS <= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .winding-road-section.clean-timeline-section {
    padding: 32px 14px 40px;
    border-radius: 18px;
  }

  .ct-timeline-wrap::before {
    left: 20px;
    transform: none;
  }

  .ct-item {
    margin-bottom: 12px;
    margin-top: 0 !important;
  }

  .ct-node {
    left: 20px;
    transform: translateX(-50%);
    width: 38px;
    height: 38px;
    font-size: 0.92rem;
    top: 14px;
  }

  .ct-item:hover .ct-node {
    transform: translateX(-50%) scale(1.05);
  }

  .ct-card {
    width: calc(100% - 48px);
    margin-left: 48px !important;
    margin-right: 0 !important;
    padding: 14px 16px;
    border-radius: 16px;
  }

  .ct-item-left .ct-card::after,
  .ct-item-right .ct-card::after {
    left: -7px;
    right: auto;
    border-top: none;
    border-right: none;
    border-bottom: 1px solid #dcece3;
    border-left: 1px solid #dcece3;
    top: 26px;
  }

  .ct-bottom-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
    gap: 14px;
    margin-top: 28px;
  }
}

.serpentine-journey-section {
  position: relative;
  padding: 60px 24px 70px;
  background: linear-gradient(180deg, #fefcf6 0%, #faf6ee 100%);
  border-radius: 28px;
  border: 1px solid #ebd9c0;
  margin-top: 40px;
  box-shadow: 0 14px 40px rgba(139, 38, 19, 0.05);
}

.serpentine-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 22px;
  border-radius: 30px;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid #ebd9c0;
}

.serpentine-main-title {
  font-size: 2rem;
  font-weight: 800;
  color: #8b2613;
  line-height: 1.4;
  margin: 0 0 16px;
  font-family: 'Montserrat', sans-serif;
}

.serpentine-title-accent {
  color: #b23a1f;
  font-size: 1.8rem;
  display: block;
}

.serpentine-lead-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.85;
  color: #3b332b;
}

/* ============ ROAD CONTAINER ============ */
.serpentine-road-container {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Central dashed road line */
.serpentine-road-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  background: repeating-linear-gradient(
    to bottom,
    #22262a 0px,
    #22262a 32px,
    #ffc107 32px,
    #ffc107 50px,
    #22262a 50px,
    #22262a 82px,
    transparent 82px,
    transparent 100px
  );
  border-radius: 6px;
  z-index: 0;
}

/* ============ STEPS WRAPPER ============ */
.serpentine-steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 2;
}

/* ============ EACH STEP ROW ============ */
.serpentine-step-row {
  display: grid;
  grid-template-columns: 1fr 110px 1fr;
  align-items: center;
  min-height: 160px;
  padding: 24px 0;
  gap: 0;
}

/* step-left: card on left, icon in center, empty on right */
.serpentine-step-row.step-left .step-card {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  margin-right: 12px;
}

.serpentine-step-row.step-left .step-road-badge {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}

/* step-right: empty on left, icon in center, card on right */
.serpentine-step-row.step-right .step-road-badge {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}

.serpentine-step-row.step-right .step-card {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
  margin-left: 12px;
}

/* ============ CARD STYLES ============ */
.step-card {
  background: #ffffff;
  border: 1.5px solid #e2d4c0;
  border-radius: 20px;
  padding: 26px 28px;
  max-width: 430px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(139, 38, 19, 0.12);
  border-color: #d49b28;
}

/* Connector line from card to center road */
.serpentine-step-row.step-left .step-card::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -14px;
  width: 14px;
  height: 2px;
  background: #c8b49a;
  transform: translateY(-50%);
}

.serpentine-step-row.step-right .step-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -14px;
  width: 14px;
  height: 2px;
  background: #c8b49a;
  transform: translateY(-50%);
}

.step-num-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #8b2613;
  background: #fdf5e6;
  border: 1px solid #ebd9c0;
  padding: 3px 12px;
  border-radius: 12px;
  margin-bottom: 8px;
  letter-spacing: 1.5px;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #8b2613;
  margin-bottom: 8px;
  line-height: 1.4;
}

.step-desc {
  font-size: 0.93rem;
  line-height: 1.78;
  color: #3b332b;
}

/* ============ GOLD ICON BADGE ============ */
.step-road-badge {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gold-icon-circle {
  width: 74px;
  height: 74px;
  background: radial-gradient(circle at 35% 35%, #ffe680 0%, #e6a100 70%, #b37a00 100%);
  border: 5px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22252a;
  font-size: 1.55rem;
  box-shadow: 0 8px 24px rgba(230, 161, 0, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.7);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.gold-icon-circle:hover {
  transform: scale(1.12) rotate(8deg);
}

/* ============ MOBILE LAYOUT ============ */
@media (max-width: 991px) {
  .serpentine-road-container::before {
    left: 36px;
    transform: none;
  }

  .serpentine-steps-wrapper {
    padding-left: 8px;
  }

  .serpentine-step-row {
    grid-template-columns: 76px 1fr;
    grid-template-rows: auto;
    min-height: auto;
    padding: 16px 0 16px 0;
    gap: 12px;
  }

  .serpentine-step-row.step-left .step-card,
  .serpentine-step-row.step-right .step-card {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    margin: 0;
    max-width: 100%;
  }

  .serpentine-step-row.step-left .step-road-badge,
  .serpentine-step-row.step-right .step-road-badge {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
  }

  .serpentine-step-row.step-left .step-card::after,
  .serpentine-step-row.step-right .step-card::before {
    display: none;
  }

  .gold-icon-circle {
    width: 58px;
    height: 58px;
    font-size: 1.25rem;
  }

  .serpentine-main-title {
    font-size: 1.65rem;
  }

  .serpentine-title-accent {
    font-size: 1.45rem;
  }

  .step-card {
    padding: 18px 18px;
  }
}

@media (max-width: 576px) {
  .serpentine-journey-section {
    padding: 36px 12px 50px;
    border-radius: 18px;
  }

  .serpentine-header {
    margin-bottom: 36px;
  }
}

