:root {
  --primary-blue: #1EB8FC;
  --secondary-orange: #ED8B00;
  --text-dark: #121A3B;
  --text-light: #5A5A6D;
  --bg-color: #FFFFFF;
  --font-family: 'Inter', sans-serif;
}

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

/* ===== PROMO BANNER ===== */
.promo-banner {
  background-color: #FACC15; /* Bright yellow from Ven's brand/accent */
  color: #0F172A;
  padding: 12px 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  z-index: 999;
  letter-spacing: -0.2px;
}

.promo-banner strong {
  font-weight: 800;
  color: #EB1C24; /* Urgent red */
  margin: 0 4px;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-dark);
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

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

.nav-signup {
  display: none !important;
}

/* Global Scroll Animation */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-cta {
  display: flex;
  justify-content: center;
  padding: 40px 0 20px;
}

.section-cta .btn {
  padding: 16px 40px;
  font-size: 1.1rem;
  box-shadow: 0 10px 20px rgba(30, 86, 255, 0.2);
}

.section-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(30, 86, 255, 0.3);
}

/* Active nav link */
nav.main-nav a.active {
  color: #1A56DB;
}

nav.main-nav a.active::before {
  opacity: 1;
}


/* ===== HEADER ===== */
header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 0;
}

/* Logo stays left */
.logo-section {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* Ven's logo — square image, show as circle */
.vens-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(26, 46, 109, 0.15);
  margin-right: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-weight: 900;
  font-size: 1.3rem;
  color: #1A2E6D;
  letter-spacing: -0.5px;
}

.logo-sub {
  font-weight: 700;
  font-size: 0.65rem;
  color: #EB1C24; /* Red to match Ven's brand */
  letter-spacing: 2px;
}

/* Centered Nav — middle grid column */
nav.main-nav {
  display: flex;
  justify-content: center;
}

nav.main-nav ul {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}

nav.main-nav a {
  text-decoration: none;
  color: #1D1D3A;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 9px 18px;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: block;
  white-space: nowrap;
  letter-spacing: 0.1px;
}

/* Glass hover effect */
nav.main-nav a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  box-shadow: 0 4px 20px rgba(26, 86, 219, 0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}

nav.main-nav a:hover {
  color: #1A56DB;
  transform: translateY(-1px);
}

nav.main-nav a:hover::before {
  opacity: 1;
}

/* header-actions — right side of grid */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  justify-self: end;
}

/* Language selector dropdown */
.lang-selector {
  position: relative;
  z-index: 1000;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1.5px solid #E2E8F0;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1E293B;
  background: white;
  transition: all 0.25s ease;
}

.lang-selector:hover .lang-current,
.lang-selector.active .lang-current {
  border-color: #1A56DB;
  color: #1A56DB;
  background: #F8FAFF;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 8px;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
}

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

.lang-dropdown li {
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748B;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-dropdown li:hover {
  background: #F1F5F9;
  color: #1A56DB;
}

.lang-dropdown li.active {
  background: #EEF2FF;
  color: #1A56DB;
}

.lang-selector svg {
  color: #64748B;
  flex-shrink: 0;
}

.lang-selector:hover svg {
  color: #1A56DB;
}

/* Phone number button — blue pill like Everest */
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1A56DB;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.2px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(26, 86, 219, 0.25);
}

.btn-phone:hover {
  background: #1544B8;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 86, 219, 0.35);
}


/* Hero Section Redesign */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(85vh - 80px); /* Adjust for header height */
  padding: 80px 0 60px 0; /* Increased top padding for gap below menu */
  position: relative;
  gap: 40px;
}

.hero-content {
  flex: 1.2;
  max-width: 650px;
  z-index: 10;
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.8rem); /* Fluid Typography */
  font-weight: 400; 
  color: #0F172A;
  line-height: 1.0; /* Increased from 0.9 to be less squeezed */
  margin-bottom: 32px;
  letter-spacing: -2.5px; /* Slightly relaxed from -3.5px */
}

.hero-subtitle {
  color: #64748B;
  font-weight: 400; 
  letter-spacing: -2px; /* Slightly relaxed from -3px */
}

.hero p {
  font-size: 1.15rem;
  color: #1D1D3A;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 40px;
  max-width: 500px;
}

.btn-signup {
  background: linear-gradient(135deg, #1FADF5, #1181FA);
  font-size: 1.1rem;
  padding: 18px 36px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-decoration: none;
  color: white;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(31, 173, 245, 0.3);
}

.btn-signup:hover {
  background: linear-gradient(135deg, #1181FA, #1FADF5);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(31, 173, 245, 0.45);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.btn-gray {
  background: #F3F4F6;
  color: #111827;
  font-size: 1.1rem;
  padding: 18px 36px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-gray:hover {
  background: #E5E7EB;
  transform: translateY(-4px);
}

.btn-signup svg {
  width: 20px;
  height: 20px;
  color: white;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
  perspective: 800px; /* Stronger 3D space */
}

.hero-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.1s ease-out; /* Smooth tilt movement */
  transform-style: preserve-3d;
  will-change: transform;
}

.decoration {
  position: absolute;
  color: #131238;
  font-size: 20px;
  user-select: none;
}

.dec-1 {
  top: 15%;
  left: 48%;
}

.dec-2 {
  bottom: 0;
  right: 10%;
}

/* Responsive adjustments */
@media (max-width: 968px) {
  /* Switch from grid to flex-wrap for tablets */
  header {
    display: flex;
    flex-wrap: wrap;
    padding: 12px 0;
    gap: 8px;
  }

  nav.main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: flex-start;
  }

  nav.main-nav::-webkit-scrollbar { display: none; }

  nav.main-nav ul {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 4px;
  }

  .btn-phone {
    font-size: 0.78rem;
    padding: 8px 14px;
  }

  .lang-selector {
    padding: 7px 12px;
    font-size: 0.78rem;
  }

  /* Tablet Hero Adjustments */
  .hero {
    min-height: auto;
    padding: 60px 0 60px 0;
    gap: 30px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.0;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-image img {
    max-width: 380px;
    margin-top: 0;
  }
}

/* Mobile Hero Redesign */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 0 40px 0;
    min-height: auto;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
    order: 1;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
  }

  .hero p {
    margin: 0 auto 32px auto;
    font-size: 1rem;
    line-height: 1.4;
  }

  .btn-signup {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .hero-image {
    order: 2;
    width: 100%;
    justify-content: center;
  }

  .hero-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    transform: none;
  }

  .dec-1, .dec-2 {
    display: none; /* Clean up mobile mobile decorations */
  }
}



