 :root {
    --green: #147A27;
    --green-light: #1e9e36;
    --green-pale: #e8f5eb;
    --green-mid: #b6dfc0;
    --orange: #E87817;
    --cream: #faf8f4;
    --ink: #1a1a1a;
    --muted: #6b7280;
    --border: #e5e7eb;
    --white: #ffffff;
    --card-shadow: 0 4px 24px rgba(0,0,0,0.07);
    --card-shadow-hover: 0 12px 48px rgba(0,0,0,0.14);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--ink);
    overflow-x: hidden;
  }

  /* ===== NAV ===== */
  nav {
    position: sticky; inset-block-start: 0; z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(14px);
    border-block-end: 1px solid var(--border);
    padding: 0 2rem;
    height: 64px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem; font-weight: 900;
    color: var(--green); text-decoration: none;
  }
  .nav-logo span { color: var(--ink); }
  .nav-logo .dot { color: var(--orange); }
  .nav-links { display: flex; gap: 2rem; }
  .nav-links a {
    color: var(--muted); text-decoration: none;
    font-size: 0.9rem; font-weight: 500;
    transition: color .2s;
  }
  .nav-links a:hover { color: var(--green); }
  .nav-cta {
    background: var(--green); color: white;
    padding: 8px 22px; border-radius: 100px;
    font-size: 0.85rem; font-weight: 600;
    text-decoration: none; transition: background .2s, transform .2s;
  }
  .nav-cta:hover { background: var(--green-light); transform: translateY(-1px); }

  /* ===== HERO SLIDER ===== */
  .hero-section {
    position: relative;
    height: 88vh; min-height: 580px;
    overflow: hidden;
    background: #0d2b13;
  }
  .slides-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.77,0,0.18,1);
  }
  .slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
  }
  .slide-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform 8s ease;
  }
  .slide.active .slide-bg { transform: scale(1.06); }
  .slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(10,35,15,0.82) 45%, rgba(10,35,15,0.1) 100%);
  }
  .slide-content {
    position: absolute; bottom: 10%; left: 7%;
    max-width: 600px;
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
  }
  .slide.active .slide-content { opacity: 1; transform: translateY(0); }
  .slide-tag {
    display: inline-block;
    background: var(--orange); color: white;
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 5px 14px; border-radius: 100px; margin-bottom: 16px;
  }
  .slide-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    font-weight: 900; color: white;
    line-height: 1.18; margin-bottom: 16px;
  }
  .slide-meta { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin-bottom: 22px; }
  .slide-meta strong { color: rgba(255,255,255,0.9); }
  .slide-excerpt {
    color: rgba(255,255,255,0.78);
    font-size: 1rem; line-height: 1.7;
    margin-bottom: 28px;
    max-width: 480px;
  }
  .slide-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--green); color: white;
    font-size: 0.9rem; font-weight: 600;
    padding: 13px 28px; border-radius: 12px;
    text-decoration: none;
    transition: background .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 4px 18px rgba(20,122,39,0.35);
  }
  .slide-btn:hover { background: var(--green-light); transform: translateY(-2px); }
  .slide-btn svg { width: 16px; height: 16px; }

  /* Slide indicators */
  .hero-indicators {
    position: absolute; bottom: 32px; left: 7%;
    display: flex; gap: 8px;
  }
  .hero-indicators button {
    width: 28px; height: 4px; border-radius: 2px;
    border: none; cursor: pointer;
    background: rgba(255,255,255,0.35);
    transition: all .3s;
  }
  .hero-indicators button.active {
    background: var(--green); width: 52px;
  }

  .nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 36px;
  width: auto;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: #147A27;
}

.logo-text span {
  color: #1a1a1a;
}

