/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #333333;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ===== CSS VARIABLES (Light & Professional) ===== */
:root {
  --red: #d32f2f;
  --red-dark: #b71c1c;
  --blue-primary: #0a2540;
  --blue-light: #f4f7fb;
  --bg-white: #ffffff;
  --bg-gray: #f8f9fa;
  --text-primary: #1a1a1a;
  --text-secondary: #5f6368;
  --border-color: #e0e0e0;
  --gradient-red: linear-gradient(135deg, #d32f2f, #f44336);
  --gradient-blue: linear-gradient(135deg, #0a2540, #153a60);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--blue-primary);
  border-radius: 3px;
}

/* ===== TICKER (Moved to top) ===== */
.breaking-ticker {
  display: flex;
  align-items: center;
  background: var(--red);
  color: white;
  overflow: hidden;
  height: 40px;
  position: relative;
  z-index: 1001;
  /* Ensure it stays above everything initially */
}

.ticker-label {
  background: var(--red-dark);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  letter-spacing: 1px;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 500;
  animation: tickerScroll 30s linear infinite;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.navbar.transparent-start {
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}
.navbar.transparent-start:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.9);
}
.navbar.transparent-start:not(.scrolled) .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.navbar.transparent-start:not(.scrolled) .nav-dropdown > button svg {
  stroke: rgba(255, 255, 255, 0.9);
}
.navbar.transparent-start:not(.scrolled) .nav-logo img { filter: none; }
.navbar.transparent-start:not(.scrolled) .nav-cta {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.navbar.transparent-start:not(.scrolled) .nav-cta:hover {
  background: rgba(255,255,255,0.2);
}

.navbar.scrolled {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  transition: height 0.3s ease;
}

.navbar.scrolled .nav-container {
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.nav-logo:hover {
  opacity: 0.9;
}

.nav-logo img {
  height: 90px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-top: -25px;
  margin-bottom: -15px;
  transition: height 0.3s ease, margin 0.3s ease;
}

@media (max-width: 768px) {
  .nav-container {
    height: 80px;
  }
  .navbar.scrolled .nav-container {
    height: 60px;
  }
  .nav-logo img {
    height: 70px;
    margin-top: -5px;
  }
  .navbar.scrolled .nav-logo img {
    height: 55px;
    margin-top: -5px;
  }
}

.navbar.scrolled .nav-logo img {
  height: 70px;
  margin-top: -15px;
  margin-bottom: -5px;
}
.logo-badge,
.logo-text {
  display: none;
}

/* Hide old text-based logo elements */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--blue-primary);
  background: rgba(15, 76, 129, 0.08);
}

.nav-link.active {
  color: var(--blue-primary);
  font-weight: 700;
  background: rgba(15, 76, 129, 0.1);
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.nav-dropdown>.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown>.nav-link svg {
  transition: transform 0.3s ease;
}

.nav-dropdown:hover>.nav-link svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  min-width: 260px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.dropdown-item:hover {
  background: rgba(15, 76, 129, 0.05);
  color: var(--blue-primary);
  border-left-color: var(--blue-primary);
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 6px;
  background: var(--blue-primary);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: #113458;
  box-shadow: var(--shadow-sm);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--blue-primary);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

/* ===== HERO ===== */
.hero {
  padding: 170px 24px 80px;
  margin-top: -90px;
  background-color: #03010a;
  background-image: 
    radial-gradient(ellipse at 15% 45%, rgba(220, 20, 50, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 40%, rgba(20, 50, 220, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(20, 80, 255, 0.3) 0%, transparent 65%);
  min-height: calc(100vh - 116px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

@keyframes heroGradientPulse {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-content-wrapper {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero Left Text Column */
.hero-text-col {
  text-align: left;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title-main {
  display: block;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.5), #fff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGradientFlow 8s linear infinite;
}

.hero-title-school {
  display: block;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #20c997;
  background: linear-gradient(90deg, #20c997, #40e0b0, #20c997);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGradientFlow 8s linear infinite;
  animation-delay: 1s;
}

.hero-tagline {
  font-size: clamp(16px, 1.5vw, 18px);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 90%;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: #fff;
  font-weight: 500;
}

.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--red);
  margin-top: 2px;
}

.btn-explore {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  background: #20c997;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  transition: var(--transition);
  border: none;
}

.btn-explore:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* Hero Right Visual Column - Bento Grid */
.hero-visual-col {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.hero-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 580px;
  width: 100%;
}

/* ===== HERO BENTO TILES ===== */
.hero-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}

.bento-tile {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.bento-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 2;
}

.bento-tile:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.bento-wide {
  grid-column: span 2;
}

.bento-icon-glow {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  animation: floating 4s ease-in-out infinite;
}

.bento-tile:nth-child(even) .bento-icon-glow {
  animation-delay: 1s;
}

.bento-tile:nth-child(3n) .bento-icon-glow {
  animation-delay: 2s;
}

.bento-content {
  flex: 1;
}

.bento-content h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.bento-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin: 0;
}

/* Color Variants (Matches reference aesthetic) */
.tile-red::before {
  background: #ff4d4f;
  box-shadow: 0 0 15px rgba(255, 77, 79, 0.5);
  animation: pulseBorder 3s infinite ease-in-out;
}

.tile-red {
  border-top-color: transparent;
}

.tile-red .bento-icon-glow {
  color: #ff4d4f;
  background: rgba(255, 77, 79, 0.15);
  box-shadow: 0 0 20px rgba(255, 77, 79, 0.3);
}

.tile-yellow::before {
  background: #ffec3d;
  box-shadow: 0 0 15px rgba(255, 236, 61, 0.5);
  animation: pulseBorder 3s infinite ease-in-out;
  animation-delay: 0.75s;
}

.tile-yellow {
  border-top-color: transparent;
}

.tile-yellow .bento-icon-glow {
  color: #ffec3d;
  background: rgba(255, 236, 61, 0.15);
  box-shadow: 0 0 20px rgba(255, 236, 61, 0.3);
}

.tile-blue::before {
  background: #40a9ff;
  box-shadow: 0 0 15px rgba(64, 169, 255, 0.5);
  animation: pulseBorder 3s infinite ease-in-out;
  animation-delay: 1.5s;
}

.tile-blue {
  border-top-color: transparent;
}

.tile-blue .bento-icon-glow {
  color: #40a9ff;
  background: rgba(64, 169, 255, 0.15);
  box-shadow: 0 0 20px rgba(64, 169, 255, 0.3);
}

.tile-purple::before {
  background: #9254de;
  box-shadow: 0 0 15px rgba(146, 84, 222, 0.5);
  animation: pulseBorder 3s infinite ease-in-out;
  animation-delay: 2.25s;
}

.tile-purple {
  border-top-color: transparent;
}

.tile-purple .bento-icon-glow {
  color: #9254de;
  background: rgba(146, 84, 222, 0.15);
  box-shadow: 0 0 20px rgba(146, 84, 222, 0.3);
}

/* Animation Keyframes */
@keyframes floating {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulseBorder {

  0%,
  100% {
    opacity: 1;
    filter: brightness(1);
  }

  50% {
    opacity: 0.7;
    filter: brightness(1.3);
  }
}

@keyframes textGradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 480px) {
  .hero-bento-grid {
    gap: 12px;
  }

  .bento-tile {
    padding: 16px;
    gap: 12px;
  }

  .bento-icon-glow {
    width: 44px;
    height: 44px;
  }

  .bento-content h4 {
    font-size: 16px;
  }
}

/* ===== SECTIONS ===== */
.section {
  padding: 90px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(10, 37, 64, 0.08);
  color: var(--blue-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--blue-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.highlight {
  color: var(--red);
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== ABOUT ACFM LAYOUT ===== */
.about-acfm-section {
  background: #fff;
  padding: 100px 0;
  overflow: hidden;
}

/* Centered Header */
.acfm-header {
  text-align: center;
  margin-bottom: 64px;
}

.acfm-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #00b34d;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.acfm-tag svg {
  color: #00b34d;
}

.acfm-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  color: #111;
  line-height: 1.25;
}

/* 2 Column Content */
.acfm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

/* Left Stats Block */
.acfm-stats-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.acfm-stat-item {
  background: #fff;
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  border: 1px solid #f1f1f1;
}

.stat-top-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #e8192c;
  /* v5 red */
}

.green-line {
  background: #00b34d;
}

/* ACFM Green */
.blue-line {
  background: #0f4c81;
}

/* v5 blue */
.orange-line {
  background: #f59e0b;
}

.acfm-stat-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: #111;
  margin-bottom: 4px;
}

.acfm-stat-item p {
  font-size: 14px;
  color: #555;
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}

.acfm-desc {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 40px;
}

.acfm-btn {
  display: inline-flex;
  padding: 18px 48px;
  background: #00b34d;
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 10px 30px rgba(0, 179, 77, 0.2);
}

.acfm-btn:hover {
  background: #009942;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 179, 77, 0.3);
  color: #fff;
}

/* Right Video Card */
.acfm-video-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  aspect-ratio: 4/5;
}

.acfm-video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.acfm-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: #00b34d;
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 15px rgba(0, 179, 77, 0.25);
  transition: 0.3s;
}

.acfm-play-btn svg {
  width: 36px;
  height: 36px;
  margin-left: 6px;
}

.acfm-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.05);
  background: #009942;
  box-shadow: 0 0 0 20px rgba(0, 179, 77, 0.35);
}