/* Stats Section */
.stats-section {
  padding: 60px 0 20px 0;
  background-color: #ffffff;
}

.stats-grid {
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.stat-card {
  flex: 1;
  background-color: #F8F9FA;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
  color: #121A3B;
  /* Scroll reveal animation */
  opacity: 0;
  z-index: 1;
}

.stat-card.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1) !important;
}

/* Custom fade-in directions for each card */
.stat-card:nth-child(1) { 
  transform: translateX(-50px); 
  transition-delay: 0.1s; 
}
.stat-card:nth-child(2) { 
  transform: translateY(50px); 
  transition-delay: 0.2s; 
}
.stat-card:nth-child(3) { 
  transform: scale(0.8); 
  transition-delay: 0.3s; 
}
.stat-card:nth-child(4) { 
  transform: translateX(50px); 
  transition-delay: 0.4s; 
}

@media (max-width: 768px) {
  .stat-card:nth-child(1) { transform: translateX(-20px); }
  .stat-card:nth-child(4) { transform: translateX(20px); }
}

.stat-dot {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transition: all 0.4s ease;
}

.dot-blue { background-color: #1EB8FC; }
.dot-red { background-color: #FF1E56; }
.dot-yellow { background-color: #FACC15; }
.dot-green { background-color: #22C55E; }

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.stat-card.blue-hover::before { background: linear-gradient(135deg, #1EB8FC, #0369a1); }
.stat-card.red-hover::before { background: linear-gradient(135deg, #FF1E56, #F1920B); }
.stat-card.yellow-hover::before { background: linear-gradient(135deg, #FACC15, #ca8a04); }
.stat-card.green-hover::before { background: linear-gradient(135deg, #22C55E, #15803d); }

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  color: #ffffff;
}

.stat-card:hover .stat-dot {
  background-color: #ffffff;
}

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

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.stat-text {
  font-size: 1.05rem;
  color: #6B7280;
  font-weight: 500;
  transition: color 0.4s ease;
}

.stat-card:hover .stat-text {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 968px) {
  .stats-grid {
    flex-wrap: wrap;
  }
  .stat-card {
    flex: 0 0 calc(50% - 12px);
  }
}
@media (max-width: 576px) {
  .stat-card {
    flex: 0 0 100%;
  }
}


/* Partners Ticker Section */
.partners-ticker-section {
  padding: 60px 0 40px 0;
  background-color: #ffffff;
  overflow: hidden;
  border-top: 1px solid #f1f5f9;
}

.ticker-title {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748B;
  letter-spacing: 3px;
  margin-bottom: 50px;
  text-transform: uppercase;
  position: relative;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}

.ticker-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: #3b82f6; /* Blue accent underline */
  border-radius: 2px;
}

.ticker-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  /* Soft fade effect on edges */
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  /* Left to Right animation */
  animation: scroll-right 50s linear infinite;
  gap: 100px;
  align-items: center;
}

.ticker-item {
  font-size: 1.5rem;
  font-weight: 900;
  color: #0F172A;
  opacity: 0.3;
  white-space: nowrap;
  letter-spacing: 1.5px;
  transition: opacity 0.3s ease;
  user-select: none;
}

.ticker-item:hover {
  opacity: 0.7;
}

@keyframes scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@media (max-width: 768px) {
  .partners-ticker-section { padding: 40px 0 30px 0; }
  .ticker-title { margin-bottom: 30px; letter-spacing: 2px; font-size: 0.65rem; }
  .ticker-track { gap: 60px; animation-duration: 35s; }
  .ticker-item { font-size: 1.1rem; }
}

/* Pain Points Section */
.pain-points {
  padding: 80px 0;
  background-color: #F9FAFB;
  position: relative;
}

.pain-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.pain-header h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 800;
  color: #121A3B;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

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

.pain-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pain-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(26, 86, 219, 0.08);
  border-color: rgba(26, 86, 219, 0.2);
}

.pain-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.pain-card:hover .pain-icon-box {
  transform: scale(1.1) rotate(5deg);
}

.pain-icon-box.blue-bg { background-color: #F0F7FF; color: #1A56DB; }
.pain-icon-box.red-bg { background-color: #FFF1F2; color: #E11D48; }
.pain-icon-box.yellow-bg { background-color: #FEFCE8; color: #CA8A04; }

.pain-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #121A3B;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.pain-card p {
  font-size: 1rem;
  color: #4B5563;
  line-height: 1.6;
}

/* Pain Solution Banner */
.pain-solution {
  background: #ffffff;
  border-radius: 32px;
  padding: 60px 40px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
}

.solution-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(26, 86, 219, 0.1);
  color: #1A56DB;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.pain-solution h3 {
  font-size: 2rem;
  font-weight: 900;
  color: #121A3B;
  margin-bottom: 50px;
  letter-spacing: -0.5px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Creative Advantages List */
.advantages-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
  text-align: left;
}

.advantages-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, #1A56DB, #E2E8F0);
  border-radius: 2px;
}

.advantage-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 30px;
}

.advantage-item:last-child {
  margin-bottom: 0;
}

.advantage-dot {
  position: absolute;
  left: -46px;
  top: 0;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border: 3px solid #1A56DB;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 10px rgba(26, 86, 219, 0.2);
}

.advantage-content h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #121A3B;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.advantage-content p {
  font-size: 1rem;
  color: #4B5563;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .advantages-wrapper {
    padding-left: 30px;
  }
  .advantage-dot {
    left: -36px;
  }
  .pain-solution h3 {
    font-size: 1.5rem;
  }
}

.check-group {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #1A56DB;
  font-size: 1.1rem;
}

.check-item svg {
  color: #22C55E;
}

@media (max-width: 968px) {
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pain-points { padding: 60px 0; }
  .pain-grid {
    grid-template-columns: 1fr;
  }
  .pain-solution h3 { font-size: 1.6rem; }
  .check-group { gap: 20px; }
  .check-item { font-size: 1rem; }
}

/* Why Ven's Academy Section */
.why-us {
  background: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.why-us::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23f9fafb" fill-opacity="1" d="M0,288L48,272C96,256,192,224,288,197.3C384,171,480,149,576,165.3C672,181,768,235,864,250.7C960,267,1056,245,1152,213.3C1248,181,1344,139,1392,117.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  z-index: 0;
}

.why-us .container {
  position: relative;
  z-index: 1;
}

.why-us-wrapper {
  display: flex;
  gap: 40px;
  align-items: stretch; /* fixed from center */
}

.why-us-content {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-title {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #121A3B;
  letter-spacing: -1px;
}

.text-blue {
  color: #1A56DB;
}

.why-desc {
  font-size: 1.05rem;
  color: #4B5563;
  line-height: 1.6;
}

/* Accordion Container */
.accordion-container {
  display: flex;
  flex: 1;
  gap: 12px;
  height: 420px;
  width: 100%;
}

.accordion-item {
  flex: 1;
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  cursor: pointer;
  min-width: 60px;
}

/* Hover & Active States */
.accordion-container:not(:hover) .accordion-item:last-child {
  flex: 3.5;
  box-shadow: 0 10px 25px rgba(26, 86, 219, 0.1);
  border-color: rgba(26, 86, 219, 0.2);
}

.accordion-container .accordion-item:hover {
  flex: 3.5;
  box-shadow: 0 10px 25px rgba(26, 86, 219, 0.1);
  border-color: rgba(26, 86, 219, 0.2);
}

/* Collapsed Content */
.collapsed-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.3s ease;
}

.accordion-item .icon-wrap {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
  margin-bottom: auto;
}

.accordion-item .icon-wrap svg {
  width: 20px;
  height: 20px;
}

.accordion-item .vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 700;
  font-size: 1.05rem;
  color: #111827;
  white-space: nowrap;
  letter-spacing: 0.5px;
  margin-top: 20px;
}

/* Expanded Content */
.expanded-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px; /* fixed width prevents text wrap during animation */
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.expanded-graphic {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.expanded-text {
  margin-top: auto;
}

.expanded-text h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #121A3B;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.expanded-text p {
  color: #4B5563;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Hide/Show logic for content */
.accordion-container:not(:hover) .accordion-item:last-child .collapsed-content,
.accordion-container .accordion-item:hover .collapsed-content {
  opacity: 0;
  visibility: hidden;
}

.accordion-container:not(:hover) .accordion-item:last-child .expanded-content,
.accordion-container .accordion-item:hover .expanded-content {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.2s; /* Wait for expansion slightly */
}

/* Responsive adjustments for Accordion */
@media (min-width: 769px) and (max-width: 968px) {
  .why-us {
    padding: 60px 0;
  }

  .why-us-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  
  .why-us-content {
    flex: none;
    max-width: 100%;
    text-align: center;
    margin-bottom: 30px;
  }
  
  .why-title {
    font-size: 2.5rem;
  }
  
  .why-desc {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .accordion-container {
    flex-direction: column;
    height: auto;
  }
  
  .accordion-item {
    width: 100%;
    height: 70px;
    flex: none !important;
  }
  
  .accordion-container:not(:hover) .accordion-item:last-child,
  .accordion-container .accordion-item:hover {
    height: 200px;
  }
  
  .collapsed-content {
    flex-direction: row;
    padding: 0 20px;
    align-items: center;
  }
  
  .accordion-item .icon-wrap {
    margin-bottom: 0;
    margin-right: 20px;
  }
  
  .accordion-item .vertical-text {
    writing-mode: horizontal-tb;
    transform: none;
    margin-top: 0;
  }
  
  .expanded-content {
    width: 100%;
    padding: 20px;
    justify-content: flex-end;
  }
  
  .expanded-graphic {
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0.2;
  }
}

/* Courses Section */
.courses-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.courses-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  gap: 40px;
}

.courses-header {
  max-width: 60%;
}

.courses-header h2 {
  font-size: 2.4rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #121A3B;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.courses-header p {
  font-size: 1.05rem;
  color: #4B5563;
  line-height: 1.6;
}

.signup-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #1A56DB;
  color: #fff;
  padding: 15px 30px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.signup-btn:hover {
  background-color: #1E3A8A;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(26, 86, 219, 0.2);
}

.courses-grid {
  display: flex;
  gap: 24px;
}

.course-card {
  flex: 1;
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 30px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  
  opacity: 0;
}

.course-card.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1) !important;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(26, 86, 219, 0.1);
  border-color: transparent;
}

/* Stagger for scroll anim */
.course-card:nth-child(1) { transform: translateX(-60px); transition-delay: 0.1s; }
.course-card:nth-child(2) { transform: translateY(60px); transition-delay: 0.2s; }
.course-card:nth-child(3) { transform: translateX(60px); transition-delay: 0.3s; }

@media (max-width: 768px) {
  .course-card:nth-child(1) { transform: translateX(-20px); }
  .course-card:nth-child(3) { transform: translateX(20px); }
}

.course-icon {
  margin-bottom: 25px;
  color: #D1D5DB;
  transition: color 0.4s ease;
}
.course-card:hover .course-icon {
  color: #1A56DB;
}
.course-icon svg {
  width: 50px;
  height: 50px;
}

.course-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.course-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1A56DB;
  margin-bottom: 15px;
}

.course-desc {
  font-size: 0.95rem;
  color: #4B5563;
  line-height: 1.6;
  margin-bottom: 20px;
}

.course-target {
  font-size: 0.9rem;
  color: #6B7280;
  line-height: 1.5;
  margin-bottom: 20px;
  margin-top: auto;
}

.course-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 30px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.course-price span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #6B7280;
}

.course-arrow {
  position: absolute;
  bottom: 25px;
  left: 30px;
  font-size: 1.5rem;
  color: #9CA3AF;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 0;
}

.signup-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1A56DB;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.4s ease;
  margin-right: 0;
}

