/* General Styles & Reset */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 1.6;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

/* Header Styles */
.site-header {
  background-color: #003366; /* Primary color */
  color: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2.2em;
  font-weight: 700;
  color: #FFCC00; /* Secondary color */
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.logo:hover {
  color: #e6b800;
}

.main-nav ul {
  display: flex;
  gap: 25px;
}

.main-nav a {
  color: #fff;
  font-size: 1.05em;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

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

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

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

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1100;
}

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

.hamburger-menu .bar:last-child {
  margin-bottom: 0;
}

.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 Styles */
.site-footer {
  background-color: #003366; /* Primary color */
  color: #fff;
  padding: 40px 0 20px;
  font-size: 0.95em;
  border-top: 5px solid #FFCC00; /* Secondary color */
}

.site-footer h3 {
  color: #FFCC00; /* Secondary color */
  font-size: 1.3em;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.site-footer h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: #FFCC00; /* Secondary color */
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 30px;
}

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

.footer-col:last-child {
  margin-right: 0;
}

.footer-col p {
  margin-bottom: 10px;
  color: #ccc;
}

.footer-nav ul {
  line-height: 2.2;
}

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

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ccc;
  font-size: 0.85em;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .main-nav ul {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .site-header .container {
    padding: 10px 20px;
  }

  .hamburger-menu {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%; /* Below the header */
    left: 0;
    width: 100%;
    background-color: #003366; /* Primary color */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    overflow: hidden;
  }

  .main-nav.open {
    transform: translateY(0%);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
  }

  .main-nav li {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .main-nav a {
    display: block;
    padding: 10px 20px;
    font-size: 1.1em;
  }

  .main-nav a::after {
    display: none;
  }

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

  .footer-col {
    margin-right: 0;
    min-width: unset;
    width: 100%;
    text-align: center;
  }

  .site-footer h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
  }

  .footer-nav li {
    flex: 0 0 auto;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.8em;
  }

  .site-footer h3 {
    font-size: 1.1em;
  }

  .footer-col p {
    font-size: 0.9em;
  }
}