.acfm-video-label {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  color: #111;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
  .acfm-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .acfm-video-card {
    aspect-ratio: 16/9;
    max-height: 500px;
  }

  .acfm-stats-box {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .acfm-stats-box {
    grid-template-columns: 1fr;
  }

  .acfm-title {
    font-size: 28px;
  }
}


/* ===== COURSES ===== */
.courses-section {
  background: var(--bg-gray);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.course-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--blue-primary);
}

.course-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.course-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.course-card:hover .course-img {
  transform: scale(1.1);
}

.course-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--red);
  color: #fff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
  z-index: 2;
}

.course-number {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: var(--blue-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 2;
  backdrop-filter: blur(4px);
}

.course-body {
  padding: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.course-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.course-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(10, 37, 64, 0.05);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.course-card:hover .course-icon-wrap {
  background: var(--blue-primary);
  color: #fff;
}

.course-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.course-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 24px;
}

.course-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
  flex-grow: 1;
}

.course-features li {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feat-check {
  width: 16px;
  height: 16px;
  color: #20c997;
  flex-shrink: 0;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed #e0e0e0;
}

.course-duration {
  font-size: 13px;
  color: #777;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-apply-btn {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-primary);
  text-decoration: none;
  transition: var(--transition);
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid rgba(10, 37, 64, 0.1);
}

.course-apply-btn:hover {
  background: var(--blue-primary);
  color: #fff;
  border-color: var(--blue-primary);
}


/* ===== WHY US ===== */
.why-section {
  background: var(--bg-white);
}

/* ===== WHY CHOOSE US CAROUSEL ===== */
.why-section {
  background: #fff;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background-image: 
    linear-gradient(to right, rgba(10, 37, 64, 0.04) 1px, transparent 1px);
  background-size: 80px 100%;
}

.why-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, transparent 20%, rgba(255, 255, 255, 0.8) 100%);
  pointer-events: none;
  z-index: 1;
}

