@charset "UTF-8";

.ads-header-min-height {
  min-height: 250px;
}

@media screen and (max-width: 768px) {
  .ads-header-min-height {
    min-height: 250px;
  }
}
/* Reset some defaults */
body, h1, h2, h3, p, ul {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Global body */
body {
  background-color: #ffffff;
  color: #222;
  line-height: 2.0;
  font-size: 20px;
  padding: 0;
  margin: 0;
  justify-content: center; /* Center the main content horizontally */
  align-items: flex-start; /* Align items at the top of the viewport */
  min-height: 100vh; /* Full viewport height */
  flex-direction: column; /* Ensure content flows vertically */
}

/* Main header container */
header.header {
  width: 100%;
  color: white;
  margin: 0;
  padding: 0;
}

/* Top section: logo area */
.header-top {
  background-color: #ffffff; 
  padding: 16px 0;
  display: flex;
  justify-content: center;
}

.header-top .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  color: #FFEB3B;
}

.header-top .logo img {
  width: 180px;
  height: auto;
}

/* Bottom section: navigation menu */
.header-bottom {
  background-color: #2e3760;
  padding: 12px 0;
  display: flex;
  justify-content: center;
  font-weight: 500;
}

.header-bottom nav {
  display: flex;
  gap: 20px; /* cleaner than margin-left */
}

.header-bottom nav a {
  color: white;
  text-decoration: none;
  font-size: 20px;
}

.header-bottom nav a:hover {
  text-decoration: underline;
}

/* Optional: limit max width like before */
.header-top,
.header-bottom {
  margin: 0 auto;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* Main container for content */
main {
  max-width: 1000px; /* Limit content width */
  width: 100%; /* Ensure it scales responsively */
  padding: 20px;
  margin-top: 5px;
  margin-left: auto; /* Center horizontally */
  margin-right: auto; /* Center horizontally */
  background: white;
  margin-bottom: 40px;
  box-sizing: border-box;
}

h1 {
  font-size: 30px;
  margin-bottom: 20px;
  color: #0061a9; 
}

h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

p, li {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Text formatting for the page content */
p {
  font-size: 20px;
  color: #333; 
}

/* Lists */
ul {
  padding-left: 24px;
}

ul li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Footer */
footer {
  text-align: center;
  color: #666;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #2e3760;
  border-top: 1px solid #ddd;
}

footer p {
  font-size: 15px;
  color: white;
}

.footer-favicon {
  display: block;
  margin: 10px auto 0;
  width: 40px;
}

.hero-section {
  text-align: center;
  padding: 20px;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
}

@media (max-width: 768px) {
  /* Ensure both sections stack and center properly */
  .header-top,
  .header-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Center the logo */
  .header-top .logo {
    justify-content: center;
  }

  /* Mobile-friendly nav */
  .header-bottom nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; 
    margin-top: 8px;
  }

  .header-bottom nav a {
    margin: 0; 
    font-size: 16px;
  }

  main {
    padding: 10px;
    margin-top: 20px;
  }
}
