/* ===== GLOBAL RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  background: #f9f9f9;
  color: #333;
}

/* ===== COLOR VARIABLES ===== */
:root {
  --nav-bg:         #002e5b;
  --text-light:     #ffffff;
  --accent:         #00bfff;
  --dropdown-bg:    #ffffff;
  --dropdown-hover: #e6f2ff;
  --font-nav:       0.9rem;
}

/* ===== HERO SLIDER ===== */
.image-slider {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: #000;
  margin-top: 70px;
}
.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(100%);
  transition: all 1s ease-in-out;
  z-index: 0;
}
.slide.active {
  opacity: 1;
  transform: translateY(0);
  z-index: 1;
}
.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-content {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.55);
  width: 100%;
  height: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease-in-out;
}
.slide-content.animate {
  opacity: 1;
  transform: translateY(0);
}
.slide-content h3 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: bold;
  opacity: 0;
}
.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  line-height: 1.4;
  max-width: 700px;
  opacity: 0;
}
.slider-button {
  background-color: var(--accent);
  color: #fff;
  padding: 14px 30px;
  font-size: 1.1rem;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, transform 0.3s;
  opacity: 0;
}
.slider-button:hover {
  background-color: #0094cc;
  transform: scale(1.05);
}
@keyframes fadeInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.slide-content.animate h3 { animation: fadeInUp 1s ease forwards 0.3s; }
.slide-content.animate p { animation: fadeInUp 1s ease forwards 0.6s; }
.slide-content.animate .slider-button { animation: fadeInUp 1s ease forwards 0.9s; }
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.slider-nav span { font-size: 28px; }
.slider-nav .nav-preview {
  opacity: 0;
  width: 0;
  transition: all 0.3s ease;
}
.slider-nav:hover .nav-preview {
  opacity: 1;
  width: 40px;
}
.nav-preview {
  height: 40px;
  object-fit: cover;
  border-radius: 5px;
  border: 2px solid #fff;
}
.slider-nav.prev { left: 25px; }
.slider-nav.next { right: 25px; }

/* Slider Responsive */
@media (max-width: 992px) {
  .image-slider { height: 450px; }
  .slide-content h3 { font-size: 2rem; }
  .slide-content p { font-size: 1.1rem; max-width: 600px; }
  .slider-button { font-size: 1rem; padding: 12px 24px; }
}
@media (max-width: 768px) {
  .image-slider { height: 350px; }
  .slide-content h3 { font-size: 1.6rem; }
  .slide-content p { font-size: 0.95rem; max-width: 90%; }
  .slider-button { font-size: 0.9rem; padding: 10px 20px; }
  .slider-nav { padding: 8px; }
  .nav-preview { width: 30px; height: 30px; }
}
@media (max-width: 576px) {
  .image-slider { height: 250px; }
  .slide-content { padding: 20px; }
  .slide-content h3 { font-size: 1.4rem; }
  .slide-content p { font-size: 0.85rem; }
  .slider-button { font-size: 0.8rem; padding: 8px 16px; }
}

/* ===== ABOUT SECTION ===== */
#about {
  padding: 4rem 0;
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--nav-bg);
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* 1️⃣ Intro text + image */
.about-content {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.about-text {
  flex: 1 1 400px;
  line-height: 1.6;
  color: #333;
}
.about-text p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  text-align: justify;
}
.about-image {
  flex: 1 1 400px;
  text-align: right;
}
.about-image img {
  width: 100%;
  max-width: 650px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 2️⃣ Key Modules + Inline CTA */
.about-modules {
  margin: 2rem 0;
}
.about-modules h3 {
  font-size: 1.8rem;
  color: var(--nav-bg);
  margin-bottom: 1rem;
  text-align: left;
}
.modules-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 0.75rem 3rem;
  justify-items: start;
}
.modules-grid li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}
.modules-grid li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.2rem;
  color: var(--accent);
}
.about-inline-cta {
  margin-top: 1.5rem;
  text-align: left;
}
.btn-outline-accent {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
  padding: 0.75rem 1.5rem;
  transition: background 0.3s, color 0.3s;
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: #fff;
}

