/* Typography */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

 

body {
    font-family: 'Poppins', sans-serif;
  }
  
  .dancing-font {
    font-family: 'Dancing Script', cursive;
  }

  
  /* Base Typography Styles */
h1, h2, h3, h4, h5, h6 {
  font-family:'Poppins', Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #1f2937; /* dark gray */
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}

p{
  font-size: 1rem;
  line-height: 1.5rem;
}
 
 

/* Responsive Adjustments */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
}
  
  /* Hero Section */
  .hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }
  
  /* Mobile override */
  @media (max-width: 767.98px) {
    .hero-section {
      height: 50vh;
      overflow: hidden;
    }
  }
  
  .hero-video iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: 1;
  }
  
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 2;
  }
  
  .hero-content {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    padding: 1rem;
    color: #fff;
    text-align: center;
  }
  
  
 
  .play-btn { width: 80px; height: auto; }
  .scroll-arrow { width: 24px; margin-top: 20px; animation: bounce 2s infinite; }
  .awards-bg {
    background-image: url('../awards/paper-bg-manchester-global-school-mobile.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  /* Tablet */
  @media (min-width: 768px) {
    .awards-bg {
      background-image: url('../awards/paper-bg-manchester-global-school-tab.webp');
    }
  }
  
  /* Desktop */
  @media (min-width: 1200px) {
    .awards-bg {
      background-image: url('../awards/paper-bg-manchester-global-school-desktop.webp');
    }
  }
  

  @media (max-width: 767.98px) {
    .hero-video {
      position: relative;
      width: 100%;
      height: 65vh;
      overflow: hidden;
    }
  
    .hero-video iframe {
      position: absolute;
      top: -40%;
      left: 50%;
      transform: translateX(-50%);
      width: 180%;
      height: 150%;
      border: none;
    }

    
  }
  
  
   .hero-content {
        position: absolute;
        top:75%;
        left: 50%;
        width: 100%;
        transform: translate(-50%, -50%);
        z-index: 2;
        padding: 0 1rem;
      }
    
      @media (max-width: 767.98px) {
        .hero-content {
          top: 65%; /* Move content slightly higher for better view */
          padding: 0 1.5rem; /* Slightly more padding for text wrapping */
          transform: translate(-50%, -50%);
          text-align: center; /* Ensure center alignment */
        }
      }
      
      .hero-title {
        font-size: 2rem;
        font-weight: 700;
        color: #fff;
        text-align: center;
        margin-top: 1rem;
      }
    

      @media (max-width: 767.98px) {
        .hero-title {
          font-size: 1rem;        /* Slightly smaller for mobile */
          padding: 0 1rem;          /* Add horizontal padding */
          line-height: 1;         /* Better readability */
                 /* Reduce top margin */
        }
      }
  
  
  
  
    .play-btn {
      width: 60px;
      margin-bottom: 1rem;
      display: none;
    }
  
    .scroll-arrow {
      width: 24px;
      margin-top: 0.5rem;
    }
  
    .hero-video iframe {
      opacity: 0;
      animation: fadeIn 1s ease-in-out 0.5s forwards;
    }
    
    @keyframes fadeIn {
      to {
        opacity: 1;
      }
    }
  
  
  /* Awards Section */
  .section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
  }
  
  .bounce-arrow {
    width: 80px;
    margin-top: 80%;
    animation: bounce 2s infinite;
  }
  
  /* Vision & Mission */
  .vision-mission-section img {
    max-width: 75%;
    height: auto;
  }
  
  /* WhatsApp Button */
  
  

  
  
  /* Apply Button */
  .apply-btn {
    padding: 6px 16px;
    border-radius: 30px;
    background-color: #0d6efd;
    color: #fff;
    font-weight: 500;
    transition: background 0.3s ease;
  }
  
  .apply-btn:hover {
    background-color: #0b5ed7;
  }
  
  /* Mobile */
  .icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
  }
  
 /* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .navbar-logo img {
    height: 50px;
  }
  
  .navbar-links,
  .navbar-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }
  
  .navbar-links a,
  .navbar-right a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
  }
  
  .navbar-links a:hover,
  .dropbtn:hover,
  .apply-btn:hover {
    color: #000000;
  }
  
  .dropdown {
    position: relative;
  }
  
  .dropbtn {
    background: none;
    border: none;
    font-weight: 500;
    color: #333;
    cursor: pointer;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 99;
  }
  
  .dropdown-content a {
    color: #333;
    padding: 10px 15px;
    display: block;
    text-decoration: none;
  }
  
  .dropdown-content a:hover {
    background-color: #f1f1f1;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  /* Apply Button */
  .apply-btn {
    padding: 6px 16px;
    border-radius: 30px;
    background-color: #0d6efd;
    color: #fff;
    font-weight: 500;
    transition: background 0.3s ease;
  }
  
  .apply-btn:hover {
    background-color: #0b5ed7;
  }
  
  /* Mobile */
  .icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
  }
  
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  body {
    padding-top: 80px; /* Match your navbar height */
  }
  .navbar-logo img {
    height: 50px;
  }
  
  .navbar-links,
  .navbar-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }
  
  .navbar-links a,
  .navbar-right a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
  }
  
  .navbar-links a:hover,
  .dropbtn:hover,
  .apply-btn:hover {
    color: #000000;
  }
  
  .dropdown {
    position: relative;
  }
  
  .dropbtn {
    background: none;
    border: none;
    font-weight: 500;
    color: #333;
    cursor: pointer;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 99;
  }
  
  .dropdown-content a {
    color: #333;
    padding: 10px 15px;
    display: block;
    text-decoration: none;
  }
  
  .dropdown-content a:hover {
    background-color: #f1f1f1;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  /* Apply Button */
  .apply-btn {
    padding: 6px 16px;
    border-radius: 30px;
    background-color: #000000;
    color: #fff;
    font-weight: 500;
    transition: background 0.3s ease;
  }
  
  .apply-btn:hover {
    background-color: #0b5ed7;
  }
  
  /* Mobile */
  .icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
  }
  
  @media (max-width: 991px) {
    .navbar {
      flex-wrap: wrap;
    }
  
    .icon {
      display: block;
      margin-left: auto;
    }
  
    .navbar-links {
      display: none;
      flex-direction: column;
      width: 100%;
      background-color: #fff;
      padding: 1rem;
    }
  
    .navbar-links.show {
      display: flex;
    }
  
    .navbar-right {
      display: none;
    }
  }
  
  /* Programmes Section */
#curriculum img {
    max-width: 100%;
    height: auto;
  }

  /* Enquiry Section */
#contact .form-label {
    font-weight: 500;
  }
  
  #contact .accordion-button {
    font-weight: 500;
  }
  
  #contact .accordion-button:focus {
    box-shadow: none;
  }
  
  #contact .accordion-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
  }

  .cta-banner img {
    object-fit: cover;
    height: 100%;
  }
  
  .cta-banner .btn {
    font-size: 1rem;
  }

  #testimonials video,
#testimonials iframe {
  border-radius: 0.5rem;
}

#testimonials .position-relative a img:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Stacked Boarding Section */
.rotate-front {
  transform: rotate(1deg);
  z-index: 2;
}

.rotate-behind {
  transform: rotate(-4deg);
  z-index: 20;
}

#img-front, #img-behind {
  max-width: 97%;
  margin: 0 auto;
  display: block;
}
.stacked-images-container {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

@media (max-width: 767px) {
  .stacked-images-container {
    padding-top: 1.5rem;
  }

  #img-front, #img-behind {
    max-width: 90%;
    margin: 0 auto;
    display: block;
  }

  .text-md-start {
    text-align: center !important;
  }

  .rotate-behind {
    left: 10px !important;
  }
}
  
     
  
    .footer-logo {
      margin: 0 auto;
    }
 
  

 /* Testimonials Section */
