/* Reset and base styles */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: #ffffff;
    }

    /* Top Social Bar */
    .top-social-bar {
      background-color: #ffffff; /* Burgundy */
      padding: 12px 20px;
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }

    .social-icons a {
      color: #970303; /* Light cream */
      margin-left: 16px;
      font-size: 20px;
      text-decoration: none;
      transition: transform 0.3s ease, color 0.3s ease;
    }

    .social-icons a:hover {
      color: #ffd700; /* Gold */
      transform: scale(1.2);
    }

    /* Responsive */
    @media (max-width: 600px) {
      .top-social-bar {
        justify-content: center;
      }

      .social-icons a {
        margin-left: 12px;
        font-size: 18px;
      }
    }

    
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
}

.main-header {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 15px 5%;
  position: sticky;
  top: 0;
  z-index: 999;
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
}

.logo span {
  color: #800020;
  font-weight: 600;
  font-size: 1.4rem;
}

/* Nav */
.nav {
  display: flex;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #800020;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  display: none;
  flex-direction: column;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown-menu li {
  padding: 10px 20px;
}

.dropdown-menu a {
  color: #333;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background-color: #f8f8f8;
  color: #800020;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 1.8rem;
  color: #800020;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    background: #fff;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
  }

  .nav.show {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 20px;
  }

  .dropdown:hover .dropdown-menu {
    position: static;
    box-shadow: none;
    background: #f9f9f9;
  }

  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
  }

  .dropdown:hover .dropdown-menu {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}



/* Academics Hero Section Styles */
.academics-hero {
  position: relative;
  background: url('/images/Clarus\ Academy\ School\ -NJS-24.jpg') center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.academics-hero-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.academics-hero-content {
  max-width: 800px;
  animation: fadeInUp 1.5s ease forwards;
}

.academics-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.academics-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: #f3f3f3;
}

.academics-hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-btn {
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  background-color: #b2182b;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background-color: #86111f;
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background-color: #fff;
  color: #b2182b;
}

/* Animation */
@keyframes fadeInUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .academics-title {
    font-size: 2rem;
  }

  .academics-subtitle {
    font-size: 1rem;
  }

  .hero-btn {
    width: 100%;
    text-align: center;
  }
}




/* Educational Divisions Section */
.divisions-section {
  padding: 4rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #b2182b;
  margin-bottom: 3rem;
  position: relative;
}

.divisions-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.division-card {
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.division-img {
  background-size: cover;
  background-position: center;
  height: 400px;
  position: relative;
}

.division-overlay {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  transition: background 0.3s ease;
}

.division-card:hover .division-overlay {
  background: rgba(0, 0, 0, 0.8);
}

.division-overlay .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #ffd700;
}

.division-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.division-overlay p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}

/* Responsive Scroll */
@media (max-width: 768px) {
  .divisions-container {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .division-card {
    min-width: 280px;
    flex: 0 0 auto;
  }
}






/* Curriculum Overview */
.curriculum-section {
  background-color: #fdfcfa;
  padding: 5rem 1.5rem;
  color: #333;
}

.curriculum-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.curriculum-text {
  flex: 1 1 500px;
  text-align: left;
}

.curriculum-text h2 {
  font-size: 2.8rem;
  color: #a0151a;
  margin-bottom: 0.5rem;
  position: relative;
}

.underline-decor {
  width: 60px;
  height: 6px;
  background: linear-gradient(90deg, #a0151a, #ffd700);
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

.curriculum-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.teaching-pillars {
  list-style: none;
  padding: 0;
  margin: 0;
}

.teaching-pillars li {
  font-size: 1rem;
  margin: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: slideIn 0.6s ease forwards;
  opacity: 0;
}

.teaching-pillars li i {
  color: #b2182b;
  font-size: 1.2rem;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
}

.curriculum-image {
  flex: 1 1 400px;
  text-align: center;
}

.curriculum-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .curriculum-content {
    flex-direction: column;
    text-align: center;
  }

  .curriculum-text {
    text-align: center;
  }

  .teaching-pillars li {
    justify-content: center;
  }
}





/* Curriculum Breakdown Section */
.division-curriculum {
  background: #fff8f8;
  padding: 4rem 1.5rem;
  text-align: center;
}

.section-title {
  font-size: 2.4rem;
  color: #a0151a;
  margin-bottom: 0.5rem;
}

.underline-style {
  width: 70px;
  height: 5px;
  background: linear-gradient(90deg, #a0151a, #f1c40f);
  margin: 0 auto 1.5rem auto;
  border-radius: 2px;
}

.section-intro {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid Layout for Curriculum Cards */
.curriculum-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-content: center;
  align-items: stretch;
}

.curriculum-card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.curriculum-card:hover {
  transform: translateY(-8px);
  background: #fafafa;
}

.curriculum-card .icon {
  font-size: 2.5rem;
  color: #a0151a;
  margin-bottom: 1rem;
}

.curriculum-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  color: #222;
}

.curriculum-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}






.enrichment-unique {
  background: linear-gradient(to bottom, #fffaf5, #fbeeee);
  padding: 80px 20px;
  text-align: center;
}

.enrichment-header h1 {
  font-size: 2.7rem;
  font-weight: bold;
  color: #800000;
  margin-bottom: 10px;
}

.enrichment-header p {
  max-width: 750px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
  color: #444;
}

.enrichment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Always 3 in a row on desktop */
  gap: 40px;
  padding: 0 20px;
}

.enrichment-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.enrichment-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.overlay-icon {
  position: absolute;
  top: -25px;
  left: -25px;
  background: rgba(128, 0, 0, 0.1);
  color: #800000;
  font-size: 3rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.enrichment-item h3 {
  font-size: 1.25rem;
  margin-top: 40px;
  color: #222;
}

.enrichment-item p {
  font-size: 0.95rem;
  color: #555;
  margin-top: 10px;
  line-height: 1.5;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .enrichment-header h1 {
    font-size: 2rem;
  }

  .enrichment-header p {
    font-size: 1rem;
  }

  .overlay-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .enrichment-grid {
    grid-template-columns: 1fr; /* Stack vertically */
  }

  .enrichment-item {
    padding: 30px 20px;
  }
}





.assessment-section {
  background: #fdf6f6;
  padding: 80px 20px;
  text-align: center;
}

.assessment-header h1 {
  font-size: 2.5rem;
  color: #800000;
  margin-bottom: 10px;
}

.assessment-header p {
  max-width: 700px;
  margin: 0 auto 50px;
  color: #444;
  font-size: 1.1rem;
}

.assessment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

.assessment-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 25px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.assessment-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.icon {
  font-size: 2.8rem;
  color: #800000;
  margin-bottom: 20px;
}

.assessment-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #333;
}

.assessment-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .assessment-grid {
    grid-template-columns: 1fr;
  }

  .assessment-card {
    padding: 30px 20px;
  }
}