.why-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.02) 0%, rgba(10, 37, 64, 0.02) 100%);
  pointer-events: none;
}

.why-carousel-wrapper {
  position: relative;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: none;
  /* Only show on small screens */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--blue-primary);
  transition: var(--transition);
}

.carousel-arrow:hover {
  background: var(--blue-primary);
  color: #fff;
  border-color: var(--blue-primary);
  transform: translateY(-50%) scale(1.05);
}

.carousel-arrow svg {
  width: 24px;
  height: 24px;
}

.prev-arrow {
  left: -24px;
}

.next-arrow {
  right: -24px;
}

@media (max-width: 1250px) {
  .prev-arrow {
    left: -10px;
  }

  .next-arrow {
    right: -10px;
  }
}

@media (max-width: 850px) {
  .carousel-arrow {
    display: flex;
  }

  .prev-arrow {
    left: -10px;
    width: 40px;
    height: 40px;
  }

  .next-arrow {
    right: -10px;
    width: 40px;
    height: 40px;
  }

  .carousel-arrow svg {
    width: 20px;
    height: 20px;
  }
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 64px;
}

@media (max-width: 850px) {
  .why-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    scrollbar-width: none;
    margin-bottom: 20px;
  }

  .why-grid::-webkit-scrollbar {
    display: none;
  }

  .why-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border-left: 1px solid rgba(15, 76, 129, 0.05);
    border-right: 1px solid rgba(15, 76, 129, 0.05);
  }

  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 40px;
  }

  .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    transition: 0.3s;
    cursor: pointer;
  }

  .dot.active {
    width: 24px;
    border-radius: 10px;
    background: var(--blue-primary);
  }
}

.why-card {
  padding: 40px;
  background: #fff;
  border-radius: 32px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  z-index: 2;
}

.why-card:hover {
  transform: translateY(-10px);
}

/* Specific Hover Glows based on screenshot */
.why-grid .why-card:nth-child(1):hover {
  box-shadow: 0 20px 40px rgba(32, 201, 151, 0.15);
  border-color: #20c997;
}

.why-grid .why-card:nth-child(2):hover {
  box-shadow: 0 20px 40px rgba(147, 51, 234, 0.15);
  border-color: #9333ea;
}

.why-grid .why-card:nth-child(3):hover {
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.15);
  border-color: #f97316;
}

.why-grid .why-card:nth-child(4):hover {
  box-shadow: 0 20px 40px rgba(32, 201, 151, 0.15);
  border-color: #20c997;
}

.why-grid .why-card:nth-child(5):hover {
  box-shadow: 0 20px 40px rgba(147, 51, 234, 0.15);
  border-color: #9333ea;
}

.why-grid .why-card:nth-child(6):hover {
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.15);
  border-color: #f97316;
}

/* Watermark Patterns */
.why-card::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 160px;
  height: 160px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.1;
  transition: all 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.why-card:hover::after {
  opacity: 0.2;
  transform: scale(1.1) rotate(-5deg);
}

/* Card Themes from Screenshot */
.why-grid .why-card:nth-child(1) .why-icon-wrap { background: #2a68ff; }
.why-grid .why-card:nth-child(2) .why-icon-wrap { background: #9333ea; }
.why-grid .why-card:nth-child(3) .why-icon-wrap { background: #f97316; }
.why-grid .why-card:nth-child(4) .why-icon-wrap { background: #27ae60; }
.why-grid .why-card:nth-child(5) .why-icon-wrap { background: #8e44ad; }
.why-grid .why-card:nth-child(6) .why-icon-wrap { background: #e67e22; }

/* Illustration Watermarks */
.why-grid .why-card:nth-child(1)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3ClinearGradient id='g1' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%232a68ff;stop-opacity:1' /%3E%3Cstop offset='100%25' style='stop-color:%23ffffff;stop-opacity:0' /%3E%3C/linearGradient%3E%3Crect x='10' y='30' width='60' height='40' rx='8' fill='url(%23g1)' opacity='0.5' /%3E%3Ccircle cx='70' cy='60' r='15' fill='url(%23g1)' /%3E%3C/svg%3E");
}

.why-grid .why-card:nth-child(2)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3ClinearGradient id='g2' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%239333ea;stop-opacity:1' /%3E%3Cstop offset='100%25' style='stop-color:%23ffffff;stop-opacity:0' /%3E%3C/linearGradient%3E%3Cpath d='M20,70 L40,30 L60,70 Z' fill='url(%23g2)' opacity='0.4' /%3E%3Ccircle cx='65' cy='45' r='12' fill='url(%23g2)' /%3E%3C/svg%3E");
}

.why-grid .why-card:nth-child(3)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3ClinearGradient id='g3' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%23f97316;stop-opacity:1' /%3E%3Cstop offset='100%25' style='stop-color:%23ffffff;stop-opacity:0' /%3E%3C/linearGradient%3E%3Ccircle cx='50' cy='50' r='30' stroke='url(%23g3)' stroke-width='4' fill='none' /%3E%3Ccircle cx='50' cy='50' r='15' fill='url(%23g3)' /%3E%3C/svg%3E");
}

.why-grid .why-card:nth-child(4)::after { background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"%3E%3Ccircle cx="50" cy="50" r="40" fill="%2327ae60" opacity="0.1" /%3E%3C/svg%3E'); }
.why-grid .why-card:nth-child(5)::after { background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"%3E%3Ccircle cx="50" cy="50" r="40" fill="%238e44ad" opacity="0.1" /%3E%3C/svg%3E'); }
.why-grid .why-card:nth-child(6)::after { background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"%3E%3Ccircle cx="50" cy="50" r="40" fill="%23e67e22" opacity="0.1" /%3E%3C/svg%3E'); }

.why-card-featured {
  background: var(--blue-primary);
  color: #fff;
  position: relative;
  border: none;
  overflow: visible !important;
}

.why-card-featured::after {
  stroke: #fff;
  filter: brightness(0) invert(1);
  opacity: 0.08;
}

.why-card-featured:hover {
  background: #0d2a4a;
  box-shadow: 0 25px 50px rgba(10, 37, 64, 0.3);
}

.why-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--blue-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 28px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
}

.why-card:hover .why-icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

.why-card-featured .why-icon-wrap {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.why-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

.why-card-featured h3 {
  color: #fff;
}

.why-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 2;
}

.why-card-featured p {
  color: rgba(255, 255, 255, 0.8);
}

.featured-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
  z-index: 10;
  white-space: nowrap;
}

/* ===== TIMELINE ===== */
.training-timeline {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.timeline-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--blue-primary);
  text-align: center;
  margin-bottom: 40px;
}

.timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 160px;
  max-width: 220px;
  position: relative;
}

.timeline-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-primary);
  border: 4px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  z-index: 2;
}