/* 3️⃣ Animated Stats Strip */
.about-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--dropdown-bg);
  padding: 2rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  flex-wrap: wrap;
  margin-top: 2rem;
}
.about-stats .stat {
  flex: 1 1 200px;
  text-align: center;
  padding: 1rem;
}
.about-stats .stat h4 {
  font-size: 2.5rem;
  color: var(--nav-bg);
  margin-bottom: 0.5rem;
}
.about-stats .stat p {
  font-size: 0.95rem;
  color: #555;
}

@media (max-width: 768px) {
    /* breathing room around about */
    #about {
      padding: 4rem 1rem;
    }
  
    /* collapse intro spacing */
    .about-content {
      margin-bottom: 0 !important;
      flex-direction: column;
      text-align: center;
    }
    .about-image,
    .about-image img {
      margin-bottom: 0 !important;
      max-width: 90%;
      text-align: center;
    }
  
    /* pull modules up to overlap a little with intro */
    .about-modules {
      margin-top: -200px;
    }
    .about-modules h3 {
      text-align: left;
    }
  
    /* single-column modules list */
    .modules-grid {
      grid-template-columns: 1fr;
      gap: 0.5rem 1rem;
    }
  
    /* center the inline CTA under modules */
    .about-inline-cta {
      text-align: center;
    }
  
    /* ─── Stats go into a 2×2 grid, not one long column ─── */
    .about-stats {
      display: grid !important;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      padding: 1rem;            /* reduce padding so items fit nicely */
    }
    .about-stats .stat {
      flex: none !important;    /* cancel the old flex rules */
      text-align: center;
      padding: 1rem 0;          /* you can tweak this */
    }
  }

  @media (max-width: 768px) {
    /* …your existing about-stats grid code… */
  
    .about-stats .stat h4 {
      font-size: 2rem;    /* was 2.5rem */
    }
    .about-stats .stat p {
      font-size: 0.85rem; /* was 0.95rem */
    }
  }

  .download-doc {
  background-color: #f1f9ff;
  border-left: 5px solid #00bfff;
  padding: 20px 25px;
  border-radius: 6px;
  margin-top: 20px;
  max-width: 400px;
}

.download-doc h5 {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #002e5b;
}

.download-doc .btn-accent {
  background-color: #00bfff;
  color: #fff;
  padding: 10px 20px;
  font-size: 0.95rem;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
  display: inline-block;
}

.download-doc .btn-accent:hover {
  background-color: #0094cc;
  text-decoration: none;
}


/* ===== SERVICES SECTION ===== */
#services {
    padding: 4rem 0;
  }
  .services .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--nav-bg);
    margin-bottom: 0.5rem;
  }
  .services .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 0.5rem auto 2rem;
    border-radius: 2px;
  }
  .services .section-intro {
    max-width: 720px;
    margin: 0 auto 3rem;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
  }
  
  /* ─── OVERVIEW BLOCK ─── */
  .features-overview {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
  }
  .overview-list {
    flex: 1 1 350px;
  }
  .overview-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
  }
  .overview-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-right: 1rem;
  }
  .overview-title {
    font-size: 1.1rem;
    color: var(--nav-bg);
    margin-bottom: 0.25rem;
  }
  .overview-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
  }
  .overview-image {
    flex: 1 1 400px;        /* grown from 300px */
    text-align: center;
  }
  .overview-image img {
    width: 80%;
    max-width: 400px;       /* increased maximum width */
    border-radius: 8px;
  }
  
  /* ─── CARD GRID ─── */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem 1.5rem;
  }
  .service-card {
    background: var(--dropdown-bg);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }
  .service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
  }
  .service-title {
    font-size: 1.2rem;
    color: var(--nav-bg);
    margin-bottom: 0.75rem;
  }
  .service-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
  }
  
  /* ─── TABLET & SMALL DESKTOP ─── */
@media (max-width: 992px) {
    #services {
      padding: 3rem 1.5rem;
    }
    .features-overview {
      gap: 1rem;
      margin-bottom: 1.5rem;  /* tighten from 3rem */
    }
  }
  
  /* ─── TABLET & LARGE PHONES (≤992px) ─── */
@media (max-width: 992px) {
  #services {
    padding: 3rem 1rem;
  }
  .features-overview {
    gap: 1.5rem;
    margin-top: -400px;
  }
}

