body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  /* Original padding: 0; */
  padding: 0;
  box-sizing: border-box;
  background-color: #f4f4f4;
  color: #333;
}

:root {
  --header-height: 65px; /* Estimated height of the header to prevent content overlap */
}

body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding-top: var(--header-height); /* Add padding-top to body to account for the fixed header */
  box-sizing: border-box;
  background-color: #f4f4f4;
  color: #333;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.site-header {
  background-color: #1A237E;
  padding: 15px 0;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  /* --- Modifications for sticky header --- */
  position: fixed; /* Make the header stick to the top */
  top: 0;          /* Position it at the very top */
  width: 100%;     /* Ensure it spans the full width of the viewport */
  z-index: 1000;   /* Make sure it stays above other content */
  /* ------------------------------------- */
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-header .logo {
  font-family: 'Georgia', serif;
  font-size: 28px;
  font-weight: bold;
  color: #FFD700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}
.site-header .logo:hover {
  color: #fff;
}
.site-header .main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}
.site-header .main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}
.site-header .main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #FFD700;
  transition: width 0.3s ease;
}
.site-header .main-nav a:hover::after,
.site-header .main-nav a.active::after {
  width: 100%;
}
.site-header .main-nav a:hover,
.site-header .main-nav a.active {
  color: #FFD700;
}
.site-header .auth-buttons {
  display: flex;
  gap: 10px;
  margin-left: 20px;
}
.site-header .btn {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.site-header .btn-login {
  background-color: transparent;
  color: #FFD700;
  border: 1px solid #FFD700;
}
.site-header .btn-login:hover {
  background-color: #FFD700;
  color: #1A237E;
}
.site-header .btn-register {
  background-color: #FFD700;
  color: #1A237E;
  border: 1px solid #FFD700;
}
.site-header .btn-register:hover {
  background-color: #e6c200;
  color: #1A237E;
}
.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1000;
}
.hamburger-menu .bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #FFD700;
  margin-bottom: 5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger-menu .bar:last-child {
  margin-bottom: 0;
}
.site-footer {
  background-color: #1A237E;
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 50px;
}
.site-footer h3 {
  color: #FFD700;
  font-size: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 10px;
}
.site-footer p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.site-footer a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer .footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.site-footer .footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer .footer-nav li {
  margin-bottom: 10px;
}
.site-footer .footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 20px;
  font-size: 13px;
}
@media (max-width: 768px) {
  .site-header .container {
    flex-wrap: wrap;
  }
  .site-header .logo {
    margin-right: auto;
  }
  .hamburger-menu {
    display: block;
  }
  .site-header .main-nav {
    flex-basis: 100%;
    order: 3;
    display: none;
    background-color: #1A237E;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    z-index: 999;
  }
  .site-header .main-nav.active {
    display: block;
  }
  .site-header .main-nav ul {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .site-header .main-nav li {
    padding: 5px 0;
  }
  .site-header .main-nav a {
    font-size: 18px;
    padding: 10px 0;
    display: block;
  }
  .site-header .auth-buttons {
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
    margin-left: 0;
    align-items: center;
  }
  .site-header .btn {
    width: 80%;
    text-align: center;
  }
  .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);
  }
  .site-footer .footer-columns {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .site-footer .footer-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .site-header .main-nav ul {
    gap: 15px;
  }
  .site-header .main-nav a {
    font-size: 15px;
  }
  .site-header .btn {
    padding: 6px 12px;
  }
}