/* General Body Styles */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

/* Site Header */
.site-header {
  background-color: #003366; /* Primary color */
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #FFCC00; /* Secondary color for brand emphasis */
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.logo:hover {
  color: #fff;
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.hamburger-menu .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #FFCC00;
  margin: 5px 0;
  transition: 0.4s;
}

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

.main-nav ul li {
  margin-left: 25px;
}

.main-nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #FFCC00;
  transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
  width: 100%;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: #FFCC00;
}

/* Site Footer */
.site-footer {
  background-color: #003366; /* Primary color */
  color: #fff;
  padding: 40px 0 20px;
  font-size: 0.9rem;
  position: relative;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 0 20px;
  margin-bottom: 30px;
}

.footer-col h3 {
  color: #FFCC00; /* Secondary color */
  font-size: 1.2rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #FFCC00;
  padding-bottom: 5px;
  display: inline-block;
}

.footer-col p,
.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col p a,
.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col p a:hover,
.footer-col ul li a:hover {
  color: #FFCC00;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #FFCC00;
  color: #003366;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
}

.back-to-top:hover {
  background-color: #e6b800;
  transform: translateY(-3px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .hamburger-menu {
    display: block;
  }

  .main-nav {
    flex-basis: 100%;
    order: 3; /* Move nav below logo and hamburger */
    display: none;
    text-align: center;
    background-color: #003366; /* Ensure full background for dropdown */
    width: 100%;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav ul li {
    margin: 10px 0;
  }

  .main-nav ul li a {
    font-size: 1.1rem;
    padding: 10px 0;
    display: block;
  }

  .main-nav ul li a::after {
    display: none; /* Hide underline for mobile menu */
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col h3 {
    margin-top: 20px;
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer-col ul li {
    margin-bottom: 5px;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
    bottom: 15px;
    right: 15px;
  }
}