/* ─── MOBILE (≤768px) ─── */
@media (max-width: 768px) {
  /* breathing room */
  #services {
    padding: 3rem 1rem;
  }

  /* stack overview block */
  .features-overview {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    margin-bottom: 1rem;    /* tighten below overview */
  }
  .overview-image {
    order: 1;
    margin-bottom: 0.75rem;
  }
  .overview-list {
    order: 2;
  }

  /* hide the illustration */
  .overview-image img {
    display: none;
  }

  /* tighten intro */
  .services .section-intro {
    margin-bottom: 1.5rem;
  }

  /* pull the cards up under the overview */
  .services-grid {
    gap: 1rem;
    margin-top: -2rem;       /* negative pull-up */
  }

  /* card sizing */
  .service-card {
    padding: 1.25rem 1rem;
    margin-top: 0;
  }
  .service-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
  .service-title {
    font-size: 1.1rem;
  }
  .service-desc {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}

/* ─── PHONE (≤576px) ─── */
@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .service-card {
    padding: 1rem;
  }
  .features-overview {
    margin-bottom: 0.5rem;
  }
}


/* ─── TESTIMONIALS ─── */
.testimonials {
    padding: 4rem 0;
  }
  .testimonials .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: .5rem;
  }
  .testimonials .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: .5rem auto 2rem;
    border-radius: 2px;
  }
  .testimonials .section-intro {
    text-align: center;
    color: #555;
    margin-bottom: 2rem;
  }
  
  /* wrapper + overflow hidden */
  .testimonials-wrapper {
    position: relative;
    overflow: hidden;
  }
  
  /* slider track */
  .testimonials-slider {
    display: flex;
    transition: transform .6s ease;
  }
  
  /* each slide: default 3 visible ⇒ 33.333% */
  .testimonial {
    flex: 0 0 33.3333%;
    box-sizing: border-box;
    padding: 1rem;
  }
  .testimonial blockquote {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
    margin-bottom: 3rem;
  }
  .testimonial blockquote i {
    color: var(--accent);
  }
  .testimonial-author {
    text-align: center;
    margin-top: -2rem;
  }
  .testimonial-author img {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 4px solid #fff;
    object-fit: cover;
    margin-bottom: .5rem;
  }
  
  /* nav arrows */
  .testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.9);
    border: none;
    font-size: 2rem;
    width: 2.5rem; height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    color: var(--accent);
  }
  .testimonial-nav.prev { left: 1rem; }
  .testimonial-nav.next { right: 1rem; }
  .testimonial-nav:disabled {
    opacity: .3;
    cursor: default;
  }
  
  /* indicators */
  .testimonial-indicators {
    text-align: center;
    margin-top: 1rem;
  }
  .testimonial-indicators button {
    width: .75rem; height: .75rem;
    border: 2px solid var(--accent);
    background: transparent;
    border-radius: 50%;
    margin: 0 .25rem;
    cursor: pointer;
  }
  .testimonial-indicators button.active {
    background: var(--accent);
  }
  
  /* ─── RESPONSIVE ≤768px (two-per-view + restore arrows) ─── */
  @media (max-width: 768px) {
    .testimonial {
      flex: 0 0 50%;
      padding: 0.75rem;
    }
    .testimonial-nav {
      display: block;       /* show arrows again */
    }
  }

  /* on phones, force each slide to full width */
@media (max-width: 576px) {
    .testimonial {
      flex: 0 0 100%;
      padding: 0.75rem;
    }
  }

  @media (max-width: 768px) {
    .testimonials-wrapper .testimonial-nav {
      display: none !important;
    }
  }

  /* Hide prev/next arrows in the testimonials slider on all screens */
.testimonials-wrapper .testimonial-nav {
    display: none !important;
  }


  /* ===== DEMO SECTION ===== */
