/* ===== ACCESSIBILITY ===== */

/* Skip to main content link - hidden */
.skip-to-main {
  display: none;
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

body {
  max-width: 1440px;
  background: #fff;
  margin: 0 auto;
  font-family: "Rubik", sans-serif;
  color: #222;
}

/* Apply Open Sans to all headings */
h1,
h2,
h3,
h4 {
  font-family: "Open Sans", sans-serif;
  font-weight: 700; /* Ensure headings are bold */
}

/* Apply Rubik to body text */
body,
p,
a,
button,
li,
span,
div {
  font-family: "Rubik", sans-serif;
}

/* ...existing code... */

/* Update specific overrides that were using Cormorant Garamond */
h1,
.Discover-h2,
.choose-header h2,
.choose-card h3,
.schools-content,
.schools-card h4,
.gallery h2,
.connect-text h2,
.blog-container h2,
.feature h3,
.downloads-header h1,
.blog-hero-container h2,
.downloads-container h2,
.about-hero-text h1,
.vision-mission h2,
.why-choose h2,
.christian-foundation h2,
.about-cta h2,
.academics-hero-text h1,
.overview-title,
.academics-cta h2,
.admissions-hero h1,
.enrollment-process h2,
.step-content h3,
.admissions-cta h2,
.admissions-faq h2,
.admissions-help h2,
.blog-hero-header h1,
.events-header h2,
.blog-posts-header h2,
.blog-post-content h3,
.blog-post-header h1,
.blog-post-content h2,
.Discover,
.blog-post h3 {
  font-family: "Open Sans", sans-serif;
  line-height: 1.3;
}

/* Mission Section - INCREASED */
.mission-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.mission-header p {
  font-size: 1.125rem;
  color: #e74c3c;
  font-weight: 500;
}

.school-motto h3 {
  font-size: 1.375rem;
  font-weight: 600;
}

.motto-text {
  font-size: 1.9rem;
  font-weight: 700;
  color: #e74c3c;
}

.mission-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.mission-item p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Core Values - INCREASED */
.core-values h3 {
  font-size: 2.25rem;
  font-weight: 600;
}

.value-item span {
  font-size: 1.125rem;
  font-weight: 500;
}

/* Choose Section - INCREASED */
.choose-header h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.choose-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.choose-header p {
  font-size: 1.0625rem;
  line-height: 1.6;
}

.choose-card h3 {
  font-size: 1.375rem;
  font-weight: 600;
}

.choose-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Schools Section - INCREASED */
.schools-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.schools-card h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

.schools-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Blog Section - INCREASED */
.blog-posts-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
}

.blog-post-item h3 {
  font-size: 1.375rem;
  font-weight: 600;
}

.blog-post-content p {
  font-size: 1rem;
  line-height: 1.6;
}

.blog-post-content a {
  font-size: 1rem;
  font-weight: 500;
}

/* Gallery Section - INCREASED */
.gallery-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
}

