:root {
  --primary: #036110;
  --primary-dark: #02420d;
  --primary-light: #e8f5e9;
  --accent: #ffc107;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --dark-gray: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Video Banner */
.video-banner {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  color: white;
}

.video-banner video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.video-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 80%;
}

.slide-message {
  position: absolute;
  color: white;
  font-size: 3.5rem;
  font-weight: bold;
  opacity: 0;
  width: 100%;
  text-align: center;
  animation: fadeSlide 16s infinite;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  5% {
    opacity: 1;
    transform: translateY(0);
  }
  20% {
    opacity: 1;
  }
  25% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 0;
  }
}

.slide-message:nth-child(1) {
  animation-delay: 0s;
}
.slide-message:nth-child(2) {
  animation-delay: 4s;
}
.slide-message:nth-child(3) {
  animation-delay: 8s;
}
.slide-message:nth-child(4) {
  animation-delay: 12s;
}

/* Header Styles */
header {
  background-color: #fff;
  color: #02420d;
  text-align: center;
  padding: 2rem 0;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  height: auto;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
  color: #036110;
}

header p {
  margin: 0.5rem 0 0;
  font-style: italic;
  color: #036110;
}

.login-link {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #036110;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border: 2px solid #036110;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.login-link:hover {
  background-color: #036110;
  color: white;
}

/* Sidebar Navigation */
.sidebar-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 10px;
  background: #036110;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 250;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sidebar-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: transform 0.3s ease;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 280px;
  background: #02420d;
  padding: 2rem 1.5rem 3rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 240;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
}

.sidebar-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar ul li {
  position: relative;
}

.sidebar ul li a,
.sidebar ul li {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.sidebar ul li a:hover,
.sidebar ul li:hover > a {
  background: rgba(255, 255, 255, 0.15);
}

.sidebar .dropdown,
.sidebar .affiliates {
  display: block;
  position: static;
  background: transparent;
  box-shadow: none;
  padding: 0 0 0.5rem 1rem;
  border-radius: 0;
}

.sidebar .dropdown a,
.sidebar .affiliates li {
  color: rgba(255, 255, 255, 0.8);
  padding: 0.25rem 0;
}

.sidebar .dropdown a:hover {
  color: white;
  text-decoration: underline;
}

.affiliates li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.affiliates li img {
  width: 30px;
  height: auto;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 230;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Content Section Styles */
.content-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.content-container h2 {
  color: var(--primary-dark);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.content-container h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--accent);
}

.content-row {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.content-image {
  flex: 1;
  min-width: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  align-self: center;
  position: relative;
}

.content-image video {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.content-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
  display: block;
}

.content-image:hover img {
  transform: scale(1.02);
}

.image-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.content-text {
  flex: 1;
  min-width: 0;
  align-self: center;
}

.content-text h3 {
  color: var(--primary-dark);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.content-text p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.8;
}

.values {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #036110;
  margin: 0;
}

.features-list {
  margin: 30px 0;
  text-align: left;
}

.features-list ul {
  list-style: none;
  padding: 0;
}

.features-list li {
  margin: 12px 0;
  padding-left: 30px;
  position: relative;
  color: #555;
  font-size: 1.1rem;
}

.features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  margin: 40px 0 30px;
  padding: 30px;
  background: var(--primary-light);
  border-radius: 15px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary);
  display: block;
}

.stat-label {
  color: var(--primary-dark);
  font-size: 1rem;
  margin-top: 5px;
}

.apply-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 18px 45px;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(3, 97, 16, 0.3);
}

.apply-button::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;
}

.apply-button:hover::before {
  left: 100%;
}

.apply-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(3, 97, 16, 0.4);
  background: linear-gradient(135deg, var(--primary-dark), #013008);
}

.apply-button i {
  margin-right: 10px;
  font-size: 1.1rem;
}

/* Schools Section Styles */
.schools-section {
  background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
  padding: 4rem 0;
  margin: 3rem 0;
}

.schools-title {
  text-align: center;
  margin-bottom: 3rem;
}

.schools-title h2 {
  font-size: 2.5rem;
  color: #036110;
  margin: 0;
  font-weight: 700;
  border: none;
}

.schools-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.school-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.school-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(3, 97, 16, 0.2);
}

.school-card.early-years {
  border-top: 5px solid #90ee90;
}

.school-card.primary {
  border-top: 5px solid #ffd700;
}

.school-card.secondary {
  border-top: 5px solid #87ceeb;
}

.school-image {
  width: 100%;
  height: clamp(200px, 28vw, 260px);
  overflow: hidden;
}

.school-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.school-card:hover .school-image img {
  transform: scale(1.05);
}

.school-content {
  padding: 2rem;
}