.timeline-content h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.timeline-line {
  flex: 0.8;
  height: 2px;
  background: var(--border-color);
  margin-top: 24px;
}

/* ===== CEO SECTION ===== */
.ceo-section {
  background: var(--bg-gray);
  padding: 100px 0;
}

.ceo-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: flex-start;
}

@media (max-width: 992px) {
  .ceo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
}

.ceo-image-wrap {
  position: relative;
}

.ceo-img-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(10, 37, 64, 0.1) 0%, transparent 70%);
  z-index: 1;
}

.ceo-img-frame {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.ceo-badge-card {
  position: absolute;
  bottom: -15px;
  right: -10px;
  z-index: 5;
  background: var(--blue-primary);
  color: #fff;
  border-radius: 10px;
  padding: 10px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 20px rgba(10, 37, 64, 0.2);
}

.ceo-badge-title {
  font-weight: 800;
  font-size: 16px;
  color: #fff;
}

.ceo-badge-org {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ceo-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--blue-primary);
  margin-bottom: 8px;
}

.ceo-role {
  color: var(--red);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .ceo-name {
    font-size: 32px;
  }

  .ceo-role {
    font-size: 14px;
    margin-bottom: 20px;
  }
}

.ceo-quote-wrap {
  position: relative;
  padding: 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .ceo-quote-wrap {
    padding: 24px;
    text-align: left;
  }
}

.quote-svg-bg {
  position: absolute;
  top: 20px;
  left: 20px;
  pointer-events: none;
}

.ceo-quote-text {
  position: relative;
  z-index: 2;
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 24px;
}

.ceo-signature {
  text-align: right;
}

.sig-font {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 20px;
  color: var(--blue-primary);
  border-bottom: 2px solid var(--red);
  display: inline-block;
  padding-bottom: 4px;
}

.ceo-achievements {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid #ddd;
}

@media (max-width: 768px) {
  .ceo-achievements {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }

  .achievement {
    text-align: center;
  }
}

.achievement {
  text-align: left;
}

.ach-number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--blue-primary);
}

.ach-label {
  font-size: 12px;
  color: #777;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== OFFER BANNER ===== */
.offer-banner {
  padding: 60px 24px;
  background: var(--blue-primary);
  position: relative;
}

.offer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.offer-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.offer-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}

.offer-desc {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 15px;
}

.offer-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.offer-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: #fff;
  font-size: 14px;
}

.offer-perk-icon {
  font-size: 16px;
  opacity: 0.9;
}

.offer-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  background: #fff;
  color: var(--blue-primary);
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
}

.offer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: #f1f9f7;
  position: relative;
  padding: 100px 0;
}

.testimonials-header-centered {
  text-align: center;
  margin-bottom: 56px;
}

.t-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(10, 37, 64, 0.05);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.t-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  color: #111;
  margin-bottom: 12px;
}

.testimonials-viewport {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
}

.testimonials-track {
  display: flex;
  width: max-content;
  gap: 24px;
}

.t-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  height: auto;
  flex: 0 0 380px;
}

.t-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.t-tilted {
  transform: rotate(-2deg) scale(1.02);
  z-index: 2;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.t-tilted:hover {
  transform: rotate(-2deg) scale(1.03) translateY(-4px);
}

.t-avatar-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.t-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #222;
  margin-bottom: 4px;
}

.t-handle {
  color: #888;
  font-size: 12px;
  margin-bottom: 8px;
  font-weight: 500;
}

.t-stars {
  display: flex;
  gap: 2px;
  justify-content: center;
  margin-bottom: 20px;
}

.t-text {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.t-quote-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
}

