/* --- Global Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

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

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

ul {
  list-style: none;
}

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

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

.site-header .logo {
  font-size: 2em;
  font-weight: bold;
  color: #FFD700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.site-header .logo:hover {
  color: #fff;
}

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

.main-nav .nav-list li a {
  color: #fff;
  font-weight: 500;
  padding: 5px 0;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  position: relative;
}

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

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

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

.hamburger-menu {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 20px;
  justify-content: space-between;
  z-index: 1000;
}

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

.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: #1A2E4C;
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 50px;
}

.site-footer .footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.site-footer h3 {
  color: #FFD700;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.site-footer p,
.site-footer li {
  font-size: 0.95em;
  margin-bottom: 8px;
}

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

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

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

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

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

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

  .main-nav .nav-list li {
    margin-bottom: 15px;
    text-align: center;
  }

  .main-nav .nav-list li:last-child {
    margin-bottom: 0;
  }

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

  .main-nav .nav-list li a::after {
    bottom: 0;
  }

  .hamburger-menu {
    display: flex;
  }

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

  .site-footer .footer-col h3 {
    margin-top: 20px;
  }

  .site-footer .footer-col ul {
    padding-left: 0;
  }
}
