:root {
  /* Colors */
  --primary: #2563EB; /* Trustworthy Blue */
  --primary-hover: #1D4ED8;
  --primary-light: #EFF6FF;
  --secondary: #10B981; /* Growth/Education Green */
  --secondary-hover: #059669;
  --text-dark: #111827;
  --text-muted: #4B5563;
  --text-light: #9CA3AF;
  --bg-main: #FFFFFF;
  --bg-alt: #F9FAFB;
  --border-color: #E5E7EB;
  --danger: #EF4444;
  --warning: #F59E0B;

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Radii */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition: all 0.3s ease;
}

/* ================== Base & Reset ================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--text-muted);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

ul {
  list-style: none;
}

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

/* ================== Typography Utilities ================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--text-muted); }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* ================== Layout System ================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.bg-alt {
  background-color: var(--bg-alt);
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ================== Components ================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background-color: var(--secondary-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-outline:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-inline: auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.card-text {
  flex-grow: 1;
  color: var(--text-muted);
}

/* ================== Navbar ================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-color);
}
.navbar > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo span { color: var(--secondary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.drawer-header {
    display: none !important;
}
.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
}

/* ================== Hero Section ================== */
.hero {
  padding: 12rem 0 8rem;
  background: linear-gradient(135deg, var(--bg-alt) 0%, white 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-inline: auto;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ================== About Section ================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--primary-light);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about-list {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}
.about-list-item {
  display: flex;
  gap: 1rem;
}
.about-list-icon {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

/* ================== Trusted By Section ================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  background: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.stat-item h3 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.stat-item p {
  font-weight: 500;
  color: var(--text-dark);
}
/* ================== Scrolling Logo Ticker ================== */
.logos-ticker-container {
  overflow: hidden;
  padding: 3rem 0;
  background: white;
  position: relative;
  width: 100%;
  margin-top: 2rem;
}

/* Gradient fades on the sides for a smooth transition */
.logos-ticker-container::before,
.logos-ticker-container::after {
  content: "";
  height: 100%;
  position: absolute;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}
.logos-ticker-container::before {
  left: 0;
  top: 0;
  background: linear-gradient(to right, white, transparent);
}
.logos-ticker-container::after {
  right: 0;
  top: 0;
  background: linear-gradient(to left, white, transparent);
}

.logos-ticker-track {
  display: flex;
  width: max-content;
  animation: scroll 40s linear infinite;
  gap: 3rem;
  align-items: center;
}


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

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-250px * 10)); } /* Adjust based on item count */
}

.school-logo-item {
  flex: 0 0 120px; /* Base width for ticker items */
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.school-logo-item img {
  width: 120px !important;
  height: 120px !important;
  border-radius: 50% !important; /* Makes the IMAGE itself round */
  object-fit: cover !important; /* Ensures the image fills the circle */
  background: white; /* Optional: adds a background for transparent logos */
  border: 2px solid #eee;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.4s ease;
}

.school-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
  border-color: var(--primary-color);
}



.hidden { display: none !important; }




/* ================== Pricing Section ================== */
.pricing-card {
  position: relative;
}
.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}
.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
}
.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 1.5rem 0;
}
.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}
.pricing-features {
  margin: 2rem 0;
  text-align: left;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.pricing-features i { color: var(--secondary); }

/* ================== Contact Section ================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-info-item i {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ================== Footer ================== */
.footer {
  background-color: var(--text-dark);
  color: white;
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.footer-logo span { color: var(--secondary); }
.footer-text {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  max-width: 300px;
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-links a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}
.footer h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: var(--text-light);
}
.footer-links a:hover {
  color: white;
  padding-left: 5px;
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-light);
  font-size: 0.875rem;
}

/* ================== Floating WhatsApp ================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  color: white;
}

/* ================== Animations (Scroll Reveal) ================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================== Responsive Design ================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .about-grid { gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn:not(.btn-primary) {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  
  /* Mobile Drawer Box - Left Side & Compact */
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%; /* Hide on left */
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 0;
    box-shadow: none;
    display: flex;
    z-index: 1001;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: flex-start;
    gap: 0;
  }
  
  .nav-links.active {
    left: 0;
    box-shadow: 10px 0 20px rgba(0,0,0,0.1);
  }

  .drawer-header {
      width: 100%;
      padding: 1.5rem;
      display: flex !important;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid var(--border-color);
      margin-bottom: 0.5rem;
  }
  
  .drawer-close {
      background: none;
      border: none;
      font-size: 1.25rem;
      color: var(--text-dark);
      cursor: pointer;
  }

  .nav-links li {
      width: 100%;
      padding: 0 1rem;
      border-bottom: none !important;
  }
  
  .nav-links a {
      display: block;
      padding: 0.75rem 1rem;
      border-radius: var(--radius-md);
      font-size: 0.95rem;
  }

  .nav-links.active .mobile-cta {
      display: flex !important;
      flex-direction: column;
      gap: 1rem;
      padding: 1.5rem 1rem;
      width: 100%;
      border-top: 1px dashed var(--border-color);
      margin-top: 0.5rem;
  }

  .nav-links.active .mobile-cta .btn {
      width: 100%;
      justify-content: center;
      padding: 0.875rem;
      font-size: 0.9rem;
  }

  /* Overlay - Smoother Dismissal */
  .nav-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.4s ease, visibility 0.4s;
      backdrop-filter: blur(2px);
  }
  
  .nav-overlay.active {
      opacity: 1;
      visibility: visible;
  }
  
  body.menu-open {
      overflow: hidden;
  }
  
  .hero-title { font-size: 2.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { margin-bottom: 2rem; }
  .stats-grid { grid-template-columns: 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-5px); }
  
  .section { padding: 4rem 0; }
}
