  :root {
    --green-900: #002B22;
    --green-800: #003D2F;
    --green-700: #005745;
    --green-600: #006E57;
    --green-500: #008A6D;
    --green-400: #00A882;
    --green-300: #33BC99;
    --green-200: #80D9C4;
    --green-100: #C2EEE6;
    --green-50:  #E8F8F5;
    --gold:      #C9A84C;
    --gold-light:#F0D080;
    --white:     #FFFFFF;
    --off-white: #F4FAF8;
    --gray-50:   #F0F4F2;
    --gray-100:  #DDE8E4;
    --gray-200:  #B8CEC9;
    --gray-400:  #7A9991;
    --text-dark: #002B22;
    --text-muted:#5A7A74;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: 'Montserrat', sans-serif; background: var(--off-white); color: var(--text-dark); overflow-x: hidden; }

  /* -- NAV -- */
  nav {
    background: var(--green-900);
    padding: 0 60px;
    display: flex; align-items: center; justify-content: space-between;
    height: 80px; position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .nav-logo-wrap {
    display: flex; align-items: center; gap: 0;
    text-decoration: none; flex-shrink: 0;
  }
  /* The logo image — white version via CSS filter */
  .nav-logo-img {
    height: 58px;
    width: auto;
    /* invert black?white, then shift hue to get white strokes on dark bg */
    filter: brightness(0) invert(1);
    display: block;
  }
  .nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
  .nav-links a {
    color: var(--gray-200); text-decoration: none;
    font-size: 12px; font-weight: 600; letter-spacing: 0.8px;
    text-transform: uppercase; transition: color 0.2s;
  }
  .nav-links a:hover, .nav-links a.active { color: var(--green-300); }
  .nav-cta {
    background: var(--green-700) !important;
    color: var(--white) !important;
    padding: 10px 22px; border-radius: 3px;
    font-weight: 700 !important; font-size: 11px !important;
    letter-spacing: 1.2px; border: 1px solid var(--green-500) !important;
    transition: background 0.2s !important;
  }
  .nav-cta:hover { background: var(--green-500) !important; }

  /* -- HERO -- */
  .hero { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: center; }
  .hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
  }
  .hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(0,43,34,0.97) 0%, rgba(0,87,69,0.88) 50%, rgba(0,87,69,0.45) 100%);
  }
  .hero-overlay::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(160deg, transparent 60%, rgba(0,168,130,0.12) 100%);
  }
  .hero-content {
    position: relative; z-index: 2;
    padding: 90px 60px 80px; max-width: 760px;
  }
  .hero-tag {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--green-200); margin-bottom: 22px;
  }
  .hero-tag::before {
    content: ''; display: inline-block; width: 28px; height: 2px; background: var(--green-400);
  }
  .hero h1 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 74px; font-weight: 900; color: var(--white);
    line-height: 0.95; letter-spacing: 2px; text-transform: uppercase;
    max-width: 680px; margin-bottom: 22px;
  }
  .hero h1 span { color: var(--green-300); }
  .hero p {
    font-size: 15px; color: var(--green-100);
    max-width: 500px; line-height: 1.75; font-weight: 400; margin-bottom: 38px;
  }
  .hero-subscribe { display: flex; max-width: 440px; }
  .hero-subscribe input {
    flex: 1; background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.18); border-right: none;
    border-radius: 3px 0 0 3px; padding: 13px 18px; color: var(--white);
    font-family: 'Montserrat', sans-serif; font-size: 13px; outline: none;
  }
  .hero-subscribe input::placeholder { color: var(--gray-200); }
  .hero-subscribe input:focus { border-color: var(--green-400); background: rgba(255,255,255,0.11); }
  .hero-subscribe button {
    background: var(--green-500); color: var(--white); border: none;
    border-radius: 0 3px 3px 0; padding: 13px 24px;
    font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
    letter-spacing: 1.2px; text-transform: uppercase; cursor: pointer; transition: background 0.2s;
  }
  .hero-subscribe button:hover { background: var(--green-400); }
  .hero-stats {
    display: flex; gap: 48px; margin-top: 52px; padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .stat-item { display: flex; flex-direction: column; gap: 5px; }
  .stat-num { font-family: 'Montserrat', sans-serif; font-size: 30px; font-weight: 800; color: var(--green-300); }
  .stat-label { font-size: 10px; color: var(--green-200); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 500; }

  /* -- FILTER BAR -- */
  .filter-bar {
    background: var(--green-800);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0 60px; display: flex; align-items: center; gap: 4px;
    overflow-x: auto; position: sticky; top: 80px; z-index: 90;
  }
  .filter-btn {
    background: none; border: none; font-family: 'Montserrat', sans-serif;
    font-size: 11px; font-weight: 600; letter-spacing: 0.8px; color: var(--green-200);
    padding: 16px 18px; cursor: pointer; white-space: nowrap;
    border-bottom: 2px solid transparent; transition: all 0.2s; text-transform: uppercase;
  }
  .filter-btn:hover { color: var(--white); }
  .filter-btn.active { color: var(--green-300); border-bottom-color: var(--green-400); }
  .filter-dropdown-wrap { position: relative; }
  .filter-btn.has-drop { display: flex; align-items: center; gap: 6px; }
  .filter-btn.has-drop svg { transition: transform 0.2s; flex-shrink: 0; }
  .filter-btn.has-drop.open svg { transform: rotate(180deg); }
  .filter-dropdown {
    display: none; position: absolute; top: 100%; left: 0;
    background: #FFFFFF; border: 1px solid #DDE8E4;
    border-top: 3px solid #005745; border-radius: 0 0 8px 8px;
    min-width: 230px; z-index: 99999; overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  }
  .filter-dropdown.show { display: block; }
  .drop-section { padding: 10px 0 6px; }
  .drop-label {
    font-size: 9px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: #005745;
    padding: 0 16px 6px; display: block; font-family: 'Montserrat', sans-serif;
  }
  .drop-item {
    display: block; padding: 9px 16px; font-size: 12px; font-weight: 500;
    color: #2D4D46; text-decoration: none; cursor: pointer;
    transition: background 0.15s, color 0.15s;
    border-left: 2px solid transparent; font-family: 'Montserrat', sans-serif;
  }
  .drop-item:hover { background: #E8F8F5; color: #005745; border-left-color: #005745; }
  .drop-divider { height: 1px; background: #DDE8E4; margin: 4px 0; }

  /* -- MAIN -- */
  .main-wrap {
    max-width: 1200px; margin: 0 auto; padding: 60px 40px 100px;
    display: grid; grid-template-columns: 1fr 320px; gap: 60px; align-items: start;
  }

  /* -- FEATURED -- */
  .featured-label {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 10px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
  }
  .featured-label::before { content: ''; display: inline-block; width: 24px; height: 2px; background: var(--gold); }
  .featured-card {
    background: var(--white); border-radius: 6px; overflow: hidden;
    border: 1px solid var(--gray-100); margin-bottom: 52px;
    display: grid; grid-template-columns: 1.15fr 1fr;
    transition: box-shadow 0.25s, transform 0.25s; cursor: pointer;
  }
  .featured-card:hover { box-shadow: 0 14px 44px rgba(0,87,69,0.13); transform: translateY(-3px); }
  .featured-img { height: 340px; overflow: hidden; }
  .featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
  .featured-card:hover .featured-img img { transform: scale(1.04); }
  .featured-body {
    padding: 36px 30px; display: flex; flex-direction: column; justify-content: space-between;
    border-left: 3px solid var(--green-700);
  }
  .post-category {
    display: inline-block; font-size: 10px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    padding: 4px 11px; border-radius: 2px; margin-bottom: 14px;
  }
  .cat-product     { background: var(--green-50); color: var(--green-700); }
  .cat-application { background: #FDF4DC; color: #7A5A00; }
  .cat-research    { background: #EEF6FF; color: #1A5CA8; }
  .cat-industry    { background: #FFF0EE; color: #B03A20; }
  .featured-body h2 {
    font-family: 'Montserrat', sans-serif; font-size: 21px; font-weight: 800;
    color: var(--text-dark); line-height: 1.3; margin-bottom: 14px;
  }
  .featured-body p { font-size: 13.5px; color: var(--text-muted); line-height: 1.75; flex: 1; margin-bottom: 24px; }
  .post-meta { display: flex; align-items: center; justify-content: space-between; }
  .post-meta-left { display: flex; align-items: center; gap: 10px; }
  .author-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--green-700); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; flex-shrink: 0;
  }
  .author-info { display: flex; flex-direction: column; gap: 2px; }
  .author-name { font-weight: 700; color: var(--text-dark); font-size: 12px; }
  .post-date { font-size: 11px; color: var(--text-muted); }
  .read-more {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 700; color: var(--green-700);
    text-transform: uppercase; letter-spacing: 0.8px; text-decoration: none; transition: color 0.2s;
  }
  .read-more:hover { color: var(--green-500); }
  .read-more svg { transition: transform 0.2s; }
  .read-more:hover svg { transform: translateX(4px); }

  /* -- GRID POSTS -- */
  .section-title {
    font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase; color: var(--green-700);
    margin-bottom: 22px; display: flex; align-items: center; gap: 14px;
  }
  .section-title::after { content: ''; flex: 1; height: 1px; background: var(--gray-100); }
  .posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 48px; }
  .post-card {
    background: var(--white); border-radius: 6px; overflow: hidden;
    border: 1px solid var(--gray-100); transition: box-shadow 0.25s, transform 0.25s; cursor: pointer;
  }
  .post-card:hover { box-shadow: 0 8px 32px rgba(0,87,69,0.11); transform: translateY(-3px); }
  .post-card-img { height: 195px; overflow: hidden; }
  .post-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
  .post-card:hover .post-card-img img { transform: scale(1.05); }
  .post-card-body { padding: 18px 20px 16px; }
  .post-card-body h3 {
    font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700;
    color: var(--text-dark); line-height: 1.45; margin: 8px 0 9px;
  }
  .post-card-body p { font-size: 12.5px; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }
  .card-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 12px; border-top: 1px solid var(--gray-50);
  }
  .read-time { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }

  /* -- LIST POSTS -- */
  .posts-list { display: flex; flex-direction: column; gap: 14px; }
  .list-card {
    background: var(--white); border-radius: 5px; border: 1px solid var(--gray-100);
    padding: 15px 20px; display: grid; grid-template-columns: 96px 1fr auto;
    gap: 16px; align-items: center; cursor: pointer; transition: box-shadow 0.2s, border-color 0.2s;
  }
  .list-card:hover { box-shadow: 0 4px 18px rgba(0,87,69,0.09); border-color: var(--green-400); }
  .list-thumb { width: 96px; height: 64px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
  .list-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .list-content h4 {
    font-family: 'Montserrat', sans-serif; font-size: 13.5px; font-weight: 700;
    color: var(--text-dark); margin: 4px 0 5px; line-height: 1.4;
  }
  .list-content p { font-size: 12px; color: var(--text-muted); line-height: 1.55; }
  .list-meta { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
  .list-date { font-size: 11px; color: var(--text-muted); white-space: nowrap; }

  /* -- LOAD MORE -- */
  .load-more-wrap { text-align: center; margin-top: 44px; }
  .btn-load {
    background: none; border: 2px solid var(--green-700); color: var(--green-700);
    font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase; padding: 14px 42px;
    border-radius: 3px; cursor: pointer; transition: all 0.2s;
  }
  .btn-load:hover { background: var(--green-700); color: var(--white); }

  /* -- SIDEBAR -- */
  .sidebar { position: sticky; top: 136px; }
  .sidebar-widget {
    background: var(--white); border-radius: 6px; border: 1px solid var(--gray-100);
    padding: 22px; margin-bottom: 22px;
  }
  .widget-title {
    font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase; color: var(--green-800);
    margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--green-700);
  }
  .newsletter-widget { background: var(--green-900); }
  .newsletter-widget .widget-title { color: var(--green-200); border-bottom-color: var(--green-500); }
  .newsletter-widget p { font-size: 13px; color: var(--green-200); line-height: 1.65; margin-bottom: 18px; }
  .nl-input {
    width: 100%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
    border-radius: 3px; padding: 11px 14px; color: var(--white);
    font-family: 'Montserrat', sans-serif; font-size: 13px; outline: none; margin-bottom: 10px;
  }
  .nl-input::placeholder { color: var(--gray-400); }
  .nl-input:focus { border-color: var(--green-400); }
  .nl-btn {
    width: 100%; background: var(--green-600); color: var(--white); border: none;
    border-radius: 3px; padding: 12px; font-family: 'Montserrat', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
    cursor: pointer; transition: background 0.2s;
  }
  .nl-btn:hover { background: var(--green-500); }
  .topics-list { display: flex; flex-wrap: wrap; gap: 7px; }
  .topic-tag {
    font-size: 10px; font-weight: 600; letter-spacing: 0.5px; padding: 5px 11px;
    border-radius: 2px; border: 1px solid var(--gray-200); color: var(--text-muted);
    cursor: pointer; transition: all 0.2s; text-transform: uppercase;
  }
  .topic-tag:hover { background: var(--green-700); color: var(--white); border-color: var(--green-700); }
  .topic-tag.active { background: var(--green-700); color: var(--white); border-color: var(--green-700); font-weight: 700; }
  .popular-item {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 12px 0; border-bottom: 1px solid var(--gray-50); cursor: pointer;
  }
  .popular-item:last-child { border-bottom: none; padding-bottom: 0; }
  .pop-num {
    font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 800;
    color: var(--gray-100); line-height: 1; min-width: 28px; transition: color 0.2s;
  }
  .popular-item:hover .pop-num { color: var(--green-400); }
  .pop-content h5 { font-size: 12.5px; font-weight: 600; color: var(--text-dark); line-height: 1.45; margin-bottom: 4px; }
  .pop-content span { font-size: 11px; color: var(--text-muted); }
  .product-highlight { background: var(--green-800); }
  .product-highlight .widget-title { color: var(--green-200); border-bottom-color: var(--green-500); }
  .prod-item {
    display: flex; gap: 12px; align-items: center;
    padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.07); cursor: pointer;
  }
  .prod-item:last-child { border-bottom: none; }
  .prod-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-400); flex-shrink: 0; }
  .prod-name { font-size: 13px; color: var(--green-100); font-weight: 500; flex: 1; }
  .prod-arrow { color: var(--green-400); font-size: 16px; }

  /* -- CTA -- */
  .cta-banner {
    background: var(--green-900); padding: 80px 60px; text-align: center;
    position: relative; overflow: hidden;
  }
  .cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(0,168,130,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(0,87,69,0.15) 0%, transparent 60%);
    pointer-events: none;
  }
  .cta-banner::after {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 80px; height: 3px; background: var(--gold);
  }
  .cta-banner h2 {
    font-family: 'Montserrat', sans-serif; font-size: 38px; font-weight: 800;
    color: var(--white); margin-bottom: 16px; position: relative; line-height: 1.2;
  }
  .cta-banner h2 span { color: var(--green-300); }
  .cta-banner p {
    font-size: 15px; color: var(--green-200); margin-bottom: 36px;
    max-width: 500px; margin-left: auto; margin-right: auto;
    line-height: 1.7; position: relative;
  }
  .cta-btns { display: flex; gap: 14px; justify-content: center; position: relative; }
  .btn-primary {
    background: var(--green-600); color: var(--white); border: 1px solid var(--green-500);
    font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase; padding: 15px 34px;
    border-radius: 3px; cursor: pointer; transition: all 0.2s;
  }
  .btn-primary:hover { background: var(--green-500); }
  .btn-outline {
    background: none; color: var(--white); border: 1.5px solid rgba(255,255,255,0.3);
    font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase; padding: 15px 34px;
    border-radius: 3px; cursor: pointer; transition: all 0.2s;
  }
  .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

  /* -- FOOTER -- */
  footer { background: #001812; padding: 60px 60px 28px; color: var(--gray-400); }
  .footer-top {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px; padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.10); margin-bottom: 28px;
  }
  .footer-logo-img {
    height: 52px; width: auto;
    display: block; margin-bottom: 16px;
  }
  .footer-brand p { font-size: 13px; line-height: 1.7; max-width: 250px; color: var(--gray-400); }
  .footer-col h4 {
    font-size: 10px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--white); margin-bottom: 18px;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-col ul li a { font-size: 13px; color: var(--gray-400); text-decoration: none; transition: color 0.2s; }
  .footer-col ul li a:hover { color: var(--green-300); }
  .footer-bottom {
    display: flex; justify-content: space-between; align-items: center; font-size: 12px;
  }
  .footer-bottom a { color: var(--green-400); text-decoration: none; }

  @keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
  .hero-content > * { animation: fadeUp 0.65s ease both; }
  .hero-content > *:nth-child(1) { animation-delay: 0.08s; }
  .hero-content > *:nth-child(2) { animation-delay: 0.18s; }
  .hero-content > *:nth-child(3) { animation-delay: 0.28s; }
  .hero-content > *:nth-child(4) { animation-delay: 0.38s; }
  .hero-content > *:nth-child(5) { animation-delay: 0.48s; }
  
  .filter-dropdown {
  display: none;
  position: absolute;
  background: white;
  z-index: 100;
}

