/* ==========================================================================
   HerboilGuide Home Redesign
   ========================================================================== */

:root {
    --green-banner: #4B6B40;
    --green-banner-dark: #3a5332;
    --card-bg-mustard: #FFF9E6;
    --card-bg-wellness: #FDF2F2;
    --card-bg-quality: #F0F4FF;
    --card-bg-industry: #F5F3FF;
    --card-bg-culture: #FFF7ED;
    --white: #FFFFFF;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --card-bg-mustard: #2D2410;
    --card-bg-wellness: #2D1A1A;
    --card-bg-quality: #1A202D;
    --card-bg-industry: #1E1A2D;
    --card-bg-culture: #2D1E10;
    --green-banner: #2D3D27;
    --white: #1F2937;
    --text-dark: #F3F4F6;
    --text-light: #9CA3AF;
}

/* Navbar Dropdown Styles */
.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.dropdown-item:hover {
    background: var(--light-gray);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Mobile Dropdown */
@media (max-width: 900px) {
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background: transparent;
        padding-left: 20px;
        max-height: none;
        overflow: visible;
        transition: none;
    }

    .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }
}

/* Hero Section Refined */
.hero-new {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background: var(--bg-color);
}

.hero-new::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.hero-new .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-new-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 25px;
    color: var(--text-dark);
    line-height: 1.1;
}

.hero-new-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 45px;
    max-width: 650px;
}

.hero-new-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-new-image img {
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

.hero-feature i {
    color: var(--primary-color);
}

/* =============================================
   Hero Background Image Variant
   ============================================= */
.hero-bg-image {
    background-image: url('/Assets/mustard-farm.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 140px 0 90px;
}

.hero-bg-image::before {
    display: none; /* remove old radial blob */
}

/* Dark gradient overlay: strong on left, fades to transparent on right */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(10, 20, 5, 0.82) 0%,
        rgba(10, 20, 5, 0.68) 45%,
        rgba(10, 20, 5, 0.15) 75%,
        rgba(10, 20, 5, 0.05) 100%
    );
    z-index: 0;
    pointer-events: none;
}

/* Make content column span full width over image */
.hero-bg-image .container {
    display: block;
    position: relative;
    z-index: 1;
}

.hero-bg-image .hero-new-content {
    max-width: 680px;
}

/* Title text on image */
.hero-bg-image .hero-new-title {
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-trusted {
    color: #ffffff;
    font-style: normal;
}

/* "Mustard Oil Knowledge" green accent */
.hero-highlight {
    color: #7EC850;
    display: block;
}

.hero-bg-image .hero-new-description {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.7;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

/* ---- Hero Search Bar ---- */
.hero-search-wrap {
    margin-bottom: 32px;
}

.hero-search-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    padding: 6px 6px 6px 20px;
    max-width: 600px;
    transition: box-shadow 0.3s ease;
}

.hero-search-form:focus-within {
    box-shadow: 0 8px 40px rgba(126, 200, 80, 0.4);
}

.hero-search-icon-inner {
    color: #9CA3AF;
    font-size: 1rem;
    flex-shrink: 0;
    margin-right: 12px;
}

.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #1F2937;
    background: transparent;
    font-family: inherit;
    padding: 6px 0;
}

.hero-search-input::placeholder {
    color: #9CA3AF;
}

