        :root {
            --forest-green: #2E7D32;
            --soft-green: #AED581;
            --pastel-bg: #F1F8E9;
            --warm-orange: #FFA726;
            --white: #FFFFFF;
            --text-dark: #1B3F1D;
            --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        }

        /* Base Styles */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { 
            font-family: 'Quicksand', sans-serif; 
            background-color: var(--white);
            color: var(--text-dark);
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        h1, h2, h3 { font-weight: 700; }
        p { font-weight: 400; line-height: 1.6; }
        .quicksand-600 { font-weight: 600; }

        /* Announcement Bar */
        .announcement-bar {
            background: var(--soft-green);
            color: var(--forest-green);
            padding: 10px 0;
            font-weight: 600;
            overflow: hidden;
            position: relative;
            z-index: 1002;
        }
        .ticker {
            display: flex;
            white-space: nowrap;
            animation: ticker-animation 40s linear infinite;
        }
        .ticker-item { padding: 0 40px; }
        @keyframes ticker-animation {
            0% { transform: translateX(0); }
            100% { transform: translateX(-100%); }
        }

        /* Header */
        header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 25px 8%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: var(--transition);
        }
        header.scrolled { padding: 15px 8%; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
        
        .logo { font-size: 1.8rem; font-weight: 700; color: var(--forest-green); cursor: pointer; display: flex; align-items: center; gap: 8px; }
        .nav-links { display: flex; gap: 30px; }
        .nav-item { text-decoration: none; color: var(--forest-green); font-weight: 600; cursor: pointer; transition: var(--transition); }
        .nav-item:hover { transform: translateY(-3px); opacity: 0.7; }

        .header-actions { display: flex; gap: 20px; align-items: center; }
        .action-icon { cursor: pointer; position: relative; transition: 0.3s; }
        .action-icon:hover { color: var(--warm-orange); }

        /* Hero Section - Vertical Split */
        .hero {
            height: 120vh;
            display: flex;
            flex-direction: column;
            position: relative;
            background: var(--pastel-bg);
            overflow: hidden;
        }
        .hero-top {
            flex: 1.4;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 0 10%;
            background-image: linear-gradient(rgba(241, 248, 233, 0.8), rgba(241, 248, 233, 0.8)), url('https://i.pinimg.com/736x/4c/8b/eb/4c8beb452c1dc7d8cd7485a42d365d22.jpg');
            background-size: cover;
            background-position: center;
        }
        .hero-bottom {
            flex: 0.6;
            background: var(--forest-green);
            clip-path: ellipse(120% 100% at 50% 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            padding: 40px;
        }
        .hero h1 { font-size: 5rem; line-height: 1.1; margin-bottom: 20px; color: var(--forest-green); }
        .hero p { font-size: 1.3rem; max-width: 600px; margin-bottom: 30px; }

        .floating-leaf {
            position: absolute; opacity: 0.3; color: var(--forest-green);
            animation: float 10s ease-in-out infinite;
        }
        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-40px) rotate(25deg); }
        }

        .btn-circle {
            width: 140px; height: 140px; border-radius: 50%;
            background: var(--warm-orange); border: none; color: white;
            font-weight: 700; cursor: pointer; transition: var(--transition);
            display: flex; align-items: center; justify-content: center;
            animation: pulse-btn 2s infinite;
        }
        @keyframes pulse-btn {
            0% { box-shadow: 0 0 0 0 rgba(255, 167, 38, 0.4); }
            70% { box-shadow: 0 0 0 20px rgba(255, 167, 38, 0); }
            100% { box-shadow: 0 0 0 0 rgba(255, 167, 38, 0); }
        }

        /* Diagonal Grid Layout */
        .section-padding { padding: 120px 10%; }
        .diagonal-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 80px 40px;
            margin-top: 80px;
        }
        .plant-card {
            background: white; border-radius: 25px; padding: 40px;
            box-shadow: 0 15px 45px rgba(0,0,0,0.04);
            transition: var(--transition);
            position: relative;
            cursor: pointer;
        }
        .plant-card:nth-child(even) { transform: rotate(3deg); margin-top: 30px; }
        .plant-card:nth-child(odd) { transform: rotate(-3deg); }
        .plant-card:hover { transform: rotate(0deg) translateY(-20px); box-shadow: 0 30px 60px rgba(46, 125, 50, 0.15); }

        .card-img {
            width: 120%; margin-left: -10%; margin-top: -80px;
            height: 280px; border-radius: 20px; overflow: hidden;
            background: var(--pastel-bg); position: relative;
            transition: var(--transition);
        }
        .card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s; }
        .plant-card:hover .card-img img { transform: scale(1.1); }

        /* Storytelling Panels */
        .parallax-panel { display: flex; min-height: 90vh; overflow: hidden; }
        .panel-content { flex: 1; padding: 8%; display: flex; flex-direction: column; justify-content: center; }
        .panel-image { flex: 1; background-size: cover; background-position: center; background-attachment: fixed; }

        /* Blog Circles */
        .blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-top: 60px; }
        .blog-item { text-align: center; }
        .blog-circle {
            width: 240px; height: 240px; border-radius: 50%; margin: 0 auto 30px;
            overflow: hidden; border: 10px solid var(--white);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: var(--transition);
        }
        .blog-item:hover .blog-circle { transform: scale(1.05) rotate(5deg); border-color: var(--soft-green); }
        .blog-circle img { width: 100%; height: 100%; object-fit: cover; }

        /* Auth UI */
        #auth-overlay {
            position: fixed; inset: 0; background: rgba(27, 63, 29, 0.9);
            z-index: 2000; display: none; align-items: center; justify-content: center;
            backdrop-filter: blur(8px);
        }
        .auth-container {
            background: white; padding: 60px; border-radius: 30px;
            width: 90%; max-width: 480px; position: relative;
        }
        .input-group { margin-bottom: 20px; }
        .input-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--forest-green); }
        .input-group input {
            width: 100%; padding: 15px; border-radius: 12px; border: 2px solid var(--pastel-bg);
            outline: none; font-family: inherit; font-size: 1rem; transition: 0.3s;
        }
        .input-group input:focus { border-color: var(--forest-green); }