.filter-dropdown.show {
  display: block;
}
  .filter-bar {
  overflow: visible;
}
.filter-dropdown-wrap {
  position: relative; /* IMPORTANT */
}

.filter-dropdown {
  position: absolute;
  top: 110%; /* pushes it below button */
  left: 0;
  min-width: 260px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  padding: 12px;
  display: none;
  z-index: 999;
}

.filter-dropdown.show {
  display: block;
}
.nav-logo {
  height: 52px;   /* same as your SVG height */
  width: auto;
  display: block;
}

.nav-logo-wrap {
  background: #fff; /* dark bg (or your theme color) */
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
}

.footer-brand img {
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-block;
}

/* ----------- Responsive Layout for Mobile ----------- */
@media (max-width: 1024px) {
  nav {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 10px 0;
    border-top: 1px solid #eee;
    z-index: 1000;
  }

  .nav-links li {
    margin: 10px 0;
    text-align: center;
  }

  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
  }

  .nav-links.show {
    display: flex;
  }

  /* Hero section */
  .hero-content {
    padding: 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 14px;
  }

  .hero-subscribe {
    flex-direction: column;
    gap: 10px;
  }

  .hero-subscribe input {
    width: 100%;
  }

  /* Filter bar */
  .filter-bar {
    flex-wrap: wrap;
    gap: 5px;
    overflow-x: auto;
  }

  .filter-btn {
    flex: 1 0 auto;
    font-size: 12px;
    padding: 6px 10px;
  }

  .filter-dropdown {
    position: static;
    display: none;
    width: 100%;
    margin-top: 5px;
  }

  .filter-dropdown.show {
    display: block;
  }

  /* Main + Sidebar */
  .main-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  main {
    width: 100%;
  }

  aside.sidebar {
    width: 100%;
  }

  .posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .posts-list .list-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .list-card img {
    width: 100%;
    height: auto;
    margin-bottom: 8px;
  }

  /* CTA Banner */
  .cta-banner {
    text-align: center;
    padding: 30px 20px;
  }

  .cta-btns {
    flex-direction: column;
    gap: 10px;
  }

  .cta-btns button {
    width: 100%;
  }

  /* Footer */
  .footer-top {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .footer-col ul li {
    margin: 5px 0;
  }
}