#demo {
    padding: 4rem 0;
  }
  .demo .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--nav-bg);
    margin-bottom: .5rem;
  }
  .demo .section-title::after {
    content: '';
    display: block;
    width: 60px; height: 4px;
    background: var(--accent);
    margin: .5rem auto 2rem;
    border-radius: 2px;
  }
  .demo .section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: #555;
    line-height: 1.6;
  }
  
  /* Filter buttons */
  .demo-filters {
    text-align: center;
    margin-bottom: 2rem;
  }
  .demo-filters button {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: .5rem 1rem;
    margin: 0 .5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background .3s, color .3s;
  }
  .demo-filters button.active,
  .demo-filters button:hover {
    background: var(--accent);
    color: #fff;
  }
  
  /* Screenshots grid */
  .demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 1.5rem;
  }
  .demo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
    transition: transform .3s;
  }
  .demo-item img {
    width: 100%;
    height: auto;
    display: block;
  }
  .demo-item:hover {
    transform: translateY(-5px);
  }
  
  /* overlay */
  .demo-overlay {
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
    gap: 1rem;
  }
  .demo-item:hover .demo-overlay {
    opacity: 1;
  }
  .demo-overlay i,
  .demo-overlay a i {
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
  }
  
  /* hide items by default when filtered */
  .demo-item.hidden {
    display: none !important;
  }
  
  /* responsive tightening */
  @media (max-width: 768px) {
    .demo-grid {
      gap: 1rem;
    }
    .demo .section-intro {
      margin-bottom: 1.5rem;
    }
    .demo-filters button {
      margin: 0 .25rem .75rem;
      padding: .4rem .8rem;
      font-size: .9rem;
    }
  }
  
  /* ===== DEMO MODAL ===== */
  /* hidden by default */
  .demo-modal {
    display: flex;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.75);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow: auto;
    z-index: 2000; /* above navbar */
  }
  /* add this class in JS to show */
  .demo-modal.open {
    visibility: visible;
    opacity: 1;
  }
  
  .demo-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
  }
  /* all modal images same size */
  .demo-modal-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  .demo-modal-close {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: #fff;
    color: #333;
    font-size: 1.5rem;
    width: 32px; height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 2100;
  }
  
  /* small-screen override: ensure modal still fits */
  @media (max-width: 576px) {
    .demo-modal-content {
      max-width: 100%;
      max-height: 100%;
    }
  }
  
  
  /* ===== DEMO SECTION – MOBILE TWEAKS ===== */
@media (max-width: 992px) {
    #demo {
      padding: 4rem 2rem;   /* add side padding on tablets */
    }
  }
  
  @media (max-width: 768px) {
    #demo {
      padding: 4rem 1rem;   /* more breathing room on phones */
    }
  
    .demo-grid {
      gap: 1rem;
    }
    .demo .section-intro {
      margin-bottom: 1.5rem;
    }
    .demo-filters button {
      margin: 0 .25rem .75rem;
      padding: .4rem .8rem;
      font-size: .9rem;
    }
  
    /* shrink & center images */
    .demo-item img {
      max-width: 90%;
      margin: 0 auto;
      display: block;
    }
  }
  
  /* extra-tight on very small phones */
  @media (max-width: 576px) {
    #demo {
      padding: 3rem 1rem;
    }
    .demo-item img {
      max-width: 100%;
    }
  }

.video-wrapper {
  max-width: 800px;
  margin: 30px auto 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  position: relative;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  outline: none;
  border-radius: 6px;
}

/* Overlay Text Positioned Top */
.video-overlay-text.top {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 1rem;
  padding: 10px 20px;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 768px) {
  .video-overlay-text.top {
    font-size: 0.95rem;
    padding: 8px 12px;
  }
}


  /* ─── SCHOOLS CARDS – LARGER WIDTH & LOGOS ─── */
.schools .school-cards {
    display: grid;
    /* four cards per row at desktop, each at least 280px wide */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .schools .school-card {
    background: var(--dropdown-bg);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s;
  }
  .schools .school-card:hover {
    transform: translateY(-4px);
  }
  
  .schools .school-card img {
    /* larger logo */
    max-width: 120px;
    width: 100%;
    height: auto;
    margin: 0 auto 1rem;
  }
  
  .schools .school-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--nav-bg);
  }
  
  .schools .school-card p {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #555;
  }
  
  /* ─── RESPONSIVE BREAKPOINTS ─── */
  @media (max-width: 1024px) {
    .schools .school-cards {
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 1.75rem;
    }
  }
  @media (max-width: 768px) {
    .schools .school-cards {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1.5rem;
    }
    .schools .school-card img {
      max-width: 100px;
      margin-bottom: 0.75rem;
    }
  }
  @media (max-width: 576px) {
    .schools .school-cards {
      grid-template-columns: 1fr;
    }
    .schools .school-card {
      padding: 1rem;
    }
    .schools .school-card img {
      max-width: 80px;
    }
  }

  
  /* ===== PRICING SECTION ===== */