.course-card:hover .course-arrow {
  color: #1A56DB;
}

.course-card:hover .signup-text {
  max-width: 150px;
  opacity: 1;
  margin-right: 12px;
}

@media (max-width: 968px) {
  .courses-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .courses-header {
    max-width: 100%;
  }
  .courses-grid {
    flex-direction: column;
  }
}

/* Benefits Section */
.benefits-section {
  padding: 80px 0;
  background-color: #ffffff;
  position: relative;
}

.benefits-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.benefits-header h2 {
  font-size: 2.8rem;
  font-weight: 900;
  color: #121A3B;
  line-height: 1.1;
  letter-spacing: -2px;
}

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

.benefit-card {
  background: #F9FAFB;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  border-color: rgba(26, 86, 219, 0.1);
}

.benefit-icon-box {
  width: 56px;
  height: 56px;
  background: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  color: #1A56DB;
}

.benefit-info h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #121A3B;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.benefit-info p {
  font-size: 1rem;
  color: #4B5563;
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .benefits-section { padding: 60px 0; }
  .benefits-header h2 { font-size: 2rem; }
  .benefit-card { padding: 24px; gap: 16px; }
  .benefit-icon-box { width: 48px; height: 48px; }
}

/* Top Achievers Section */
.achievers-section {
  padding: 100px 0;
  background-color: #F9FAFB;
}

