.site-header {
  background-color: #0A192F;
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #FFD700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.main-nav .nav-list li {
  margin-left: 1.5rem;
}

.main-nav .nav-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

.main-nav .nav-list a:hover,
.main-nav .nav-list a.active {
  color: #FFD700;
}

.main-nav .nav-list a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: #FFD700;
}

.header-actions {
  display: flex;
  align-items: center;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: #FFD700;
  color: #0A192F;
}

.btn-primary:hover {
  background-color: #e6c200;
}

.hamburger-menu {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
  margin-left: 1.5rem;
  z-index: 1001; /* Ensure it's above other elements when active */
}

.hamburger-menu .bar {
  width: 100%;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* Footer Styles */
.site-footer {
  background-color: #0A192F;
  color: #fff;
  padding: 3rem 0;
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.footer-section {
  flex: 1;
  min-width: 250px; /* Ensure sections don't get too narrow */
  margin-bottom: 2rem;
  padding-right: 1.5rem; /* Spacing between columns */
}

.footer-section:last-child {
  padding-right: 0;
}

.footer-section h3 {
  color: #FFD700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.footer-section p,
.footer-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.6;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #FFD700;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Back to Top Button */
#backToTopBtn {
  display: none; /* Hidden by default, shown by JS */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  font-size: 1.5rem;
  border: none;
  outline: none;
  background-color: #FFD700;
  color: #0A192F;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 50%;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#backToTopBtn:hover {
  background-color: #e6c200;
}


/* Responsive Styles */
@media (max-width: 992px) {
  .main-nav .nav-list li {
    margin-left: 1rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
  }

  .logo {
    font-size: 1.8rem;
  }

  .main-nav {
    display: none; /* Hide main nav by default on mobile */
    flex-direction: column;
    position: absolute;
    top: 100%; /* Position below header */
    left: 0;
    width: 100%;
    background-color: #0A192F;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
    z-index: 999;
  }

  .main-nav.active {
    display: flex; /* Show when active */
  }

  .main-nav .nav-list {
    flex-direction: column;
    text-align: center;
  }

  .main-nav .nav-list li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav .nav-list li:last-child {
    border-bottom: none;
  }

  .main-nav .nav-list a {
    display: block;
    padding: 1rem;
    font-size: 1.1rem;
  }
  
  .main-nav .nav-list a.active::after {
    bottom: 5px; /* Adjust underline position for mobile */
  }

  .hamburger-menu {
    display: flex; /* Show hamburger on mobile */
  }

  .hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }

  .hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    min-width: unset;
    width: 100%;
    padding-right: 0;
    margin-bottom: 1.5rem;
  }

  .footer-section ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
  }

  .footer-section ul li {
    margin: 0;
  }

  .footer-section h3 {
    margin-bottom: 0.8rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.5rem;
  }
  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  .hamburger-menu {
    margin-left: 1rem;
  }
  .footer-section p, .footer-section ul li {
    font-size: 0.85rem;
  }
}