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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #fbfdff;
  color: #1f2937;
  line-height: 1.5;
  overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ========== MOBILE-RESPONSIVE NAVBAR ========== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-link img {
  max-width: 100%;
  height: auto;
}

/* hamburger icon - hidden on desktop */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #1e293b;
  z-index: 1001;
  transition: color 0.2s;
}

.hamburger:hover {
  color: #2563eb;
}

/* navigation links container */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.nav-links a {
  text-decoration: none;
  color: #1e293b;
  font-weight: 500;
  transition: color 0.2s;
  font-size: 1rem;
  position: relative;
}

/* Optional: Add underline effect on hover */
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: width 0.2s ease;
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #2563eb;
}

.nav-links .btn {
  margin-left: 0.5rem;
}
/* Active link styling */
.nav-links a.active {
  color: #2563eb; /* Same as hover color */
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%; /* Full underline for active link */
  height: 2px;
  background: #2563eb;
}
/* ========== DROPDOWN / SUBMENU STYLES ========== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.dropdown-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

/* Dropdown menu - desktop */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 220px;
  border-radius: 12px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid #eef2f6;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px !important;
  color: #1e293b !important;
  font-size: 0.95rem !important;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-dropdown-menu a:last-child {
  border-bottom: none;
}

.nav-dropdown-menu a:hover {
  background: #f8fafc;
  color: #2563eb !important;
  padding-left: 25px !important;
}

/* Mobile styles */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 30px 40px;
    gap: 1rem;
    transition: right 0.3s ease-in-out;
    z-index: 999;
    overflow-y: auto;
  }

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

  .nav-links a {
    font-size: 1.2rem;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid #eef2f6;
  }
  
  /* Remove underline effect on mobile */
  .nav-links a:not(.btn)::after {
    display: none;
  }

  .nav-links .btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }

  /* Dropdown mobile styles */
  .nav-dropdown {
    width: 100%;
  }
  
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }
  
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0;
    margin-top: 8px;
    margin-left: 20px;
    min-width: auto;
    width: calc(100% - 20px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border: none;
    background: transparent;
  }
  
  .nav-dropdown.active .nav-dropdown-menu {
    max-height: 300px; /* Adjust based on content */
  }
  
  .nav-dropdown-menu a {
    padding: 8px 20px !important;
    font-size: 1rem !important;
    border-bottom: 1px solid #eef2f6;
    background: #f9f9ff;
    border-radius: 8px;
    margin-bottom: 4px;
  }
  
  .nav-dropdown-menu a:hover {
    background: #e6f0ff;
  }
  
  .nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
  }

  /* overlay when menu open */
  body.menu-open {
    overflow: hidden;
  }
  
  body.menu-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    pointer-events: none;
    backdrop-filter: blur(2px);
  }
}

/* small desktop adjustment */
@media (min-width: 769px) and (max-width: 900px) {
  .nav-links {
    gap: 1.2rem;
  }
}

/* ---------- rest of the styles (keep all your existing styles below) ---------- */
.btn {
  display: inline-block;
  background-color: #2563eb;
  color: #ffffff !important;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  background-color: #1d4ed8;
  transform: scale(1.02);
  box-shadow: 0 10px 20px -8px rgba(37, 99, 235, 0.4);
}

.btn-outline-light {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline-light:hover {
  background-color: white;
  color: #2563eb !important;
  transform: scale(1.02);
}

.hero{
  position:relative;
  border-radius:0 0 3rem 3rem;
  padding:60px 0 80px 0;
  overflow:hidden;
}

/* gradient overlay */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(270deg,
      rgba(219,234,254,0.85),
      rgba(237,233,254,0.85),
      rgba(219,234,254,0.85));
  background-size:400% 400%;
  animation:gradientMove 10s ease infinite;
  z-index:2;
}

/* slides */
.hero-slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  animation:heroFade 25s infinite;
}

/* delay for each image */
.hero-slide:nth-child(1){ animation-delay:0s; }
.hero-slide:nth-child(2){ animation-delay:5s; }
.hero-slide:nth-child(3){ animation-delay:10s; }
.hero-slide:nth-child(4){ animation-delay:15s; }
.hero-slide:nth-child(5){ animation-delay:20s; }

/* fade animation */
@keyframes heroFade{
  0%{opacity:0;}
  5%{opacity:1;}
  20%{opacity:1;}
  25%{opacity:0;}
  100%{opacity:0;}
}

/* gradient animation */
@keyframes gradientMove{
  0%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
  100%{background-position:0% 50%;}
}

/* content above slides */
.hero-content{
  position:relative;
  z-index:3;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%, center;
  }
  50% {
    background-position: 100% 50%, center;
  }
  100% {
    background-position: 0% 50%, center;
  }
}
.hero-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1 1 400px;
  min-width: 280px;
}

.hero-badge {
  background-color: rgba(37, 99, 235, 0.15);
  color: #1e40af;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: #0f172a;
}