.achievers-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.achievers-header h2 {
  font-size: 2.4rem;
  font-weight: 900;
  color: #111827;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.achievers-header p {
  font-size: 1.1rem;
  color: #4B5563;
}

#viewAllBtn {
  background: #ffffff;
  color: #1A56DB;
  border: 1.5px solid #E2E8F0;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  cursor: pointer;
}

#viewAllBtn:hover {
  border-color: #1A56DB;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 86, 219, 0.12);
}

#viewAllBtn span {
  display: inline-block;
  transition: transform 0.3s ease;
}

#viewAllBtn:hover span {
  transform: translateX(5px);
}

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

.achiever-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: fadeUpIn 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeUpIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.achiever-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.achiever-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: #111827;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.achiever-card:hover .achiever-name {
  color: #E31837; /* Red on hover */
}

.achiever-date {
  font-size: 0.9rem;
  color: #6B7280;
  margin-bottom: 25px;
}

.cert-image-wrapper {
  width: 100%;
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  transform: rotate(5deg) scale(1.05) translateY(10px) translateX(20px);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1;
  position: relative;
}

.achiever-card:hover .cert-image-wrapper {
  transform: rotate(0deg) scale(1) translateY(0) translateX(0);
}

.cert-image {
  width: 85%;
  height: auto;
  object-fit: contain;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
  border-radius: 4px;
}

.cert-overlay {
  position: absolute;
  top: 0;
  left: 7.5%;
  width: 85%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 4px;
}

.achiever-card:hover .cert-overlay {
  opacity: 1;
}

.view-cert-btn {
  background: #ffffff;
  color: #1A56DB;
  padding: 8px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.view-cert-btn:hover {
  background: #1A56DB;
  color: #ffffff;
  transform: translateY(-2px);
}

.result-badge {
  position: absolute;
  bottom: 25px;
  left: 25px;
  background: white;
  padding: 15px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  z-index: 10;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
}

.achiever-card:hover .result-badge {
  background: #1A56DB; /* Blue on hover */
  transform: scale(1.05);
}

.res-text {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1A56DB;
  margin-bottom: 2px;
  transition: color 0.4s ease;
}

.achiever-card:hover .res-text {
  color: #ffffff;
}

.res-score {
  font-size: 2.2rem;
  font-weight: 900;
  color: #111827;
  letter-spacing: -1px;
  line-height: 1;
  transition: color 0.4s ease;
}

.achiever-card:hover .res-score {
  color: #ffffff;
}

.res-score span {
  font-size: 1.4rem;
}

/* Instructors Section */
.instructors-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.instructors-header {
  text-align: left;
  margin-bottom: 40px;
}

.instructors-header h2 {
  font-size: 2.4rem;
  font-weight: 900;
  color: #111827;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.instructors-header p {
  font-size: 1.1rem;
  color: #4B5563;
}

.instructors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  width: 100%;
}

.instructor-card {
  position: relative;
  height: 550px;
  border-radius: 30px;
  background-size: cover;
  background-position: center top;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
}

.instructor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.instructor-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, rgba(0,0,0,0.1) 100%);
}

.instructor-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  color: white;
  z-index: 10;
}

.instructor-main-info {
  flex: 1;
}

.instructor-info h3 {
  font-size: 2.1rem;
  font-weight: 900;
  margin-bottom: 2px;
}

.instructor-title {
  font-size: 1rem;
  color: #D1D5DB;
  margin-bottom: 15px;
}

.instructor-video-wrapper {
  width: 180px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.instructor-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.instructor-stats-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 250px;
}

.inst-bento-wide {
  grid-column: span 2;
}

.inst-bento-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 15px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
}

.inst-bento-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 2px;
}

.inst-bento-label {
  font-size: 0.75rem;
  color: #E5E7EB;
}




/* Locations Section */
.locations-section {
  padding: 100px 0;
  background-color: #F9FAFB;
}

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

