* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* ================= TOP HEADER ================= */
.top-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1100;

  background: rgba(0, 82, 204, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 8px 25px;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  min-height: 40px;
}

/* Left */
.top-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.top-left a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* Center */
.top-center {
  flex: 1;
  text-align: center;
}

.top-center p {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  padding: 0 10px;
}

/* Right */
.top-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-right a {
  color: #fff;
  font-size: 14px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.top-right a:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .top-header {
    flex-direction: column;
    gap: 6px;
    padding: 6px 12px;
    text-align: center;
  }

  .top-left,
  .top-right {
    justify-content: center;
  }

  .top-center p {
    font-size: 12px;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .top-center p {
    font-size: 11.5px;
  }
}


/* ================= COURSES HERO SECTION ================= */
.courses-hero {
  position: relative;
  width: 100%;
  height: 100vh; /* full screen */
  background: url('./Assets/montessori-courses/Hero.jpeg') center/cover no-repeat;
  overflow: hidden;
  margin-top: 80px;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.3); /* dark overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-content {
  text-align: center;
  color: #fff;
  z-index: 2;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  
}

.hero-content p {
  font-size: 18px;
  max-width: 600px;
  margin: auto;
}

/* ================= FLOATING ICONS ================= */
.floating-icons .icon {
  position: absolute;
  font-size: 40px;
  color: #fff;
  opacity: 0.85;
  animation: float 6s ease-in-out infinite;
}

.icon1 { top: 20%; left: 10%; animation-delay: 0s; }
.icon2 { top: 40%; left: 80%; animation-delay: 2s; }
.icon3 { top: 70%; left: 20%; animation-delay: 4s; }
.icon4 { top: 30%; left: 50%; animation-delay: 1s; }
.icon5 { top: 60%; left: 70%; animation-delay: 3s; }

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .hero-content h1 { font-size: 36px; }
  .hero-content p { font-size: 16px; }
  .floating-icons .icon { font-size: 32px; }
}

@media (max-width: 576px) {
  .hero-content h1 { font-size: 28px; }
  .hero-content p { font-size: 14px; }
  .floating-icons .icon { font-size: 24px; }
}



/* ================= MONTESSORI COURSES SECTION ================= */
.courses-section {
  padding: 80px 20px;
  background: transparent; /* no background */
}

.courses-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Course Card */
.course-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.course-card.reverse {
  direction: rtl;
}

.course-card.reverse .course-content {
  direction: ltr;
}

.course-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,128,0.15); /* subtle blue shadow */
}

.course-content h3 {
  font-size: 26px;
  color: #1f6ae1; /* primary blue */
  margin-bottom: 15px;
}

.course-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #0a2540; /* dark blue text */
  margin-bottom: 20px;
}

.seo-link {
  font-weight: 600;
  color: #0044cc; /* clickable blue */
  text-decoration: none;
  transition: color 0.3s;
}

.seo-link:hover {
  color: #001f66;
  text-decoration: underline;
}

/* Know More Button */
.btn-know-more {
  display: inline-block;
  padding: 10px 25px;
  background: #1f6ae1;
  color: #fff;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-know-more:hover {
  background: #0044cc;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .course-card,
  .course-card.reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .course-card.reverse .course-content {
    direction: ltr;
  }

  .course-image img {
    width: 80%;
    margin: auto;
  }
}

@media (max-width: 576px) {
  .courses-section {
    padding: 50px 15px;
  }

  .course-content h3 {
    font-size: 22px;
  }

  .course-content p {
    font-size: 15px;
  }

  .btn-know-more {
    padding: 8px 20px;
  }
}






/* FOOTER */

.footer {
  background: #0c0f1a;
  color: #dcdcdc;
  font-family: 'Poppins', sans-serif;
}

/* ===== STATE QUICK LINKS ===== */
.footer-states {
  max-width: 1200px;
  margin: auto;
  padding: 50px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-states h4 {
  color: #1f4fd8;
  margin-bottom: 20px;
}

.state-links {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 30px;
}

.state-links a {
  color: #cccccc;
  font-size: 13px;
  text-decoration: none;
}

.state-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ===== MAIN GRID ===== */
.footer-grid {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

/* COMMON */
.footer-col h4 {
  color: #1f4fd8;
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #cccccc;
  text-decoration: none;
  font-size: 14px;
}

.footer-col a:hover {
  color: #ffffff;
}

/* BRAND */
.footer-logo {
  max-width: 150px;
  margin-bottom: 15px;
}

.footer-col h3 {
  color: #1f4fd8;
  margin-bottom: 10px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
}

/* SOCIAL */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
}

.footer-social a:hover {
  background: #1f4fd8;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  padding: 15px 10px;
  font-size: 14px;
  color: #555;
}

.footer-bottom p {
  margin: 0 0 5px 0;
}

.footer-link {
  color: #1a5cff; /* crimson theme */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-link:hover {
  color: #1a5cff;
  text-decoration: underline;
}

.footer-links {
  font-size: 13px;
  color: #555;
}

.footer-links span {
  margin: 0 5px;
}




/* RESPONSIVE */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .state-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .state-links {
    grid-template-columns: 1fr;
  }
}