.testimonial-video {
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }
  
  .testimonial-thumbnail {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
  }
  
  .play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    padding: 0;
    z-index: 2;
    cursor: pointer;
  }
  
  .play-icon {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
  }
  
  .play-btn-overlay:hover .play-icon {
    transform: scale(1.1);
  }
  
  .icon-decor {
    width: 60px;
    opacity: 0.6;
  }
  
  .modal-content {
    border-radius: 0.5rem;
    overflow: hidden;
  }

  /* Footer */
  .icon2 {
    width: 100%;
    max-width: 24px; /* optional: to avoid stretching too much */
    height: auto;
 
    margin-right: 0.5rem; /* equivalent to Bootstrap's me-2 */
    object-fit: contain;
  }

.footer-section {
    background-color: #000;
    color: #fff;
  }
  
  .footer-logo {
    width: 130px;
  }
  
  .footer-section a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
  }
  
 
  .quick-links li {
    margin-bottom: 0.5rem;
  }
  @media (max-width: 767.98px) {
    .footer-section {
      text-align: left;
    }
  
    .footer-contact {
      text-align: left;
      align-items: flex-start !important;
    }
  
    .footer-contact .d-flex {
      justify-content: flex-start;
    }
  
    .footer-logo {
      margin: 0;
    }
  
    .quick-links {
      border: none;
      padding-left: 0;
    }
  }
   

  @media (max-width: 767.98px) {
    .footer-section .social-icons {
      justify-content: flex-start !important;
    }
  }
  
  /* Awards section mobile image size */

  @media (max-width: 768px) {
    .img-sm {
      padding-top: 50px;
      width: 45%;
      height: auto;
    }
  }

  @media (max-width: 768px) {
    .img-sm2 {
      padding-bottom: 50px;
      width: 45%;
      height: auto;
    }
  }

  .carousel-box {
    min-width: 250px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  
  .feature-card {
    border: 2px solid gold;
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    background: white;
  }
  
  .icon-img {
    width: 40px;
    height: auto;
  }

  .ib-icon-img {
    width: 100%;
    height: auto;
  }
  
  @media (max-width: 768px) {
    .carousel-box {
      min-width: 200px;
    }
    .feature-card {
      padding: 1rem;
    }
  }
  
.leadership-section .nav-pills .nav-link {
  margin: 0 0.25rem;
  border-radius: 20px;
  font-weight: 500;
  padding: 0.5rem 1rem;
}
.leadership-section .nav-link.active {
  background-color: #003366;
  color: #fff;
}
.leadership-section .tab-pane img {
  max-height: 500px;
  object-fit: cover;
}

/* Common pill style */
.nav-pills .nav-link {
  border-radius: 0 !important;
  text-transform: uppercase;
  font-weight: 700;
  color: #0a2b5f;
  border: 1px solid #eee;
  background-color: #f9f9f9;
  padding: 12px 20px;
  transition: background-color 0.3s ease;
}

/* Active tab style */
.nav-pills .nav-link.active {
  background-color: #e7e3cf; /* Your highlighted beige color */
  color: #0a2b5f;
  border-color: #e7e3cf;
}

/* Optional: spacing between pills */
.nav-pills {
  gap: 10px;
  flex-wrap: wrap;
}


/* research center starts */
/* Section Headings */
.section-heading {
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

/* Colored text */
.text-gold {
  color: #c8a275;
}
.text-blue {
  color: #1B3A66;
}

/* Backgrounds */
.bg-green-light {
  background-color: #C3D8CE;
}
.bg-cream {
  background-color: #F4F0E9;
}

/* Paragraph spacing */
.section-content p {
  margin-bottom: 1rem;
}

/* Justify text */
.text-justify {
  text-align: justify;
}


/* research center content css ends here */

/* classroom page css starts here */
.section-heading {
  font-size: 2rem;
  font-weight: 600;
  color: #c8a275;
}

.bg-light-cream {
  background-color: #f4f0e9;
}

.carousel-indicators [data-bs-target] {
  background-color: #c8a275;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

 

@media (max-width: 767.98px) {
  #multiItemCarousel .carousel-item .col-md-4 {
    display: none !important;
  }

  #multiItemCarousel .carousel-item .col-12 {
    display: block !important;
  }

  /* Hide carousel arrows on mobile */
  #multiItemCarousel .carousel-control-prev,
  #multiItemCarousel .carousel-control-next {
    display: none;
  }
}

/* classroom page css ends here */


/* daily-schedule page starts here */
.custom-pills .nav-link {
  border: 1px solid #c8a275;
  color: #1B3A66;
  text-transform: uppercase;
  border-radius: 0;
  font-weight: 600;
  transition: all 0.3s ease;
}

.custom-pills .nav-link:hover {
  background-color: #f4f0e9;
  color: #1B3A66;
}

.custom-pills .nav-link.active {
  background-color: #c8a275;
  color: #fff;
  border-color: #c8a275;
}


/* daily-schedule page ends here */


/* ib page starts here */

/* Headings */
.section-subheading {
  font-size: 1.9rem;
  font-weight: 600;
  color: #1B3A66;
}

/* List styling */
.list-style-check {
  list-style: none;
  padding-left: 0;
}

.list-style-check li::before {
  content: "✔";
  color: #c8a275;
  margin-right: 10px;
  font-weight: bold;
}


.list-style-dot {
  list-style: none;
  padding-left: 0;
}

.list-style-dot li::before {
  content: "•";
  color: #1B3A66;
  margin-right: 10px;
  font-size: 1.2rem;
  vertical-align: middle;
}