#pricing {
    padding: 4rem 0;
  }
  .pricing .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--nav-bg);
    margin-bottom: 0.5rem;
  }
  .pricing .section-title::after {
    content: '';
    display: block;
    width: 60px; height: 4px;
    background: var(--accent);
    margin: 0.5rem auto 2rem;
    border-radius: 2px;
  }
  .pricing .section-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
    color: #555;
    line-height: 1.6;
  }
  
  /* ─── GRID LAYOUT ─── */
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
  }
  
  /* ─── CARD STYLING ─── */
  .pricing-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  }
  .pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  }
  .pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.1);
  }
  
  /* ─── TITLE & PRICE ─── */
  .tier-title {
    font-size: 1.5rem;
    color: var(--nav-bg);
    margin-bottom: 0.5rem;
  }
  .tier-price {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1;
  }
  .tier-price .currency {
    font-size: 1.2rem;
    vertical-align: super;
  }
  .tier-price .period {
    display: block;
    font-size: 1rem;
    color: #777;
    margin-top: 0.25rem;
  }
  
  /* ─── FEATURES LIST ─── */
  .tier-features {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 2rem;
  }
  .tier-features li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.75rem;
    color: #333;
  }
  .tier-features li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
  }
  
  /* ─── BUY BUTTON ─── */
  .flw-pay {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s, transform 0.3s;
  }
  .flw-pay:hover {
    background: #005fed; /* darker accent */
    transform: scale(1.05);
  }
  
  /* ─── RESPONSIVE ─── */
  @media (max-width: 992px) {
    .pricing-grid {
      gap: 1.5rem;
    }
  }
  @media (max-width: 768px) {
    #pricing { padding: 3rem 1rem; }
    .pricing .section-title { font-size: 2rem; }
    .pricing .section-intro { font-size: 0.95rem; margin-bottom: 2rem; }
    .pricing-card {
      padding: 1.5rem 1rem;
    }
    .tier-title { font-size: 1.3rem; }
    .tier-price { font-size: 2.2rem; }
    .tier-features li { font-size: 0.95rem; }
    .flw-pay { padding: 0.6rem 1.2rem; font-size: 0.95rem; }
  }
  @media (max-width: 576px) {
    .pricing-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
  }

  /* ===== CARD ANIMATION ===== */
.pricing-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  /* When card is visible */
  .pricing-card.show {
    opacity: 1;
    transform: translateY(0);
  }

  


  /* ===== FAQ SECTION ===== */
.faq .section-title {
    font-size: 2.5rem;
    color: var(--nav-bg);
  }
  .faq .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: .5rem auto 2rem;
    border-radius: 2px;
  }
  
  /* icon styling */
  .faq-icon {
    font-size: 1.25rem;
    color: var(--accent);
    margin-right: 0.75rem;
  }
  .accordion-button {
    align-items: center;
  }
  
  /* Mobile adjustments */
  @media (max-width: 576px) {
    .faq {
      padding: 3rem 1rem;
    }
    .faq .section-title {
      font-size: 2rem;
    }
  }
  
  
  /* ===== CONTACT SECTION ===== */
#contact {
    padding: 4rem 0;
  }
  .contact .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--nav-bg);
    margin-bottom: 0.5rem;
  }
  .contact .section-title::after {
    content: '';
    display: block;
    width: 60px; height: 4px;
    background: var(--accent);
    margin: 0.5rem auto 2rem;
    border-radius: 2px;
  }
  .contact .section-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
    color: #555;
    line-height: 1.6;
  }
  
  /* ─── GRID ─── */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  @media (max-width: 768px) {
    .contact-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
  }
  
  /* ─── CONTACT INFO ─── */
  .contact-info .info-block {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
  }
  .contact-info .info-block i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-right: 1rem;
    flex-shrink: 0;
  }
  .contact-info .info-block h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--nav-bg);
  }
  .contact-info .info-block p {
    margin: 0;
    color: #555;
  }
  
  .contact-info .social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
  }
  .contact-info .social-links a {
    font-size: 1.2rem;
    color: var(--nav-bg);
    transition: color 0.3s;
  }
  .contact-info .social-links a:hover {
    color: var(--accent);
  }
  
  /* ─── CONTACT FORM ─── */
  .contact-form form {
    background: var(--dropdown-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }
  .contact-form .form-row {
    margin-bottom: 1rem;
  }
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s;
  }
  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
  }
  .contact-form button.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
  }
  .contact-form button.btn-primary:hover {
    background: #005fed;
    transform: translateY(-2px);
  }
  
  /* ─── TIGHTEN MOBILE PADDING ─── */
  @media (max-width: 576px) {
    #contact {
      padding: 3rem 1rem;
    }
    .contact-form form {
      padding: 1.5rem;
    }
  }

  /* CONTACT SECTION OVERRIDES */