/* Mobile menu toggle JS */
document.getElementById('navToggle').addEventListener('click', function(){
  document.querySelector('.nav-links').classList.toggle('show');
});

// Mobile nav toggle
const navToggle = document.getElementById('navToggle');
const navLinks = document.querySelector('.nav-links');

navToggle.addEventListener('click', function(e) {
  e.stopPropagation();
  navLinks.classList.toggle('show');
});

// Close menu if clicking outside
document.addEventListener('click', function() {
  navLinks.classList.remove('show');
});

// Prevent closing when clicking inside nav
navLinks.addEventListener('click', function(e) {
  e.stopPropagation();
});

/* Featured card - responsive */
.featured-card {
  display: flex;
  flex-direction: row;
  gap: 24px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  align-items: stretch; /* ensures image & body same height */
}

/* Image container */
.featured-img {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  height: auto; /* let image scale naturally */
}

.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Body content */
.featured-body {
  flex: 2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .featured-card {
    flex-direction: column; /* stack image on top of text */
  }

  .featured-img {
    width: 100%;
    height: 220px; /* fixed height for mobile */
    min-width: unset;
    max-width: unset;
  }

  .featured-body {
    padding: 16px;
  }

  .featured-body h2 {
    font-size: 1.4rem; /* smaller heading on mobile */
  }

  .featured-body p {
    font-size: 0.95rem; /* slightly smaller text */
  }
}

/* Optional: make Read link more touch-friendly */
.featured-body .read-more {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
  /* CSS Document */