/* Responsive icons */
.advisor-item img,
.info-box img {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

/* Mobile responsive tweaks */
@media (max-width: 767px) {
  .section-subheading {
    font-size: 1.5rem;
  }

  .list-style-check li,
  .list-style-dot li {
    font-size: 0.95rem;
  }

  .img-fluid {
    margin-bottom: 1rem;
  }
}

.carousel-inner img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

@media (max-width: 576px) {
  .carousel-inner .col-6 {
    margin-bottom: 1rem;
  }
}

/* ib page ends here */
.ib-card {
  background-color: #1B2E59;
  color: #fff;
  padding: 30px 20px;
  border-radius: 16px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.ib-icon {
  width: 50px;
  height: auto;
  margin: 0 auto;
}

.splide__slide {
  padding: 10px;
}


/* custom button in ib page start */

.custom-readmore-btn {
  border: 2px solid #c8a275;
  color: #c8a275;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.custom-readmore-btn:hover {
  background-color: #c8a275;
  color: #fff;
  text-decoration: none;
}




/* custom button in ib page end here */

ul,
ul li {
  font-family: inherit;
  font-size: 1rem; /* or use the exact value you use for <p> */
  line-height: 1.5;
  color: #333; /* Optional: match your <p> text color */
  margin-bottom: 0.5rem;
}

.list-style-check,
.list-style-check li {
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.2;
  color: #333;
}

/* 
admission page starts here */

.section-heading {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.text-gold {
  color: #c8a275;
}

.bg-light-cream {
  background-color: #f4f0e9;
}

.step-circle {
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: #c8a275;
  color: white;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;       /* space below */
}



/* admission page ends here */

/* for custom paragraph text starts  */
.big {
  margin-top: 20px;
  font-size: 1.15rem;
  line-height: 1.5rem; /* 1rem line-height would be too tight for readability at 1.25rem font */
  font-weight: 400;
  color: #333; /* optional: adjust based on your theme */
}
/* for custom paragraph text ends  */

.mgs-admission-card {
  background-color: #f4f0e9;
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); /* same as Bootstrap .shadow-sm */
  height: 100%;
  text-align: center;
  border-radius: 0.5rem;
  padding: 1.5rem 1rem;
}


/* fee structure starts here */
.table-title {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #1b3a66;
}
 

.sticky-pills {
  position: sticky;
  top: 60px;
  background-color: #fff;
  z-index: 10;
  padding-top: 10px;
}

.nav-pills .nav-link {
  border: 1px solid #c8a275;
  color: #1b3a66;
  font-weight: 600;
  margin: 0 8px;
  text-transform: uppercase;
}

.nav-pills .nav-link.active {
  background-color: #c8a275;
  color: #fff;
}


/* contact us page starts here */
.text-gold {
  color: #c8a275;
}

.contact-box a {
  color: #f0f0f0;
  text-decoration: none;
}

.contact-box a:hover {
  color: #c8a275;
}

.map-container iframe {
  border-radius: 8px;
  width: 100%;
  height: 220px;
  border: none;
}

/* blog starts here */
.blog-card-custom {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-custom:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.blog-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 42%; /* Aspect ratio ~2.35:1 for 2200x589 */
  overflow: hidden;
}

.blog-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card-custom:hover .blog-img-wrapper img {
  transform: scale(1.05);
}

.truncate-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
  height: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-outline-primary {
  border-color: #c8a275;
  color: #c8a275;
  font-size: 0.9rem;
}

.btn-outline-primary:hover {
  background-color: #c8a275;
  color: #fff;
  border-color: #c8a275;
}

.text-gold {
  color: #c8a275;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px; /* Optional for rounded edges */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.section-heading-white {
  color: #ffffff;
  font-size: 2.5rem; /* or use Bootstrap’s .display-5 */
  font-weight: 700;   /* or use .fw-bold */
  margin-bottom: 1rem; /* or use .mb-3 */
}

.splide__slide img {
  border-radius: 8px;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
}
.splide__pagination {
  padding-top: 50px;
  bottom: -2em;
}

.splide__pagination__page {
    background: #000000;
    border: 0;
    border-radius: 50%;
    display: inline-block;
    height: 15px;
    margin: 10px;
    opacity: .7;
    padding: 0;
    position: relative;
    transition: transform .2s linear;
    width: 15px;
    margin-top: 100%;
}

/* boarding code starts here */

.boarding-hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.boarding-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.boarding-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 40%, rgba(0, 0, 0, 0.1) 100%);
  display: flex;
  align-items: center;
  padding: 1rem;
}

.boarding-hero-content {
  max-width: 600px;
}

.boarding-hero-content h1,
.boarding-hero-content p {
  color: #fff;
}

@media (max-width: 768px) {
  .boarding-hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 60%, rgba(0, 0, 0, 0.2) 100%);
    align-items: flex-end;
    padding-bottom: 2rem;
  }

  .boarding-hero-content {
    text-align: center;
    max-width: 100%;
  }

  .boarding-hero-content h1 {
    font-size: 1.75rem;
  }

  .boarding-hero-content p {
    font-size: 0.95rem;
  }
}

.benefits-section h2 {
  font-size: 1.75rem;
  color: #0d2c77;
}

.benefits-section .bullet-icon {
  width: 10px;
  height: 10px;
  background-color: #b58131;
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .benefits-section ul {
    padding-left: 0;
  }
}

.bg-light-cream {
  background-color: #fefaf6;
}

.bg-light-pink {
  background-color: #ffe6e1;
}

.boarding-options-section h2 {
  font-size: 1.75rem;
  color: #0d2c77;
}

.boarding-card p {
  font-size: 0.95rem;
  color: #333;
}

@media (max-width: 768px) {
  .boarding-options-section .fw-semibold {
    font-size: 1rem;
  }
}
.supervision-section {
  background-color: #a5773f; /* brown from your screenshot */
}

.supervision-section h2 {
  font-size: 2rem;
}

.supervision-section p {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 950px;
}

@media (max-width: 768px) {
  .supervision-section h2 {
    font-size: 1.5rem;
  }

  .supervision-section p {
    font-size: 0.95rem;
  }
}

.boarding-features-section {
  background-color: #fffdf2;
}

.section-heading {
  font-size: 1.75rem;
}

.text-blue {
  color: #2c65e0;
}

.text-brown {
  color: #6a3b0e;
}

.feature-block h5 {
  font-size: 1.2rem;
}

.feature-block p {
  font-size: 0.9rem;
  line-height: 1.75;
}

.safety-protocols-section {
  background-color: #fffdf2;
}

.safety-protocols-section h5 {
  font-size: 1.2rem;
  color: #333;
}

.custom-bullet {
  list-style: none;
  padding-left: 0;
}

.custom-bullet li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #222;
}

.custom-bullet li::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: #9b642c;
  border-radius: 50%;
}

.text-blue {
  color: #0d2c77;
}

.admission-fee-section p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.admission-btn {
  background-color: #2e2ef1;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.admission-btn:hover {
  background-color: #1b1be0;
  text-decoration: none;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
}
.prospectus-wrapper {
  max-width: 1000px;   /* Adjust this width as needed */
  margin: 0 auto;
  padding: 1rem;
}

#prospectus-carousel .splide__slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
@media (max-width: 576px) {
  .prospectus-wrapper {
    max-width: 90%;
  }
}


 
.recent-blog-list {
  padding-left: 1rem;
  margin: 0;
  list-style-position: inside;
  font-size: 0.95rem;
}

.recent-blog-list li {
  margin-bottom: 0.6rem;
}

.recent-blog-list a {
  color: #333;
  text-decoration: none;
}

.recent-blog-list a:hover {
  text-decoration: underline;
  color: #0077b6;
}


/* Blog Table Styling */
.blog-text table tr,
.blog-text table td {
  font-size: 0.9rem;
}

.chairman-message-section {
  background-color: #e6f0eb;
  padding: 60px 20px;
}



.quote-box {
  display: flex;
  gap: 20px;
  background-color: #e6f0eb;
  border-left: 4px solid #ccc;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  flex-wrap: wrap;
}

.quote-mark {
  font-size: 80px;
  line-height: 1;
  color: #aac1b7;
  flex-shrink: 0;
}

.quote-content {
  flex: 1;
}

.quote-content h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.quote-content p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.signature {
  margin-top: 20px;
}


.form-blue {
  background-color: #003366; /* Darker blue for contrast */
  color: #ffffff;
}

.form-blue label,
.form-blue h2,
.form-blue .form-check-label {
  color: #000000;
}

.form-blue input,
.form-blue select,
.form-blue textarea {
  background-color: #f8f9fa; /* light background for input fields */
  color: #000000;
}

.form-blue input::placeholder,
.form-blue textarea::placeholder {
  color: #6c757d;
}
.stylish-links li {
  position: relative;
  margin-bottom: 12px;
  line-height: 1.7;
  padding-left: 1.2em;
  color: #fff; /* optional if background is dark */
}

.stylish-links li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffc107; /* golden bullet */
  font-size: 1.2rem;
  line-height: 1.5;
}