.hero-search-btn {
    background: linear-gradient(135deg, #7EC850 0%, #5A9E30 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 11px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    font-family: inherit;
    flex-shrink: 0;
}

.hero-search-btn:hover {
    background: linear-gradient(135deg, #5A9E30 0%, #4a8826 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(90, 158, 48, 0.45);
}

/* Popular search tags */
.hero-search-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.search-tag-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    font-weight: 500;
}

.search-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.35);
    color: rgba(255,255,255,0.9);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.search-tag:hover {
    background: rgba(126, 200, 80, 0.35);
    border-color: #7EC850;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Hero CTA buttons on image */
.hero-bg-image .hero-new-btns {
    margin-bottom: 0;
    margin-top: 0;
}

.hero-bg-image .btn-primary {
    background: linear-gradient(135deg, #7EC850 0%, #5A9E30 100%);
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(90, 158, 48, 0.45);
}

.hero-bg-image .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(90, 158, 48, 0.55);
}

.hero-btn-secondary {
    background: rgba(255,255,255,0.12) !important;
    border: 2px solid rgba(255,255,255,0.6) !important;
    color: #ffffff !important;
    backdrop-filter: blur(6px);
}

.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.22) !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
}

/* Hero feature badges on image */
.hero-bg-image .hero-features {
    margin-top: 36px;
    gap: 20px;
}

.hero-bg-image .hero-feature {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 7px 14px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease;
}

.hero-bg-image .hero-feature:hover {
    background: rgba(255,255,255,0.18);
}

.hero-bg-image .hero-feature i {
    color: #7EC850;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-bg-image {
        min-height: auto;
        padding: 120px 0 60px;
        background-attachment: scroll;
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(10, 20, 5, 0.78) 0%,
            rgba(10, 20, 5, 0.65) 100%
        );
    }

    .hero-bg-image .hero-new-content {
        max-width: 100%;
    }

    .hero-search-form {
        flex-wrap: wrap;
        border-radius: 16px;
        padding: 12px 16px;
        gap: 10px;
    }

    .hero-search-btn {
        width: 100%;
        border-radius: 12px;
        text-align: center;
    }
}

/* Sections */
.home-section {
    padding: 100px 0;
}

.section-head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-head .badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--card-bg-mustard);
    color: var(--primary-dark);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-head h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* Hub Grid */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 30px;
}

@media (max-width: 1024px) {
    .hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hub-grid {
        grid-template-columns: 1fr;
    }
}

.hub-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.hub-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.05);
}

/* Card Themes */
.hub-card.theme-mustard {
    background-color: #FEFDF7;
    border: 1px solid #FEF3C7;
}
.hub-card.theme-composition {
    background-color: #FAF9FE;
    border: 1px solid #EEF2F6;
}
.hub-card.theme-health {
    background-color: #FFF6F6;
    border: 1px solid #FEE2E2;
}
.hub-card.theme-ayurveda {
    background-color: #F7FCF9;
    border: 1px solid #DCFCE7;
}
.hub-card.theme-care {
    background-color: #FFF8FC;
    border: 1px solid #FCE7F3;
}
.hub-card.theme-safety {
    background-color: #FFF6F6;
    border: 1px solid #FEE2E2;
}
.hub-card.theme-agriculture {
    background-color: #F5FCF8;
    border: 1px solid #D1FAE5;
}
.hub-card.theme-industry {
    background-color: #F6FAFF;
    border: 1px solid #DBEAFE;
}

/* Header & Icon */
.hub-card .card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.hub-card .hub-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hub-card .header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hub-card .hub-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1F2937;
    line-height: 1.25;
    margin: 0;
}

.hub-card .article-count {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4B6B40;
}

/* Icons styling per theme */
.hub-card.theme-mustard .hub-icon-circle {
    border: 2px solid #F59E0B;
    background-color: #FEF3C7;
    color: #B45309;
}
.hub-card.theme-composition .hub-icon-circle {
    border: 2px solid #8B5CF6;
    background-color: #EDE9FE;
    color: #6D28D9;
}
.hub-card.theme-health .hub-icon-circle {
    border: 2px solid #EF4444;
    background-color: #FEE2E2;
    color: #B91C1C;
}
.hub-card.theme-ayurveda .hub-icon-circle {
    border: 2px solid #10B981;
    background-color: #D1FAE5;
    color: #047857;
}
.hub-card.theme-care .hub-icon-circle {
    border: 2px solid #EC4899;
    background-color: #FCE7F3;
    color: #BE185D;
}
.hub-card.theme-safety .hub-icon-circle {
    border: 2px solid #EA580C;
    background-color: #FFEDD5;
    color: #C2410C;
}
.hub-card.theme-agriculture .hub-icon-circle {
    border: 2px solid #059669;
    background-color: #D1FAE5;
    color: #047857;
}
.hub-card.theme-industry .hub-icon-circle {
    border: 2px solid #3B82F6;
    background-color: #DBEAFE;
    color: #1D4ED8;
}

