/* -----------------------------
   1. Global Reset & Defaults
----------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
 
}

a {
  text-decoration: none;
  color: #007BFF;
}

ul {
  list-style: none;
}

/* -----------------------------
   2. Header
----------------------------- */
.site-header {
  background-color: #4CAF50;
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  text-align: center;
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.logo {
  max-height: 80px;
  height: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.3);
}

.menu-toggle {
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: block;
  margin: auto;
}

.nav-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  width: 100%;
  margin-top: 1rem;
}

.nav-menu.open {
  max-height: 300px;
}

.nav-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.nav-menu a {
  font-weight: bold;
  color: white;
}

.nav-menu a.active {
  text-decoration: underline;
}

/* -----------------------------
   3. Main Content
----------------------------- */
.container {

  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
 
  
}
.section {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;  
  padding: 1rem 2rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);  
}



/* -----------------------------
   4. Footer
----------------------------- */
.site-footer {
  background-color: #4CAF50;
  color: white;
  padding: 1rem 0;
  text-align: center;
  margin-top: auto;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem; 
  
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-nav a,
.footer-nav span {
  color: white;
  font-size: 1.0 rem;
  font-weight: bold;
  text-decoration: none;
}

/* -----------------------------
   5. Responsive (Desktop)
----------------------------- */
@media (min-width: 768px) {
  .logo-wrapper {
    margin-bottom: 0;
    justify-content: flex-start;
  }

  .menu-toggle {
    display: none;
  }

  .nav-menu {
    max-height: none !important;
    overflow: visible;
    display: block !important;
    width: auto;
    margin-top: 0;
  }

  .nav-menu ul {
    flex-direction: row;
    justify-content: flex-end;
    gap: 1.5rem;
  }

  .header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .footer-container {
    flex-direction: row;
    justify-content: space-between;
  }
}