.stylish-links a {
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.stylish-links a:hover {
  color: #ffc107;
  border-bottom: 1px solid #ffc107;
}


.footer-bottom {
  background-color: #000000; /* deep blue or footer bg */
  color: #fff;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffc107; /* highlight on hover */
}


.breadcrumb-wrapper {
  background: linear-gradient(to bottom, #f9f9f9, #f1f2f6);
  font-size: 0.95rem;
  border-radius: 0;

}

.breadcrumb {
  margin-bottom: 0;
  padding-left: 0;
  background-color: transparent;
}

.breadcrumb a {
  color: #0d2b63;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "";
}

.breadcrumb i.fas.fa-angle-double-right {
  font-size: 0.8rem;
  vertical-align: middle;
}


/* Vision & Mission Section Styling */
.vision-mission-section {
  background-color: #0d2b63; /* Deep primary tone */
  color: #ffffff;
}

.vision-mission-section h2 {
  color: #ffffff;
  font-weight: 600;
  font-size: 2rem;
}

.vision-mission-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: #f0f0f0;
}

@media (min-width: 768px) {
  .vision-mission-section p {
    font-size: 1.125rem; /* slightly larger on desktop */
  }
}


.banner-overlay-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner-overlay-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.banner-overlay-text {
  position: absolute;
  bottom: 20px;
  right: 0;
  width: 75%;
  color: #c8a275;
  font-size: 2rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0);
  padding: 10px 20px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  text-align: left;
}

/* For mobile devices – move overlay below the image */
@media (max-width: 767.98px) {
  .banner-overlay-container {
    position: relative;
  }

  .banner-overlay-text {
    position: static;
    width: 100%;
    margin-top: -4px;
    border-radius: 0;
    font-size: 1.2rem;
    text-align: center;
  }
}


.error-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-code {
  font-size: 8rem;
  font-weight: 900;
  color: #c8a275;
}

.error-message {
  font-size: 1.75rem;
  font-weight: 600;
}

.error-subtext {
  font-size: 1rem;
  margin-top: 0.5rem;
  color: #666;
}

.btn-home {
  background-color: #c8a275;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 50px;
  margin-top: 2rem;
  text-decoration: none;
}

.btn-home:hover {
  background-color: #a77e58;
  color: #fff;
}

.error-img {
  max-width: 400px;
  width: 100%;
}

.video-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ratio iframe {
  border-radius: 8px;
}

.whatsapp-icon {
  width: 30px;
  height: 30px;
}

/* Default WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
 
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Animation */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 🔽 Mobile-specific style */
@media (max-width: 767.98px) {
  .whatsapp-float {
    bottom: 80px;
    right: 25px;
    padding: 0px;
    width: 50px;
    height: 50px;
  }
 
  .whatsapp-icon {
    width: 50px;
    height: 50px;
  }
}

 

/* Style for navbar dropdown buttons with SVG */
.dropbtn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: inherit;
}

/* Style for the SVG arrow */
.dropdown-icon {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

/* Optional: rotate arrow on open if you toggle a class */
.dropbtn.active .dropdown-icon {
  transform: rotate(180deg);
}



/* Style the hamburger icon */
.hamburger-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* Position the icon on mobile */
.icon {
  display: none; /* hide by default */
}

/* Show and position on mobile */
@media (max-width: 768px) {
  .icon {
    display: block;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1000;
  }

  .hamburger-icon {
    width: 28px;
    height: 28px;
  }

  .navbar-links {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    z-index: 999;
  }

  .navbar.responsive .navbar-links {
    display: flex;
  }
}
.navbar-links {
  transition: all 0.3s ease;
}

.houses-section .section-heading {
  font-weight: 700;
  font-size: 2.4rem;
}

.custom-pills .nav-link {
  font-weight: 600;
  background-color: #f0ede6;
  border-radius: 30px;
  color: #333;
  padding: 0.5rem 1.5rem;
}

.custom-pills .nav-link.active {
  background-color: #c8a275;
  color: #fff;
}

.house-image {
  max-width: 250px;
  border: 3px solid #eee;
}

@media (max-width: 768px) {
  .houses-section .section-heading {
    font-size: 1.8rem;
  }
  .house-image {
    max-width: 80%;
    margin-bottom: 1rem;
  }
}
.custom-house-tabs {
  border-bottom: none;
  background: #f4f0e9;
  border-radius: 15px;
  overflow: hidden;
  display: inline-flex;
  padding: 0;
}

.custom-house-tabs .nav-link {
  font-weight: 600;
  color: #aaa;
  background-color: #f4f0e9;
  border: none;
  border-radius: 0;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
}

.custom-house-tabs .nav-link.active {
  background-color: #fff;
  color: #c8a275;
  border-radius: 12px 12px 0 0;
  box-shadow: inset 0 4px 8px rgba(0,0,0,0.05);
}

.house-tab-wrapper {
  background-color: #f4f0e9;
  border-radius: 20px 20px 0 0;
  padding-top: 10px;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .custom-house-tabs .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}


.img-responsive-clean {
  max-width: 280px;   /* Adjust image size */
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: none;
  box-shadow: none;
  object-fit: contain;
}

/* Mobile Optimization */
@media (max-width: 767px) {
  .img-responsive-clean {
    max-width: 200px;  /* Smaller image size on mobile */
    margin-bottom: 1rem;
    border-radius: 8px; /* Optional for mobile UI */
  }
}
.text-padding-50 {
  padding-left: 50px;
  padding-right: 50px;
}

.house-divider {
  border: none;
  height: 2px;
  background-color: #8B4513; /* SaddleBrown or use your specific brown */
  margin: 40px auto;
  width: 80%;
}

.payment-option {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.payment-option h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #222;
}

.payment-option p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

.payment-option .btn {
  border-radius: 30px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
}

.payment-info {
  flex: 1;
  min-width: 220px;
  margin-bottom: 1rem;
}

.payment-btn {
  min-width: 180px;
  text-align: center;
}

/* Mobile Stack */
@media (max-width: 767.98px) {
  .payment-option {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
  }

  .payment-btn {
    align-self: center;
    width: 100%;
  }

  .payment-btn .btn {
    width: 100%;
  }
}
    #pdfViewer {
      width: 100%;
      height: 85vh;
      border: none;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }
    .policy-list button {
      text-align: left;
      width: 100%;
    }
    .policy-list h5 {
      font-weight: bold;
      color: #004085;
    }


     .gallery-img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      border-radius: 10px;
      box-shadow: 0 0 6px rgba(0,0,0,0.1);
    }
    .section-title {
      font-weight: bold;
      margin-bottom: 1rem;
      color: #003366;
    }
    iframe {
      border: none;
      border-radius: 10px;
    }

  .thank-you-wrapper {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #ffffff;
      padding: 30px 15px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .thank-you-card {
      background: #f8f9fa;
      padding: 40px 30px;
      border-radius: 12px;
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
      max-width: 500px;
      width: 100%;
      z-index: 2;
    }
    .success-icon {
      font-size: 50px;
      color: #198754;
      margin-bottom: 20px;
    }
    lottie-player {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
    }

   
    #leadForm {
      background-color: #fff;
      padding: 30px;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .form-label {
      font-weight: bold;
    }

    .form-control2 {
      border-radius: 4px;
      border: 1px solid #ced4da;
    }

    .btn-submit {
      background-color: #755139;
      color: white;
      border: none;
      padding: 10px 30px;
      border-radius: 4px;
      font-size: 16px;
    }

    .btn-submit:hover {
      background-color: #5a3d2e;
    }

  .toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  opacity: 0;
}
    .brand-header {
      text-align: center;
      margin-bottom: 20px;
    }

    .brand-header img {
      max-height: 60px;
      margin-bottom: 10px;
    }

    .brand-header h4 {
      color: #2c3e50;
      font-weight: 600;
    }

    /* Base mobile button styles */