/* Bullet list */
.hub-card .hub-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.hub-card .hub-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #4B5563;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

.hub-card .hub-list li::before {
    content: "•";
    color: #16A34A; /* clean green bullet dot as in screenshot */
    font-size: 1.2rem;
    position: absolute;
    left: 2px;
    top: -1px;
}

/* Link */
.hub-card .hub-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #4B6B40;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: auto;
}

.hub-card .hub-link:hover {
    color: #3a5332;
}

.hub-card .hub-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.hub-card .hub-link:hover i {
    transform: translateX(3px);
}

/* Start Here */
.start-here {
    background: var(--background-light);
    border-radius: 30px;
    padding: 80px 40px;
}

.start-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 30px;
    position: relative;
}

/* Stats Banner */
.stats-banner {
    background: var(--green-banner);
    border-radius: 30px;
    padding: 60px;
    color: white;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    margin: 60px 0;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 500;
}

/* Popular Uses */
.uses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
}

.use-item {
    background: var(--white);
    padding: 25px 15px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

.use-item:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.use-item:hover .use-icon {
    color: white;
}

/* Featured Author */
.author-box {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    align-items: center;
}

.author-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--card-bg-mustard);
}

/* Footer New */
.footer-new {
    background: var(--text-dark);
    color: white;
    padding: 80px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.footer-desc {
    color: #9ca3af;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #9ca3af;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links {
    display: flex;
    gap: 25px;
}

.legal-links a {
    color: #6b7280;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-new .container {
        grid-template-columns: 1fr;
    }

    .author-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Mockup Redesign Additionals
   ========================================================================== */

.brand-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a331e !important;
    font-family: 'Playfair Display', serif;
}

