/* ===========================
   RESET & GLOBAL STYLES
   =========================== */

   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth; /* Optional smooth scrolling */
  }
  
  /* ===========================
     BODY & CONTAINERS
     =========================== */
  
  body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
  }
  
  .container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
  }
  
  /* ===========================
     HEADER
     =========================== */
  
  header {
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky; /* Sticky on larger screens */
    top: 0;
    z-index: 1000;
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: auto;
    padding: 15px 20px;
  }
  
  .logo h1 {
    font-size: 1.8rem;
    color: #333;
  }
  
  .tagline {
    font-size: 0.9rem;
    color: #777;
  }
  
  /* ===========================
     NAVIGATION
     =========================== */
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  
  nav ul li a:hover,
  nav ul li a.active {
    color: #0073e6;
  }
  
  /* ===========================
     HERO SECTION
     =========================== */
  
  .hero {
    /* Subtle gradient overlay on top of the background image */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('../images/hero-bg.jpg') center/cover no-repeat;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 800px;
    margin: auto;
  }
  
  .hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  /* ===========================
     CONTENT SECTIONS
     =========================== */
  
  .content-section {
    padding: 60px 20px;
  }
  
  /* Centered underline for section headings */
  .content-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    color: #0073e6;
    position: relative;
  }
  
  .content-section h2::after {
    content: "";
    display: block;
    width: 150px;
    height: 3px;
    background-color: #0073e6;
    margin: 10px auto 0;
  }
  
  .content-section p,
  .content-section ul {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: auto;
    text-align: center;
  }
  
  /* List styling */
  .content-section ul {
    list-style: none;
    padding: 0;
  }
  
  .content-section ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 1.5em; /* Less padding so checkmark is closer */
  }
  
  .content-section ul li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0.1em;
    color: #0073e6;
    font-size: 1.2em;
  }
  
  /* Alternate Background Section */
  .alt-background {
    background-color: #e9f5ff;
  }
  
  /* ===========================
     FOOTER
     =========================== */
  
  footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
  }
  
  .footer-container {
    max-width: 1100px;
    margin: auto;
  }
  
  /* ===========================
     RESPONSIVE ADJUSTMENTS
     =========================== */
  
  /* Remove sticky header on smaller screens */
  @media (max-width: 768px) {
    header {
      position: static; /* no sticky on mobile */
    }
  
    .header-container {
      flex-direction: column;
      align-items: flex-start;
    }
  
    nav ul {
      flex-direction: column;
      gap: 10px;
      margin-top: 10px;
      width: 100%;
    }
  
    .hero {
      padding: 60px 20px;
    }
  
    .hero h2 {
      font-size: 1.8rem;
    }
  
    .hero p {
      font-size: 1rem;
    }
  
    .content-section {
      padding: 40px 20px;
    }
  
    .content-section h2 {
      font-size: 1.5rem;
    }
  
    .content-section p,
    .content-section ul {
      font-size: 1rem;
    }
  }
  
  /* Apply scroll offset only on screens where header is sticky */
  @media (min-width: 769px) {
    html {
      scroll-padding-top: 80px; /* Adjust to match your header height */
    }
  }