.mobile-bottom-buttons {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  padding: 10px;
  border-top: 1px solid #ddd;
  z-index: 9999;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.mobile-bottom-buttons .mobile-btn {
  flex: 1;
  margin: 0 5px;
  padding: 12px 0;
  background-color: #002D72; /* Dark Blue */
  color: #fff;
  text-align: center;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}


.curriculum-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 5px;
  margin-top: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.mt-4 {
  margin-top: 2rem;
}

/* Already present from previous reply — ensure these exist */
.card-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px 0;
}

.curriculum-card {
  flex: 1 1 280px;
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
 
  text-align: center;
  transition: transform 0.3s ease;
}

.curriculum-card:hover {
  transform: translateY(-5px);
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1c3564;
}

.card-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-top: 10px;
}


@media (max-width: 768px) {
  .curriculum-card {
    padding: 0;
  }
}


@media (max-width: 768px) {
  .card-flex {
    padding: 0;
  }
}


.text-muted {
  color: #000000 !important; /* Black color forced */
  font-size: 16px;
  line-height: 1.6;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .text-muted {
    font-size: 14px;
  }
}

/* Common style */
.affiliation {
  font-size: 20px;
  font-weight: 650;
  padding-top: 20px;
  padding-left: 20px;
}

/* Mobile (up to 768px) */
@media (max-width: 768px) {
  .affiliation {
    font-size: 16px;  /* smaller text on mobile */
    padding-top: 15px;
    padding-left: 10px;
  }
}

/* Desktop (769px and above) */
@media (min-width: 769px) {
  .affiliation {
    font-size: 20px;
    padding-top: 20px;
    padding-left: 20px;
  }
}


.section-title {
      text-align: center;
      font-weight: 700;
      color: #004080;
      margin: 40px 0 20px;
    }

.grid-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
    }


     .card-custom2 {
      background: #fff;
      border-radius: 15px;
      padding: 25px;
      box-shadow: 0 6px 15px rgba(0,0,0,0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .card-custom2:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }
    .card-custom2 h4 {
      color: #004080;
      font-weight: 600;
      margin-bottom: 15px;
    }
    .card-custom2 ul {
      padding-left: 18px;
    }
    .card-custom2 ul li {
      margin-bottom: 8px;
    }


    .page-title {
    font-size: 2rem;        /* default for desktops */
    color: #1e3564;
    font-weight: 600;
    text-align: center;
    margin-bottom: 25px;
  }

  /* Tablets */
  @media (max-width: 768px) {
    .page-title {
      font-size: 1.75rem;
    }
  }

  /* Mobile phones */
  @media (max-width: 480px) {
    .page-title {
      font-size: 1.5rem;
      margin-bottom: 15px;
    }
  }


  .youtube-lite {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  background-position: center;
  background-size: cover;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.youtube-lite iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: none;
}
.youtube-lite .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  transform: translate(-50%, -50%);
  background: url('assets/images/icons/play-white.svg') no-repeat center;
  background-size: contain;
}

  .ibdp-banner {
    width: 100%;
    background: linear-gradient(135deg, #002244, #004488);
    color: #fff;
    overflow: hidden;
    position: relative;
    padding: 2.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInSlide 1.2s ease-in-out;
  }

  /* Content Styling */
  .ibdp-content {
    text-align: center;
    z-index: 2;
  }

  .ibdp-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ffcc00, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    animation: glowText 2s ease-in-out infinite alternate;
  }

  .ibdp-content p {
    font-size: 1.3rem;
    font-weight: 500;
    color: #e6f2ff;
  }

  .ibdp-content strong {
    color: #ffcc00;
    font-weight: 700;
  }

  /* Background animated waves */
  .ibdp-banner::before {
    content: "";
    position: absolute;
    top: -80%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 20%, transparent 70%);
    animation: rotateBackground 15s linear infinite;
    z-index: 1;
  }

  /* Animations */
  @keyframes fadeInSlide {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes glowText {
    from {
      text-shadow: 0 0 1px #ffcc00, 0 0 2px #ffcc00;
    }
    to {
      text-shadow: 0 0 2px #ffcc00, 0 0 5px #ffffff;
    }
  }

  @keyframes rotateBackground {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  /* Mobile Responsiveness */
  @media (max-width: 768px) {
    .ibdp-content h2 {
      font-size: 1.8rem;
    }
    .ibdp-content p {
      font-size: 1.1rem;
    }
    .ibdp-banner {
      padding: 2rem 1rem;
    }
  }

 .upcoming-events {
background-color: #f9fafb;
padding: 60px 0;
font-family: 'Poppins', sans-serif;
}


.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
}


.section-title {
text-align: center;
font-size: 2rem;
font-weight: 700;
color: #333;
margin-bottom: 40px;
}


.events-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
}


.event-card {
background: #fff;
border-radius: 16px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
padding: 16px;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.event-card:hover {
transform: translateY(-5px);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}


.event-image {
width: 100%;
border-radius: 12px;
margin-bottom: 12px;
}


 .event-button {
display: inline-block;
text-decoration: none;
padding: 10px 18px;
border-radius: 8px;
font-weight: 600;
font-size: 0.95rem;
transition: all 0.2s ease;
}


.event-button.free {
background-color: #16a34a;
color: white;
}


.event-button.paid {
background-color: #2563eb;
color: white;
}


.event-button:hover {
opacity: 0.9;
transform: translateY(-2px);
}

.hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  background: #000;
}

/* Video fills the section */
.hero-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

/* Image appears first, fades out after 15 seconds */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  animation: fadeOut 2s ease forwards;
  animation-delay: 2s;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark overlay for both image and video */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 3;
}

/* Center play button */
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4;
}

.play-btn {
  width: 70px;
  height: 70px;
  transition: transform 0.3s ease;
}
.play-btn:hover {
  transform: scale(1.1);
}

/* Fade out animation */
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Responsive tweak */
@media (max-width: 768px) {
  .hero-section {
    height: 60vh;
  }
  .play-btn {
    width: 55px;
    height: 55px;
  }
}


.hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* full screen */
  overflow: hidden;
  background: #000;
}

/* --- Base layer: Video --- */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 ratio */
  min-height: 100%;
  min-width: 177.77vh; /* maintains 16:9 fit */
  transform: translate(-50%, -50%);
  border: 0;
  object-fit: cover;
}

/* --- Image overlay (matches exactly) --- */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  animation: fadeOut 2s ease forwards;
  animation-delay: 2s;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Overlay and content --- */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 3;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4;
}

.play-btn {
  width: 70px;
  height: 70px;
  transition: transform 0.3s ease;
}
.play-btn:hover {
  transform: scale(1.1);
}

/* --- Fade animation --- */
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* --- Responsive tweak --- */
@media (max-width: 768px) {
  .play-btn {
    width: 55px;
    height: 55px;
  }
}


.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  animation: fadeOut 2s ease forwards;
  animation-delay: 2s;
}

