/* General Reset & Base Styles */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Header Styles */
.site-header {
  background-color: #0A2342; /* 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;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo:hover {
  color: #fff;
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
}

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

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #FFD700; /* Secondary color */
  transition: width 0.3s ease;
}

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

.main-nav a:hover,
.main-nav a.active {
  color: #FFD700; /* Secondary color */
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  padding: 0;
  z-index: 1000;
}

.hamburger-menu .bar {
  width: 100%;
  height: 3px;
  background-color: #FFD700; /* Secondary color */
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

.footer-col {
  flex: 1;
  min-width: 250px;
  margin-bottom: 1.5rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFD700; /* Secondary color */
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 1rem;
}

.footer-col h3 {
  font-size: 1.1rem;
  color: #FFD700; /* Secondary color */
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.footer-nav ul li {
  margin-bottom: 0.7rem;
}

.footer-nav a {
  color: #fff;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #FFD700; /* Secondary color */
}

.footer-col p {
  margin-bottom: 0.7rem;
}

.footer-col a {
  color: #fff;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #FFD700; /* Secondary color */
}

.copyright {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  opacity: 0.8;
}

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

  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px; /* Adjust based on header height */
    left: 0;
    width: 100%;
    background-color: #0A2342; /* Primary color */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    padding-bottom: 1rem;
  }

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

  .main-nav ul {
    flex-direction: column;
    text-align: center;
    gap: 0;
  }

  .main-nav ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .main-nav a {
    display: block;
    padding: 1rem 0;
    width: 100%;
  }

  .main-nav a::after {
    display: none; /* Hide underline on mobile */
  }

  .hamburger-menu {
    display: flex;
  }

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

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

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

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

  .footer-col {
    min-width: unset;
    width: 100%;
    max-width: 300px; /* Constrain width for better readability */
  }

  .footer-branding {
    order: -1; /* Place branding first on mobile */
  }
}

@media (min-width: 769px) {
  .main-nav {
    display: block !important; /* Ensure nav is visible on desktop */
  }
  .hamburger-menu {
    display: none !important; /* Ensure hamburger is hidden on desktop */
  }
}