:root {
  --primary-color: #0A2540;
  --secondary-color: #FFD700;
  --text-color-light: #F0F0F0;
  --text-color-dark: #333;
  --header-top-bg: var(--primary-color); /* Dark blue */
  --main-nav-bg: #1A3E60; /* Slightly lighter blue for contrast */
  --mobile-nav-bg: var(--primary-color); /* Dark blue for mobile slide-out */
  --button-primary-bg: var(--secondary-color); /* Gold */
  --button-secondary-bg: #556B8D; /* Muted blue */
  --button-tertiary-bg: #3A5C80; /* Another blue shade */
  --footer-bg: #051A2C; /* Even darker blue */
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding-top: 0; /* Will be set by JS for fixed header */
  line-height: 1.6;
  color: var(--text-color-dark);
}

body.no-scroll {
  overflow: hidden;
}

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

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

/* Header Styles (Desktop First) */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  min-height: 60px; /* Base min-height */
}

.header-top {
  background-color: var(--header-top-bg);
  color: var(--text-color-light);
  padding: 10px 0;
}

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

.logo {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 0; /* Ensure logo itself has some vertical padding if needed */
  display: block; /* Ensure logo is visible */
}

.desktop-nav-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.btn {
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  white-space: nowrap;
  text-decoration: none; /* Remove underline for buttons */
}

.btn-primary {
  background-color: var(--button-primary-bg);
  color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}
.btn-primary:hover {
  background-color: #FFEF80;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.6);
}

.btn-secondary {
  background-color: var(--button-secondary-bg);
  color: var(--text-color-light);
  box-shadow: 0 4px 10px rgba(85, 107, 141, 0.4);
}
.btn-secondary:hover {
  background-color: #6A81A4;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(85, 107, 141, 0.6);
}

.btn-tertiary {
  background-color: var(--button-tertiary-bg);
  color: var(--text-color-light);
  box-shadow: 0 4px 10px rgba(58, 92, 128, 0.4);
}
.btn-tertiary:hover {
  background-color: #4C7299;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(58, 92, 128, 0.6);
}

.mobile-buttons-area {
  display: none; /* Hidden on desktop */
}

.main-nav {
  background-color: var(--main-nav-bg);
  padding: 15px 0;
  display: flex; /* Desktop default: flex */
}

.main-nav .nav-container {
  display: flex;
  justify-content: center; /* Center menu items */
  align-items: center;
  flex-wrap: wrap; /* Allow wrapping on smaller desktop screens */
  gap: 25px;
}

.nav-link {
  color: var(--text-color-light);
  font-size: 16px;
  font-weight: bold;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color);
}

.hamburger-menu {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1002; /* Above mobile menu */
}

.hamburger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Footer Styles */
.site-footer {
  background-color: var(--footer-bg);
  color: #B0B0B0;
  padding: 40px 0 20px;
  font-size: 14px;
}

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

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h3 {
  color: var(--secondary-color);
  font-size: 18px;
  margin-bottom: 15px;
}

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

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

.footer-col ul li a {
  color: #B0B0B0;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--secondary-color);
}

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

.footer-bottom p {
  margin: 0;
  color: #888;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .container {
    width: 100%;
    max-width: none; /* Crucial for mobile */
    padding-left: 15px;
    padding-right: 15px;
  }

  .site-header {
    /* No specific flex-direction for site-header itself, as children are already structured */
  }

  .header-top {
    padding: 10px 0;
    display: flex; /* Ensure flex for hamburger and logo */
    justify-content: space-between;
    align-items: center;
  }
  .header-top .header-container {
    width: 100%; /* Ensure container takes full width */
    max-width: none; /* Crucial for mobile */
    padding-left: 15px;
    padding-right: 15px;
    justify-content: space-between; /* Space out hamburger and logo */
  }

  .logo {
    flex-grow: 1; /* Allow logo to take available space */
    text-align: center; /* Center the logo */
    padding: 0; /* Remove padding from logo itself, container padding is enough */
    font-size: 24px;
  }

  .desktop-nav-buttons {
    display: none; /* Hide desktop buttons */
  }

  .hamburger-menu {
    display: block; /* Show hamburger menu */
    order: -1; /* Place it at the beginning */
    margin-right: auto; /* Push logo to center */
  }

  /* Hamburger menu active state */
  .hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .mobile-buttons-area {
    display: block; /* Show mobile button area */
    background-color: var(--primary-color); /* Same as header-top for continuity */
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  .mobile-buttons-area .mobile-buttons-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap; /* Allow buttons to wrap */
    padding-left: 15px;
    padding-right: 15px;
  }
  .mobile-buttons-area .btn {
    flex: 1 1 auto; /* Allow buttons to grow/shrink */
    min-width: 100px; /* Minimum width for buttons */
    max-width: 150px;
    font-size: 14px;
    padding: 8px 15px;
  }

  .main-nav {
    display: none; /* Hidden by default on mobile */
    position: fixed;
    top: 0;
    left: 0;
    width: 80%; /* Adjust as needed */
    max-width: 300px; /* Optional: max width for side menu */
    height: 100vh;
    background-color: var(--mobile-nav-bg);
    flex-direction: column;
    transform: translateX(-100%); /* Slide out from left */
    transition: transform 0.3s ease;
    z-index: 1001;
    overflow-y: auto; /* Enable scrolling for long menus */
    padding-top: 80px; /* Padding for fixed top bar if menu slides under it */
  }
  .main-nav.active {
    display: flex; /* Show menu when active */
    transform: translateX(0);
  }
  .main-nav .nav-container {
    flex-direction: column;
    align-items: flex-start; /* Align menu items to the left */
    gap: 15px;
    padding: 20px 15px; /* Adjust padding for mobile menu */
    width: 100%; /* Ensure nav-container fills main-nav width */
    max-width: none; /* Crucial for mobile */
  }
  .nav-link {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 18px;
  }
  .nav-link:last-child {
    border-bottom: none;
  }
  .nav-link::after {
    bottom: 0;
  }

  .mobile-menu-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    transition: opacity 0.3s ease;
  }
  .mobile-menu-overlay.active {
    display: block;
  }

  .site-footer .footer-container {
    flex-direction: column;
    gap: 20px;
  }
  .footer-col {
    min-width: unset;
    width: 100%;
  }
  .footer-col h3 {
    margin-bottom: 10px;
  }
}