.hero-image picture,
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.schools-section {
    background: #fff;
  }

  .schools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  @media (max-width: 768px) {
    .schools-grid {
      grid-template-columns: 1fr;
    }
  }

  .school-card {
    background: #f9fafb;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
  }

  .school-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
  }

  .school-card h3 {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 0.5rem;
    font-weight: 600;
  }

  .school-card p {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
  }

  .section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
  }


  .quote-box {
    background: #f9fafb;
    border-left: 4px solid #0056b3; /* MGS accent blue */
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.1rem;
    color: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }

  .quote-box p {
    margin: 0;
    line-height: 1.6;
  }

  @media (max-width: 768px) {
    .quote-box {
      font-size: 1rem;
      padding: 1.2rem;
    }
  }


  .feature-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  border: 1px solid rgba(229, 231, 235, 0.7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: radial-gradient(circle at 30% 20%, rgba(79, 70, 229, 0.07), transparent 60%);
  transform: rotate(25deg);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.1);
  border-color: rgba(79, 70, 229, 0.3);
}

 

.feature-card:hover .icon-wrap {
  background: rgba(79, 70, 229, 0.15);
  color: #3730a3;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .feature-card {
    text-align: center;
    padding: 1.5rem;
  }
   
}

 /* -----------------------------------
   GLOBAL BUTTON STYLES
----------------------------------- */