.school-content h3 {
  font-size: 1.3rem;
  color: #036110;
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.school-content p {
  color: #666;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  font-size: 1rem;
}

.school-btn {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.school-btn:hover {
  background: linear-gradient(135deg, #45a049, #3d8b40);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px auto;
  max-width: 1200px;
  padding: 0 2rem;
}

/* Partners Carousel Styles */
.partners-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 4rem 0;
  margin: 3rem 0;
  overflow: hidden;
  position: relative;
}

.partners-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23036110" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%23036110" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.partners-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.partners-title h2 {
  font-size: 2.5rem;
  color: #036110;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.partners-title p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
}

.partners-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 2;
}

.partners-carousel {
  overflow: hidden;
  position: relative;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem 0;
}

.partners-track {
  display: flex;
  animation: scroll 20s linear infinite;
  gap: 4rem;
  align-items: center;
  padding: 0 2rem;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 160px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.partner-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(3, 97, 16, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.partner-item:hover::before {
  left: 100%;
}

.partner-item:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(3, 97, 16, 0.2);
}

.partner-item img {
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
  filter: grayscale(0.3);
  transition: all 0.3s ease;
}

.partner-item:hover img {
  filter: grayscale(0);
  transform: scale(1.1);
}

.partners-carousel:hover .partners-track {
  animation-play-state: paused;
}

.partners-carousel::before,
.partners-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.partners-carousel::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.partners-carousel::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  position: relative;
  margin: 5% auto;
  padding: 0;
  width: 90%;
  max-width: 800px;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
}

.close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  background: white;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close:hover {
  color: black;
}

.map-frame {
  width: 100%;
  height: 500px;
  border: none;
}

/* Footer Styles */
footer {
  background: #012e09;
  color: #f5f9f4;
  padding: 4rem 2rem 2rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2.5rem;
}

.footer-brand img {
  width: 140px;
  margin-bottom: 1rem;
}

.footer-brand p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.footer-links,
.footer-contact,
.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

footer h5 {
  color: #ffc107;
  text-transform: uppercase;
    padding: 3rem 1.5rem 1.5rem;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

.footer-links a,
.footer-newsletter a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-newsletter a:hover {
  color: white;
}

.footer-contact p,
.footer-newsletter p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}

.newsletter-form input {
  flex: 1 1 180px;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 30px;
  font-size: 0.95rem;
}

.newsletter-form button {
  padding: 0.75rem 1.8rem;
  border: none;
  border-radius: 30px;
  background: #ffc107;
  color: #02420d;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
}

.footer-social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.footer-social img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.cta {
  background-color: white;
  color: #036110;
  border: none;
  padding: 0.8rem 1.8rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  margin: 1rem 0 0;
  transition: all 0.3s ease;
}

.cta:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* Social Media Styles */
.social-media {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 50;
}

.social-media a {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.social-media a:hover {
  transform: scale(1.1);
}

.social-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-toggle {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 60;
}

.theme-toggle button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #02420d, #058a1f);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.theme-toggle button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.theme-toggle button:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

/* Dark mode palette */
body.dark-mode {
  background: #0f1710;
  color: #e9f4ea;
}

body.dark-mode header,
body.dark-mode .content-container,
body.dark-mode .schools-section,
body.dark-mode .cards-container,
body.dark-mode footer,
body.dark-mode nav.sidebar,
body.dark-mode .modal-content {
  background-color: #0f1710;
  color: #e9f4ea;
}

body.dark-mode .school-card,
body.dark-mode .cards-container .school-card {
  background: #16231b;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

body.dark-mode .school-content p,
body.dark-mode .school-content h3 {
  color: #e9f4ea;
}

body.dark-mode .footer-grid,
body.dark-mode .footer-bottom {
  background: #0f1710;
  color: #e9f4ea;
}

body.dark-mode .footer-links a,
body.dark-mode .footer-social a,
body.dark-mode .footer-contact p,
body.dark-mode .footer-brand p {
  color: #e9f4ea;
}

body.dark-mode nav.sidebar a,
body.dark-mode nav.sidebar .dropdown li {
  color: #e9f4ea;
}

body.dark-mode .theme-toggle button {
  background: linear-gradient(135deg, #1c2d22, #244430);
}


/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
  .content-container {
    padding: 1.5rem;
  }

  .schools-container,
  .cards-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .partners-track {
    gap: 2rem;
  }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
  /* Video Banner */
  .video-banner {
    height: 50vh;
  }

  .slide-message {
    font-size: 2rem;
  }

  /* Header */
  header {
    padding: 1.5rem 1rem;
  }

  .logo {
    position: static;
    transform: none;
    margin: 0 auto 1rem;
    display: block;
    width: 80px;
  }

  header h1 {
    font-size: 1.5rem;
  }

  header p {
    font-size: 0.9rem;
  }
  .login-link {
    position: static;
    display: inline-block;
    margin-top: 1rem;
    transform: none;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  /* Navigation */
  nav {
    padding: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  nav ul li {
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav ul li a {
    padding: 1rem;
    border-radius: 0;
  }

  .dropdown,
  .affiliates {
    position: static;
    width: 100%;
    box-shadow: none;
    background: rgba(3, 97, 16, 0.9);
    border-radius: 0;
    margin-top: 0;
  }

  .dropdown a,
  .affiliates li {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
  }

  /* Content Container */
  .content-container {
    margin: 1rem;
    padding: 1.5rem 1rem;
  }

  .content-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .content-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .content-image,
  .content-text {
    width: 100%;
  }

  .content-image img,
  .content-image video {
    max-height: 250px;
  }

  .content-text h3 {
    font-size: 1.4rem;
  }

  .content-text p,
  .values {
    font-size: 1rem;
  }

  .image-overlay {
    top: 10px;
    right: 10px;
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  /* Features List */
  .features-list li {
    font-size: 1rem;
    padding-left: 25px;
  }

  /* Stats Container */
  .stats-container {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  /* Apply Button */
  .apply-button {
    padding: 15px 30px;
    font-size: 1rem;
    width: 100%;
    text-align: center;
  }

  /* Schools Section */
  .schools-section {
    padding: 2rem 0;
    margin: 2rem 0;
  }

  .schools-title h2 {
    font-size: 1.8rem;
    padding: 0 1rem;
  }

  .schools-container {
    grid-template-columns: 1fr;
    padding: 0 1rem;
    gap: 1.5rem;
  }

  .school-image {
    height: clamp(180px, 50vw, 220px);
  }

  .school-content {
    padding: 1.5rem;
  }

  .school-content h3 {
    font-size: 1.3rem;
  }

  .school-content p {
    font-size: 0.95rem;
  }

  .school-btn {
    width: 100%;
    padding: 0.7rem;
  }

  /* Cards Container */
  .cards-container {
    grid-template-columns: 1fr;
    padding: 0 1rem;
    gap: 1.5rem;
  }

  /* Partners Section */
  .partners-section {
    padding: 2rem 0;
  }

  .partners-title h2 {
    font-size: 1.8rem;
  }

  .partners-title p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .partners-container {
    padding: 0 1rem;
  }

  .partners-track {
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .partner-item {
    min-width: 200px;
    height: 130px;
    padding: 1.25rem;
  }

  .partner-item img {
    max-height: 85px;
  }

  .partners-carousel::before,
  .partners-carousel::after {
    width: 50px;
  }

  /* Modal */
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .map-frame {
    height: 350px;
  }

  .close {
    font-size: 24px;
    width: 30px;
    height: 30px;
    right: 10px;
  }

  /* Footer */
  footer {
    padding: 2.5rem 1.25rem 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-brand img {
    width: 120px;
  }

  .footer-links a {
    margin: 0.25rem 0;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }

  /* Social Media */
  .social-media {
    position: fixed;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    z-index: 60;
  }

  .social-media a {
    width: 34px;
    height: 34px;
  }

  .theme-toggle {
    right: 12px;
    bottom: 12px;
  }

  .theme-toggle button {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  }
}

/* Small Mobile Styles (max-width: 480px) */
@media (max-width: 480px) {
  .video-banner {
    height: 40vh;
  }

  .theme-toggle {
    right: 10px;
    bottom: 10px;
  }

  .theme-toggle button {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  }

  .slide-message {
    font-size: 1.5rem;
  }

  header h1 {
    font-size: 1.3rem;
  }

  .content-container {
    padding: 1rem;
  }

  .content-container h2 {
    font-size: 1.5rem;
  }

  .content-text h3 {
    font-size: 1.2rem;
  }

  .content-text p,
  .values {
    font-size: 0.95rem;
  }

  .apply-button {
    padding: 12px 25px;
    font-size: 0.95rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .schools-title h2 {
    font-size: 1.5rem;
  }

  .school-content h3 {
    font-size: 1.1rem;
  }

  .school-content p {
    font-size: 0.9rem;
  }

  .partners-title h2 {
    font-size: 1.5rem;
  }

  .partners-title p {
    font-size: 0.95rem;
  }

  .partner-item {
    min-width: 150px;
    height: 100px;
    padding: 0.75rem;
  }

  .partner-item img {
    max-height: 65px;
  }

  footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-links a {
    margin: 0.3rem 0;
  }

  nav ul li a {
    font-size: 0.95rem;
  }
}

/* Extra Small Mobile (max-width: 360px) */
@media (max-width: 360px) {
  header h1 {
    font-size: 1.1rem;
  }

  .logo {
    width: 60px;
  }

  .slide-message {
    font-size: 1.2rem;
  }

  .content-container h2 {
    font-size: 1.3rem;
  }

  .schools-container,
  .cards-container {
    padding: 0 0.5rem;
  }
}

/* Landscape Mobile Orientation */
@media (max-height: 500px) and (orientation: landscape) {
  .video-banner {
    height: 80vh;
  }

  header {
    padding: 1rem;
  }

  .logo {
    width: 60px;
  }

  header h1 {
    font-size: 1.2rem;
  }
}

/* Print Styles */
@media print {
  .video-banner,
  nav,
  .social-media,
  .login-link,
  .apply-button,
  .school-btn,
  .cta {
    display: none;
  }

  body {
    background: white;
  }

  .content-container {
    box-shadow: none;
    padding: 0;
  }
}