.gallery-section p {
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Connect Section - INCREASED */
.connect h2 {
  font-size: 2.25rem;
  font-weight: 700;
}

.connect p {
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Buttons - INCREASED */
.apply-btn,
.apply-btn-1,
.apply-btn-2,
.learn-btn,
.learn-btn2 {
  font-size: 1.0625rem;
  font-weight: 600;
}

/* Navigation - INCREASED */
.Navbar ul li a {
  font-size: 1.0625rem;
  font-weight: 400;
}

/* Footer - INCREASED */
.footer-main p {
  font-size: 1.0625rem;
  font-weight: 600;
}

.footer-links ul li a,
.contact-details-footer ul li,
.contact-details-footer ul li a {
  font-size: 1rem;
  line-height: 1.6;
}

.social-icons {
  font-size: 1rem;
}

.footer-contact p,
.footer-contact-links a {
  font-size: 0.9375rem;
}

/*.nav {
  padding: 25px 40px;
  display: flex;
  align-items: center;
  gap: 50px;
  height: 170px;
}*/

/* Navigation styles */
header.nav {
  max-width: 1440px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px; /* Increased vertical padding from 0px to 16px */
  margin: 10px auto 0 auto;
  position: relative;
}

header.nav,
.footer-main {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  /* Ensure background color stretches full width if needed */
}

.logo {
  /*width: 60px;  Increased from 50px */
  /*height: 70px;  Increased from 50px */
  /*background-size: contain;*/
  width: 84px; /* slightly larger than before */
  height: auto; /* preserve aspect ratio */
  max-height: 72px; /* prevent it from growing too tall */
  object-fit: contain;
  display: block;
}

/*.logo {
  width: 80px;
  height: 170px;
  /*object-fit: contain;  Maintains aspect ratio 
  transition: all 0.3s ease;
}*/

/*.logo:hover {
  transform: scale(1.05);
}*/

.Navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.Navbar ul {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.Navbar ul li a {
  padding: 8px 0;
  display: inline-block;
}

.Navbar ul li a.active {
  color: #c0392b;
  font-weight: 500;
  border-bottom: 2px solid #c0392b;
  padding-bottom: 4px;
}

/* Add hamburger menu button with enhanced animation */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #222;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
}

/* Animated hamburger to X transformation */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.enroll-btn {
  margin-left: auto; /* Push button to the right on large screens */
  background: #c0392b;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-emphasis: none;
  text-decoration: none;
}

.enroll-btn:hover {
  background: #a0522d;
}

.Navbar li {
  text-decoration: none;
  color: #222;
  font-weight: 400;
  font-size: 15px;
  transition: color 0.2s;
}

.Navbar a {
  text-decoration: none;
  color: #222;
}

.Navbar a:hover {
  color: #a0522d;
}

.Navbar ul li a {
  padding: 8px 0;
  display: inline-block;
  text-decoration: none;
  color: #222;
}

.Navbar ul li a.active {
  color: #c0392b;
  font-weight: 500;
  border-bottom: 2px solid #c0392b;
  padding-bottom: 4px;
}

/* Responsive Navbar */
/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.dropdown-toggle::after {
  content: "▼";
  font-size: 10px;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 8px 0;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-15px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  animation: dropdownSlideIn 0.4s ease-out;
}

@keyframes dropdownSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.dropdown-menu li {
  padding: 0;
  margin: 0;
  width: 100%;
  opacity: 0;
  animation: fadeIn 0.3s ease-out forwards;
}

.dropdown:hover .dropdown-menu li:nth-child(1) {
  animation-delay: 0.05s;
}
.dropdown:hover .dropdown-menu li:nth-child(2) {
  animation-delay: 0.1s;
}
.dropdown:hover .dropdown-menu li:nth-child(3) {
  animation-delay: 0.15s;
}
.dropdown:hover .dropdown-menu li:nth-child(4) {
  animation-delay: 0.2s;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: #222 !important;
  text-decoration: none;
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.3s ease, padding-left 0.3s ease;
  border-bottom: none !important;
  width: 100%;
  text-align: center;
}

.dropdown-menu li a:hover {
  background-color: #f8f9fa;
  color: #c0392b !important;
  padding-left: 25px;
}

/* Show menu close button only when navbar is active */
.menu-close {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  font-size: 28px;
  color: #222;
  line-height: 1;
}

.Navbar.active ~ .nav-right .menu-close {
  display: flex;
}

.Navbar.active ~ .nav-right .menu-toggle {
  display: none;
}

/* Main content styles */

main {
  max-width: 1440px;
  margin: 0 auto;
  background: #fff;
  border-radius: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  padding: 0 0 0 0;
}

.hero {
  text-align: center;
  padding: 48px 24px 0 24px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("Assets/gallery/Hero-img2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* Font styles */
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 18px;
  margin-bottom: 24px;
  color: #fff;
}

.hero-subtext {
  color: #fff;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 28px auto;
  line-height: 1.6;
  text-align: justify;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 80px;
}
/* Apply Button Styles - Brown Gradient */
.apply-btn,
.apply-btn-1,
.apply-btn-2 {
  background: linear-gradient(135deg, #5d3a1a 0%, #8b5a2b 50%, #a0522d 100%);
  color: #fff !important;
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(93, 58, 26, 0.3);
}

.apply-btn:hover,
.apply-btn-1:hover,
.apply-btn-2:hover {
  background: linear-gradient(135deg, #4a2c14 0%, #6b4423 50%, #8b5a2b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(93, 58, 26, 0.4);
  text-decoration: none;
}

/* Navbar specific button */
.Navbar .apply-btn {
  background: linear-gradient(135deg, #5d3a1a 0%, #8b5a2b 50%, #a0522d 100%);
  color: #fff !important;
  padding: 10px 24px;
  font-size: 15px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(93, 58, 26, 0.3);
  text-decoration: none;
}

.Navbar .apply-btn:hover {
  background: linear-gradient(135deg, #4a2c14 0%, #6b4423 50%, #8b5a2b 100%);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Hero buttons */
.hero-buttons .apply-btn-1 {
  background: linear-gradient(135deg, #5d3a1a 0%, #8b5a2b 50%, #a0522d 100%);
  padding: 12px 36px;
  font-size: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(93, 58, 26, 0.3);
  text-decoration: none;
}

.hero-buttons .apply-btn-1:hover {
  background: linear-gradient(135deg, #4a2c14 0%, #6b4423 50%, #8b5a2b 100%);
  box-shadow: 0 6px 16px rgba(93, 58, 26, 0.4);
  text-decoration: none;
}

/* Connect section button */
.connect .apply-btn-2 {
  background: linear-gradient(135deg, #5d3a1a 0%, #8b5a2b 50%, #a0522d 100%);
  color: #fff !important;
  padding: 12px 32px;
  font-size: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(93, 58, 26, 0.3);
  text-decoration: none;
  display: inline-block;
}

.connect .apply-btn-2:hover {
  background: linear-gradient(135deg, #4a2c14 0%, #6b4423 50%, #8b5a2b 100%);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Mobile adjustments - 768px and below */
@media (max-width: 768px) {
  .Navbar .apply-btn {
    width: calc(100% - 32px);
    margin: 16px auto;
    display: block;
    text-align: center;
    padding: 12px 16px;
    font-size: 14px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-buttons .apply-btn-1 {
    width: calc(100% - 32px);
    max-width: 300px;
    padding: 12px 24px;
    text-align: center;
  }

  .connect {
    flex-direction: column;
    gap: 16px;
    padding: 40px 20px;
    align-items: center;
  }

  .connect .apply-btn-2 {
    width: calc(100% - 32px);
    max-width: 300px;
    margin: 0 auto;
    display: block;
    text-align: center;
    padding: 12px 24px;
  }
}

@media (max-width: 600px) {
  .Navbar .apply-btn {
    width: calc(100% - 24px);
    max-width: 280px;
    padding: 11px 12px;
    font-size: 13px;
  }

  .hero-buttons .apply-btn-1 {
    width: calc(100% - 24px);
    max-width: 280px;
    padding: 11px 20px;
  }

  .connect .apply-btn-2 {
    width: calc(100% - 24px);
    max-width: 280px;
    padding: 11px 20px;
  }
}

@media (max-width: 480px) {
  .Navbar .apply-btn {
    width: calc(100% - 20px);
    max-width: 260px;
    padding: 10px 10px;
    font-size: 12px;
  }

  .hero-buttons .apply-btn-1 {
    width: calc(100% - 20px);
    max-width: 260px;
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .connect {
    padding: 30px 16px;
  }

  .connect .apply-btn-2 {
    width: calc(100% - 20px);
    max-width: 260px;
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 425px) {
  .Navbar .apply-btn {
    width: calc(100% - 32px);
    max-width: 250px;
    margin: 16px auto;
    display: block;
    text-align: center;
    padding: 11px 16px;
    font-size: 13px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-buttons .apply-btn-1 {
    width: calc(100% - 32px);
    max-width: 250px;
    padding: 11px 16px;
    font-size: 14px;
  }

  .connect {
    padding: 30px 16px;
    flex-direction: column;
    align-items: center;
  }

  .connect .apply-btn-2 {
    width: calc(100% - 32px);
    max-width: 250px;
    margin: 0 auto;
    display: block;
    text-align: center;
    padding: 11px 16px;
    font-size: 13px;
  }
}

/*
.learn-btn {
  background: #fff;
  color: #c0392b;
  border: 1px solid black;
  color: black;
  text-decoration: none;
}
.learn-btn:hover {
  background: #f3e7e1;
}*/

/* Hero image styles */
.hero-image {
  display: none;
}

/* Discover Section styling*/
.discover-section {
  width: 100%;
  background: #f7f7f7; /* Changed from #fff to #f7f7f7 */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px;
}

.discover-details {
  max-width: 1440px;
  width: 100%;
  text-align: center;
  margin-bottom: 48px;
  margin-top: 48px;
}

.Discover-h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 24px;
  line-height: 1.2;
}

.Discover-paragraph {
  font-family: "Rubik", sans-serif;
  font-size: 1.1rem;
  text-align: justify;
  color: #444;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.students-image {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 24px;
  margin-bottom: 112px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  /* Remove margin-left: 64px; */
}

.students-image img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

/* Media Queries */
@media (max-width: 1024px) {
  .discover-section {
    padding: 0px;
  }

  .Discover {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .discover-section {
    padding: 0px;
  }

  .discover-details {
    margin-bottom: 32px;
  }

  .Discover {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .Discover-paragraph {
    font-size: 1rem;
  }
}

@media (max-width: 425px) {
  .discover-section {
    padding: 0px;
  }

  .discover-details {
    margin-bottom: 24px;
  }

  .Discover {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }

  .Discover-paragraph {
    font-size: 0.95rem;
  }

  .students-image img {
    border-radius: 12px;
  }
}

/* Mission Section Styles */
.mission-section {
  padding: 80px 20px;
  background-color: #f8f9fa;
}

.mission-container {
  max-width: 1200px;
  margin: 0 auto;
}

.mission-header {
  text-align: center;
  margin-bottom: 60px;
}

.mission-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.mission-header p {
  font-size: 1.1rem;
  color: #e74c3c;
  max-width: 700px;
  margin: 0 auto;
}

.school-motto {
  /*background-color: #fff5f5;*/
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  margin: 0 auto 60px;
  max-width: 800px;
}

.motto-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.school-motto h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.motto-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #e74c3c;
  font-style: bold;
  margin: 0;
}

.mission-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.mission-item {
  text-align: left;
  /* padding: 30px;*/
}

.mission-icon {
  margin-bottom: 0;
  display: inline-block;
  vertical-align: middle;
  margin-right: 12px;
}

.mission-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
  display: inline-block;
  vertical-align: middle;
}

.mission-item p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  text-align: justify;
  margin-top: 12px;
}
.core-values {
  margin-top: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.core-values h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 40px;
  width: 100%;
  text-align: center;
  padding-left: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* Forces 6 items in one row */
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.value-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.value-item span {
  font-size: 1.1rem;
  font-weight: 500;
  color: #1a1a1a;
}

/* Responsive: Tablet & Small Laptops (1024px and below) */
@media (max-width: 1024px) {
  .values-grid {
    /* Breaks into 2 rows of 3 items for a balanced look */
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 20px; /* More vertical space, slightly less horizontal gap */
    padding: 0 32px; /* Adds breathing room on the sides */
  }

  .value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .mission-section {
    padding: 60px 20px;
  }

  .mission-header h2 {
    font-size: 2rem;
  }

  .mission-header p {
    font-size: 1rem;
  }

  .school-motto {
    padding: 30px 20px;
    margin-bottom: 40px;
  }

  .motto-text {
    font-size: 1.5rem;
  }

  .mission-content {
    gap: 30px;
  }

  .core-values h3 {
    font-size: 1.5rem;
  }
  /*
  .values-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
  }
    */
}

@media (max-width: 600px) {
  .values-grid {
    /* Breaks into 3 rows of 2 items */
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .mission-header h2 {
    font-size: 1.75rem;
  }

  .school-motto {
    padding: 24px 16px;
  }

  .school-motto h3 {
    font-size: 1.1rem;
  }

  .motto-text {
    font-size: 1.3rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 320px) {
  .mission-section {
    padding: 40px 12px;
  }

  .mission-header h2 {
    font-size: 1.5rem;
    padding: 0 8px;
  }

  .mission-header p {
    font-size: 0.9rem;
    padding: 0 8px;
  }

  .school-motto {
    padding: 20px 12px;
    margin-bottom: 30px;
  }

  .motto-icon svg {
    width: 36px;
    height: 36px;
  }

  .school-motto h3 {
    font-size: 1rem;
  }

  .motto-text {
    font-size: 1.1rem;
  }

  .mission-content {
    gap: 24px;
    padding: 0;
    grid-template-columns: 1fr;
  }

  .mission-item {
    padding: 20px 8px;
    text-align: left;
    width: 100%;
    margin: 0 auto;
    max-width: 280px;
  }

  .mission-icon {
    margin-right: 8px;
  }

  .mission-icon svg {
    width: 28px;
    height: 28px;
  }

  .mission-item h3 {
    font-size: 1.2rem;
    text-align: left;
  }

  .mission-item p {
    font-size: 0.9rem;
    text-align: justify;
    line-height: 1.5;
    width: 100%;
  }

  .core-values h3 {
    font-size: 1.3rem;
    padding: 0 8px;
  }

  .values-grid {
    gap: 16px;
    padding: 0 8px;
  }

  .value-item span {
    font-size: 0.95rem;
  }

  .value-icon svg {
    width: 28px;
    height: 28px;
  }
}

/* Choose Section */
.choose-section {
  margin-top: 60px; /* Reduced from 112px to 60px */
  margin-bottom: 112px;
  padding: 0px 64px; /* Replace left/right margins with padding */
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.choose-header {
  text-align: center;
  margin-bottom: 80px;
}
.choose-header p {
  text-align: justify;
}
.choose-cards {
  display: flex;
  gap: 24px; /* Reduced gap for better spacing */
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap; /* Allow cards to wrap on smaller screens */
  margin-bottom: 80px;
}
.choose-card {
  background: #fff;
  padding: 32px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  flex: 1 1 0; /* Cards grow/shrink evenly */
  min-width: 220px; /* Prevent cards from getting too small */
  max-width: 340px; /* Optional: limit max width */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.choose-card p {
  text-align: justify;
}
.learn-btn2 {
  background: #c0392b;
  color: #fff;
  padding: 10px 24px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
  margin: 32px auto 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-decoration: none;
}

.learn-btn2:hover {
  background: #a0522d;
}
.schools-section {
  margin-top: 112px;
  margin-bottom: 112px;
  margin-left: 64px;
  margin-right: 64px;
  padding: 0 24px; /* Replace margins with padding */
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}
.schools-content {
  margin-bottom: 80px;
}
.schools-cards {
  display: flex;
  gap: 24px; /* Match choose-cards gap */
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.schools-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 32px 24px;
  flex: 1 1 300px; /* Match choose-card flex basis */
  min-width: 280px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.schools-card p {
  text-align: justify;
}

/* Upcoming Events Section */
.upcoming-events {
  padding: 80px 24px;
  background-color: #f4f6f8;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.event-header {
  max-width: 800px;
  margin: 0 auto 56px;
  text-align: center;
}

.event-header h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 16px;
}

.event-header p {
  font-family: "Rubik", sans-serif;
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Grid Layout */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto; /* Removed bottom margin, handled by footer margin */
  width: 100%;
  box-sizing: border-box;
}

/* Card Styling */
.event-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: 1px solid #eee;
  height: 100%;
  box-sizing: border-box;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Icon Wrapper */
.event-icon-wrapper {
  background-color: #fcece9;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.event-card h3 {
  font-family: "Open Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}

.event-desc {
  font-family: "Rubik", sans-serif;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* Event Details */
.event-detail {
  width: 100%;
  margin-bottom: 24px;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Rubik", sans-serif;
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 8px;
  font-weight: 500;
}

/* Card Button */
.card-btn {
  display: block;
  width: 100%;
  text-align: center;
  background-color: #fcece9;
  color: #751c0a;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  margin-top: auto;
  box-sizing: border-box;
}

.card-btn:hover {
  background-color: #f5d0ca;
}

/* Footer & View All Button */
.events-footer {
  margin-top: 64px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
  grid-column: 1 / -1; /* Safety: forces full width if inside grid */
}

.view-all-btn {
  display: inline-block;
  background-color: #751c0a;
  color: #ffffff;
  padding: 14px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(117, 28, 10, 0.2);
}

.view-all-btn:hover {
  background-color: #5a1507;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
  .events-header h2 {
    font-size: 2rem;
  }
}

.blog {
  width: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  /* padding: 64px 24px; */
  margin: 0 auto;
}

.blog-container {
  max-width: 800px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blog-container h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 32px;
  line-height: 1.2;
}

.blog-post {
  max-width: 700px;
  width: 100%;
  margin-bottom: 40px;
  text-align: left; /* Align text left for readability, but keep container centered */
}

.blog-post h3 {
  font-family: "Open Sans", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 16px;
  line-height: 1.3;
}

.blog-post p {
  font-family: "Rubik", sans-serif;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}
.read-more-btn {
  background: #c0392b;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

.read-more-btn:hover {
  background: #a03226;
}

.gallery-section {
  padding: 60px 0;
  background-color: #000;
  color: white;
}

.gallery-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.gallery-container h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.gallery-container p {
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.gallery-navigation {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gallery-nav-btn {
  background: transparent;
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.gallery-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.gallery-grid {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.gallery-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s ease;
  padding: 8px 0;
}

.gallery-item {
  flex: 0 0 auto;
  width: calc(33.33% - 11px); /* Show 3 items at once with gap */
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .gallery-item {
    width: calc(50% - 8px); /* Show 2 items on medium screens */
  }
}

@media (max-width: 576px) {
  .gallery-item {
    width: 100%; /* Show 1 item on small screens */
  }
}

/* Fullscreen image modal */
.fullscreen-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.fullscreen-modal.active {
  display: flex;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1440px;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fullscreen-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
  z-index: 1005;
}

.modal-nav:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.prev-modal {
  left: 20px;
}

.next-modal {
  right: 20px;
}

.sports-promo {
  background: linear-gradient(135deg, #751c0a 0%, #8b2410 100%);

  margin: 0;
}

.sports-promo-content {
  max-width: 1200px;
  padding: 40px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.sports-promo-text {
  flex: 1;
}

.sports-promo-text h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.sports-promo-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 700px;
}

.sports-promo-btn {
  background: #fff;
  color: #751c0a;
  padding: 15px 35px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.sports-promo-btn:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .sports-promo {
    padding: 60px 20px;
  }

  .sports-promo-content {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .sports-promo-text h2 {
    font-size: 2rem;
  }

  .sports-promo-text p {
    font-size: 1rem;
  }
}

.connect {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 40px 24px;
  background: #424242;
  margin-top: 0px;
}
.connect-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #ffffff;
}

.connect-btn,
.apply-btn-2 {
  align-self: flex-end;
  margin-left: 32px;
}

.apply-btn-2 {
  margin-left: auto;
  background: #c0392b;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-emphasis: none;
  text-decoration: none;
}

.apply-btn-2:hover {
  background: #a0522d;
  text-decoration: none;
}

.schools-section,
.connect {
  padding-left: 64px;
  padding-right: 64px;
}

/* WhatsApp Fixed Button */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

.whatsapp-btn img {
  width: 45px;
  height: 45px;
  position: absolute;
  z-index: 2;
}

.rotating-text {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotate 10s linear infinite;
}

.circle-text {
  fill: black;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: "Rubik", sans-serif;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-btn img {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 425px) {
  .whatsapp-btn {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-btn img {
    width: 24px;
    height: 24px;
  }
}

.footer {
  background: #7a7a7a;
  color: #fff;
  width: 100%;
}
.footer-flex {
  display: flex;
  align-items: flex-start; /* Changed from flex-end to center for vertical alignment */
  justify-content: flex-start;
  gap: 32px;
  background: #7a7a7a;
  color: #fff;
  padding: 32px 24px 24px 24px;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}
.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 48px;
  width: 100%;
  padding: 32px 0;
}

.footer-logo {
  width: 100px;
  height: auto;
  margin-right: 48px;
}

.footer-links,
.contact-details-footer,
.social-media {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0;
}

.footer-links p,
.contact-details-footer p,
.social-media p {
  margin: 0 0 8px 0;
  font-weight: bold;
  color: #fff;
  line-height: 1; /* Ensure consistent line height for titles */
}

/* Remove absolute positioning */
.social-media {
  position: static;
  transform: none;
  left: auto;
  top: auto;
}

/* Add styles for contact-details-footer if not already present */
.contact-details-footer {
  color: #fff;
}

.contact-details-footer p {
  margin: 0 0 8px 0;
  font-weight: bold;
}

.contact-details-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-details-footer ul li {
  margin-bottom: 6px;
}

/* Partner Logos Styling */
.partner-logos {
  margin: 0; /* Changed from 24px 0 to 0 to align with other titles */
  text-align: left;
  flex: 1; /* Added to ensure it behaves like the other footer columns */
}

.partner-logos p {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 0; /* Ensure the title sits at the top */
  color: #fff;
  line-height: 1;
}

.partners {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.partners img {
  height: 50px; /* Fixed height for consistency */
  width: auto; /* Maintain aspect ratio */
  /*background-color: #ffffff;*/ /* White background to make the black logo pop */
  padding: 8px 16px; /* Space around the logo */
  border-radius: 6px; /* Soft rounded corners */
  object-fit: contain;
  /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */ /* Subtle shadow for depth */
  transition: transform 0.3s ease;
}

.partners img:hover {
  transform: translateY(-2px); /* Slight lift effect on hover */
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .partners img {
    height: 40px;
    padding: 6px 12px;
  }
}

.social-media p {
  margin-bottom: 8px;
  font-weight: bold;
}
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 8px; /* Add consistent spacing after title */
}
.social-media img {
  width: 28px;
  height: 28px;
}
.footer-links ul {
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  list-style: none;
  margin-bottom: 6px;
  color: #fff;
}

.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
}

.footer-links ul li a:hover {
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  padding: 10px;
  width: 100%; /* Ensure it stretches full width */
}

.footer-contact-links {
  display: flex;
  align-items: center;
  margin-right: 24px; /* Adds margin from the left of the page */
}

.footer-contact p {
  margin: 0;
}

.footer-contact a {
  margin-left: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 10px;
}

.footer-contact a:hover {
  text-decoration: underline;
}
.footer-logo {
  width: 100px;
}
.social-media img {
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 15px;
  height: 15px;
}

.contact-details-footer ul li a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details-footer ul li a:hover {
  color: #e74c3c;
  text-decoration: underline;
}

.contact-details-footer ul li a[href^="mailto:"] {
  cursor: pointer;
}

.contact-details-footer ul li a[href^="tel:"] {
  cursor: pointer;
}

/* Downloads Page Styles */
.downloads-section {
  max-width: 1440px;
  margin: 0 auto; /* Change from 80px auto to 0 auto */
  padding: 48px 64px 80px 64px; /* Add top padding of 48px instead */
}

.downloads-header {
  margin-bottom: 48px;
}

.downloads-header h1,
.blog-hero-container h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 3rem;
  margin-bottom: 16px;
  color: #222;
}

.downloads-subtitle {
  font-size: 1.1rem;
  color: #444;
  max-width: 800px;
}

.downloads-container h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2rem;
  margin-bottom: 32px;
  color: #222;
}

.download-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.file-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 64px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
}

.pdf-icon {
  background-color: #f8d7d9;
  color: #751c0a;
}

.doc-icon {
  background-color: #d7e5f8;
  color: #0a4275;
}

.xls-icon {
  background-color: #d7f8e0;
  color: #0a7542;
}

.download-content {
  flex: 1;
}

.download-content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #222;
}

.update-date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
}

.file-description {
  font-size: 1rem;
  color: #444;
  margin: 0;
}

.download-btn {
  background: #c0392b;
  color: #fff;
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.download-btn:hover {
  background: #a0522d;
}

/* About Us Page Styles */
/* Breadcrumb styles */
.breadcrumb-section {
  margin-top: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}

.breadcrumb {
  font-size: 0.9rem;
  color: #333;
}

.breadcrumb-link {
  color: #c97b7b;
}

/* Hero section styles */
.about-hero {
  width: 100%;
  max-width: 100%; /* Removes the width restriction */
  padding: 0; /* Removes side padding (wasted space) */
  margin: 0;
}

.about-hero-image {
  width: 100%;
  height: 70vh; /* Makes the image much taller (60-70% of screen height) */
  position: relative;
  overflow: hidden;
  border-radius: 0; /* Removes rounded corners for a full-width look */
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the area without stretching */
  object-position: center;
  display: block;
}

/* Overlay to make text readable */
.about-hero-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Adds a slight dark tint */
  z-index: 1;
}

.about-hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2; /* Ensures text sits on top of the overlay */
  width: 90%;
  max-width: 1000px;
}

.about-hero-text h1 {
  font-size: 4rem; /* Larger text for the larger image */
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.about-hero-text p {
  font-size: 1.5rem;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .about-hero-image {
    height: 50vh; /* Slightly shorter on mobile */
  }

  .about-hero-text h1 {
    font-size: 2.5rem;
  }

  .about-hero-text p {
    font-size: 1.1rem;
  }
}

/* Introduction Section */
.about-intro {
  max-width: 900px;
  margin: 0 auto 48px;
  padding: 0 16px;
}

.about-intro p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

/* Vision, Mission, Values Section */
.vision-mission {
  max-width: 900px;
  margin: 0 auto 64px;
  padding: 0 16px;
}

.vision-mission h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2rem;
  margin-bottom: 24px;
}

.vision-mission-table {
  margin-bottom: 32px;
}

.vision-row {
  display: flex;
  margin-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 16px;
}

.vision-label {
  width: 120px;
  color: #c0392b;
  font-weight: 500;
}

.vision-content {
  flex: 1;
}

/* Core Values Grid Layout */
.core-values-1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cards side-by-side */
  gap: 24px; /* Space between cards */
  margin-top: 40px;
  width: 100%;
}

/* Card Styling */
.value-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border: 1px solid #e0e0e0;
  border-radius: 12px; /* Rounded corners */
  background-color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.value-card:hover {
  transform: translateY(-5px); /* Lift effect */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: #751c0a; /* Highlight border on hover */
}

.value-icon img {
  width: 32px;
  height: 32px;
}

.value-name {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #222;
}

/* Responsive Design */
@media (max-width: 968px) {
  .core-values-1 {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row on tablets */
  }
}

@media (max-width: 600px) {
  .core-values-1 {
    grid-template-columns: 1fr; /* Stack vertically on mobile */
  }
}

/* Why Choose Section */
.why-choose {
  max-width: 900px;
  margin: 0 auto 64px;
  padding: 0 16px;
}

.why-choose h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2rem;
  margin-bottom: 16px;
}

.why-choose p {
  margin-bottom: 24px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-icon img {
  width: 32px;
  height: 32px;
  display: block;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.feature-icon {
  min-width: 24px;
  color: #751c0a;
}

.feature-text {
  font-size: 1.05rem;
}

/* Christian Foundation Section */
.christian-foundation {
  max-width: 900px;
  margin: 0 auto 64px;
  padding: 0 16px;
}

.christian-foundation h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2rem;
  margin-bottom: 16px;
}

.christian-foundation p {
  font-size: 1.05rem;
  line-height: 1.6;
}

/* CTA Section */
.about-cta {
  background-color: #f9f9f9;
  padding: 48px 24px;
  text-align: center;
  margin-bottom: 0;
}

.about-cta h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.2rem;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.view-academics-btn,
.admissions-btn {
  padding: 12px 32px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}

.view-academics-btn {
  background-color: #c0392b;
  color: white;
}

.view-academics-btn:hover {
  background-color: #a0522d;
}

.admissions-btn {
  background-color: white;
  color: #333;
  border: 1px solid #ddd;
}

/* Media Queries */
@media (max-width: 768px) {
  .about-hero-text h1 {
    font-size: 2.5rem;
  }

  .vision-row {
    flex-direction: column;
  }

  .vision-label {
    margin-bottom: 8px;
  }

  .core-values {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .value-card {
    width: 100%;
    max-width: 280px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .view-academics-btn,
  .admissions-btn {
    display: block;
    width: 100%;
    max-width: 300px;
  }

  .carousel-images {
    height: 350px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .about-hero-text h1 {
    font-size: 2rem;
  }

  .about-hero-text p {
    font-size: 1rem;
  }

  /* Fix: Ensure image fills the container height, overriding the fixed 260px */
  .about-hero-image img {
    height: 100% !important;
    object-fit: cover;
  }

  /* Set a proportional height for the container */
  .about-hero-image {
    height: 50vh;
    min-height: 300px;
  }

  .value-card {
    width: 100%;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .view-academics-btn,
  .admissions-btn {
    width: 100%;
    max-width: 280px;
    margin-bottom: 12px;
    padding: 12px 16px;
    box-sizing: border-box;
  }

  .about-cta h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .carousel-images {
    height: 250px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

@media (max-width: 425px) {
  .value-card {
    max-width: 220px; /* Significantly narrower for small screens */
    padding: 10px 14px; /* Reduce padding to make content fit better */
    margin-left: auto;
    margin-right: auto;
  }

  .value-icon {
    min-width: 20px; /* Slightly smaller icon area */
  }

  .value-icon img,
  .value-icon svg {
    width: 20px;
    height: 20px;
  }

  .value-name {
    font-size: 0.9rem; /* Slightly smaller text */
  }

  /* Make hero taller on very small screens for better impact */
  .about-hero-image {
    height: 60vh;
    min-height: 350px;
  }

  /* Adjust text size for readability */
  .about-hero-text {
    width: 90%;
    padding: 0;
  }

  .about-hero-text h1 {
    font-size: 2rem; /* Smaller than desktop but large enough to read */
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .about-hero-text p {
    font-size: 1rem;
    line-height: 1.4;
  }

  /* Ensure content has proper breathing room */
  .about-intro,
  .vision-mission,
  .why-choose,
  .christian-foundation {
    padding: 0 24px;
  }
}

/* Academics Page Styles */
/* Breadcrumb styles */
.breadcrumb-section {
  margin-top: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.breadcrumb {
  font-size: 0.9rem;
  color: #333;
}

.breadcrumb-link {
  color: #c97b7b;
}

/* Hero section styles */
.academics-hero {
  margin-bottom: 48px;
}

.academics-hero-image {
  position: relative;
}

.academics-hero-image img {
  width: 100%;
  max-width: 900px;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07); /* Added shadow for consistency with other pages */
}

.academics-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0); /* Changed to transparent */
  border-radius: 16px;
}

.academics-hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); /* Added text shadow for better readability */
  text-align: center;
  width: 100%;
}

.academics-hero-text h1 {
  font-size: 2.5rem;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  margin-bottom: 8px;
}

.academics-hero-text p {
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.explore-programs-btn {
  background: #c0392b;
  color: #fff;
  padding: 12px 32px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}

/* Overview section */
.academics-overview {
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.overview-title {
  font-family: "Open Sans", sans-serif;
  font-size: 2rem;
  margin-bottom: 12px;
}

.academics-overview p {
  font-size: 1.1rem;
  color: #444;
}

/* Tabs styling */
.academics-tabs {
  max-width: 900px;
  margin: 0 auto 32px auto;
}

.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #eee;
}

.tab-btn {
  background: none;
  border: none;
  font-weight: 700;
  padding: 12px 0 16px 0;
  color: #222;
  cursor: pointer;
}

.tab-btn.active {
  color: #c0392b;
  border-bottom: 2px solid #c0392b;
}

/* Academic sections */
.academics-section {
  max-width: 900px;
  margin: 0 auto 40px auto;
  display: none;
}

.academics-section.active {
  display: block;
}

.academics-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.academics-section p {
  margin-bottom: 16px;
}

/* Table styles */
.academics-table {
  width: 100%;
  margin-bottom: 16px;
  border-collapse: collapse;
}

.academics-table tr {
  border-bottom: 1px solid #f0f0f0;
}

.academics-table td {
  padding: 8px 0;
  vertical-align: top;
}

.table-label {
  color: #c0392b;
  font-weight: 500;
  width: 120px;
}

.subject-group {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.learning-approach {
  padding: 8px 0;
  margin-top: 8px;
}
/* Subject groups */
.subject-group strong,
.learning-approach strong {
  color: #c0392b;
  font-weight: 500;
  display: inline-block;
  width: 180px;
  vertical-align: top;
}

/* CTA Section */
.academics-cta {
  background: #f9f9f9;
  padding: 48px 0;
  text-align: center;
}

.academics-cta h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2rem;
  margin-bottom: 48px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.apply-now-btn {
  background-color: #c0392b;
  color: white;
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  text-align: center;
  transition: background-color 0.3s ease;
  /* Ensure it doesn't get too wide on mobile */
  max-width: 280px;
  width: auto;
}

.apply-now-btn:hover {
  background-color: #a93226;
}

/* Mobile Responsiveness for 320px and up */
@media (max-width: 480px) {
  .academics-cta {
    padding: 40px 20px;
  }

  .academics-cta h2 {
    font-size: 1.75rem;
    margin-bottom: 24px;
  }

  .apply-now-btn {
    width: 100%; /* Takes full width up to max-width */
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box; /* Ensures padding doesn't add to width */
  }
}

/* Media queries */
@media (max-width: 900px) {
  .academics-hero-image img,
  .academics-overview,
  .academics-tabs,
  .academics-section {
    max-width: 100%;
    padding: 0 16px;
  }

  .academics-hero-text h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .academics-hero-text p {
    font-size: 1rem;
    padding: 0 16px;
  }
}

@media (max-width: 600px) {
  .tabs {
    flex-direction: column;
    gap: 8px;
    border-bottom: none;
    align-items: center;
  }

  .tab-btn {
    width: 100%;
    max-width: 300px;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 12px;
  }

  .tab-btn.active {
    background: #c0392b;
    color: white;
    border-bottom: 1px solid #c0392b;
  }

  .academics-hero-text h1 {
    font-size: 1.8rem;
  }

  .subject-group strong,
  .learning-approach strong {
    display: block;
    width: 100%;
    margin-bottom: 4px;
  }
}

/* Admissions Page Styles */
/* Hero Section */
.admissions-hero {
  position: relative;
  height: 360px;
  background-image: url("Assets/school-building.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 64px;
  margin-top: 48px; /* Add this to create space below navbar */
  margin-bottom: 64px;
}

.admissions-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.admissions-hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 600px;
}

.admissions-hero h1 {
  font-family: "Open Sans", sans-serif;
  font-size: 3.2rem;
  margin-bottom: 16px;
}

.admissions-hero p {
  font-size: 1.2rem;
  font-weight: 300;
}

/* Enrollment Process */
.enrollment-process {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 64px;
  margin-bottom: 80px;
}

.enrollment-process h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 16px;
}

.process-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 48px;
}

.enrollment-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.enrollment-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-icon {
  min-width: 48px;
  height: 48px;
  background-color: #faf0ed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.step-icon svg {
  width: 24px;
  height: 24px;
}

.step-content h3 {
  font-family: "Open Sans", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #222;
}

.step-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* CTA Section */
.admissions-cta {
  text-align: center;
  background-color: #f9f9f9;
  padding: 48px 24px; /* Adjusted side padding */
  margin-bottom: 0;
}

.admissions-cta h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2rem;
  margin-bottom: 16px;
}

.admissions-cta p {
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.apply-now-btn,
.contact-admissions-btn {
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  flex: 1;
  max-width: 220px;
}

.apply-now-btn {
  background-color: #c0392b;
  color: white;
}

.contact-admissions-btn {
  background-color: white;
  color: #333;
  border: 1px solid #ddd;
}

.apply-now-btn:hover {
  background-color: #8f2212;
}

.contact-admissions-btn:hover {
  background-color: #f5f5f5;
}

/* FAQ Section */
.admissions-faq {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 64px;
  margin-bottom: 80px;
}

.admissions-faq h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 48px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  background-color: #fff;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-toggle {
  font-size: 1.5rem;
  color: #751c0a;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: #555;
  line-height: 1.6;
}

/* Help Section */
.admissions-help {
  background-color: #e11b1e;
  color: white;
  padding: 64px;
  text-align: center;
  margin-bottom: 0; /* Changed from 80px to 0 */
}

.admissions-help h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.admissions-help p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.talk-to-us-btn {
  display: inline-block;
  background-color: white;
  color: #c0392b;
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 16px;
  max-width: 90%; /* Prevent overflow */
}

.talk-to-us-btn:hover {
  background-color: #f5f5f5;
}

/* Media Queries for Admissions Page */
@media (max-width: 900px) {
  .admissions-hero {
    padding: 0 32px;
    height: 300px;
  }

  .enrollment-process,
  .admissions-faq {
    padding: 0 32px;
  }

  .admissions-cta,
  .admissions-help {
    padding: 48px 32px;
  }
}

@media (max-width: 768px) {
  .admissions-hero h1 {
    font-size: 2.5rem;
  }

  .enrollment-process h2,
  .admissions-faq h2,
  .admissions-cta h2,
  .admissions-help h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 16px;
  }

  .apply-now-btn,
  .contact-admissions-btn,
  .talk-to-us-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .admissions-hero {
    height: 250px;
    padding: 0 16px;
  }

  .admissions-hero h1 {
    font-size: 2rem;
  }

  .enrollment-process,
  .admissions-faq {
    padding: 0 16px;
    margin-bottom: 64px;
  }

  .step-icon {
    min-width: 36px;
    height: 36px;
  }

  .step-content h3 {
    font-size: 1.2rem;
  }

  .admissions-cta,
  .admissions-help {
    padding: 40px 16px;
    /*margin-bottom: 64px;*/
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .apply-now-btn,
  .contact-admissions-btn {
    width: 100%;
    max-width: 280px;
    margin-bottom: 12px;
    padding: 12px 16px;
  }

  .admissions-cta h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .talk-to-us-btn {
    padding: 10px 16px;
    font-size: 0.95rem;
    width: auto;
    max-width: 80%;
  }

  .admissions-help {
    padding: 48px 16px; /* Reduce side padding on small screens */
  }

  .admissions-help h2 {
    font-size: 1.8rem; /* Slightly smaller heading */
  }

  .admissions-help p {
    font-size: 0.95rem;
    margin: 0 auto;
    max-width: 90%;
    padding-bottom: 20px;
  }
}

@media (max-width: 425px) {
  .enrollment-step {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .step-icon {
    margin-bottom: 8px;
  }
}
/* Media Queries */
@media (max-width: 1200px) {
  body,
  header.nav,
  .footer-main {
    max-width: 98vw;
    /*padding-left: 16px;
    padding-right: 16px;*/
  }

  main {
    max-width: 98vw;
  }

  .discover-content,
  .schools-section,
  .choose-section {
    margin-left: 16px;
    margin-right: 16px;
  }
}

@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    gap: 32px;
  }

  .footer-logo {
    margin-right: 0;
    margin-bottom: 24px;
  }

  .footer-links,
  .contact-details-footer,
  .social-media {
    width: 100%;
  }

  .schools-cards,
  .choose-cards {
    flex-direction: column;
    align-items: center;
  }

  .schools-card,
  .choose-card {
    max-width: 100%;
  }

  .discover-features {
    flex-direction: column;
    align-items: center;
  }

  .feature {
    width: 100%;
    max-width: 400px;
  }
  .schools-cards {
    gap: 32px;
  }

  .schools-card {
    flex: 1 1 100%;
    min-width: unset;
    max-width: 500px;
  }
}
@media (max-width: 768px) {
  header.nav {
    padding: 16px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .menu-toggle {
    display: flex;
  }

  /* Hide enroll button from header */
  .nav-right .enroll-btn {
    display: none;
  }

  .Navbar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }

  .Navbar.active {
    display: block;
    width: 100%; /*from 200px*/
    right: auto;
    left: 0; /*from 50%*/
    transform: none; /* translateX(-50%)*/
  }

  .Navbar ul {
    flex-direction: column;
    align-items: center; /* Center the links horizontally */
    justify-content: center; /* Center vertically if needed */
    gap: 16px;
    padding: 16px 0;
    margin: 0;
    width: 100%;
    text-align: center; /* Center text inside links */
  }

  .Navbar ul li {
    width: 100%;
    text-align: center; /* Center each list item */
  }

  .Navbar ul li a {
    display: block;
    width: 100%;
    padding: 8px 0;
    text-align: center; /* Center the link text */
    font-size: 15px;
  }

  .Navbar .enroll-btn {
    width: calc(100% - 32px);
    margin: 16px auto;
    display: block;
    text-align: center;
  }

  /* Add padding to container to ensure proper alignment */
  .Navbar {
    padding: 8px 0;
    text-align: center;
    box-sizing: border-box;
  }
  .choose-card {
    justify-content: center;
    align-items: center;
  }
}
@media (max-width: 600px) {
  header.nav {
    display: flex;
    flex-direction: row;
    gap: 16px;
    padding: 16px 8px;
  }

  .Navbar ul {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .hero {
    padding: 32px 16px 0 16px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .apply-btn,
  .learn-btn {
    width: 100%;
  }

  .connect {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 24px 16px;
  }

  .connect-btn,
  .apply-btn-2 {
    align-self: center;
    margin-left: 0;
    width: 100%;
  }

  .apply-btn-2 {
    margin-left: 0;
    margin: 16px auto;
    display: block;
    width: calc(100% - 32px);
    max-width: 300px;
    text-align: center;
    padding: 10px 20px;
  }

  .footer-contact {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-contact-links {
    margin-right: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .social-icons {
    justify-content: center;
  }

  .schools-section {
    margin-top: 64px;
    margin-bottom: 64px;
    padding: 0 16px;
  }

  .schools-cards {
    gap: 24px;
  }
  /* Discover section styling now handled by default styles */
}

@media (max-width: 425px) {
  header.nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
  }

  .logo {
    margin: 0;
    height: 40px;
    width: 40px;
  }

  .nav-right {
    display: flex;
    align-items: center;
    margin-left: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .Navbar {
    display: none;
  }
  /* Discover section styling now handled by default styles */
  .schools-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
  }

  .schools-card {
    width: 90% !important;
    max-width: 350px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }

  .apply-btn-2 {
    margin-left: 0;
    margin: 16px auto;
    display: block;
    width: calc(100% - 32px);
    max-width: 280px;
    text-align: center;
    padding: 12px 16px;
    font-size: 14px;
  }
}

@media (max-width: 320px) {
  .discover-content {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    margin-left: 12px !important;
    margin-right: 12px !important;
  }
  .discover-content h2 {
    font-size: 1.2rem !important;
    margin-bottom: 8px !important;
  }
  .Discover {
    font-size: 1.4rem !important;
    margin-bottom: 8px !important;
  }
  .discover-text p {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 400px) {
  header.nav {
    padding: 12px 16px;
    flex-direction: row; /* Keep items in a row */
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    width: 40px;
    height: 40px;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .menu-toggle {
    margin-left: auto; /* Push to the right */
  }

  .enroll-btn {
    font-size: 14px;
    padding: 6px 12px;
    width: auto; /* Remove full width */
    margin-top: 0;
  }

  /* Hide the regular nav menu */
  .Navbar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }

  .Navbar.active {
    display: block;
  }

  .Navbar ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .feature {
    padding: 16px 12px;
  }

  .footer-logo {
    width: 80px;
  }

  /* Center choose and schools sections */
  .choose-section,
  .schools-section {
    padding: 24px 16px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .choose-cards,
  .schools-cards {
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .choose-card,
  .schools-card {
    flex: 1 1 100%;
    min-width: unset;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 16px;
    margin: 0;
  }

  .schools-section {
    padding: 24px 16px;
    margin: 0;
  }

  .schools-content {
    text-align: center;
    margin-bottom: 40px;
  }

  .schools-content h2 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: #222;
    text-align: center;
  }

  .schools-card {
    padding: 16px;
    text-align: left;
    margin-bottom: 16px;
    background: none;
    box-shadow: none;
    border-bottom: 1px solid #eee;
  }

  .schools-card:last-child {
    border-bottom: none;
  }

  /* Text styling for schools cards */
  .schools-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #222;
  }

  .schools-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
  }

  /* Navigation adjustments */
  .enroll-btn {
    width: 100%;
    margin-top: 8px;
  }

  /* Hero section adjustments */
  .hero {
    padding: 24px 16px;
  }

  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .hero-subtext {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 24px;
  }

  /* Button adjustments */
  .apply-btn,
  .learn-btn {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
  }

  /* Footer adjustments */
  .footer-main {
    flex-direction: column;
    padding: 24px 16px;
    gap: 24px;
  }

  .footer-logo {
    width: 80px;
    margin-bottom: 16px;
  }

  .footer-links,
  .contact-details-footer,
  .social-media {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  /* Ensure container stays within viewport */
  main {
    width: 100%;
    padding: 0;
    overflow-x: hidden;
  }
}

/* Center nav links for large screens */
@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .logo {
    height: 48px;
    margin-right: 32px;
    flex-shrink: 0;
  }

  .Navbar {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
  }

  .Navbar ul {
    display: flex;
    gap: 32px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    flex: 1;
    justify-content: center;
  }

  .enroll-btn {
    margin-left: 0;
    flex-shrink: 0;
  }

  .nav-right {
    display: none; /* Hide hamburger on large screens */
  }
  .schools-cards {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    flex-wrap: nowrap;
  }
  .schools-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 32px 24px;
    flex: 1 1 0;
    min-width: 220px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
  }
}

@media (max-width: 1024px) {
  /*.blog {
    /* padding: 48px 20px; 
  }*/

  .blog-container h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  /*.blog {
    padding: 40px 16px; 
  }*/

  .blog-container h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }

  .blog-post {
    margin-bottom: 32px;
  }

  .blog-post h3 {
    font-size: 1.5rem;
  }

  .blog-post p {
    font-size: 1rem;
  }

  .read-more-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

/* Media Queries for 425 px and below */
@media (max-width: 425px) {
  .discover-content {
    padding-top: 30px !important;
    padding-bottom: 20px !important; /* Reduced from 30px to 20px */
    margin-left: 16px !important;
    margin-right: 16px !important;
  }
  .discover-row {
    margin-bottom: 16px !important;
    gap: 8px !important; /* Reduced gap for mobile */
  }
  .discover-content h2 {
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }
  .Discover {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }
  .discover-text p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-top: 0 !important;
  }

  /*.blog {
    padding: 32px 12px; 
  }*/

  .blog-container h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .blog-post {
    margin-bottom: 24px;
  }

  .blog-post h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .blog-post p {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }

  .read-more-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}
@media (min-width: 768px) {
  .discover-content {
    margin-left: 48px;
    margin-right: 48px;
    padding-top: 80px;
    padding-bottom: 50px; /* Reduced from 80px to 50px */
  }

  .discover-content h2 {
    font-size: 1.6rem;
  }

  .Discover {
    font-size: 1.7rem;
  }
}

@media (min-width: 1024px) {
  /* Restore horizontal layout only for larger screens */
  .discover-content {
    margin-left: 64px;
    margin-right: 64px;
    padding-top: 112px;
    padding-bottom: 60px; /* Reduced from 112px to 60px */
  }

  .discover-row {
    flex-direction: row;
    align-items: flex-start; /* Align to the top for better text alignment */
    gap: 32px;
    margin-bottom: 24px;
  }

  .Discover {
    flex: 1 1 350px;
    margin: 0;
    width: auto; /* Reset width */
    font-size: 2rem; /* Larger for desktop */
    padding-top: 0; /* Align with paragraph text */
  }
  .discover-text {
    flex: 2 1 350px;
    width: auto; /* Reset width */
  }

  .choose-cards {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    flex-wrap: nowrap;
  }
}
/*school cards*/
@media (max-width: 768px) {
  .schools-cards {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 24px;
  }
}
@media (min-width: 900px) {
  .schools-cards {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 24px;
  }
}

/*Download Page MQ*/
/* Media Queries for Downloads Page */
@media (max-width: 900px) {
  .downloads-section {
    padding: 0 32px;
    margin: 64px auto;
  }
}

@media (max-width: 768px) {
  .downloads-section {
    padding: 0 24px;
    margin: 48px auto;
  }

  .downloads-header {
    margin-bottom: 48px;
  }

  .downloads-header h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  .download-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 16px;
  }

  .file-icon {
    margin-bottom: 16px;
  }

  .download-content {
    margin-bottom: 20px;
    width: 100%;
  }

  .download-btn {
    align-self: flex-start;
  }
}

@media (max-width: 425px) {
  .downloads-section {
    padding: 0 16px;
    margin: 32px auto;
  }

  .downloads-header h1 {
    font-size: 2rem;
  }

  .downloads-subtitle {
    font-size: 1rem;
  }
}

/*blog.html querries*/
/* Blog Hero Section */
.blog-page {
  padding: 48px 64px 80px 64px;
}

.blog-hero {
  width: 100%;
  padding-top: 64px;
  padding-bottom: 64px;
  /*padding: 64px 24px;*/
  background: #fff; /* Light background for consistency */
  text-align: center;
}

.blog-hero-header {
  max-width: 800px;
  margin: 0 auto;
}

.blog-hero-header h1 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 16px;
}

.blog-hero-header p {
  font-family: "Rubik", sans-serif;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

/* Events Section */
.events {
  width: 100%;
  /*padding: 64px 24px;*/
  /*background: #f9f9f9;  Light background for contrast */
}

.events-header {
  text-align: center;
  margin-bottom: 32px;
}

.events-header h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
}

.events-header p {
  font-family: "Rubik", sans-serif;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 24px; /* Space between event items */
}

.event-item {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.event-item .event-date {
  flex-shrink: 0;
  text-align: center;
  margin-right: 24px;
  font-size: 1.8rem;
  font-weight: 500;

  color: #c0392b; /* Highlighted date color */
  background: #f3f3f3; /* Light background for the date */
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for emphasis */
}

.event-item .event-date span {
  display: block;
  font-size: 1rem;
  color: #444; /* Month/year color */
}

.event-item .event-details {
  flex-grow: 1;
}

.event-item .event-details h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.event-item .event-details p {
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  color: #444;
  margin-bottom: 4px;
}

/* Calendar CTA Button */
.calendar-cta {
  text-align: center;
  margin-top: 48px;
  margin-bottom: 24px;
}

.calendar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  color: #4285f4; /* Google Blue */
  border: 2px solid #4285f4;
  padding: 12px 32px;
  border-radius: 50px; /* Pill shape */
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.calendar-btn:hover {
  background-color: #4285f4;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(66, 133, 244, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .events {
    padding: 48px 16px;
  }

  .event-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-item .event-date {
    margin-bottom: 12px;
    margin-right: 0;
  }

  .event-item .event-date span {
    font-size: 0.9rem;
  }

  .event-item .event-details h3 {
    font-size: 1.3rem;
  }

  .event-item .event-details p {
    font-size: 0.95rem;
  }

  .calendar-cta {
    margin-top: 32px;
  }

  .calendar-btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 425px) {
  .events {
    padding: 32px 12px;
  }

  .event-item {
    padding: 12px 16px;
  }

  .event-item .event-date {
    font-size: 1.5rem;
  }

  .event-item .event-date span {
    font-size: 0.85rem;
  }

  .event-item .event-details h3 {
    font-size: 1.2rem;
  }

  .event-item .event-details p {
    font-size: 0.9rem;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .events {
    padding: 48px 16px;
  }

  .event-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-item .event-date {
    margin-bottom: 12px;
    margin-right: 0;
  }

  .event-item .event-date span {
    font-size: 0.9rem;
  }

  .event-item .event-details h3 {
    font-size: 1.3rem;
  }

  .event-item .event-details p {
    font-size: 0.95rem;
  }
}

@media (max-width: 425px) {
  .events {
    padding: 32px 12px;
  }

  .event-item {
    padding: 12px 16px;
  }

  .event-item .event-date {
    font-size: 1.5rem;
  }

  .event-item .event-date span {
    font-size: 0.85rem;
  }

  .event-item .event-details h3 {
    font-size: 1.2rem;
  }

  .event-item .event-details p {
    font-size: 0.9rem;
  }
}

/* Blog Post Section */
/*Blog Page*/
.blog-posts-section {
  padding-top: 64px;
  padding-bottom: 64px;
  width: 100%;
  /*padding: 64px 24px;*/
  background: #f9f9f9; /* Light background for contrast */
}

.blog-posts-header {
  text-align: center;
  margin-bottom: 32px;
}

.blog-posts-header h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
}
.blog-posts-list {
  display: flex; /* Use flexbox for side-by-side layout */
  flex-wrap: wrap; /* Allow wrapping for smaller screens */
  gap: 24px; /* Add spacing between cards */
  justify-content: center; /* Center the cards */
}

.blog-post-item {
  flex: 1 1 calc(50% - 24px); /* Each card takes up 50% width minus the gap */
  max-width: 540px; /* Limit the maximum width of each card */
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  overflow: hidden;
}

.blog-post-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.blog-post-content {
  padding: 16px 24px;
}

.blog-post-content h3 {
  font-family: "Open Sans", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.blog-post-content p {
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-post-content a {
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  color: #c0392b;
  text-decoration: none;
  font-weight: 500;
}

.blog-post-content a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-post-item {
    flex: 1 1 100%; /* Stack cards vertically on smaller screens */
  }

  .blog-post-item {
    max-width: 100%;
  }

  .blog-post-content h3 {
    font-size: 1.5rem;
  }

  .blog-post-content p {
    font-size: 0.95rem;
  }

  .blog-post-content a {
    font-size: 0.95rem;
  }
}

@media (max-width: 425px) {
  /*.blog-posts-section {
    padding: 32px 12px;
  }*/

  .blog-post-content h3 {
    font-size: 1.3rem;
  }

  .blog-post-content p {
    font-size: 0.9rem;
  }

  .blog-post-content a {
    font-size: 0.9rem;
  }
}

/* Blog Post Section */
.blog-post-section {
  width: 100%;
  /*padding: 64px 24px;*/
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff; /* Keep the background clean */
}

.blog-post-header {
  text-align: center;
  margin-bottom: 32px;
}

.blog-post-header h1 {
  font-family: "Open Sans", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
}

.blog-post-image {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 32px auto; /* Add spacing below the image */
}

.blog-post-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1); /* Add shadow for emphasis */
}

.blog-post-content {
  max-width: 800px;
  text-align: left;
}

.blog-post-content h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 16px;
}

.blog-post-content p {
  font-family: "Rubik", sans-serif;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  /*.blog-post-header h1 {
    font-size: 2.5rem;
  }*/

  .blog-post-content h2 {
    font-size: 1.8rem;
  }

  .blog-post-content p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  /*.blog-post-section {
    padding: 48px 16px;
  }*/

  .blog-post-header h1 {
    font-size: 2rem;
  }

  .blog-post-content h2 {
    font-size: 1.6rem;
  }

  .blog-post-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 425px) {
  /*.blog-post-section {
    padding: 32px 12px;
  }*/

  .blog-post-header h1 {
    font-size: 1.8rem;
  }

  .blog-post-content h2 {
    font-size: 1.4rem;
  }

  .blog-post-content p {
    font-size: 0.9rem;
  }
}

/* 1. Hero Section - Matches Home/Admissions Hero */
.transport-hero {
  text-align: center;
  padding: 80px 24px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.transport-hero h1 {
  font-family: "Open Sans", sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: #111;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-family: "Rubik", sans-serif;
  color: #444;
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 40px;
}

/* 2. Overview Section - Matches Mission Section */
.transport-overview {
  padding: 60px 24px;
  text-align: center;
  background-color: #fff;
  max-width: 1000px;
  margin: 0 auto;
}

.transport-overview h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 24px;
}

.section-description {
  font-family: "Rubik", sans-serif;
  font-size: 1.125rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* 3. Features Section - Matches Core Values Grid */
.transport-features {
  padding: 80px 24px;
  background-color: #f9f9f9; /* Light gray background for contrast */
}

.transport-features .container {
  max-width: 1200px;
  margin: 0 auto;
}

.transport-features h2 {
  text-align: center;
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns side-by-side */
  gap: 32px;
}

.feature-card {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid #751c0a; /* Brand accent color */
  text-align: left;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
  font-family: "Open Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #751c0a;
}

.feature-card p {
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* 4. Contact/CTA Section - Matches Admissions CTA */
.transport-contact {
  background-color: #751c0a; /* Brand Red/Brown */
  color: #fff;
  padding: 80px 24px;
  text-align: center;
}

.transport-contact h2 {
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.transport-contact .section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item p {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
}

.contact-item a {
  color: #fff;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Button Styles */
.btn-primary {
  background-color: #c0392b;
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  transition: all 0.3s ease;
}

.transport-contact .btn-primary {
  background-color: #fff;
  color: #e11b1e; /* Inverted for dark background */
}

.transport-contact .btn-primary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .transport-hero h1 {
    font-size: 3rem;
  }
  .features-grid {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .transport-hero {
    padding-top: 60px;
  }
  .transport-hero h1 {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }

  .features-grid {
    grid-template-columns: 1fr; /* Stack cards on mobile */
  }

  .contact-info {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .transport-contact h2 {
    font-size: 2rem;
  }
}

/* 1. Hero Section - Consistent with Transport/Admissions */
.catering-hero {
  text-align: center;
  padding: 80px 24px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.catering-hero h1 {
  font-family: "Open Sans", sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: #111;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

/* 2. Menu Section */
.catering-menu {
  padding: 60px 24px;
  text-align: center;
  background-color: #fff;
}

.catering-menu .container {
  max-width: 1000px;
  margin: 0 auto;
}

.catering-menu h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.menu-image-wrapper {
  margin: 40px auto;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.catering-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 3. Features Section - Reusing Grid Layout */
.catering-features {
  padding: 80px 24px;
  background-color: #f9f9f9;
}

.catering-features .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .catering-hero h1 {
    font-size: 2.5rem;
  }

  .catering-menu h2 {
    font-size: 2rem;
  }

  .menu-image-wrapper {
    margin: 32px auto;
  }
}

/* 1. Hero Section */
.chaplain-hero {
  text-align: center;
  padding: 80px 24px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.chaplain-hero h1 {
  font-family: "Open Sans", sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: #111;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

/* 2. Welcome Section */
.chaplain-welcome {
  padding: 60px 24px;
  text-align: center;
  background-color: #fff;
}

.chaplain-welcome .container {
  max-width: 900px;
  margin: 0 auto;
}

.chaplain-welcome h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #e67e22; /* Using a warm accent color for Chaplaincy */
}

.service-time-box {
  background-color: #fff8e1; /* Light warm background */
  border: 1px solid #ffe082;
  padding: 24px;
  border-radius: 8px;
  margin-top: 40px;
  display: inline-block;
  width: 100%;
  max-width: 700px;
  box-sizing: border-box; /* Ensures padding doesn't make the box wider than 100% */
}

.service-time-box p {
  margin: 8px 0;
  font-size: 1rem;
  color: #5d4037;
}

/* 3. Features Section (Reusing Grid) */
.chaplain-features {
  padding: 80px 24px;
  background-color: #f9f9f9;
}

.chaplain-features .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* 4. Schedule Section */
.chaplain-schedule {
  padding: 80px 24px;
  background-color: #fff;
  text-align: center;
}

.chaplain-schedule h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #e67e22;
}

.schedule-list {
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid #eee;
  font-family: "Rubik", sans-serif;
  font-size: 1.1rem;
  color: #444;
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-item .time {
  font-weight: 600;
  color: #751c0a;
}

/* 5. Contact CTA */
.chaplain-contact {
  background-color: #eef2f5; /* Light grey/blue from screenshot */
  padding: 80px 24px;
  text-align: center;
}

.chaplain-contact h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.25rem;
  margin-bottom: 24px;
  color: #2c3e50;
}

.contact-info-box {
  margin: 32px 0 40px;
  font-family: "Rubik", sans-serif;
  color: #555;
}

.chaplain-contact .btn-primary {
  background-color: #f39c12; /* Warm button color */
  color: #fff;
}

.chaplain-contact .btn-primary:hover {
  background-color: #d35400;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  /* Stack the feature cards sooner (on tablets) so they don't get too narrow */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-card {
    padding: 30px; /* Slightly less padding on tablet */
  }
}

@media (max-width: 768px) {
  /* Adjust section padding for mobile/tablet */
  .chaplain-hero,
  .chaplain-welcome,
  .chaplain-features,
  .chaplain-schedule,
  .chaplain-contact {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .chaplain-hero h1 {
    font-size: 2.5rem;
  }

  /* Make the yellow box more compact on mobile */
  .service-time-box {
    padding: 20px;
    margin-top: 30px;
  }

  /* Adjust schedule list for mobile */
  .schedule-item {
    flex-direction: column; /* Stack day and time vertically */
    align-items: flex-start;
    gap: 8px;
    text-align: left;
  }

  .schedule-item .time {
    color: #e67e22; /* Make time pop when stacked */
  }
}

/* 1. Hero Section */
.counselling-hero {
  text-align: center;
  padding: 80px 24px 60px;
  background-color: #e0f7fa; /* Soft blue/green background from design */
  max-width: 100%; /* Full width background */
}

.counselling-hero h1 {
  font-family: "Open Sans", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: black; /* Darker teal for contrast */
  line-height: 1.2;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.counselling-hero .hero-subtitle {
  color: #455a64;
  margin-bottom: 40px;
}

.counselling-hero .btn-primary {
  background-color: #c0392b; /* Soft coral button */
  color: #fff;
}

.counselling-hero .btn-primary:hover {
  background-color: #ff8a65;
  transform: translateY(-2px);
}

/* 2. Intro Section */
.counselling-intro {
  padding: 80px 24px;
  text-align: center;
  background-color: #fff;
}

.counselling-intro .container {
  max-width: 800px;
  margin: 0 auto;
}

.counselling-intro h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 24px;
}

/* 3. What We Offer (Grid) */
.counselling-offer {
  padding: 80px 24px;
  background-color: #e0f2f1; /* Very light teal background */
}

.counselling-offer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.counselling-offer h2 {
  text-align: center;
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 56px;
  color: black;
}

/* Reusing .features-grid from Transport page, but customizing cards */
.counselling-offer .feature-card {
  background: #fff;
  border-left: 5px solid #4db6ac; /* Teal accent border */
  text-align: center; /* Center text for these cards */
}

.counselling-offer .feature-card h3 {
  color: black;
  margin-bottom: 16px;
}

/* 4. Our Approach */
.counselling-approach {
  padding: 80px 24px;
  background-color: #fff;
}

.counselling-approach .container {
  max-width: 900px;
  margin: 0 auto;
}

.counselling-approach h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #222;
  text-align: left;
}

.approach-list {
  list-style: none;
  padding: 0;
}

.approach-list li {
  margin-bottom: 24px;
  font-family: "Rubik", sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  padding-left: 24px;
  border-left: 3px solid #ffab91; /* Coral accent line */
}

.approach-list strong {
  color: #bf360c;
  display: block;
  margin-bottom: 4px;
  font-size: 1.2rem;
}

/* 5. Parent Involvement */
.parent-involvement {
  padding: 80px 24px;
  background-color: #e1f5fe; /* Light blue background */
  text-align: center;
}

.parent-involvement .container {
  max-width: 800px;
  margin: 0 auto;
}

.parent-involvement h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: black;
}

/* 6. Contact Section */
.counselling-contact {
  padding: 80px 24px;
  text-align: center;
  background-color: #fff;
}

.counselling-contact .container {
  max-width: 800px;
  margin: 0 auto;
}

.counselling-contact h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.counselling-contact .btn-primary {
  background-color: #c0392b;
  color: #fff;
  margin-top: 32px;
}

.counselling-contact .btn-primary:hover {
  background-color: #ff8a65;
}

/* Contact Form Section */
.contact-form-section {
  padding: 80px 24px;
  background-color: #f9f9f9;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr; /* Text on left, Form on right */
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  padding: 48px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

/* Left Side Text */
.contact-text h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  color: #751c0a; /* School Brand Color */
  margin-bottom: 16px;
}

.contact-text p {
  font-family: "Rubik", sans-serif;
  color: #555;
  line-height: 1.6;
  margin-bottom: 32px;
}

.detail-item {
  margin-bottom: 16px;
  font-family: "Rubik", sans-serif;
  color: #333;
}

/* Form Styling */
.school-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background-color: #fcfcfc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #751c0a;
  background-color: #fff;
}

.submit-btn {
  background-color: #751c0a;
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 8px;
}

.submit-btn:hover {
  background-color: #5a1507;
}

/* Responsive Design */
@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr; /* Stack vertically */
    gap: 40px;
    padding: 32px;
  }
}

@media (max-width: 600px) {
  .contact-form-section {
    padding: 40px 16px;
  }

  .contact-wrapper {
    padding: 24px;
  }

  .contact-text h2 {
    font-size: 2rem;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .counselling-hero h1 {
    font-size: 2.25rem;
  }
  .counselling-offer h2,
  .counselling-approach h2,
  .parent-involvement h2 {
    font-size: 2rem;
  }

  .approach-list li {
    padding-left: 16px;
  }
}

/* Sports Page Specific Styles */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.sport-card {
  background: #fff;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.sport-card:hover {
  border-color: #751c0a;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(117, 28, 10, 0.1);
}

.sport-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.sport-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sport-card h3 {
  font-size: 1.2rem;
  color: #333;
  margin: 0;
}

.sports-stats {
  background: linear-gradient(135deg, #751c0a 0%, #a82f1a 100%);
  padding: 80px 20px;
  margin: 60px 0;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item {
  color: #fff;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.moments-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.moment-image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.moment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.moment-image:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .sports-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .moments-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/* ...existing code... */
/* Base Font Sizes - INCREASED */
body {
  font-size: 17px;
  line-height: 1.6;
}

/* Headings - INCREASED */
h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  font-weight: 700;
}

h2 {
  font-size: 2.25rem;
  line-height: 1.3;
  font-weight: 600;
}

h3 {
  font-size: 1.625rem;
  line-height: 1.4;
  font-weight: 600;
}

h4 {
  font-size: 1.375rem;
  line-height: 1.4;
  font-weight: 600;
}

/* Body Text - INCREASED */
p {
  font-size: 1.0625rem;
  line-height: 1.6;
}

.hero-subtext {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #fff !important;
}

.Discover-paragraph {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #666;
}

/* ...existing code... */

/* 1. Increase Base Font Size */
html {
  font-size: 18px; /* Sets the baseline for rem units */
}

body {
  font-size: 1rem; /* Equals 18px */
  line-height: 1.7; /* More breathing room for lines */
}

/* 2. Larger, Bolder Headings */
h1 {
  font-size: 3rem; /* ~48px */
  line-height: 1.2;
  margin-bottom: 24px;
}

h2 {
  font-size: 2.5rem; /* ~40px */
  line-height: 1.3;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.75rem; /* ~28px */
  line-height: 1.4;
  margin-bottom: 16px;
}

h4 {
  font-size: 1.5rem; /* ~24px */
  line-height: 1.4;
  margin-bottom: 16px;
}

/* 3. Larger Paragraphs & Body Text */
p,
li,
a,
button,
.hero-subtext,
.Discover-paragraph,
.mission-item p,
.choose-card p,
.schools-card p {
  font-size: 1.125rem; /* ~20px - Very comfortable to read */
  line-height: 1.7;
}

/* Specific Section Boosts */
.hero-text h1,
.admissions-hero h1 {
  font-size: 3.5rem; /* Extra impact for main titles */
}

.mission-header p {
  font-size: 1.25rem; /* Slightly larger for intro text */
  font-weight: 500;
}

/* 4. Responsive Adjustments (So it doesn't look huge on mobile) */
@media (max-width: 768px) {
  html {
    font-size: 16px; /* Reset to standard 16px on mobile */
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  p {
    font-size: 1.0625rem; /* ~17px on mobile */
  }
}
/* ...existing code... */

/* 1. Increase Base Font Size */
html {
  font-size: 18px; /* Sets the baseline for rem units */
}

body {
  font-size: 1rem; /* Equals 18px */
  line-height: 1.7; /* More breathing room for lines */
}

/* 2. Larger, Bolder Headings */
h1 {
  font-size: 3rem; /* ~48px */
  line-height: 1.2;
  margin-bottom: 24px;
}

h2 {
  font-size: 2.5rem; /* ~40px */
  line-height: 1.3;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.75rem; /* ~28px */
  line-height: 1.4;
  margin-bottom: 16px;
}

h4 {
  font-size: 1.5rem; /* ~24px */
  line-height: 1.4;
  margin-bottom: 16px;
}

/* 3. Larger Paragraphs & Body Text */
p,
li,
a,
button,
.hero-subtext,
.Discover-paragraph,
.mission-item p,
.choose-card p,
.schools-card p {
  font-size: 1.125rem; /* ~20px - Very comfortable to read */
  line-height: 1.7;
}

/* Specific Section Boosts */
.hero-text h1,
.admissions-hero h1 {
  font-size: 3.5rem; /* Extra impact for main titles */
}

.mission-header p {
  font-size: 1.25rem; /* Slightly larger for intro text */
  font-weight: 500;
}

/* 4. Responsive Adjustments (So it doesn't look huge on mobile) */
@media (max-width: 768px) {
  html {
    font-size: 16px; /* Reset to standard 16px on mobile */
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1.0625rem; /* ~17px on mobile */
  }
}

/* ========================================
   ANIMATIONS & TRANSITIONS
   ======================================== */

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== ANIMATION KEYFRAMES ===== */

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In Up - More dramatic */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide In from Left */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide In from Right */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scale In Animation */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Bounce In */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Float animation for decorative elements */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Gentle pulse */
@keyframes gentlePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

/* Shimmer effect */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Gradient shift */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Apply animations to sections with enhanced effects */
.hero-section {
  animation: fadeInUp 1s ease-out;
}

.discover-section {
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.mission-section,
.about-hero,
.academics-hero,
.admissions-hero {
  opacity: 0;
  animation: fadeInUp 0.9s ease-out forwards;
  animation-delay: 0.1s;
}

/* Hero text animations */
.hero-text h1 {
  animation: fadeInUp 1s ease-out;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.hero-subtext {
  animation: fadeInUp 1s ease-out;
  animation-delay: 0.4s;
  animation-fill-mode: both;
}

.hero-buttons {
  animation: fadeInUp 1s ease-out;
  animation-delay: 0.6s;
  animation-fill-mode: both;
}

/* Enhanced cards animation on hover */
.choose-card,
.schools-card,
.feature-item,
.value-card,
.offer-item {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
  will-change: transform;
}

.choose-card:hover,
.schools-card:hover,
.feature-item:hover,
.value-card:hover,
.offer-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Add subtle background shift on hover */
.choose-card:hover,
.value-card:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.schools-card:hover {
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

/* Enhanced gallery image hover effect */
.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}

.gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(231, 76, 60, 0.1),
    rgba(231, 76, 60, 0.3)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.gallery-item:hover img {
  transform: scale(1.1) rotate(2deg);
}

/* Enhanced button animations with ripple effect */
.hero-btn,
.learn-btn,
.cta-btn,
.primary-btn,
.secondary-btn {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.hero-btn::before,
.cta-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease-out, height 0.6s ease-out;
}

.hero-btn:hover::before,
.cta-btn:hover::before {
  width: 400px;
  height: 400px;
}

.hero-btn:hover,
.cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 24px rgba(231, 76, 60, 0.5);
}

.hero-btn:active,
.cta-btn:active {
  transform: translateY(-1px) scale(0.98);
  transition: all 0.1s ease;
}

/* Enhanced navigation hover effect with smooth underline */
.Navbar ul li a {
  position: relative;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.Navbar ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #e74c3c, #c0392b);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.Navbar ul li a:hover::after,
.Navbar ul li a.active::after {
  width: 100%;
}

.Navbar ul li a:hover {
  color: #e74c3c;
  transform: translateY(-1px);
}

/* Enhanced form input focus animation with smooth transitions */
.form-group input,
.form-group textarea,
.form-group select {
  transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #e74c3c;
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.15);
  transform: scale(1.01);
  background-color: #fffaf9;
  outline: none;
}

/* Add label animation */
.form-group label {
  transition: color 0.3s ease, transform 0.3s ease;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group select:focus ~ label {
  color: #e74c3c;
}

/* Form validation error states */
.error-message {
  display: none;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 4px;
  font-weight: 500;
}

.input-error {
  border-color: #dc3545 !important;
  background-color: #fff5f5 !important;
}

.input-error:focus {
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.15) !important;
}

.submit-btn.loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.submit-btn.loading::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border: 2px solid #ffffff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* Enhanced stagger animation for lists with varied delays */
.mission-items .mission-item,
.features-list .feature-item,
.core-values-1 .value-card {
  opacity: 0;
  animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.mission-items .mission-item:nth-child(1),
.features-list .feature-item:nth-child(1),
.core-values-1 .value-card:nth-child(1) {
  animation-delay: 0.1s;
}

.mission-items .mission-item:nth-child(2),
.features-list .feature-item:nth-child(2),
.core-values-1 .value-card:nth-child(2) {
  animation-delay: 0.25s;
}

.mission-items .mission-item:nth-child(3),
.features-list .feature-item:nth-child(3),
.core-values-1 .value-card:nth-child(3) {
  animation-delay: 0.4s;
}

.mission-items .mission-item:nth-child(4),
.features-list .feature-item:nth-child(4),
.core-values-1 .value-card:nth-child(4) {
  animation-delay: 0.55s;
}

.mission-items .mission-item:nth-child(5),
.features-list .feature-item:nth-child(5),
.core-values-1 .value-card:nth-child(5) {
  animation-delay: 0.7s;
}

.mission-items .mission-item:nth-child(6),
.features-list .feature-item:nth-child(6),
.core-values-1 .value-card:nth-child(6) {
  animation-delay: 0.85s;
}

/* Add entrance animation for choose cards */
.choose-card {
  opacity: 0;
  animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.choose-card:nth-child(1) {
  animation-delay: 0.1s;
}
.choose-card:nth-child(2) {
  animation-delay: 0.25s;
}
.choose-card:nth-child(3) {
  animation-delay: 0.4s;
}
.choose-card:nth-child(4) {
  animation-delay: 0.55s;
}

/* Add entrance animation for schools cards */
.schools-card {
  opacity: 0;
  animation: slideInLeft 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.schools-card:nth-child(even) {
  animation-name: slideInRight;
}

.schools-card:nth-child(1) {
  animation-delay: 0.1s;
}
.schools-card:nth-child(2) {
  animation-delay: 0.3s;
}
.schools-card:nth-child(3) {
  animation-delay: 0.5s;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Loading state for images */
img {
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
  animation-delay: 0.1s;
}

/* WhatsApp button pulse animation */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.whatsapp-button {
  animation: pulse 2s ease-in-out infinite;
}

.whatsapp-button:hover {
  animation: none;
  transform: scale(1.1);
}

/* Blog post card hover */
.blog-post-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Enhanced icon animations */
.feature-icon,
.value-icon {
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: inline-block;
}

.feature-item:hover .feature-icon,
.value-card:hover .value-icon {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 4px 8px rgba(231, 76, 60, 0.3));
}

/* Add bounce to icons on load */
.feature-icon,
.value-icon {
  animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Enhanced footer social icons with 3D effect */
.footer-social a {
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
    opacity 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.footer-social a:hover {
  transform: translateY(-5px) scale(1.15) rotate(5deg);
  opacity: 0.9;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
/* ===== ADDITIONAL LIVELY ANIMATIONS ===== */

/* Scroll reveal animation class (to be added via JS) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Apply button animations */
.apply-btn,
.apply-btn-1,
.apply-btn-2 {
  position: relative;
  overflow: hidden;
}

.apply-btn::before,
.apply-btn-1::before,
.apply-btn-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.apply-btn:hover::before,
.apply-btn-1:hover::before,
.apply-btn-2:hover::before {
  left: 100%;
}

/* Navbar scroll effect */
.Navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

/* Image zoom on load */
.students-image img,
.hero-image img {
  animation: gentlePulse 3s ease-in-out infinite;
}

/* WhatsApp button enhanced pulse */
@keyframes enhancedPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  }
}

.whatsapp-button {
  animation: enhancedPulse 2.5s ease-in-out infinite;
}

/* Section divider animation */
@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* ===== BUTTON RIPPLE EFFECT ===== */
.ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Enhanced focus states for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(231, 76, 60, 0.5);
  outline-offset: 2px;
  transition: outline 0.2s ease;
}

/* Hover lift effect for interactive elements */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 120px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
}

.back-to-top:active {
  transform: translateY(-1px) scale(1.05);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 110px;
    right: 20px;
  }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-text {
  flex: 1;
}

.cookie-text h3 {
  margin: 0 0 8px 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
}

.cookie-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ecf0f1;
}

.cookie-text a {
  color: #3498db;
  text-decoration: underline;
}

.cookie-text a:hover {
  color: #5dade2;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.accept-btn {
  background: linear-gradient(135deg, #27ae60, #229954);
  color: white;
}

.accept-btn:hover {
  background: linear-gradient(135deg, #229954, #1e8449);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

.reject-btn {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.reject-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .nav,
  .Navbar,
  .menu-toggle,
  .menu-close,
  header,
  footer,
  .footer,
  .whatsapp-btn,
  .back-to-top,
  .cookie-banner,
  .apply-btn,
  .apply-btn-1,
  .apply-btn-2,
  .hero-buttons,
  .social-icons,
  .social-media,
  .gallery-nav-btn,
  button,
  .skip-to-main {
    display: none !important;
  }

  body {
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }

  main {
    max-width: 100%;
    margin: 0;
    padding: 20px;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
    color: #000;
  }

  p,
  li {
    orphans: 3;
    widows: 3;
  }

  blockquote,
  table,
  pre,
  .feature-item,
  .value-card,
  .choose-card,
  .schools-card {
    page-break-inside: avoid;
  }

  a[href]:after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }

  a[href^="#"]:after,
  a[href^="/"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  * {
    box-shadow: none !important;
    text-shadow: none !important;
    transition: none !important;
    animation: none !important;
  }

  @page {
    margin: 2cm;
  }
}