.locations-header h2 {
  font-size: 2.8rem;
  font-weight: 900;
  color: #111;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.locations-header p {
  color: #64748b;
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Base style for mobile tabs */
.mobile-locations-tabs { display: none; }

.locations-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.branches-list {
  flex: 0 0 450px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  position: sticky;
  top: 120px;
}

.branch-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.branch-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.branch-card.active {
  border-color: #ff3e6c;
  box-shadow: 0 20px 50px rgba(255, 62, 108, 0.15);
}

.branch-img {
  width: 100px;
  height: 100px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.branch-card.active .branch-img {
  width: 120px;
  height: 120px;
}

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

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

.branch-info {
  flex: 1;
}

.branch-info h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 4px;
}

.branch-details {
  opacity: 0.6;
  margin-top: 12px;
  transition: opacity 0.4s ease;
}

.branch-card.active .branch-details {
  opacity: 1;
}

.branch-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.branch-metro {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #334155;
  font-weight: 700;
}

.metro-icon {
  background-color: #2563eb;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
}

.metro-icon.icon-red {
  background-color: #ef4444;
}

.branch-action {
  position: absolute;
  top: 24px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: #f1f5f9;
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s ease;
}

.branch-card.active .branch-action {
  background: #ff3e6c;
  transform: rotate(90deg);
}

.branch-card.active .branch-action svg {
  stroke: white;
}

.map-container {
  flex: 1;
  height: 700px;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-inner-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 40px;
}

/* THE CLIP: Hiding the Google My Map header */
.map-inner-wrapper iframe {
  width: 100% !important;
  height: calc(100% + 80px) !important;
  margin-top: -65px;
  border: 0;
}

@media (max-width: 1200px) {
  .locations-content {
    flex-direction: column;
    gap: 40px;
  }
  .locations-header {
    flex: none;
    position: static;
    text-align: center;
  }
  .branches-list {
    flex: none;
    width: 100%;
  }
  .map-container {
    height: 500px;
  }
}

/* FAQ Section */
.faq-section {
  padding: 120px 0;
  background-color: #ffffff;
}

.faq-wrapper {
  display: flex;
  gap: 80px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-header {
  flex: 0 0 400px;
  position: sticky;
  top: 100px;
  height: fit-content;
}

.faq-header h2 {
  font-size: 2.8rem;
  line-height: 1.1;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 25px;
  letter-spacing: -2px;
}

.faq-header p {
  font-size: 1.2rem;
  color: #64748b;
  line-height: 1.6;
}

.faq-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #f8fafc;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
  background: #f1f5f9;
  transform: translateX(10px);
}

.faq-item.active {
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: #1E56FF33;
}

.faq-question {
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question span {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
}

.faq-question svg {
  color: #64748b;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: #1E56FF;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 32px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 32px;
}

.faq-answer p {
  color: #64748b;
  line-height: 1.7;
  font-size: 1.1rem;
}

/* Footer Section */
.main-footer {
  padding: 40px 20px;
  background-color: #ffffff;
}

.footer-wrapper {
  background: linear-gradient(135deg, #1E56FF 0%, #1141D3 100%);
  border-radius: 60px;
  padding: 60px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Subtle Mountain Graphic via pseudo-element */
.footer-wrapper::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="rgba(255,255,255,0.05)" d="M0,192L48,176C96,160,192,128,288,128C384,128,480,160,576,176C672,192,768,192,864,170.7C960,149,1056,107,1152,106.7C1248,107,1344,149,1392,170.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}



.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.footer-info {
  max-width: 600px;
}

.footer-info h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 30px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.footer-info p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.social-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px 40px;
  border-radius: 25px;
  text-decoration: none;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  min-width: 140px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-10px);
}

.social-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-card span {
  font-weight: 700;
  font-size: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
  font-size: 1rem;
}

.footer-contact a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-contact a:hover {
  opacity: 0.8;
}

.footer-contact .divider {
  color: rgba(255, 255, 255, 0.2);
}

/* Hide hamburger on desktop */
.hamburger {
  display: none;
}

/* ===== TABLET (1024px) ===== */
@media (max-width: 1024px) {
  .faq-wrapper {
    flex-direction: column;
    gap: 40px;
  }
  .faq-header {
    position: static;
    flex: none;
  }
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
  }
  .footer-socials {
    width: 100%;
  }
  .social-card {
    flex: 1;
    padding: 20px;
    min-width: unset;
  }
}

/* ===== MOBILE OPTIMIZATIONS (768px) ===== */
@media (max-width: 768px) {

  /* ----- Global Typography Scaling ----- */
  h1 { font-size: clamp(1.8rem, 7vw, 2.8rem) !important; letter-spacing: -1px; }
  h2 { font-size: clamp(1.5rem, 5.5vw, 2rem) !important; letter-spacing: -0.5px; }
  p { font-size: 0.95rem; }
  .container { padding: 0 16px; }
  
  /* Promo Banner on Mobile - Thinner and more refined */
  .promo-banner {
    position: relative;
    margin-top: 65px;
    width: 100%;
    z-index: 999;
    padding: 6px 0;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  
  .promo-banner strong {
    font-weight: 700;
    color: #DC2626; /* Slightly more refined red */
    margin: 0 2px;
  }

  /* ----- HEADER & HAMBURGER ----- */
  header {
    display: flex !important;
    justify-content: space-between !important;
    height: 65px;
    padding: 0 16px;
    position: fixed !important; /* Fixed at the top */
    top: 0 !important;
    left: 0;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1001;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin: 0 !important;
  }

  .logo-img { width: 48px !important; height: 48px !important; }
  .logo-main { font-size: 1rem; }
  .logo-sub { font-size: 0.5rem; }

  .main-nav {
    position: fixed;
    top: 65px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 65px);
    background: #ffffff;
    z-index: 1000;
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .main-nav.active { left: 0; }
  .main-nav ul { flex-direction: column; gap: 25px; text-align: center; }
  .main-nav ul li a { font-size: 1.3rem; color: #1a1a1a; }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .header-actions .btn,
  .header-actions .lang-selector,
  .header-actions .btn-moon { display: none; }
  
  .btn-phone { display: none !important; }
  
  .nav-signup {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #1EB8FC;
    color: white !important;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(30, 184, 252, 0.2);
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
  }
  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1a1a1a;
    transition: 0.3s;
    border-radius: 2px;
  }
  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ----- HERO SECTION ----- */
  .hero {
    flex-direction: column;
    padding: 20px 0 0 0; /* Minimal padding since it follows the promo banner in flow */
    text-align: center;
    gap: 20px;
  }
  
  .hero-content { padding-right: 0; max-width: 100%; margin-top: 10px; }
  
  /* Everest-like Typography */
  .hero h1 { 
    font-size: clamp(2rem, 8vw, 3rem) !important; 
    line-height: 1.1; 
    font-weight: 900; 
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
  }
  
  .hero p { 
    margin: 0 auto 30px auto; 
    font-size: 1rem; 
    font-weight: 500;
    max-width: 95%; 
    line-height: 1.5;
  }

  /* Two Buttons Layout */
  .hero-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .btn-signup, .btn-gray { 
    font-size: 0.95rem; 
    padding: 14px 10px; 
    flex: 1; /* Both buttons take 50% width */
    max-width: 180px; 
    white-space: nowrap;
  }
  
  .hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: -10px;
  }
  
  .hero-image img { max-width: 95%; }

  /* ----- 1. STATS SECTION (fix: too large) ----- */
  .stats-section { padding: 30px 0 10px 0; }
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat-card {
    padding: 16px;
    border-radius: 14px;
    flex: none;
  }
  .stat-number { font-size: 1.6rem; margin-bottom: 6px; }
  .stat-text { font-size: 0.8rem; }
  .stat-dot { width: 10px; height: 10px; top: 14px; right: 14px; }
  
  /* ----- PAIN POINTS & ADVANTAGES (Mobile fix) ----- */
  .pain-header h2 br { display: none; } /* Force heading to break naturally into 2 lines */
  .pain-header h2 { font-size: 1.5rem !important; padding: 0 10px; line-height: 1.3; }
  
  .pain-solution { padding: 30px 15px; border-radius: 20px; }
  .adv-title { margin-bottom: 30px; font-size: 1.5rem !important; }
  
  .advantages-wrapper { padding-left: 0; margin-top: 20px; }
  .advantages-wrapper::before { display: none; } /* Strelkani (chiziqni) olib tashlash */
  .advantage-item { margin-bottom: 30px; padding-left: 0; }
  .advantage-item:last-child { margin-bottom: 0; }
  
  .advantage-dot { display: none; } /* Ko'k aylanachani olib tashlash */
  
  .advantage-content h4 { font-size: 1.1rem; margin-bottom: 8px; }
  .advantage-content p { font-size: 0.88rem; line-height: 1.5; }

  /* ----- 2. WHY US ACCORDION (Card Conversion for Mobile) ----- */
  .why-us { padding: 50px 0; }
  .why-us-wrapper { flex-direction: column; gap: 25px; }
  .why-us-content { flex: none; text-align: center; }
  .why-title { font-size: 2rem !important; }
  .why-desc { font-size: 0.9rem; }

  .accordion-container {
    flex-direction: column;
    height: auto;
    gap: 16px;
  }
  
  /* Convert to Static Cards */
  .accordion-item {
    flex: none !important;
    width: 100%;
    height: auto !important;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(26, 86, 219, 0.08);
    transition: none; /* remove hover expansions */
  }

  /* Hide vertical text logic */
  .accordion-item .collapsed-content {
    display: none !important;
  }

  /* Show fully expanded content permanently */
  .accordion-item .expanded-content {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    gap: 16px;
    width: 100%;
    position: relative;
    pointer-events: auto;
    text-align: center;
  }

  .accordion-item .expanded-graphic {
    position: static;
    opacity: 1;
    flex-shrink: 0;
  }
  .accordion-item .expanded-graphic svg { width: 44px; height: 44px; }
  .accordion-item .expanded-text { margin-top: 0; }
  .accordion-item .expanded-text h3 { font-size: 1.25rem; margin-bottom: 8px; }
  .accordion-item .expanded-text p { font-size: 0.9rem; line-height: 1.5; color: #4B5563; }

  /* ----- COURSES SECTION ----- */
  .courses-section { padding: 50px 0; }
  .courses-top { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 25px; }
  .courses-header { max-width: 100%; }
  .courses-header h2 { font-size: 1.8rem !important; }
  .courses-header p { font-size: 0.85rem; }
  .courses-grid { flex-direction: column; gap: 16px; }
  
  /* Apply hover-like colors permanently on mobile */
  .course-card { 
    padding: 24px 20px 50px 20px; /* Extra bottom padding for arrow */
    border-radius: 18px; 
    box-shadow: 0 15px 35px rgba(26, 86, 219, 0.08);
    border-color: rgba(26, 86, 219, 0.15);
  }
  .course-icon { color: #E11D48; }
  
  .course-card h3 { font-size: 1.2rem; }
  .course-subtitle { font-size: 0.9rem; }
  .course-desc { font-size: 0.85rem; }
  
  .course-target { font-size: 0.8rem; margin-bottom: 0; }

  .course-card .signup-text {
    max-width: 150px;
    opacity: 1;
    margin-right: 10px;
  }
  
  .course-card .course-arrow {
    color: #1A56DB;
  }
  
  /* Arrow positioning */
  .course-arrow {
    bottom: 18px;
    left: 20px;
    color: #E11D48;
    transform: translateX(4px);
  }
  
  .signup-btn { font-size: 0.9rem; padding: 12px 24px; }

  /* ----- 3. ACHIEVERS SECTION (fix: 1-column grid based on screenshot) ----- */
  .achievers-section { padding: 50px 0; }
  .achievers-top { flex-direction: column; align-items: flex-start; gap: 15px; margin-bottom: 25px; }
  .achievers-header h2 { font-size: 1.8rem !important; }
  .achievers-header p { font-size: 0.85rem; }
  .achievers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .achiever-card { 
    padding: 30px 24px; 
    border-radius: 28px; 
    min-height: 400px; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; 
  }
  .achiever-name { display: none; }
  .achiever-date { display: none; }
  
  .cert-image-wrapper { 
    height: 250px; 
    margin-top: 10px;
    transform: rotate(0deg) scale(1) translateY(0) translateX(0); 
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .glass-badge, .result-badge { 
    padding: 15px 25px; 
    border-radius: 20px; 
    bottom: 25px; 
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  }
  .res-text, .glass-badge span:first-child { font-size: 0.9rem; color: #1A56DB; font-weight: 800; }
  .res-score, .glass-badge .score-val { font-size: 2.8rem; font-weight: 900; color: #000; letter-spacing: -1px; }
  .res-score span { font-size: 1.2rem; }

  /* ----- 4. INSTRUCTORS SECTION (Card Conversion for Mobile) ----- */
  .instructors-section { padding: 50px 0; }
  .instructors-header { margin-bottom: 25px; }
  .instructors-header h2 { font-size: 1.8rem !important; }
  .instructors-header p { font-size: 0.85rem; }
  
  .instructors-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .instructor-card {
    height: 480px;
    border-radius: 20px;
  }
  
  .instructor-overlay {
    border-radius: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 50%, transparent 100%) !important;
  }
  
  /* Hide vertical text / closed state */
  .instructor-collapsed {
    display: none !important;
  }
  
  /* Always show expanded content */
  .instructor-expanded {
    position: absolute;
    inset: 0;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px !important;
    pointer-events: auto !important;
  }
  
  .instructor-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .instructor-info h3 { font-size: 1.8rem; line-height: 1.2; }
  .instructor-title { font-size: 1rem; margin-bottom: 12px; color: #D1D5DB; }
  
  .instructor-video-wrapper { 
    width: 100%; 
    height: 180px; 
    border-radius: 12px; 
  }
  
  .instructor-stats-bento {
    width: 100%;
    margin-top: 12px;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .inst-bento-card { padding: 12px; border-radius: 12px; }
  .inst-bento-value { font-size: 1.2rem; }
  .inst-bento-label { font-size: 0.75rem; }

  /* ----- 5. LOCATIONS / MAP (fix: too small & sticky remove) ----- */
  .locations-section { padding: 50px 0; }
  .locations-header { margin-bottom: 20px; }
  .locations-header h2 { font-size: 1.8rem !important; }
  .locations-header p { font-size: 0.85rem; }
  
  /* Mobile Map Tabs Logic */
  .mobile-locations-tabs {
    display: flex;
    background: #F3F4F6;
    border-radius: 50px;
    padding: 6px;
    width: 100%;
    margin-bottom: 20px;
  }
  .loc-tab {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 10px;
    border-radius: 50px;
    font-weight: 700;
    color: #4B5563;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .loc-tab.active {
    background: #ffffff;
    color: #111827;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  }

  .locations-content { flex-direction: column; gap: 0; padding: 0; }
  
  .locations-content[data-mobile-view="map"] .branches-list { display: none !important; }
  .locations-content[data-mobile-view="map"] .map-container { 
    display: block !important; 
    height: 800px !important; /* Extremely tall height as requested */
    min-height: 800px !important;
    margin-top: 0;
    margin-left: -16px; 
    margin-right: -16px;
    width: calc(100% + 32px) !important;
    max-width: none !important;
    border-radius: 0 !important;
  }
  
  .locations-content[data-mobile-view="map"] .map-inner-wrapper,
  .locations-content[data-mobile-view="map"] .map-inner-wrapper iframe {
    height: 800px !important; /* Force iframe to follow container height */
    min-height: 800px !important;
    border-radius: 0 !important;
    border: none;
  }
  
  .locations-content[data-mobile-view="list"] .branches-list { display: flex !important; }
  .locations-content[data-mobile-view="list"] .map-container { display: none !important; }

  .branches-list { flex: none; width: 100%; gap: 12px; position: static !important; } /* Removed sticky */
  .branch-card { padding: 16px; border-radius: 20px; gap: 16px; }
  .branch-img { width: 90px; height: 90px; border-radius: 16px; }
  .branch-info h3 { font-size: 1.1rem; }
  .branch-address { font-size: 0.8rem; margin-bottom: 10px; }
  .branch-metro { font-size: 0.85rem; }
  .metro-icon { width: 22px; height: 22px; font-size: 0.65rem; }
  
  .map-container {
    height: 800px !important;
    min-height: 800px !important;
    border-radius: 0;
    margin-top: 20px;
    overflow: hidden;
  }
  .map-inner-wrapper { border-radius: 0; height: 100% !important; }

  /* ----- 6. FAQ SECTION (fix: not showing) ----- */
  .faq-section { padding: 50px 0; }
  .faq-wrapper {
    flex-direction: column;
    gap: 25px;
    padding: 0;
  }
  .faq-header {
    flex: none;
    max-width: 100%;
    position: static;
  }
  .faq-header h2 { font-size: 1.8rem !important; }
  .faq-header p { font-size: 0.85rem; }
  .faq-list { gap: 10px; }
  .faq-item { border-radius: 14px; }
  .faq-item:hover { transform: none; }
  .faq-question { padding: 16px 20px; }
  .faq-question span { font-size: 0.95rem; }
  .faq-answer { padding: 0 20px; }
  .faq-item.active .faq-answer { padding-bottom: 20px; }
  .faq-answer p { font-size: 0.85rem; }

  /* ----- 7. FOOTER (fix: not fitting) ----- */
  .main-footer { padding: 0; }
  .main-footer .container { padding: 0; max-width: 100%; width: 100%; }
  .footer-wrapper {
    padding: 40px 16px;
    border-radius: 0; /* Full width background */
    width: 100% !important;
  }
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
  }
  .footer-info h2 { font-size: 1.4rem !important; line-height: 1.3; }
  .footer-info p { font-size: 0.85rem; margin-top: 10px; }
  .footer-socials {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
  }
  .social-card {
    flex: 1;
    padding: 14px 8px;
    border-radius: 12px;
    min-width: unset;
    gap: 8px;
  }
  .social-icon { width: 32px; height: 32px; border-radius: 8px; }
  .social-card span { font-size: 0.7rem; }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .footer-bottom p { font-size: 0.7rem; opacity: 0.7; }
  .footer-contact { font-size: 0.8rem; gap: 10px; }
}

/* ===== VERY SMALL SCREENS (420px) ===== */
@media (max-width: 420px) {
  header { padding: 0 8px; }
  .logo-img { width: 42px !important; height: 42px !important; }
  .logo-main { font-size: 0.95rem; }
  .btn-phone { font-size: 0.68rem; padding: 6px 8px; letter-spacing: -0.3px; }
  .header-actions { gap: 6px; }

  .achievers-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .stat-number { font-size: 1.3rem; }
  .stat-text { font-size: 0.7rem; }
}

/* Achievers Glass Badge Refinement */
.achiever-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.achiever-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.achiever-score {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 10;
}

.glass-badge {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 12px 24px;
  border-radius: 20px;
  color: #1A56DB; /* Primary blue for text initially */
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  transition: all 0.3s ease;
  min-width: 110px;
}

.glass-badge span:first-child {
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.9;
}

.glass-badge .score-val {
  font-size: 2.2rem;
  color: #121A3B;
  line-height: 1;
}

/* Hover effect from Reference Image */
.achiever-card:hover .glass-badge {
  background: #1A56DB;
  border-color: #1A56DB;
  box-shadow: 0 10px 30px rgba(26, 86, 219, 0.4);
}

.achiever-card:hover .glass-badge span:first-child,
.achiever-card:hover .glass-badge .score-val {
  color: white;
}

/* ACCA Statistics Chart */
.acca-chart-wrapper {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 40px;
  border-radius: 40px;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 650px;
  margin-left: auto;
  position: relative;
  z-index: 5;
  transition: all 0.5s ease;
}

.chart-legend {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  justify-content: flex-end;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
}

.legend-item .dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
}

.legend-item .dot.vens { background: #1e3a8a; }
.legend-item .dot.world { background: #dc2626; }

.acca-chart {
  display: flex;
  height: 350px;
  gap: 20px;
  position: relative;
}

.y-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 30px;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: right;
  width: 40px;
}

.chart-bars {
  flex: 1;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0px;
  position: relative;
}

.bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 320px;
  width: 100%;
  justify-content: center;
}

.bar {
  width: 32px;
  height: 0; /* Animated via JS */
  border-radius: 10px 10px 4px 4px;
  position: relative;
  transition: height 1.5s cubic-bezier(0.19, 1, 0.22, 1);
  cursor: pointer;
}

.bar.vens {
  background: linear-gradient(180deg, #1e3a8a 0%, #3b82f6 100%);
  box-shadow: 0 10px 20px -5px rgba(30, 58, 138, 0.3);
}

.bar.world {
  background: linear-gradient(180deg, #dc2626 0%, #f87171 100%);
  box-shadow: 0 10px 20px -5px rgba(220, 38, 38, 0.3);
}

.bar:hover {
  filter: brightness(1.1);
  transform: scaleX(1.05);
}

.paper-label {
  font-weight: 800;
  color: #0f172a;
  font-size: 1rem;
  letter-spacing: 1px;
}

/* Tooltip */
.tooltip {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #0f172a;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tooltip::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #0f172a;
}

.bar:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1200px) {
  .acca-chart-wrapper {
    padding: 20px;
    margin: 40px auto 0;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .acca-chart { height: 260px; }
  .bars { height: 220px; gap: 3px; }
  .bar { width: 18px; border-radius: 6px 6px 2px 2px;}
  .paper-label { font-size: 0.75rem; letter-spacing: 0; }
  .y-labels { width: 25px; font-size: 0.65rem; }
  
  .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    font-size: 9px;
    padding: 2px 4px;
    top: -20px;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }
  
  .tooltip::after {
    bottom: -3px;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 3px solid #0f172a;
  }
}

/* ===== WORKING STUDENTS SECTION ===== */
.working-students-section {
  padding: 80px 0 20px 0;
  background-color: #ffffff;
  overflow: hidden;
}

.ws-header {
  text-align: center;
  margin-bottom: 50px;
}

.ws-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #121A3B;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.ws-header p {
  font-size: 1.05rem;
  color: #6B7280;
  margin-top: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.ws-carousel-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  overflow: hidden;
  /* Soft fade effect on edges */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  padding: 20px 0;
}

.ws-track {
  display: flex;
  width: max-content;
  gap: 24px;
  padding-left: 24px;
}

.ws-track:hover {
  animation-play-state: paused;
}

.ws-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid #F1F5F9;
  border-radius: 16px;
  padding: 24px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  min-width: 300px;
  cursor: default;
}

.ws-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
  border-color: #E2E8F0;
}

.ws-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  background-color: #1A56DB; /* Default blue, can be overridden by inline style */
}

.ws-info {
  display: flex;
  flex-direction: column;
}

.ws-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 4px;
}

.ws-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0;
}

.ws-papers {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(26, 86, 219, 0.1);
  color: #1A56DB;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.ws-company {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ws-role {
  font-size: 0.85rem;
  color: #94A3B8;
  margin-top: 4px;
  font-weight: 500;
}

@keyframes scroll-left-ws {
  /* Removed - handled by JS */
}

@media (max-width: 768px) {
  .working-students-section { padding: 60px 0 10px 0; }
  .ws-header { margin-bottom: 30px; }
  .ws-carousel-wrapper { 
    overflow-x: auto; 
    padding: 20px 0;
    scroll-behavior: auto; /* Changed to auto for JS control */
    -webkit-overflow-scrolling: touch;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .ws-card { 
    min-width: 280px; 
    padding: 20px 24px; 
    gap: 12px; 
    margin-right: 16px;
    scroll-snap-align: none;
  }
  .ws-name { font-size: 0.95rem; }
  .ws-company { font-size: 0.85rem; }
  .ws-icon { width: 44px; height: 44px; font-size: 1rem; border-radius: 10px; }
  .ws-track { 
    animation: none; 
    padding: 0 20px;
    width: max-content;
  }
  .mobile-only {
    display: block;
  }
}

@media (min-width: 769px) {
  .mobile-only {
    display: none;
  }
}

/* ===== REGISTRATION MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: rgba(255, 255, 255, 0.95);
  width: 90%;
  max-width: 480px;
  padding: 40px;
  border-radius: 30px;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #F1F5F9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748B;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #E2E8F0;
  color: #0F172A;
  transform: rotate(90deg);
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: #64748B;
  margin-bottom: 30px;
  line-height: 1.5;
}

.registration-form .input-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.registration-form label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1E293B;
  margin-left: 4px;
}

.registration-form input {
  padding: 14px 20px;
  border-radius: 14px;
  border: 2px solid #E2E8F0;
  background: #F8FAFF;
  font-family: inherit;
  font-size: 1rem;
  color: #0F172A;
  transition: all 0.2s ease;
}

.registration-form input:focus {
  outline: none;
  border-color: #1A56DB;
  background: white;
  box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.1);
}

.btn-primary-modal {
  width: 100%;
  background: linear-gradient(135deg, #1A56DB, #1E40AF);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(26, 86, 219, 0.2);
}

.btn-primary-modal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 86, 219, 0.3);
  background: linear-gradient(135deg, #1E40AF, #1A56DB);
}

/* Success State */
.modal-success {
  text-align: center;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.success-icon-wrapper {
  width: 80px;
  height: 80px;
  background: #DCFCE7;
  color: #16A34A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.modal-success h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .modal-content {
    padding: 30px 20px;
    border-radius: 24px;
  }
  .modal-title {
    font-size: 1.5rem;
  }
}

/* Enrollment Section */
.enrollment-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.enrollment-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.enrollment-content .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -1px;
}

.enrollment-content .section-desc {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.enrollment-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.e-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.ef-icon {
    width: 28px;
    height: 28px;
    background: rgba(30, 184, 252, 0.1);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.enrollment-form-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.enrollment-section .registration-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.enrollment-section .input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.enrollment-section label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.enrollment-section input {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1.5px solid #E2E8F0;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.enrollment-section input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(30, 184, 252, 0.1);
}

.btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.enrollment-success {
    text-align: center;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

@media (max-width: 992px) {
    .enrollment-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .enrollment-content {
        text-align: center;
    }
    
    .enrollment-features {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .enrollment-section {
        padding: 60px 0;
    }
    .enrollment-form-container {
        padding: 30px 20px;
    }
}

/* Premium Button for Enrollment */
.enrollment-section .btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), #0056D2);
    color: white;
    border: none;
    height: 60px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(30, 184, 252, 0.2);
}

.enrollment-section .btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(30, 184, 252, 0.4);
    background: linear-gradient(135deg, #33C5FF, var(--primary-blue));
}

.enrollment-section .btn-primary svg {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.enrollment-section .btn-primary:hover svg {
    transform: translate(8px, -4px) rotate(-15deg);
}

.enrollment-section .btn-primary:active {
    transform: translateY(-2px) scale(0.98);
}

/* Achiever Paper Badge */
.achiever-card {
    position: relative;
}

.achiever-paper-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(30, 184, 252, 0.1);
    color: var(--primary-blue);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    z-index: 2;
    border: 1px solid rgba(30, 184, 252, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.achiever-card:hover .achiever-paper-badge {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.05);
    transition: all 0.3s ease;
}