/* Primary gold-on-navy button */
.btn-mgs-primary {
  background: linear-gradient(135deg, #0f2c4e 0%, #1c406c 100%);
  color: #fff;
  border: 2px solid #0f2c4e;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 8px rgba(15, 44, 78, 0.25);
  transition: all 0.3s ease;
}

.btn-mgs-primary:hover {
  background: linear-gradient(135deg, #1b3d6b 0%, #0f2c4e 100%);
  color: #aa975d;
  border-color: #aa975d;
  box-shadow: 0 6px 16px rgba(15, 44, 78, 0.35);
  transform: translateY(-2px);
}

/* Outline button with gold theme */
.btn-mgs-outline {
  background: transparent;
  color: #0f2c4e;
  border: 2px solid #aa975d;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.btn-mgs-outline:hover {
  background: #aa975d;
  color: #fff;
  border-color: #aa975d;
  box-shadow: 0 6px 14px rgba(170, 151, 93, 0.35);
  transform: translateY(-2px);
}

/* Focus styles for both */
.btn-mgs-primary:focus,
.btn-mgs-outline:focus {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(170, 151, 93, 0.3);
}

/* -----------------------------------
   FOOTER CTA SECTION
----------------------------------- */

.footer-cta {
  background: linear-gradient(135deg, #0f2c4e 0%, #122b4a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.footer-cta::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 30% 30%, rgba(170,151,93,0.12), transparent 40%);
  transform: rotate(25deg);
  pointer-events: none;
}

.footer-cta-inner {
  gap: 1rem;
  padding: 1.25rem 0.25rem;
}

.footer-cta .cta-text h4 {
  color: #fff;
  margin-bottom: 0;
}

.footer-cta .cta-text p {
  color: rgba(255,255,255,0.86);
  margin-top: .35rem;
}

/* FOOTER BUTTONS (new, separate classes) */
.btn-mgs-footer-gold {
  background: linear-gradient(90deg, #b9975f 0%, #aa975d 100%);
  color: #0f2c4e;
  border: 2px solid rgba(170,151,93,0.9);
  border-radius: 10px;
  padding: 0.6rem 1.25rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(170,151,93,0.14);
  transition: transform .18s ease, box-shadow .18s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-mgs-footer-gold:hover,
.btn-mgs-footer-gold:focus {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(170,151,93,0.2);
  outline: none;
}

.btn-mgs-footer-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(170,151,93,0.95);
  border-radius: 10px;
  padding: 0.6rem 1.25rem;
  font-weight: 700;
  transition: all .18s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-mgs-footer-outline:hover,
.btn-mgs-footer-outline:focus {
  background: rgba(170,151,93,0.98);
  color: #0f2c4e;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(170,151,93,0.18);
  outline: none;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .footer-cta-inner {
    text-align: center;
    padding: 1.5rem 0.5rem;
  }
  .cta-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .cta-actions .btn {
    min-width: 220px;
  }
}

@media (min-width: 768px) {
  .cta-text { max-width: 60%; }
  .cta-actions .btn { min-width: 180px; }
}


  .tick-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    border: 2px solid #0aa77e; /* green outline */
    border-radius: 50%;
    position: relative;
  }

  .tick-icon::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border-right: 2px solid #0aa77e;
    border-bottom: 2px solid #0aa77e;
    transform: rotate(45deg);
  }

  .border {
    border-color: #e9ecef !important;
  }


   .compare-table {
    width: 100%;
    background: transparent;
  }

  .compare-table thead th {
    border: 0;
    font-weight: 600;
    color: #657884;
    font-size: 0.95rem;
    vertical-align: middle;
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Make each body row look like a card with spacing between rows */
  .compare-table tbody tr {
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(15,44,78,0.04) inset;
  }

  /* Add spacing between rows (we used border-spacing on table) and rounded corners per row */
  .compare-table tbody tr td {
    border: 0;
    padding-left: 24px;
    padding-right: 24px;
    vertical-align: middle;
    color: #4b5961;
    font-size: 0.95rem;
  }

  /* Light divider line under header */
  .table-light {
    border-radius: 12px;
    margin-bottom: 12px;
  }

  /* Highlight style for first row (blue outline + light-blue fill) */
  .compare-table tbody tr.highlight-row {
    background: #eef6ff;             /* pale blue fill */
    box-shadow: none;
    border: 2px solid #0f58b8;      /* strong blue outline */
  }

  /* To give the highlighted row rounded pill-like corners across the full row we round first and last cells */
  .compare-table tbody tr.highlight-row td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
  }
  .compare-table tbody tr.highlight-row td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
  }

  /* For all other rows give subtle rounded corners on cells */
  .compare-table tbody tr td:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
  }
  .compare-table tbody tr td:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
  }

  /* Slight vertical spacing so rows look separated (already handled by border-spacing) */
  @media (max-width: 767.98px) {
    .compare-table thead {
      display: none; /* hide header for very small screens if desired */
    }
    .compare-table tbody tr {
      display: block;
      margin-bottom: 12px;
    }
    .compare-table tbody tr td {
      display: block;
      padding: 12px 16px;
    }
    .compare-table tbody tr.highlight-row {
      padding: 0;
    }
  }

  /* Optional: subtle hover */
  .compare-table tbody tr:hover {
    transform: translateY(-2px);
    transition: transform .12s ease;
  }
 
  :root {
    --hero-mgs-desktop: url("/images/hero-desktop.jpg");
    --hero-mgs-mobile: url("/images/hero-mobile.jpg");
    --hero-mgs-navy: #0f2c4e;
    --hero-mgs-gold: #aa975d;
  }

  .hero-mgs {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  }

  .hero-mgs-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform, opacity;
  }

  .hero-mgs-bg--desktop {
    background-image: var(--hero-mgs-desktop);
    display: block;
  }

  .hero-mgs-bg--mobile {
    background-image: var(--hero-mgs-mobile);
    display: none;
  }

  .hero-mgs-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 88, 184, 0.75);
  }

  .hero-mgs-container {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 20px;
  }

  .hero-mgs-badge {
    display: inline-block;
    background: var(--hero-mgs-gold);
    color: #1b1b1b;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 24px;
    box-shadow: 0 6px 18px rgba(170, 151, 93, 0.12);
  }

  .hero-mgs-title {
    font-size: 55px;
    line-height: 1.25;
    margin: 0 0 18px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    
  }

  .hero-mgs-em {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 800;
  }

  .hero-mgs-sub {
    color: rgba(255, 255, 255, 0.92);
    max-width: 880px;
    margin: 0 auto 28px;
    font-size: 18px;
  }

  .hero-mgs-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-mgs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.2s ease;
  }

  .hero-mgs-btn-primary {
    background: linear-gradient(180deg, var(--hero-mgs-navy), #0b2550);
    color: #fff;
    border: none;
    box-shadow: 0 8px 20px rgba(15, 44, 78, 0.18);
  }

  .hero-mgs-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(15, 44, 78, 0.22);
  }

  .hero-mgs-btn-outline {
    background: transparent;
    color: var(--hero-mgs-gold);
    border: 2px solid rgba(170, 151, 93, 0.9);
  }

  .hero-mgs-btn-outline:hover {
    background: rgba(170, 151, 93, 0.08);
    transform: translateY(-2px);
  }

  /* Responsive: switch image and adjust typography */
  @media (max-width: 991.98px) {
    .hero-mgs {
      min-height: 520px;
    }

    .hero-mgs-bg--desktop {
      display: none;
    }

    .hero-mgs-bg--mobile {
      display: block;
    }

    .hero-mgs-title {
      font-size: 44px;
      line-height: 1.05;
    }

    .hero-mgs-sub {
      font-size: 16px;
      padding: 0 18px;
    }
  }

  @media (max-width: 575.98px) {
    .hero-mgs {
      min-height: 420px;
    }

    .hero-mgs-title {
      font-size: 30px;
      line-height: 1.08;
    }

    .hero-mgs-badge {
      font-size: 0.86rem;
      padding: 7px 14px;
    }

    .hero-mgs-sub {
      font-size: 15px;
    }

    .hero-mgs-container {
      padding: 40px 16px;
    }

    .hero-mgs-ctas {
      flex-direction: column;
      gap: 12px;
      max-width: 340px;
      margin: 0 auto;
    }

    .hero-mgs-btn {
      width: 100%;
      padding: 12px;
    }
  }

   #hyderabad-advantage .hyderabad-card {
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
  }

  #hyderabad-advantage .hyderabad-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(41, 121, 255, 0.15);
    border-color: #2979ff;
  }

  #hyderabad-advantage .icon-wrap i {
    font-size: 32px;
    color: #2979ff;
  }

  #hyderabad-advantage h6 {
    color: #0f2c4e;
  }

  @media (max-width: 767.98px) {
    #hyderabad-advantage .hyderabad-card {
      border-radius: 12px;
    }
  }

  .mgs-compare-section { background: #fff; }
  .mgs-compare-title { font-size: 34px; margin-bottom: 0.25rem; color: #20262a; font-weight: 800; }
  .mgs-accent { color: #2979ff; }
  .mgs-compare-sub { color: #6b7780; margin-bottom: 1.5rem; }

  .mgs-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(15,44,78,0.06);
    box-shadow: 0 6px 18px rgba(19,27,34,0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 22px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }

  .mgs-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(19,27,34,0.07);
    border-color: rgba(41,121,255,0.12);
  }

  .mgs-card--highlight {
    border: 2px solid #0f58b8;
    background: #eef6ff;
    padding: 20px;
  }

  .mgs-card-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom: 10px;
  }

  .mgs-card-title {
    font-size: 20px;
    color: #0f2c4e;
    margin: 0;
    font-weight: 700;
  }

  .mgs-badge {
    background: #2979ff;
    color:#fff;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
  }

  .mgs-card-body { margin-top: 6px; }

  .mgs-strong {
    display:flex;
    align-items:center;
    gap:10px;
    color: #0f8f59;
    font-size: 15px;
    margin: 8px 0;
    font-weight:700;
  }

  .mgs-check { flex-shrink:0; }

  .mgs-list { margin:0; padding-left:18px; color:#46565e; line-height:1.6; }
  .mgs-list li { margin-bottom:8px; }

  .mgs-cons-title { margin-top:12px; color:#334a52; font-weight:700; font-size:15px; }

  .mgs-note { font-size: 0.9rem; color: #6b7780; }

  @media (max-width: 767.98px) {
    .mgs-card { padding: 16px; border-radius: 10px; }
    .mgs-compare-title { font-size: 26px; }
  }


   .mgs-testimonials-section { background: #fff; color: #22303a; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; }

  .mgs-testimonials-title {
    font-size: 38px;
    font-weight: 800;
    margin: 6px 0 6px;
    color: #20262a;
  }
  .mgs-accent { color: #2979ff; }

  .mgs-testimonials-sub {
    color: #7b8890;
    margin-bottom: 34px;
    font-size: 16px;
  }

  .mgs-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    align-items: start;
    margin-bottom: 34px;
  }

  .mgs-video-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .mgs-video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(33,40,49,0.08);
    background: #000;
  }

  .mgs-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

  .mgs-video-caption {
    text-align: center;
    padding: 14px 6px 0;
  }

  .mgs-video-title {
    font-size: 18px;
    margin: 8px 0 6px;
    color: #17202a;
    font-weight: 700;
  }

  .mgs-video-desc {
    color: #7b8890;
    margin: 0;
    font-size: 14px;
  }

  .mgs-cta-wrap {
    text-align: center;
    margin-top: 18px;
  }

  .mgs-cta-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 12px;
    border: 2px solid rgba(41,121,255,0.2);
    color: #2979ff;
    text-decoration: none;
    font-weight: 700;
    background: transparent;
    transition: background .18s ease, transform .12s ease, box-shadow .12s ease;
  }

  .mgs-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(41,121,255,0.08);
    background: rgba(41,121,255,0.04);
  }

  /* Responsive */
  @media (max-width: 991.98px) {
    .mgs-video-grid { grid-template-columns: 1fr; gap: 26px; }
    .mgs-testimonials-title { font-size: 30px; }
  }

  @media (max-width: 479.98px) {
    .mgs-testimonials-title { font-size: 24px; }
    .mgs-testimonials-sub { font-size: 14px; }
    .mgs-video-wrap { border-radius: 10px; }
    .mgs-cta-btn { width: 100%; max-width: 360px; }
  }

  .info-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
  }

  .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(15,44,78,0.1);
  }

  ul li {
    margin-bottom: 6px;
    line-height: 1.6;
  }

  @media (max-width: 767.98px) {
    h2 { font-size: 24px; }
    .info-card { padding: 20px; }
  }


   .school-card {
    background: #fff;
    border: 1px solid rgba(15,44,78,0.08);
    border-left: 4px solid #aa975d;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(15,44,78,0.06);
    transition: all 0.25s ease;
  }

  .school-card:hover {
    transform: translateY(-6px);
    border-left-color: #0f2c4e;
    box-shadow: 0 12px 28px rgba(15,44,78,0.12);
  }

  .school-card h5 {
    color: #0f2c4e;
  }

  .school-card p {
    line-height: 1.6;
    font-size: 15px;
  }

  @media (max-width: 767.98px) {
    .school-card {
      padding: 1.2rem;
    }
    h2 {
      font-size: 24px;
    }
  }
 
  .upcoming-events {
            padding: 60px 20px;
            background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #1a1a1a;
            margin-bottom: 2rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .carousel-container {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
        }

        .carousel-wrapper {
            position: relative;
            overflow: visible;
            border-radius: 12px;
        }

        .carousel-inner {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            width: 100%;
            padding: 0 20px;
        }

        .carousel-item {
            width: 100%;
            padding: 0;
            display: flex;
            justify-content: center;
        }

        .event-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
            padding: 30px;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            max-width: 400px;
            width: 100%;
        }

        .event-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
        }

        .event-image {
            width: 100%;
            height: 280px;
            object-fit: cover;
            border-radius: 10px;
            margin-bottom: 20px;
        }

        .event-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #1a1a1a;
            margin-bottom: 15px;
            line-height: 1.4;
        }

        .event-details {
            font-size: 1rem;
            color: #666;
            margin-bottom: 10px;
            line-height: 1.6;
        }

        .event-details small {
            display: block;
            font-size: 0.9rem;
            color: #999;
            margin-top: 8px;
        }

        .btn-primary {
            background-color: #007bff;
            border: none;
            padding: 10px 24px;
            font-size: 0.95rem;
            font-weight: 600;
            border-radius: 6px;
            transition: all 0.3s ease;
            margin-top: 15px;
            cursor: pointer;
        }

        .btn-primary:hover {
            background-color: #0056b3;
            transform: scale(1.05);
        }

        .carousel-controls {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transform: translateY(-50%);
            pointer-events: none;
            z-index: 10;
        }

        .carousel-btn {
            background-color: rgba(0, 123, 255, 0.85);
            border: none;
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            pointer-events: all;
            box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
        }

        .carousel-btn:hover {
            background-color: #007bff;
            transform: scale(1.15);
            box-shadow: 0 6px 16px rgba(0, 123, 255, 0.5);
        }

        .carousel-btn:active {
            transform: scale(0.95);
        }

        .carousel-btn.prev {
            margin-left: 10px;
        }

        .carousel-btn.next {
            margin-right: 10px;
        }

        .carousel-indicators {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 25px;
            padding: 0 20px;
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #ccc;
            border: 2px solid #007bff;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .indicator.active {
            background-color: #007bff;
            transform: scale(1.2);
        }

        /* Mobile Responsive */
        @media (max-width: 1024px) {
            .carousel-inner {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
                padding: 0 15px;
            }
        }

        @media (max-width: 768px) {
            .section-title {
                font-size: 1.8rem;
                margin-bottom: 1.5rem;
            }

            .carousel-inner {
                grid-template-columns: 1fr;
                gap: 15px;
                padding: 0 15px;
            }

            .event-card {
                padding: 20px;
            }

            .event-image {
                height: 220px;
            }

            .event-title {
                font-size: 1.25rem;
            }

            .event-details {
                font-size: 0.95rem;
            }

            .carousel-btn {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }

            .carousel-btn.prev {
                margin-left: 5px;
            }

            .carousel-btn.next {
                margin-right: 5px;
            }

            .carousel-item {
                padding: 15px;
            }
        }

        @media (max-width: 480px) {
            .upcoming-events {
                padding: 40px 15px;
            }

            .section-title {
                font-size: 1.5rem;
                margin-bottom: 1.2rem;
            }

            .carousel-inner {
                grid-template-columns: 1fr;
                gap: 15px;
                padding: 0 10px;
            }

            .event-card {
                padding: 15px;
                max-width: 100%;
            }

            .event-image {
                height: 180px;
                margin-bottom: 15px;
            }

            .event-title {
                font-size: 1.1rem;
                margin-bottom: 12px;
            }

            .event-details {
                font-size: 0.9rem;
            }

            .carousel-btn {
                width: 36px;
                height: 36px;
                font-size: 0.9rem;
            }

            .carousel-controls {
                padding: 0 10px;
            }

            .btn-primary {
                padding: 8px 18px;
                font-size: 0.85rem;
            }

            .carousel-indicators {
                gap: 8px;
                margin-top: 20px;
            }

            .indicator {
                width: 10px;
                height: 10px;
            }
        }

        /* Center the CTA button */