.t-quote-icon svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 768px) {
  .testimonials-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
  }

  .testimonials-viewport::-webkit-scrollbar {
    display: none;
  }

  .testimonials-track {
    display: flex;
    width: max-content;
    gap: 16px;
    padding: 20px 24px;
    grid-template-columns: none;
    /* Reset grid */
    animation: none !important;
    /* Remove auto scroll */
  }

  .t-card {
    flex: 0 0 280px;
    /* Cards look the same as desktop but smaller for mobile peeking */
    scroll-snap-align: start;
    margin: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }

  .testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 20px;
  }
}

/* Desktop Grid Override (Large screens - Force 2 rows of 3) */
@media (min-width: 992px) {
  .testimonials-viewport {
    overflow: visible !important;
    width: 100%;
    padding: 40px 0;
  }

  .testimonials-track {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px;
    width: 100%;
    transform: none !important;
  }

  .t-card {
    flex: none !important;
    width: 100% !important;
    margin: 0 !important;
    scroll-snap-align: none !important;
  }

  /* Hide infinite scroll clones and nav dots on desktop grid */
  .mobile-clone,
  .testimonial-dots {
    display: none !important;
  }
}



.t-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Assigning distinct colors to avatars */
.img-pk {
  background: #e57373;
  break-after: avoid;
}

.img-rs {
  background: #81c784;
}

.img-mr {
  background: #64b5f6;
}

.img-sr {
  background: #ffb74d;
}

.img-ak {
  background: #9575cd;
}

.img-vn {
  background: #4db6ac;
}

.t-name {
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: #333;
  margin-bottom: 4px;
}

.t-handle {
  color: #888;
  font-size: 12px;
  margin-bottom: 24px;
  font-weight: 500;
}

.t-text {
  text-align: center;
  color: #444;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.t-quote-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
}

/* ===== CONTACT ===== */
.contact-section {
  background: var(--bg-gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 48px;
}

.contact-info-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 32px;
  margin-bottom: 24px;
}

.contact-info-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border-color);
}

.contact-item:last-of-type {
  border-bottom: none;
  margin-bottom: 24px;
}

.contact-icon {
  font-size: 20px;
  opacity: 0.8;
}

.contact-item strong {
  display: block;
  color: var(--text-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact-item span,
.contact-link {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
}

.contact-link {
  transition: var(--transition);
  color: var(--blue-primary);
}

.contact-link:hover {
  color: var(--red);
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 12px;
  border-radius: 6px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background: #1aaa55;
  transform: translateY(-1px);
}

.admission-highlights {
  background: var(--blue-light);
  border: 1px solid #d1dcf0;
  border-radius: var(--radius-sm);
  padding: 24px;
}

.admission-highlights h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 16px;
}

.admission-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admission-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.check {
  color: var(--blue-primary);
  font-weight: bold;
}

/* ===== FORM ===== */
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--blue-primary);
  margin-bottom: 6px;
}