.facilities-section {
  background: #f9f5f5;
  padding: 80px 20px;
  text-align: center;
}

.facilities-header h1 {
  font-size: 2.5rem;
  color: #800000;
  margin-bottom: 10px;
}

.facilities-header p {
  max-width: 750px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: #444;
}

.facilities-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.facility-card {
  background: #fff;
  padding: 40px 25px;
  border-radius: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.facility-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.facility-icon {
  font-size: 2.5rem;
  color: #800000;
  margin-bottom: 20px;
}

.facility-card h3 {
  font-size: 1.3rem;
  color: #222;
  margin-bottom: 10px;
}

.facility-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .facilities-header h1 {
    font-size: 2rem;
  }

  .facility-card {
    padding: 30px 20px;
  }

  .facilities-gallery {
    grid-template-columns: 1fr;
  }
}


.academics-cta {
  background: linear-gradient(to right, #800000, #a52a2a);
  padding: 80px 20px;
  color: #fff;
  text-align: center;
}

.academics-cta .cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.academics-cta .cta-content p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.cta-btn {
  background: #fff;
  color: #800000;
  padding: 15px 25px;
  font-size: 1rem;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.cta-btn i {
  margin-right: 8px;
}

.cta-btn:hover {
  background: #f1f1f1;
  transform: translateY(-3px);
}

.cta-btn.apply {
  background: #ffd700;
  color: #000;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .academics-cta .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-btn {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}





.clarus-footer {
  background-color: #800020; /* Burgundy */
  color: #fff;
  font-family: 'Poppins', sans-serif;
  padding: 60px 20px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-section {
  flex: 1 1 300px;
  min-width: 280px;
}

/* Map */
.footer-section.map {
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
}

/* Center */
.footer-section.center h2 {
  font-size: 1.8rem;
  color: #ffd700;
  margin-bottom: 5px;
}

.footer-section.center .motto {
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 15px;
  color: #fdf6e3;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: #f0f0f0;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #ffd700;
}

.footer-socials a {
  color: #fff;
  font-size: 1.2rem;
  margin-right: 12px;
  transition: 0.3s ease;
}

.footer-socials a:hover {
  color: #ffd700;
  transform: scale(1.2);
}

/* Newsletter */
.footer-section.newsletter h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #ffd700;
}

.footer-section.newsletter p {
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: #eee;
}

.footer-section.newsletter form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-section.newsletter input {
  padding: 10px;
  border: none;
  border-radius: 6px;
  flex: 1;
  min-width: 180px;
}

.footer-section.newsletter button {
  padding: 10px 18px;
  background-color: #ffd700;
  border: none;
  border-radius: 6px;
  color: #800020;
  cursor: pointer;
  transition: 0.3s ease;
}

.footer-section.newsletter button:hover {
  background-color: #ffdb4d;
}

/* Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #ccc;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-section.map {
    width: 100%;
    height: 250px;
  }

  .footer-section.newsletter form {
    flex-direction: column;
  }

  .footer-section.newsletter input,
  .footer-section.newsletter button {
    width: 100%;
  }

  .footer-socials {
    justify-content: center;
  }
}