/* Cart Sidebar */
#cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: white;
    z-index: 1500;
    transition: 0.4s ease;
    box-shadow: -10px 0 50px rgba(0,0,0,0.1);
    padding: 40px;
    display: flex;
    flex-direction: column;
}

#cart-sidebar.open {
    right: 0;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

/* Mobile */
@media (max-width: 768px) {
    #cart-sidebar {
        width: 100%;
        right: -100%;
    }
}
        /* Modal Quick View */
        .modal {
            position: fixed; inset: 0; background: rgba(0,0,0,0.85);
            z-index: 3000; display: none; align-items: center; justify-content: center; padding: 20px;
        }

        /* BLOG MODAL FIX */
#blog-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.blog-modal-body {
    background: white;
    width: 100%;
    max-width: 750px;
    max-height: 90vh;          /* 🔥 key part */
    overflow: hidden;          /* prevent full overflow */
    border-radius: 30px;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.blog-modal-content {
    overflow-y: auto;           /* 🔥 enables scroll */
    margin-top: 20px;
    padding-right: 10px;
}

/* smooth scrollbar */
.blog-modal-content::-webkit-scrollbar {
    width: 6px;
}
.blog-modal-content::-webkit-scrollbar-thumb {
    background: var(--soft-green);
    border-radius: 10px;
}

#blog-modal-img {
    width: 100%;
    border-radius: 20px;
    margin: 20px 0;
    max-height: 300px;
    object-fit: cover;
}

#blog-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    cursor: pointer;
    font-size: 26px;
}
.modal-body {
    background: white;
    width: 100%;
    max-width: 900px;
    border-radius: 30px;
    display: flex;
    overflow: hidden;
    position: relative;
    max-height: 90vh; /* Prevent full screen overflow */
}



.modal-right {
    flex: 1.2;
    padding: 40px;
    overflow-y: auto;      /* Make scrollable */
    max-height: 90vh;
}

/* Smooth scroll look */
.modal-right::-webkit-scrollbar {
    width: 6px;
}
.modal-right::-webkit-scrollbar-thumb {
    background: var(--soft-green);
    border-radius: 10px;
}        .modal-left { flex: 1; background: var(--pastel-bg); overflow: hidden; }
        .modal-left img { width: 100%; height: 100%; object-fit: cover; }
        .modal-right { flex: 1.2; padding: 50px; display: flex; flex-direction: column; }

        /* Footer */
        footer { background: var(--forest-green); color: white; padding: 100px 10% 40px; }
        .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 60px; }
        .social-links { display: flex; gap: 15px; margin-top: 25px; }
        .social-icon {
            width: 45px; height: 45px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
            display: grid; place-items: center; cursor: pointer; transition: 0.3s;
        }
        .social-icon:hover { background: var(--soft-green); color: var(--forest-green); transform: translateY(-5px); }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 60px; padding-top: 30px; text-align: center; font-size: 0.9rem; opacity: 0.6; }

        /* Utility */
        .reveal { opacity: 0; transform: translateY(40px); transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
        .reveal.active { opacity: 1; transform: translateY(0); }
        .btn-primary { 
            background: var(--forest-green); color: white; border: none; padding: 18px 35px;
            border-radius: 50px; font-weight: 600; cursor: pointer; transition: 0.3s;
        }
        .btn-primary:hover { background: var(--warm-orange); transform: scale(1.05); }
        
        .page { display: none; }
        .page.active { display: block; }

        .filter-chip {
            padding: 10px 25px; border-radius: 30px; border: 2px solid var(--pastel-bg);
            background: white; color: var(--forest-green); cursor: pointer; font-weight: 600;
            transition: 0.3s;
        }
        .filter-chip.active { background: var(--forest-green); color: white; border-color: var(--forest-green); }

        @media (max-width: 1000px) {
            .hero h1 { font-size: 3rem; }
            .parallax-panel { flex-direction: column; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .modal-body { flex-direction: column; height: 90vh; overflow-y: auto; }
            #cart-sidebar { width: 100%; }
        }
        #main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: white;
    position: relative;
}

.logo {
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-item {
    cursor: pointer;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-item:hover {
    color: var(--warm-orange);
}

.header-actions {
    display: flex;
    gap: 20px;
    position: relative;
}

.action-icon {
    cursor: pointer;
    position: relative;
}

#cart-dot {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    background: var(--warm-orange);
    border-radius: 50%;
    display: none;
}

/* Hamburger hidden on desktop */
.menu-toggle {
    display: none;
    cursor: pointer;
}

/* ===== Mobile Styles ===== */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
        display: none;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        display: flex;
    }
}
.footer-link {
    margin-bottom:12px;
    opacity:0.7;
    cursor:pointer;
    transition: 0.3s;
}

.footer-link:hover {
    opacity:1;
    transform: translateX(5px);
}