.form-subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  background: var(--bg-gray);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-primary);
  background: #fff;
  box-shadow: 0 0 0 2px rgba(10, 37, 64, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--blue-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.form-check label {
  font-size: 13px;
  color: var(--text-secondary);
}

.form-submit-btn {
  width: 100%;
  padding: 14px;
  border-radius: 6px;
  background: var(--blue-primary);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit-btn:hover {
  background: #113458;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.form-success {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 16px;
  margin-top: 20px;
}

.form-success>span {
  font-size: 24px;
}

.form-success strong {
  display: block;
  color: #166534;
  font-size: 15px;
  margin-bottom: 4px;
}

.form-success p {
  color: #15803d;
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer {
  background: #0a192f;
  color: #fff;
  padding: 100px 0 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.logo-circle {
  width: 48px;
  height: 48px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
}

.footer-logo h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.brand-col p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 28px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  transition: var(--transition);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-socials a:hover {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 32px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--red);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 15px;
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-contact-item {
  margin-bottom: 24px;
}

.ci-label {
  display: block;
  font-size: 12px;
  color: #777;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ci-value {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.footer-trust-badge {
  margin-top: 32px;
  padding: 16px;
  background: rgba(32, 201, 151, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(32, 201, 151, 0.2);
}

.footer-trust-badge .badge-icon {
  width: 24px;
  height: 24px;
  background: #20c997;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

.footer-trust-badge .badge-text {
  font-size: 13px;
  font-weight: 700;
  color: #20c997;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.bottom-content p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  margin: 0;
}

.bottom-links {
  display: flex;
  gap: 24px;
}

.bottom-links a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.bottom-links a:hover {
  color: #fff;
}

/* ===== STICKY CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  background: #fff;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-call,
.sticky-apply,
.sticky-whatsapp {
  flex: 1;
  padding: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  color: var(--text-primary);
}

.sticky-apply {
  background: var(--blue-primary);
  color: #fff;
}

.sticky-whatsapp {
  background: #25D366;
  color: #fff;
}

.sticky-call:hover {
  background: var(--bg-gray);
}

.sticky-apply:hover {
  background: #113458;
}

.sticky-whatsapp:hover {
  background: #1aaa55;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-scale {
  transform: scale(0.95);
}

/* Stagger delay utilities */
.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

.delay-500 {
  transition-delay: 500ms;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-bullets li {
    text-align: left;
  }

  .about-grid,
  .ceo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    order: -1;
  }

  .ceo-grid {
    text-align: center;
  }

  .ceo-image-wrap {
    max-width: 400px;
    margin: 0 auto;
  }

  .ceo-achievements {
    justify-content: center;
  }

  .ceo-quote {
    margin-left: 20px;
    margin-right: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .courses-grid {
    grid-template-columns: 1fr 1fr;
  }

  .courses-grid .course-card:nth-child(4),
  .courses-grid .course-card:nth-child(5) {
    grid-column: auto;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .offer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .offer-perks {
    align-items: center;
  }

  .timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
  }

  .timeline-item {
    flex-direction: row;
    text-align: left;
    max-width: 100%;
    min-width: auto;
  }

  .timeline-dot {
    margin-bottom: 0;
    margin-right: 20px;
    flex-shrink: 0;
  }

  .timeline-line {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }

  .stat-divider {
    width: 80px;
    height: 1px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    text-align: center;
  }

  .courses-grid,
  .why-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .t-tilted {
    transform: none !important;
  }

  .t-card {
    padding: 30px 20px;
  }

  .t-text {
    font-size: 13px;
    line-height: 1.6;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand .footer-logo,
  .footer-links-col ul,
  .guarantee-badge {
    justify-content: center;
    margin: 0 auto 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-title-main {
    font-size: clamp(32px, 8vw, 42px);
  }

  .hero-title-school {
    font-size: clamp(18px, 4vw, 22px);
  }

  .hero-bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-wide {
    grid-column: auto;
  }

  .section {
    padding: 50px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* Mobile Dropdown */
  .nav-dropdown>.nav-link svg {
    margin-left: auto;
    transition: 0.3s;
  }

  .nav-dropdown.active>.nav-link svg {
    transform: rotate(180deg);
  }

  .nav-dropdown.active>.dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    position: static;
    box-shadow: none;
    padding-left: 20px;
    border: none;
  }

  .dropdown-menu {
    display: none;
    width: 100%;
    transition: none;
    padding-top: 10px;
  }
}

@media (max-width: 480px) {
  .hero-title-main {
    font-size: 32px;
  }

  .hero-tagline {
    font-size: 15px;
  }

  .hero-bullets li {
    font-size: 14px;
  }

  .bento-tile {
    padding: 20px;
  }

  .bento-content h4 {
    font-size: 16px;
  }

  .bento-content p {
    font-size: 12px;
  }

  .benefits-ribbon {
    padding: 25px 0;
  }

  .benefit-item {
    min-width: 110px;
  }

  .c-modules {
    padding: 60px 20px;
  }

  .c-sec-header h2 {
    font-size: 28px;
  }

  .price-new {
    font-size: 32px;
  }

  .course-form-card {
    padding: 24px;
  }
}

.course-page-body {
  background: #fafcff;
}

/* Course Hero */
.course-hero {
  padding: 80px 24px;
  background: var(--blue-primary);
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Subtle background texture for hero */
.course-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.05;
}

.course-hero-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 2;
  align-items: center;
}

.ch-bread {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 24px;
  font-weight: 500;
}

.ch-bread a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: 0.3s;
}

.ch-bread a:hover {
  color: #fff;
}

.ch-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.ch-title span {
  display: block;
  font-size: clamp(24px, 3.5vw, 32px);
  text-transform: uppercase;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.4), #fff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGradientFlow 6s linear infinite;
}

.ch-desc {
  font-size: clamp(16px, 1.5vw, 18px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 90%;
}

.ch-bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.ch-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

.ch-bullet svg {
  width: 22px;
  height: 22px;
  color: #10b981;
  flex-shrink: 0;
}

.ch-btn-download {
  display: inline-flex;
  padding: 16px 32px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

.ch-btn-download:hover {
  background: #fff;
  color: var(--blue-primary);
}

/* Right Form Card */
.course-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  max-width: 450px;
  margin-left: auto;
}

.course-form-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #111;
  margin-bottom: 12px;
}

.course-form-card p {
  font-size: 15px;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.5;
  font-weight: 500;
}

.ch-form input {
  width: 100%;
  padding: 16px;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 15px;
  transition: 0.3s;
  box-sizing: border-box;
}

.ch-form input:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.1);
}

.ch-form-btn {
  width: 100%;
  padding: 18px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.ch-form-btn:hover {
  background: #c20e1e;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(232, 25, 44, 0.2);
}

/* Highlight Strip */
.c-strip {
  background: #fff;
  border-bottom: 1px solid #eaeaea;
}

.c-strip-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 32px 24px;
  flex-wrap: wrap;
  gap: 24px;
}

.c-strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.c-strip-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  background: rgba(15, 76, 129, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-strip-text {
  font-size: 15px;
  font-weight: 700;
  color: #222;
}

/* Modules / Content Grid */
.c-modules {
  padding: 100px 24px;
  background: #fafcff;
}

.c-container {
  max-width: 1280px;
  margin: 0 auto;
}

.c-sec-header {
  text-align: center;
  margin-bottom: 64px;
}

.c-sec-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: #111;
  line-height: 1.2;
}

.c-sec-header h2 span {
  color: var(--blue-primary);
  display: block;
}

.c-sec-header p {
  font-size: 16px;
  color: #666;
  margin-top: 16px;
}

.c-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.c-card {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: 0.3s;
}

.c-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  border-color: var(--blue-primary);
}

/* The reference Dotted Bubble accents */
.dotted-bubble {
  position: absolute;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(var(--red) 2px, transparent 2px);
  background-size: 10px 10px;
  z-index: -1;
  opacity: 0.6;
}

.dot-top-left {
  top: -20px;
  left: -20px;
}

.dot-bottom-right {
  bottom: -20px;
  right: -20px;
}

.dot-top-right {
  top: -20px;
  right: -20px;
  background-image: radial-gradient(var(--blue-primary) 2px, transparent 2px);
}

.dot-bottom-left {
  bottom: -20px;
  left: -20px;
  background-image: radial-gradient(var(--blue-primary) 2px, transparent 2px);
}

.c-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #111;
  margin-bottom: 16px;
}

.c-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* Mentors */
.c-mentors {
  padding: 80px 24px 120px;
  background: #fff;
}

.mentor-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.mentor-card {
  width: 300px;
  text-align: center;
}

.mentor-img-wrapper {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 4px solid #fff;
}

.mentor-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mentor-info h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #111;
  margin-bottom: 4px;
}