.hero-highlight {
  color: #2563eb;
  background: linear-gradient(145deg, #2563eb, #ce0d27);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subhead {
  font-size: 1.2rem;
  color: #334155;
  max-width: 550px;
  margin-bottom: 32px;
}

.hero-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.hero-image img {
  max-width: 100%;
  width: 400px;
  border-radius: 30px;
  box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
}

.stats-row {
  display: flex;
  gap: clamp(20px, 5vw, 40px);
  flex-wrap: wrap;
  margin: 48px 0 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: clamp(1.8rem, 5vw, 2rem);
  font-weight: 700;
  color: #0f172a;
}

.stat-label {
  color: #475569;
  font-size: 0.95rem;
}

.section-title {
  font-size: clamp(2rem, 6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: #0f172a;
}

.section-subtitle {
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto 48px auto;
  font-size: 1.2rem;
}

.about-grid {
  display: flex;
  gap: 60px;
  align-items: center;
  flex-wrap: wrap;
  margin: 60px 0;
}

.about-text {
  flex: 1 1 350px;
  min-width: 280px;
}

.about-image {
  flex: 1 1 300px;
  border-radius: 30px;
  background: #f1f5f9;
  padding: 20px;
}

.about-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.02);
}

.check-list {
  list-style: none;
}

.check-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-list i {
  color: #2563eb;
  background: #e0edff;
  border-radius: 50%;
  padding: 6px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin: 40px 0 60px;
}

.service-card {
  background: white;
  padding: 32px 24px;
  border-radius: 32px;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
  border: 1px solid #f0f4fe;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 40px -12px rgba(37, 99, 235, 0.25);
  border-color: #b1cafb;
}

.service-icon {
  background: #e6f0ff;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon i {
  font-size: 2rem;
  color: #2563eb;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.service-card p {
  color: #4b5563;
  flex-grow: 1;
}

.teacher-spotlight {
  background: #f8fafc;
  border-radius: 3rem;
  padding: 60px 0;
  margin: 60px 0;
}

.teacher-card {
  display: flex;
  gap: 40px;
  background: white;
  border-radius: 40px;
  flex-wrap: wrap;
  box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.15);
  align-items: center;
}

.teacher-img {
  flex: 1 1 240px;
  text-align: center;
}

.teacher-img img {
  width: 100%;
  border-radius: 40px;
  box-shadow: 0 20px 25px -8px #1e293b;
  transition: transform 0.3s ease;
}

.teacher-img img:hover {
  transform: scale(1.02);
}

.teacher-info {
  flex: 3 1 350px;
  min-width: 260px;
}

.teacher-info h2 {
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.teacher-title {
  color: #2563eb;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.teacher-desc {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: #334155;
}

.teacher-meta i {
  width: 28px;
  color: #2563eb;
  flex-shrink: 0;
}

.teacher-meta div {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.testimonials {
  margin: 70px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.testimonial-card {
  background: white;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.05);
  border: 1px solid #edf2f7;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
}

.testimonial-card i.fa-quote-left {
  color: rgba(37, 99, 235, 0.2);
  font-size: 2rem;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin: 16px 0;
  color: #1e293b;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: #b1d0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #1e40af;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

.author-info p {
  color: #64748b;
  font-size: 0.9rem;
}

.contact-section {
  background: linear-gradient(120deg, #0b1f3b, #1d3b66);
  color: white;
  border-radius: 3rem 3rem 0 0;
  padding: 70px 0;
  text-align: center;
}

.contact-section h2 {
  font-size: clamp(2rem, 6vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 18px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 40px 0 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.1);
  padding: 12px 24px;
  border-radius: 60px;
  flex-wrap: wrap;
  justify-content: center;
  transition: background 0.2s ease;
}

.contact-item:hover {
  background: rgba(255,255,255,0.2);
}

.contact-item i {
  font-size: 1.2rem;
}

.contact-form {
  max-width: 600px;
  margin: 30px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  background: rgba(255,255,255,0.05);
  padding: clamp(24px, 6vw, 40px);
  border-radius: 40px;
  backdrop-filter: blur(4px);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: 40px;
  font-family: inherit;
  background: white;
  font-size: 1rem;
  transition: box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

.contact-form .btn {
  width: 100%;
  background: white;
  color: #0b1f3b !important;
  font-weight: 700;
}

.contact-form .btn:hover {
  background: #f0f4ff;
}

.footer {
  background: #0b1f3b;
  color: #b0c4de;
  padding: 30px 0;
  text-align: center;
}

.footer a {
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer a:hover {
  color: white !important;
  transform: translateY(-2px);
}

hr {
  border: 1px solid rgba(255,255,255,0.1);
  margin: 20px 0;
}

/* small screens text etc */
@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .stats-row {
    justify-content: center;
  }
  .about-grid {
    text-align: center;
  }
  .check-list li {
    justify-content: center;
    text-align: left;
  }
  .teacher-meta div {
    justify-content: center;
    text-align: center;
  }
  .contact-form {
    padding: 20px;
  }
}

/* Print styles - optional */
@media print {
  .navbar, .footer, .contact-form, .btn {
    display: none;
  }
}

/* Accessibility - focus states */
a:focus-visible,
button:focus-visible,
.hamburger:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Disable Bootstrap dropdown interference */
.dropdown, .dropdown-toggle, .dropdown-menu {
  all: unset;
}


.stats-big {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px;
  margin: 60px 0;
  text-align: center;
}

.stat-big-item {
  flex: 1 1 150px;
}

.stat-big-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: #2563eb;
  line-height: 1.2;
}

.stat-big-label {
  font-size: 1.1rem;
  color: #475569;
}
.cta-mini {
  text-align: center;
  margin: 70px 0;
  padding: 50px;
  background: #dbeafe;
  border-radius: 60px;
}

.cta-mini h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-mini .btn {
  margin-top: 20px;
}
