/* 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;
  }
}





.gallery-hero {
  position: relative;
  height: 100vh;
  background: url('/images/gallery-hero-1.jpg') center/cover no-repeat;
  animation: bg-slide 20s infinite ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.gallery-hero-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 12px;
  max-width: 800px;
  animation: fadeInUp 1.2s ease-out;
}

.gallery-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.gallery-hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.scroll-down {
  display: inline-block;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s;
}

.scroll-down:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Background slideshow animation */
@keyframes bg-slide {
  0%, 100% {
    background-image: url('/images/Clarus\ Academy\ School\ -NJS-61.jpg');
  }
  33% {
    background-image: url('/images/Clarus\ Academy\ School\ -NJS-60.jpg');
  }
  66% {
    background-image: url('/images/Clarus\ Academy\ School\ -NJS-48.jpg');
  }
}

/* Fade in animation */
@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-hero-content h1 {
    font-size: 2rem;
  }
  .gallery-hero-content p {
    font-size: 1rem;
  }
}





.media-gallery-section {
  padding: 4rem 1rem;
  background-color: #fffdf6;
  text-align: center;
}

.gallery-header h2 {
  font-size: 2.5rem;
  color: #b30000;
  margin-bottom: 0.5rem;
}

.gallery-header p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: #fff;
  border: 2px solid #b30000;
  color: #b30000;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #b30000;
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

@media screen and (max-width: 600px) {
  .filter-btn {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }
}







.clarus-featured-video {
    background: linear-gradient(135deg, #fff9f2, #ffe6e6);
    padding: 5rem 1rem;
    text-align: center;
  }

  .clarus-featured-video .video-container {
    max-width: 960px;
    margin: auto;
    padding: 1rem;
  }

  .video-title {
    font-size: 2.2rem;
    color: #b30000;
    margin-bottom: 0.5rem;
    animation: fadeInDown 1s ease-out;
  }

  .video-subtitle {
    font-size: 1rem;
    color: #333;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
  }

  .video-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
  }

  .video-wrapper:hover {
    transform: scale(1.02);
  }

  .video-wrapper video {
    width: 100%;
    height: auto;
    border: none;
    outline: none;
    display: block;
    border-radius: 16px;
  }

  /* Animation keyframes */
  @keyframes fadeInUp {
    0% {
      transform: translateY(40px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @keyframes fadeInDown {
    0% {
      transform: translateY(-30px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @media screen and (max-width: 768px) {
    .video-title {
      font-size: 1.8rem;
    }

    .video-subtitle {
      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;
  }
}