.mentor-info span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 12px;
}

.mentor-info p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .course-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ch-bullets {
    align-items: center;
  }

  .course-form-card {
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .c-grid {
    grid-template-columns: 1fr;
  }

  .c-strip-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== COURSE BENEFITS RIBBON (Premium 90% Width Layout) ===== */
.benefits-ribbon {
  background: linear-gradient(90deg, #17a589, #25d366);
  padding: 40px 0;
  margin: 40px auto;
  /* Centered */
  width: 90%;
  max-width: 1400px;
  /* Cap it for very large screens */
  border-radius: 24px;
  /* Restored for the floating look */
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefits-grid {
  max-width: 100%;
  padding: 0 40px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.benefits-grid::-webkit-scrollbar {
  display: none;
}

.benefit-item {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-icon-box {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
}

.benefit-icon-box svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.5;
}

.benefit-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
  margin: 0;
  white-space: normal;
  text-align: center;
}

@media (max-width: 768px) {
  .c-strip-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 24px;
    text-align: center;
  }
}

/* FADE EFFECT FOR SCROLLING */
.benefits-ribbon::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 100%;
  background: linear-gradient(to right, rgba(23, 165, 137, 0), #25d366);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}



@media (max-width: 992px) {
  .benefits-ribbon {
    padding: 32px 16px;
    border-radius: 20px;
    margin: 40px auto;
    width: 92%;
  }

  .benefits-ribbon::after {
    display: none;
  }

  .benefits-grid {
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 0;
    gap: 32px 16px;
    overflow-x: hidden;
  }

  .benefit-item {
    min-width: 0 !important;
    flex: 0 0 calc(50% - 8px);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .benefits-ribbon {
    padding: 24px 12px;
    border-radius: 16px;
    width: 95%;
  }

  .benefit-item {
    gap: 8px;
    flex: 0 0 calc(50% - 8px);
  }

  .benefit-icon-box {
    width: 44px;
    height: 44px;
  }

  .benefit-icon-box svg {
    width: 32px;
    height: 32px;
  }

  .benefit-text {
    font-size: 10px;
    letter-spacing: 0.2px;
  }
}



/* Pricing Card (Inspired by Reference) */
.course-pricing-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  margin-top: 40px;
  text-align: left;
}

.price-heading {
  font-size: 14px;
  color: #777;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.price-new {
  font-size: 42px;
  font-weight: 900;
  color: var(--blue-primary);
}

.price-old {
  font-size: 20px;
  color: #999;
  text-decoration: line-through;
}

.price-cta {
  display: block;
  width: 100%;
  padding: 20px;
  background: #20c997;
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: 18px;
  border-radius: 12px;
  transition: 0.3s;
}

.price-cta:hover {
  background: #17a589;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(32, 201, 151, 0.2);
  color: #fff;
}

/* ===== FAQ SECTION (Detailed Design) ===== */
.faq-section {
  padding: 100px 24px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

/* Horizontal separator */
.faq-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: #eee;
}

.faq-dots-bg {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(#d1d1d1 2px, transparent 2px);
  background-size: 20px 20px;
  z-index: 1;
  opacity: 0.5;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.faq-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 900;
  color: #111;
  text-align: center;
  margin-bottom: 60px;
}

.faq-title span {
  color: var(--red);
}

.faq-item {
  border-bottom: 1px solid #eee;
  transition: 0.3s;
}

.faq-question {
  width: 100%;
  padding: 32px 0;
  border: none;
  background: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.faq-item:hover .faq-question {
  color: var(--red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-answer-content {
  padding: 0 0 32px 0;
  color: #666;
  font-size: 17px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: all 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-question {
  color: var(--red);
}

/* The Plus/Minus Icon */
.plus-icon {
  position: relative;
  width: 24px;
  height: 24px;
  transition: 0.4s;
}

.plus-icon::before,
.plus-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.plus-icon::before {
  width: 14px;
  height: 2px;
}

.plus-icon::after {
  width: 2px;
  height: 14px;
}

.faq-item.active .plus-icon {
  transform: rotate(45deg);
  color: var(--red);
}


/* ===== "WORTH IT" VALUE PROPOSITION SECTION ===== */
.worth-it-section {
  padding: 100px 0;
  background-color: #e8f5f1;
  /* Light professional teal/mint background */
  position: relative;
  overflow: hidden;
}

.worth-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 60px;
  padding: 0 24px;
}

.worth-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: 0 24px;
}

.worth-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.worth-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.card-step-title {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #ef476f;
  /* Vibrant red/pink for highlighting as per reference */
  margin-bottom: 16px;
  line-height: 1.3;
}

.card-description {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #555555;
  line-height: 1.6;
}

@media (max-width: 850px) {
  .worth-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .worth-it-section {
    padding: 70px 0;
  }

  .worth-card {
    padding: 30px;
  }
}


/* ===== COURSE OVERVIEW SECTION ===== */
.course-overview-section {
  padding: 90px 0;
  background: #fff;
}

.overview-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.overview-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 36px;
  line-height: 1.25;
}

.overview-body p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #444;
  line-height: 1.75;
  margin-bottom: 18px;
}

.overview-checklist {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.overview-check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #222;
  line-height: 1.5;
}

.overview-check-item .check-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #e63946;
}

.overview-check-item .check-icon svg {
  width: 22px;
  height: 22px;
  stroke: #e63946;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 768px) {
  .course-overview-section {
    padding: 60px 0;
  }

  .overview-title {
    margin-bottom: 24px;
  }
}




/* ===== FORM VALIDATION STYLES ===== */
.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #ff4d4f !important;
  background-color: #fff2f0;
}

.error-message {
  color: #ff4d4f;
  font-size: 11px;
  margin-top: 4px;
  display: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.form-group.error .error-message {
  display: block;
}


.form-check.error label {
  color: #ff4d4f;
  font-weight: 600;
}

.placement-section {
  padding: 100px 0;
  background-color: #f8fbfd;
  text-align: center;
  border-top: 1px solid #edf2f7;
}

.placement-section .section-header {
  margin-bottom: 60px;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--teal);
  margin: 20px auto 0;
  border-radius: 2px;
}

.placement-title {
  display: none;
  /* Replaced by global .section-title */
}

.placement-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.placement-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  transition: all 0.3s ease;
}

.placement-card img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  transition: all 0.4s ease;
  filter: brightness(0.9);
}