.brand-subtitle {
    font-size: 0.55rem;
    color: #4B6B40;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

/* Redesigned Buttons & Pill Styles */
.btn-pill-green {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #4B6B40;
    color: white !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-pill-green:hover {
    background: #3a5332;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(75, 107, 64, 0.2);
}

.hero-new .btn-primary {
    background: #4B6B40;
    color: white;
    border-radius: 50px;
    padding: 14px 28px;
    font-size: 0.95rem;
}

.hero-new .btn-primary:hover {
    background: #3a5332;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(75, 107, 64, 0.2);
}

.hero-new .btn-secondary {
    background: white;
    color: #1F2937;
    border: 1px solid #D1D5DB;
    border-radius: 50px;
    padding: 14px 28px;
    font-size: 0.95rem;
}

.hero-new .btn-secondary:hover {
    background: #F9FAFB;
    border-color: #9CA3AF;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Start Here Redesign */
.start-steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    margin-top: 50px;
    flex-wrap: nowrap;
}

.start-steps::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: repeating-linear-gradient(90deg, #D1D5DB, #D1D5DB 4px, transparent 4px, transparent 8px);
    z-index: 1;
}

.step-card {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.step-num {
    width: 24px;
    height: 24px;
    background: #FFF;
    border: 2px solid;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 20px;
    z-index: 3;
}

.step-card:nth-child(1) .step-num { border-color: #4B6B40; color: #4B6B40; }
.step-card:nth-child(2) .step-num { border-color: #F59E0B; color: #F59E0B; }
.step-card:nth-child(3) .step-num { border-color: #3B82F6; color: #3B82F6; }
.step-card:nth-child(4) .step-num { border-color: #8B5CF6; color: #8B5CF6; }
.step-card:nth-child(5) .step-num { border-color: #10B981; color: #10B981; }
.step-card:nth-child(6) .step-num { border-color: #B45309; color: #B45309; }

.step-icon-circle {
    width: 80px;
    height: 80px;
    border: 2px solid;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: white;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.step-card:nth-child(1) .step-icon-circle { border-color: #4B6B40; color: #4B6B40; }
.step-card:nth-child(2) .step-icon-circle { border-color: #F59E0B; color: #F59E0B; }
.step-card:nth-child(3) .step-icon-circle { border-color: #3B82F6; color: #3B82F6; }
.step-card:nth-child(4) .step-icon-circle { border-color: #8B5CF6; color: #8B5CF6; }
.step-card:nth-child(5) .step-icon-circle { border-color: #10B981; color: #10B981; }
.step-card:nth-child(6) .step-icon-circle { border-color: #B45309; color: #B45309; }

.step-card:hover .step-icon-circle {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.step-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1F2937;
    line-height: 1.3;
    margin-top: 5px;
}

/* Featured Guides Grid */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.guide-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.guide-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.guide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.guide-overlay h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.guide-overlay p {
    font-size: 0.85rem;
    opacity: 0.85;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.guide-card:hover img {
    transform: scale(1.05);
}

/* Stats Banner Updates */
.stats-banner {
    background: #4B6B40;
    border-radius: 30px;
    padding: 40px 60px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin: 60px 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: center;
}

.stat-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 40px;
}

.stat-icon {
    font-size: 2.2rem;
    opacity: 0.95;
}

.stat-text {
    text-align: left;
}

.stat-text h3 {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2px;
    color: white;
}

.stat-text p {
    font-size: 0.85rem;
    opacity: 0.85;
    font-weight: 500;
}

/* Popular Uses Redesign */
.uses-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.use-item {
    background: var(--white);
    border: 1px solid #E5E7EB;
    padding: 20px 10px;
    border-radius: 16px;
    box-shadow: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.use-icon {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.use-item:nth-child(1) .use-icon { color: #F97316; }
.use-item:nth-child(2) .use-icon { color: #10B981; }
.use-item:nth-child(3) .use-icon { color: #F59E0B; }
.use-item:nth-child(4) .use-icon { color: #F97316; }
.use-item:nth-child(5) .use-icon { color: #10B981; }
.use-item:nth-child(6) .use-icon { color: #B45309; }
.use-item:nth-child(7) .use-icon { color: #3B82F6; }
.use-item:nth-child(8) .use-icon { color: #F59E0B; }

.use-item p {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1F2937;
    line-height: 1.2;
}

.use-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
    background: white;
}

.use-item:hover .use-icon {
    transform: scale(1.1);
}

/* Evidence Behind Layout */
.evidence-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
    padding: 20px 0;
}

.evidence-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.evidence-right {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.evidence-card {
    background: white;
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.evidence-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1F2937;
    line-height: 1.3;
}

.evidence-card .evidence-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.card-green .evidence-icon { background: #EAF7EC; color: #10B981; }
.card-pink .evidence-icon { background: #FDF2F2; color: #EF4444; }
.card-orange .evidence-icon { background: #FFF7ED; color: #F97316; }
.card-blue .evidence-icon { background: #EFF6FF; color: #3B82F6; }
.card-yellow .evidence-icon { background: #FEF3C7; color: #D97706; }

.evidence-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Latest Articles Layout */
.articles-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-top: 20px;
}

.featured-article-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid #F3F4F6;
}

.featured-article-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.featured-article-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.featured-article-content .badge-featured {
    align-self: flex-start;
    padding: 4px 10px;
    background: #FEF3C7;
    color: #D97706;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.featured-article-content .meta-info {
    font-size: 0.85rem;
    color: #6B7280;
    margin-bottom: 12px;
}

.featured-article-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1F2937;
    font-weight: 700;
    line-height: 1.3;
}

.featured-article-content p {
    font-size: 0.95rem;
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 20px;
}

.featured-article-content .read-more-btn {
    margin-top: auto;
    color: #4B6B40;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
}

.featured-article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.side-articles-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.side-article-card {
    background: white;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    gap: 15px;
    align-items: center;
    border: 1px solid #F3F4F6;
    transition: all 0.3s ease;
}

.side-article-card img {
    width: 85px;
    height: 85px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.side-article-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.side-article-info h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1F2937;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-article-info .date {
    font-size: 0.75rem;
    color: #9CA3AF;
}

.side-article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: #E5E7EB;
}

/* Author & Newsletter side-by-side */
.author-newsletter-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 30px;
    align-items: stretch;
}

.author-card-new {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #F3F4F6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.author-profile-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    margin-bottom: 20px;
}

.author-img-new {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #EAF7EC;
}

.author-details-new h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 4px;
}

.author-title-new {
    font-size: 0.85rem;
    color: #6B7280;
    font-weight: 500;
}

.author-bio-new {
    font-size: 0.95rem;
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 25px;
}

.author-footer-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #F3F4F6;
}

.social-links-new {
    display: flex;
    gap: 12px;
}

.social-links-new a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4B5563;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.social-links-new a:hover {
    background: #4B6B40;
    color: white;
    transform: translateY(-2px);
}

.newsletter-card-new {
    background: #4B6B40;
    border-radius: 24px;
    padding: 40px;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.newsletter-content-new {
    position: relative;
    z-index: 2;
}

.newsletter-header-new {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: center;
}

.newsletter-icon-new {
    font-size: 2.2rem;
    color: #FEF3C7;
}

.newsletter-header-new h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: white;
}

.newsletter-header-new p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

.newsletter-form-new {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.newsletter-form-new input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form-new input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form-new input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

.newsletter-form-new button {
    background: #FBBF24;
    color: #1F2937;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
}

.newsletter-form-new button:hover {
    background: #F59E0B;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.newsletter-checklist-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.checklist-item i {
    color: #FBBF24;
}

.newsletter-flowers-graphic {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 180px;
    pointer-events: none;
    opacity: 0.25;
    z-index: 1;
}

/* FAQ Accordion Layout */
.faq-columns-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1F2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

.faq-question i {
    font-size: 0.85rem;
    color: #9CA3AF;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 20px;
}

.faq-answer p {
    font-size: 0.85rem;
    color: #4B5563;
    line-height: 1.6;
    padding-bottom: 20px;
    margin: 0;
}

.faq-item.active {
    background: white;
    border-color: #4B6B40;
    box-shadow: var(--shadow-md);
}

.faq-item.active .faq-question {
    color: #4B6B40;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #4B6B40;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .uses-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .faq-columns-layout {
        grid-template-columns: 1fr;
    }
    .author-newsletter-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .stats-banner {
        flex-direction: column;
        padding: 40px;
        gap: 30px;
    }
    .stat-item {
        width: 100%;
    }
    .stat-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-right: 0;
        padding-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .start-steps {
        flex-direction: column;
        gap: 40px;
    }
    .start-steps::before {
        display: none;
    }
    .author-box {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .author-img {
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .uses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .guides-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading Placeholder */
.loading-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #9CA3AF;
    font-size: 1rem;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.loading-placeholder::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #E5E7EB;
    border-top-color: #4B6B40;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Articles layout responsive */
@media (max-width: 900px) {
    .articles-layout {
        grid-template-columns: 1fr;
    }
    .side-articles-list {
        grid-template-columns: 1fr;
    }
    .evidence-layout {
        grid-template-columns: 1fr;
    }
    .evidence-right {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .evidence-right {
        grid-template-columns: repeat(2, 1fr);
    }
    .newsletter-form-new {
        flex-direction: column;
    }
    .newsletter-checklist-new {
        grid-template-columns: 1fr;
    }
    .stats-banner {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   Our Mission Section
   ========================================================================== */

.mission-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #F9FBF7 0%, #FEFDF7 50%, #F3F8EE 100%);
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(126, 200, 80, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.mission-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.07) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* Two-column layout */
.mission-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ---- Left Column ---- */
.mission-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mission-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #EAF7EC;
    color: #4B6B40;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 22px;
    border: 1px solid rgba(75, 107, 64, 0.2);
}

.mission-badge i {
    color: #7EC850;
}

.mission-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: #1F2937;
    line-height: 1.2;
    margin-bottom: 22px;
}

.mission-highlight {
    color: #4B6B40;
    position: relative;
}

.mission-lead {
    font-size: 1.1rem;
    color: #374151;
    line-height: 1.75;
    margin-bottom: 16px;
    font-weight: 500;
}

.mission-body {
    font-size: 0.97rem;
    color: #6B7280;
    line-height: 1.8;
    margin-bottom: 36px;
}

/* Value pills */
.mission-values {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 40px;
    width: 100%;
}

.mission-value {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #E9F2E4;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 2px 8px rgba(75, 107, 64, 0.06);
    transition: all 0.3s ease;
}

.mission-value:hover {
    transform: translateX(6px);
    border-color: #7EC850;
    box-shadow: 0 6px 20px rgba(75, 107, 64, 0.12);
}

.mission-value-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #EAF7EC, #D1FAE5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #4B6B40;
}

.mission-value h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 4px;
}

.mission-value p {
    font-size: 0.85rem;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
}

/* CTA link */
.mission-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #4B6B40 0%, #7EC850 100%);
    color: #ffffff !important;
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(75, 107, 64, 0.3);
}

.mission-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(75, 107, 64, 0.4);
}

.mission-cta i {
    transition: transform 0.2s ease;
}

.mission-cta:hover i {
    transform: translateX(4px);
}

/* ---- Right Column: Image ---- */
.mission-image-col {
    position: relative;
}

.mission-img-wrap {
    position: relative;
    border-radius: 28px;
    overflow: visible;
}

.mission-img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
    display: block;
    transition: transform 0.4s ease;
}

.mission-img-wrap:hover .mission-img {
    transform: scale(1.01);
}

/* Floating stat badge (bottom-left) */
.mission-float-badge {
    position: absolute;
    bottom: -20px;
    left: -24px;
    background: #ffffff;
    border-radius: 18px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
    border: 1px solid #E9F2E4;
    z-index: 2;
    animation: floatBadge 3s ease-in-out infinite;
}

.mission-float-badge > i {
    font-size: 1.6rem;
    color: #F59E0B;
    flex-shrink: 0;
}

.mission-float-badge .float-num {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #1F2937;
    line-height: 1;
}

.mission-float-badge .float-label {
    display: block;
    font-size: 0.75rem;
    color: #6B7280;
    font-weight: 500;
    margin-top: 2px;
}

/* Floating trust pill (top-right) */
.mission-float-pill {
    position: absolute;
    top: -16px;
    right: -16px;
    background: #4B6B40;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(75, 107, 64, 0.35);
    z-index: 2;
    animation: floatPill 3.5s ease-in-out infinite;
}

.mission-float-pill i {
    color: #7EC850;
}

/* Subtle float animations */
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

@keyframes floatPill {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

/* Dark mode adjustments */
[data-theme="dark"] .mission-section {
    background: linear-gradient(135deg, #111c0d 0%, #16200f 50%, #0e1a0a 100%);
}

[data-theme="dark"] .mission-title {
    color: #F3F4F6;
}

[data-theme="dark"] .mission-lead {
    color: #D1D5DB;
}

[data-theme="dark"] .mission-body {
    color: #9CA3AF;
}

[data-theme="dark"] .mission-value {
    background: #1a2714;
    border-color: #2d4024;
}

[data-theme="dark"] .mission-float-badge {
    background: #1a2714;
    border-color: #2d4024;
}

[data-theme="dark"] .mission-float-badge .float-num {
    color: #F3F4F6;
}

/* Responsive */
@media (max-width: 1024px) {
    .mission-layout {
        gap: 50px;
    }
    .guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .uses-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .author-newsletter-layout {
        grid-template-columns: 1fr;
    }
    .faq-columns-layout {
        grid-template-columns: 1fr;
    }
    .stats-banner {
        flex-wrap: wrap;
        padding: 30px 40px;
        gap: 30px;
    }
    .stat-item {
        flex: 1 1 40%;
    }
    .stat-item:nth-child(2) {
        border-right: none;
        padding-right: 0;
    }
    .start-steps {
        flex-wrap: wrap;
        gap: 30px;
    }
    .start-steps::before {
        display: none;
    }
    .step-card {
        flex: 1 1 30%;
        margin-bottom: 20px;
    }
}

@media (max-width: 820px) {
    .mission-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .mission-image-col {
        order: -1;
    }

    .mission-img {
        height: 380px;
    }

    .mission-float-badge {
        left: 10px;
        bottom: -16px;
    }

    .mission-float-pill {
        right: 10px;
        top: -12px;
    }
}

@media (max-width: 480px) {
    .mission-img {
        height: 260px;
    }

    .mission-float-badge,
    .mission-float-pill {
        display: none;
    }
}

/* ==========================================================================
   Navbar Interactive Elements Fix — All Devices
   Ensures the hamburger, search icon, language button, and theme toggle
   are always clickable and properly z-indexed.
   ========================================================================== */

/* Base: Ensure navbar is always on top */
.navbar {
    z-index: 2000 !important;
}

/* All interactive navbar elements must be clickable */
#nav-toggle,
#nav-search-toggle,
#lang-toggle,
#theme-toggle {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 2002 !important;
}

/* Hamburger — show on tablet and mobile (≤900px) */
@media (max-width: 900px) {
    #nav-toggle {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 8px;
        min-width: 40px;
        min-height: 40px;
        background: transparent;
        border: none;
        border-radius: 8px;
        pointer-events: auto !important;
    }

    #nav-toggle:active,
    #nav-toggle:focus {
        background: var(--light-gray, #f3f4f6);
        outline: none;
    }

    /* Controls row: brand on left, controls + toggle on right */
    .nav-controls {
        display: flex !important;
        align-items: center;
        gap: 8px;
        margin-left: auto;
    }

    /* Make the brand subtitle hide on tablet for space */
    .brand-subtitle {
        display: none;
    }
}

/* Mobile (≤600px) — smaller icon buttons to save space */
@media (max-width: 600px) {
    .nav-container {
        gap: 6px;
        padding: 0 12px;
    }

    /* Shrink the brand title slightly */
    .brand-title {
        font-size: 1.1rem !important;
    }

    .brand-logo {
        font-size: 1.2rem;
    }

    /* Shrink all nav icon buttons on very small screens */
    #nav-search-toggle,
    #theme-toggle,
    #lang-toggle {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px;
        font-size: 0.9rem !important;
        padding: 0 !important;
    }

    #nav-toggle {
        padding: 6px;
        min-width: 36px;
        min-height: 36px;
    }

    .nav-controls {
        gap: 4px;
    }
}

/* Very small phones (≤400px) — hide lang button text, keep icon */
@media (max-width: 400px) {
    .lang-btn-text {
        display: none !important;
    }

    #lang-toggle {
        min-width: 32px !important;
        width: 32px !important;
        padding: 0 !important;
    }
}

/* Fix: When mobile menu is open, clicking controls still works */
.nav-menu.active ~ .nav-controls,
.nav-menu.active ~ #nav-toggle {
    pointer-events: auto !important;
    z-index: 2002 !important;
}