.event-cta {
  display: inline-block;
  margin: 10px auto 0 auto;  /* auto left & right → centers the button */
  padding: 8px 14px;
  border-radius: 8px;
  background: #0ea5a4;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: background .12s ease, transform .12s ease;
}

.event-cta:hover {
  transform: translateY(-2px);
  background: #05928f;
}
/* Event card layout inside Splide slides */
.event-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  transition: transform .18s ease, box-shadow .18s ease;
}

.event-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(15,23,42,0.08); }

.event-card-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

/* Card content */
.event-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}

.event-title {
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.2;
  color: #0f172a; /* near-black */
  font-weight: 600;
}

.event-date {
  display: inline-block;
  font-size: 0.9rem;
  color: #6b7280; /* muted */
}

.event-desc {
  font-size: 0.95rem;
  color: #374151;
  margin: 0;
  flex: 1 1 auto; /* pushes button to bottom if text short */
}

/* CTA */
 

/* responsive tweaks */
@media (min-width: 992px) {
  .event-card-img { height: 190px; }
}
@media (max-width: 575px) {
  .event-card-img { height: 140px; }
  .event-title { font-size: 1rem; }
}

 

/* ---------- Desktop: keep your current styles ---------- */
/* No changes needed for desktop */

/* ---------- Mobile: stacked card view for ALL table rows ---------- */
@media (max-width: 767.98px) {

  /* allow the table to shrink instead of forcing a wide min-width */
  .compare-table {
    min-width: auto !important;
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 12px !important;
  }

  /* hide header on mobile */
  .compare-table thead {
    display: none !important;
  }

  /* make every row a block-level card */
  .compare-table tbody tr {
    display: block !important;
    margin-bottom: 14px !important;
    background: #fff !important;
    border-radius: 10px !important;
    padding: 12px !important;
    box-shadow: 0 6px 18px rgba(15,23,42,0.04) !important;
    border: 1px solid rgba(15,23,42,0.03) !important;
    overflow: visible !important;
  }

  /* each cell becomes a stacked block with label above the value */
  .compare-table tbody tr td {
    display: block !important;
    padding: 8px 6px !important;
    border: none !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  /* label shown above the value using the data-label attribute */
  .compare-table tbody tr td::before {
    content: attr(data-label) !important;
    display: block !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin-bottom: 6px !important;
    font-size: 0.95rem !important;
  }

  /* Keep small.text-muted readable */
  .compare-table tbody tr td small.text-muted {
    display: inline-block !important;
    color: #6b7280 !important;
  }

  /* special accent for the highlighted row (keep it) */
  .compare-table tbody tr.highlight-row {
    border-left: 4px solid #0ea5a4 !important;
    padding-left: 10px !important; /* keeps inner content aligned after the accent */
  }

  /* spacing around the container */
  .table-responsive-mobile,
  .compare-table {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}


/* ---------- Desktop: show table, hide cards ---------- */
.compare-cards { display: none; }

/* Optional: your existing compare-table desktop styles */
.compare-table {
  border-collapse: separate;
  border-spacing: 0 12px;
  width: 100%;
  min-width: 900px;
}

/* ---------- Mobile: hide table, show cards ---------- */
@media (max-width: 767.98px) {
  .table-desktop { display: none; }
  .compare-cards { display: block; padding: 12px; }

  .school-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(13, 38, 59, 0.06);
    margin-bottom: 14px;
    padding: 12px;
    border-left: 4px solid transparent;
    overflow: hidden;
  }

  .school-card.highlight {
    border-left-color: #0ea5a4; /* accent for Manchester Global */
  }

  .school-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(15,23,42,0.04);
    margin-bottom: 10px;
  }

  .school-header h3 {
    font-size: 1.05rem;
    margin: 0;
    color: #0f172a;
  }

  .school-meta {
    font-size: 0.9rem;
    color: #6b7280;
  }

  .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
  }

  .feature-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    padding: 6px 0;
    border-radius: 6px;
  }

  .feature-list .label {
    color: #374151;
    font-weight: 600;
    flex: 0 0 48%;
    max-width: 48%;
    font-size: 0.93rem;
  }

  .feature-list .value {
    color: #374151;
    font-size: 0.93rem;
    text-align: right;
    flex: 1 1 52%;
    word-break: break-word;
  }
}
