:root {
    --primary-color:#0C4535;
    --secondary-color:#FFFFFF;
    --footer-bg: var(--primary-color);
    --footer-text: #ffffff;
    --footer-link: #d1e7dd;   /* light greenish gray for links */
    --footer-link-hover: #ff9800;
  }
  
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
  @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');
  
  * {
    margin:0;
    padding:0;
    box-sizing:border-box;
  }
  
  body {
    background:var(--secondary-color);
    font-family:'Poppins',sans-serif;
    overflow-x:hidden;
    display:flex;
    flex-direction:column;
    min-height:100vh; /* ensures footer sticks */
  }
  
  .content {
    flex:1; /* pushes footer down */
  }
  
  /* ===== NAV LAYOUT (GRID) ===== */
  nav {
    position:relative;
    width:100%;
    padding:12px 35px;
    display:grid;
    grid-template-columns:1fr auto 1fr;    /* left | center | right */
    grid-template-areas:"logo center end";
    align-items:center;
    gap:10px;
  }
  
  .logo {
    grid-area:logo;
    width: 110px;
    font-weight:600;
    color:var(--primary-color);
    text-decoration:none;
    z-index:2;
  }
  
  /* Center menu */
  .nav-center {
    grid-area:center;
    list-style:none;
    display:flex;
    gap:20px;
    justify-self:center;
    align-items:center;
  }
  
  .nav-center li a,
  .nav-end .contact-btn {
    text-decoration:none;
    font-size:18px;
    color:var(--primary-color);
    padding:8px 12px;
    border-radius:10px;
    transition:.3s ease;
    display:inline-block;
    white-space:nowrap;
    font-weight: bold;
  }
  
  .nav-center li a:hover,
  .nav-end .contact-btn:hover {
    color:#0c664c;
    background-color: #e8f5e9;
  }
  
  /* Right end (Contact Us) */
  .nav-end {
    grid-area:end;
    justify-self:end;
  }
  
  /* Hamburger (hidden on desktop) */
  #check{display:none}
  .menu-btn {
    display:none;
    font-size:24px;
    color:var(--primary-color);
    cursor:pointer;
    z-index:3; /* above drawer */
    grid-area:end;
    justify-self:end;
  }
  
  /* ===== MOBILE DRAWER ===== */
  .drawer {
    position:fixed;
    top:0;
    left:-100%;
    width:100%;
    max-width:300px;
    height:100vh;
    background:var(--secondary-color);
    box-shadow:0 5px 10px #b0b0b5;
    padding-top:80px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:24px;
    transition:left .3s ease;
    z-index:2;
  }
  .drawer a {
    text-decoration:none;
    font-size:18px;
    color:var(--primary-color);
    padding:8px 12px;
    border-radius:10px;
    transition:.3s ease;
    display:inline-block;
    white-space:nowrap;
    font-weight: bold;
  }
  .drawer a:hover {
    color:#fff;
    background:var(--primary-color);
    box-shadow:inset -3px -3px 7px #ffffff, inset 3px 3px 5px #ceced1;
  }
  
  /* Toggle states */
  #check:checked ~ .drawer { left:0 }
  #check:checked ~ label.menu-btn i:before { content:"\f00d" }
  
  /* ===== RESPONSIVE ===== */
  @media (max-width: 940px){
    .menu-btn{display:block}
    .nav-center, .nav-end{display:none}
  }
  
  /* ===== FOOTER ===== */
  /* Footer */
  footer {
    background: var(--primary);
    color: var(--white);
    padding: 3rem 0 1rem;
  }

  .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }

  .footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
  }

  .footer-col h4:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
  }

  .footer-col ul {
    list-style: none;
  }

  .footer-col ul li {
    margin-bottom: 0.8rem;
  }

  .footer-col ul a {
    color: #ccc;
  }

  .footer-col ul a:hover {
    color: var(--secondary);
    padding-left: 5px;
  }

  .footer-col p {
    margin-bottom: 1rem;
    color: #ccc;
  }

  .footer-newsletter form {
    display: flex;
    flex-direction: column;
  }

  .footer-newsletter input {
    padding: 10px;
    margin-bottom: 1rem;
    border: none;
    border-radius: 4px;
    color: rgb(53, 51, 51);
  outline: none;
  }

  .footer-newsletter button {
    background: var(--secondary);
    color: var(--white);
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
  }

  .social-icons {
    display: flex;
    margin-top: 1.5rem;
  }

  .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--white);
  }

  .social-icons a:hover {
    background: var(--secondary);
  }

  .copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    font-size: 0.9rem;
  }
  @media (max-width: 576px) {
    .articles-grid {
      grid-template-columns: 1fr;
    }
    
    .footer-container {
      grid-template-columns: 1fr;
    }
  }
  