.logo-text .dot {
  color: #E87817;
}

  /* Slide nav arrows */
  .hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: white; border-radius: 50%;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; backdrop-filter: blur(8px);
    transition: background .2s;
  }
  .hero-arrow:hover { background: rgba(255,255,255,0.25); }
  .hero-arrow.prev { left: 24px; }
  .hero-arrow.next { right: 24px; }
  .hero-arrow svg { width: 20px; height: 20px; }

  /* Slide thumbnail strip */
  .slide-thumbs {
    position: absolute; right: 5%; top: 50%;
    transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 12px;
  }
  .slide-thumb {
    width: 90px; height: 60px; border-radius: 10px;
    overflow: hidden; cursor: pointer;
    border: 2px solid transparent;
    transition: border .3s, transform .3s;
    opacity: .6; transition: all .3s;
  }
  .slide-thumb.active { border-color: var(--green); opacity: 1; transform: scale(1.06); }
  .slide-thumb img { width: 100%; height: 100%; object-fit: cover; }

  /* ===== SECTION COMMON ===== */
  section { padding: 80px 0; }
  .container { max-width: 1260px; margin: 0 auto; padding: 0 2rem; }
  .section-header { margin-bottom: 48px; }
  .section-tag {
    display: inline-block; font-size: 0.75rem; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--green); margin-bottom: 10px;
  }
  .section-tag::before { content: "⬤ "; font-size: 0.5rem; vertical-align: middle; margin-inline-end: 4px; }
  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900; line-height: 1.2;
    color: var(--ink);
  }
  .section-title em { color: var(--green); font-style: italic; }
  .section-sub { color: var(--muted); margin-top: 10px; font-size: 1rem; line-height: 1.7; max-width: 500px; }
  .see-all {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--green); font-weight: 600; font-size: 0.9rem;
    text-decoration: none; border-bottom: 1.5px solid var(--green);
    padding-bottom: 1px; transition: gap .2s;
  }
  .see-all:hover { gap: 10px; }

  /* ===== LATEST ARTICLES ===== */
  .latest-section { background: var(--white); }
  .latest-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
  }
  .card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform .3s, box-shadow .3s;
    text-decoration: none; color: inherit;
    display: block;
  }
  .card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
  .card-img {
    width: 100%; aspect-ratio: 16/10;
    object-fit: cover;
    background: var(--green-pale);
    position: relative; overflow: hidden;
  }
  .card-img-wrap { overflow: hidden; }
  .card-img-wrap img {
    width: 100%; aspect-ratio: 16/10; object-fit: cover;
    transition: transform .5s ease;
  }
  .card:hover .card-img-wrap img { transform: scale(1.06); }
  .card-body { padding: 22px; }
  .card-tag {
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--green); margin-bottom: 10px;
    display: inline-block;
  }
  .card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem; font-weight: 700;
    line-height: 1.35; color: var(--ink); margin-bottom: 10px;
  }
  .card-excerpt { color: var(--muted); font-size: 0.88rem; line-height: 1.65; margin-bottom: 16px; }
  .card-meta { display: flex; align-items: center; gap: 12px; font-size: 0.8rem; color: var(--muted); }
  .card-meta .avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--green-mid);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem; font-weight: 700; color: var(--green);
    flex-shrink: 0;
  }
  .card-meta .sep { color: var(--border); }

  /* Large card variant */
  .card-large .card-title { font-size: 1.55rem; }
  .card-large .card-excerpt { font-size: 0.95rem; }
  .card-large .card-img-wrap img { aspect-ratio: 4/3; }

  /* ===== FEATURED SECTION ===== */
  .featured-section { background: var(--cream); }
  .featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .featured-card {
    border-radius: 24px; overflow: hidden;
    position: relative; min-height: 380px;
    cursor: pointer; text-decoration: none;
    display: block;
  }
  .featured-card-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform .5s ease;
  }
  .featured-card:hover .featured-card-bg { transform: scale(1.04); }
  .featured-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(8,30,14,.85) 50%, rgba(8,30,14,.1) 100%);
  }
  .featured-card-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 30px 28px;
  }
  .featured-card-tag {
    display: inline-block;
    background: var(--orange); color: white;
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 4px 12px; border-radius: 100px; margin-bottom: 12px;
  }
  .featured-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem; font-weight: 900;
    color: white; line-height: 1.2; margin-bottom: 10px;
  }
  .featured-card-meta { color: rgba(255,255,255,0.6); font-size: 0.82rem; }
  .featured-card-meta strong { color: rgba(255,255,255,0.9); }

  /* Side featured list */
  .featured-list { display: flex; flex-direction: column; gap: 18px; }
  .featured-list-item {
    display: flex; gap: 16px; align-items: center;
    background: var(--white); border-radius: 16px;
    padding: 14px; border: 1px solid var(--border);
    text-decoration: none; color: inherit;
    transition: transform .25s, box-shadow .25s;
  }
  .featured-list-item:hover { transform: translateX(4px); box-shadow: var(--card-shadow); }
  .featured-list-item img {
    width: 80px; height: 64px;
    border-radius: 10px; object-fit: cover; flex-shrink: 0;
  }
  .featured-list-tag { font-size: 0.68rem; font-weight: 700; color: var(--green); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 5px; }
  .featured-list-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem; font-weight: 700; line-height: 1.3; color: var(--ink);
  }
  .featured-list-meta { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }

  /* ===== CATEGORIES ===== */
  .categories-section { background: var(--white); }
  .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
  }
  .cat-card {
    border-radius: 18px; padding: 28px 20px;
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 12px;
    border: 1.5px solid transparent;
    cursor: pointer; text-decoration: none;
    transition: all .3s;
  }
  .cat-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
  .cat-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    transition: transform .3s;
  }
  .cat-card:hover .cat-icon { transform: scale(1.12) rotate(-4deg); }
  .cat-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1rem; color: var(--ink); }
  .cat-count { font-size: 0.78rem; color: var(--muted); }

  .cat-1 { background: #edfaf0; border-color: #c1ead0; }
  .cat-1 .cat-icon { background: #d4f2dd; }
  .cat-2 { background: #fff4eb; border-color: #ffd8b2; }
  .cat-2 .cat-icon { background: #ffecd6; }
  .cat-3 { background: #edf3ff; border-color: #bdd4f5; }
  .cat-3 .cat-icon { background: #d8e8ff; }
  .cat-4 { background: #fff8e6; border-color: #fae8a2; }
  .cat-4 .cat-icon { background: #fef3c7; }
  .cat-5 { background: #fdeef4; border-color: #f5c0d5; }
  .cat-5 .cat-icon { background: #ffe4ef; }
  .cat-6 { background: #f0fdf4; border-color: #a7f3d0; }
  .cat-6 .cat-icon { background: #d1fae5; }

  /* ===== NEWSLETTER / CTA ===== */
  .cta-section {
    background: linear-gradient(135deg, #0d3a18 0%, #147A27 60%, #1e9e36 100%);
    position: relative; overflow: hidden;
  }
  .cta-section::before {
    content: "";
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }
  .cta-inner {
    position: relative;
    display: flex; align-items: center; justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
  }
  .cta-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
    font-size: 0.75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    padding: 5px 14px; border-radius: 100px; margin-bottom: 16px;
  }
  .cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900; color: white;
    line-height: 1.18; margin-bottom: 14px;
  }
  .cta-title em { color: #86efac; font-style: italic; }
  .cta-sub { color: rgba(255,255,255,0.72); font-size: 1rem; line-height: 1.7; max-width: 440px; }
  .cta-form {
    display: flex; gap: 0;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 14px; overflow: hidden;
    backdrop-filter: blur(10px);
    min-width: 320px;
    flex-shrink: 0;
  }
  .cta-form input {
    flex: 1; padding: 14px 18px;
    background: transparent; border: none; outline: none;
    color: white; font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
  }
  .cta-form input::placeholder { color: rgba(255,255,255,0.5); }
  .cta-form button {
    background: white; color: var(--green);
    padding: 14px 24px; border: none; cursor: pointer;
    font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 700;
    transition: background .2s;
    white-space: nowrap;
  }
  .cta-form button:hover { background: var(--green-pale); }
  .cta-stats {
    display: flex; gap: 32px; margin-top: 24px;
  }
  .cta-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem; font-weight: 900; color: white; line-height: 1;
  }
  .cta-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 3px; }

  /* ===== FOOTER ===== */
  footer {
    background: var(--ink);
    padding: 24px 0; text-align: center;
    color: rgba(255,255,255,0.4); font-size: 0.82rem;
  }
  footer a { color: rgba(255,255,255,0.6); text-decoration: none; }
  footer a:hover { color: var(--green); }

  /* ===== SCROLL BAR HIDE ===== */
  .scrollbar-hide::-webkit-scrollbar { display: none; }
  .scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

  /* ===== PLACEHOLDER IMAGES (SVG gradients for demo) ===== */
  .img-plant-1 { background: linear-gradient(135deg, #1a5c2a 0%, #2d8a42 100%); }
  .img-plant-2 { background: linear-gradient(135deg, #2d5a1b 0%, #4a8f30 100%); }
  .img-plant-3 { background: linear-gradient(135deg, #0f4020 0%, #1a7030 100%); }
  .img-plant-4 { background: linear-gradient(135deg, #3a5c20 0%, #6a9440 100%); }
  .img-food { background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%); }
  .img-science { background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); }
  .img-garden { background: linear-gradient(135deg, #14532d 0%, #22c55e 100%); }
  .img-harvest { background: linear-gradient(135deg, #92400e 0%, #f59e0b 100%); }

  /* Emoji-based placeholder for images */
  .img-placeholder {
    display: flex; align-items: center; justify-content: center;
    font-size: 3.5rem; width: 100%; height: 100%;
  }

  @media (max-width: 900px) {
    .latest-grid { grid-template-columns: 1fr 1fr; }
    .card-large { grid-column: span 2; }
    .featured-grid { grid-template-columns: 1fr; }
    .slide-thumbs { display: none; }
    .cta-inner { flex-direction: column; }
    .cta-form { min-width: unset; width: 100%; }
  }
  @media (max-width: 600px) {
    .latest-grid, .featured-grid { grid-template-columns: 1fr; }
    .card-large { grid-column: span 1; }
    .nav-links { display: none; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
  }

  /* ===== ANIMATIONS ===== */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .animate-fade-up { animation: fadeUp .6s ease both; }
  .delay-1 { animation-delay: .1s; }
  .delay-2 { animation-delay: .2s; }
  .delay-3 { animation-delay: .3s; }