#contact {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  @media (max-width: 576px) {
    #contact {
      padding: 3rem 1rem;
    }
  }
  
  /* Section title underline */
  .contact .section-title::after {
    content: '';
    display: block;
    width: 60px; height: 4px;
    background: var(--accent);
    margin: .5rem auto 1.5rem;
    border-radius: 2px;
  }
  
  /* Icon + text blocks */
  .contact-info .d-flex i {
    flex-shrink: 0;
    margin-top: .15rem;
  }
  
  /* Social links hover */
  .social-links a:hover {
    color: var(--accent) !important;
  }
  
  /* Card shadow is already from Bootstrap’s shadow-sm */
  


/* ===== FOOTER ===== */
.footer {
    background: #0a2141;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
  }
  .footer a:hover {
    color: var(--accent);
  }
  
  /* Layout */
  .footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem 2rem;
  }
  .footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  /* Brand & Social */
  .footer-brand {
    flex: 1 1 300px;
  }
  .footer-logo {
    width: 120px;              /* slimmed-down logo */
    margin-bottom: 1rem;
  }
  .footer-desc {
    color: #aaa;
    margin-bottom: 1rem;
  }
  .footer-social a {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 1.2rem;
    color: #ccc;
  }
  .footer-social a:hover {
    color: var(--accent);
  }
  
  /* Newsletter Signup */
  .footer-newsletter {
    margin-top: 1.5rem;
  }
  .footer-newsletter label {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 500;
  }
  .newsletter-form {
    display: flex;
    gap: 0.5rem;
  }
  .newsletter-form input {
    flex: 1;
    padding: 0.6rem 0.8rem;
    border: 1px solid #444;
    border-radius: 4px;
    background: #fff;
    color: #333;
    transition: border-color 0.3s;
  }
  .newsletter-form input:focus {
    outline: none;
    border-color: var(--accent);
  }
  .newsletter-form button {
    padding: 0.6rem 1rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
  }
  .newsletter-form button:hover {
    background: #337dba;  /* slightly darker accent */
    transform: translateY(-2px);
  }
  
  /* Quick Links */
  .footer-links {
    flex: 1 1 180px;
  }
  .footer-links h4 {
    color: #fff;
    margin-bottom: 0.75rem;
  }
  .footer-links ul {
    list-style: none;
    padding: 0;
  }
  .footer-links li {
    margin-bottom: 0.5rem;
  }
  
  /* Contact Info */
  .footer-contact {
    flex: 1 1 200px;
  }
  .footer-contact h4 {
    color: #fff;
    margin-bottom: 0.75rem;
  }
  .footer-contact p {
    margin: 0.5rem 0;
  }
  .footer-contact i {
    color: var(--accent);
    margin-right: 0.5rem;
  }
  
  /* Map */
  .footer-map {
    flex: 1 1 300px;
  }
  .footer-map h4 {
    color: #fff;
    margin-bottom: 0.75rem;
  }
  .footer-map iframe {
    width: 100%;
    height: 180px;
    border: none;
    border-radius: 8px;
  }
  
  /* Bottom Bar */
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
  }
  .footer-copy,
  .footer-credit {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .footer-top {
      flex-direction: column;
    }
    .newsletter-form {
      flex-direction: column;
    }
    .newsletter-form button {
      width: 100%;
    }
    .footer-map iframe {
      height: 200px;
    }
    .footer-bottom {
      flex-direction: column;
      gap: 0.5rem;
      text-align: center;
    }
  }

  

  
  