.placement-card:hover img {
  transform: scale(1.1);
  filter: brightness(1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.company-name {
  display: none;
  /* Hide text as we are replacing with logos */
}

/* Footer Social Icons Update */
.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  text-decoration: none;
}

.footer-socials a:hover {
  background: var(--red);
  transform: translateY(-3px);
}

.footer-socials svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

@media (max-width: 768px) {
  .placement-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
  }

  .placement-section {
    padding: 60px 0;
  }
}


/* ===== COURSE INFO LIST (Hero Card Replacement) ===== */
.course-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.course-info-item .info-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #20c997;
}

.course-info-item .info-text {
  font-size: 15px;
  color: #555;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.price-subtext {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin-top: 12px;
  font-family: 'Inter', sans-serif;
}



/* ===== ENHANCED CINEMATIC PARTICLES ===== */
.ember {
  position: absolute;
  border-radius: 50%;
  background: #ff5e00;
  box-shadow: 0 0 10px 2px rgba(255, 100, 0, 0.7), 0 0 25px 5px rgba(255, 0, 0, 0.5);
  animation-name: floatEmber;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  opacity: 0;
  pointer-events: none;
  filter: blur(1px);
}

.ember.dust {
  background: #ffccbc;
  box-shadow: 0 0 8px 1px rgba(255, 204, 188, 0.5);
  filter: blur(2.5px);
}

@keyframes floatEmber {
  0% {
    transform: translate(0, 0) scale(0.1);
    opacity: 0;
  }
  30% {
    opacity: 0.8;
  }
  70% {
    opacity: 0.6;
  }
  100% {
    transform: translate(calc(-5vw + 15vw * var(--dir-x)), calc(-20vh - 15vh * var(--dir-y))) scale(1.5);
    opacity: 0;
  }
}
/* ========================================================= */
/* ===== NEW DESIGN ENHANCEMENTS & OVERRIDES ===== */
/* ========================================================= */

/* 1. Box kind of structure near headings */
.section-header, .acfm-header {
  position: relative;
  z-index: 1;
}

.section-header::before, .acfm-header::before, .acfm-title::before, .page-header::before, .ch-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120vw;
  height: 300px;
  background-image: 
    linear-gradient(rgba(45, 200, 150, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 200, 150, 0.15) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 65%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 65%);
}

.section-header::after, .acfm-header::after {
  display: none !important;
}

/* 2. Glowing shadow overlay for all cards, borderless, border-radius */
.course-card, .why-card, .t-card, .contact-info-card, .acfm-stat-item, .placement-card {
  border: none !important;
  box-shadow: 0 4px 22px rgba(0,0,0,0.06) !important;
  border-radius: 18px !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.course-card:hover, .why-card:hover, .t-card:hover, .contact-info-card:hover, .acfm-stat-item:hover, .placement-card:hover {
  box-shadow: 0 15px 45px rgba(220,20,60,0.12) !important;
  transform: translateY(-6px) !important;
}

/* 3. Numbering inside the Testimonial Cards (.t-card) */
.testimonials-track {
  counter-reset: tcard-counter;
}

.t-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.t-card::after {
  counter-increment: tcard-counter;
  content: "0" counter(tcard-counter);
  position: absolute;
  bottom: -25px;
  right: -5px;
  font-size: 15vw;
  max-font-size: 140px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.025);
  line-height: 1;
  z-index: -1;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
@media(min-width: 768px) {
  .t-card::after {
    font-size: 140px;
  }
}

.t-card:hover::after {
  color: rgba(220, 20, 60, 0.07);
}

.footer-logo-img {
  height: 60px;
  width: auto;
  display: block;
  margin-bottom: 20px;
}

.acfm-title, .page-header, .ch-title {
  position: relative;
  z-index: 1;
}
