/* CSS Variables & Design System */
:root {
    /* Color Palette */
    --primary-green: #2E7D32;
    /* Forest Green */
    --secondary-green: #81C784;
    /* Sage/Mint */
    --dark-bg: #1A1A1A;
    --light-bg: #FAFAFA;
    --white: #FFFFFF;
    --text-main: #333333;
    --text-muted: #666666;
    --accent: #FFC107;
    /* Soft Amber for highlights */

    /* Gradients */
    --hero-gradient: linear-gradient(135deg, rgba(46, 125, 50, 0.9), rgba(26, 26, 26, 0.8));

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
    background-color: #1B5E20;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-green);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
    background-color: var(--primary-green);
    color: var(--white);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.nav-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    /* Allow logo and links to take only needed space */
    align-items: center;
    gap: 30px;
}

.nav-search {
    margin: 0 !important;
    max-width: 400px !important;
    /* Smaller width */
    width: 100%;
    justify-self: center;
    /* Center in the middle column */
    padding: 0 !important;
}

.nav-search .search-box {
    margin: 0;
    padding: 2px 15px;
    background: #f1f8e9;
    /* Light Mint Green */
    border: 1.5px solid var(--secondary-green);
}

.nav-search .search-box:focus-within {
    background: var(--white);
    border-color: var(--primary-green);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.cart-nav {
    position: relative;
    margin: 0 5px;
}

.cart-toggle {
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
    padding: 5px;
    transition: var(--transition);
}

.cart-toggle:hover {
    color: var(--primary-green);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-green);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--hero-gradient), url('https://images.unsplash.com/photo-1585832049963-7182743a4119?auto=format&fit=crop&q=80');
    /* Placeholder Nature Image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    padding-top: 80px;
    /* Offset for fixed nav */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

.highlight {
    color: var(--secondary-green);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Typography Helpers */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-green);
}

/* Products Grid Placeholder */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Product Card Styles */
.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.product-img-wrapper {
    height: 250px;
    overflow: hidden;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-content {
    padding: 20px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.btn-outline {
    width: 100%;
    border: 1px solid var(--primary-green);
    background: transparent;
    color: var(--primary-green);
    text-align: center;
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--white);
}

.product-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.quantity-counter {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 4px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--primary-green);
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.qty-btn:hover {
    background: var(--primary-green);
    color: var(--white);
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    -moz-appearance: textfield;
    appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.product-total {
    text-align: right;
}

.product-total span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.total-amount {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--primary-green) !important;
}

.btn-block {
    width: 100%;
}

.mt-1 {
    margin-top: 10px;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-green);
}

.contact-info p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.contact-details li {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-main);
    transition: var(--transition);
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--primary-green);
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Footer (Updated) */
.footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.footer-socials a:hover {
    background-color: var(--primary-green);
    transform: translateY(-3px);
}

/* Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* Mobile menu to be implemented */
    }
}

/* Search Bar Styles */
.search-container {
    max-width: 600px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid #eee;
    border-radius: 50px;
    padding: 5px 20px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.search-box:focus-within {
    border-color: var(--secondary-green);
    box-shadow: 0 8px 25px rgba(129, 199, 132, 0.15);
    transform: translateY(-2px);
}

.search-icon {
    color: var(--text-muted);
    margin-right: 15px;
    flex-shrink: 0;
}

#product-search {
    width: 100%;
    border: none;
    padding: 12px 0;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-main);
    background: transparent;
    outline: none;
}

#product-search::placeholder {
    color: #aaa;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px dashed #ddd;
    color: var(--text-muted);
}

.no-results h3 {
    margin-bottom: 10px;
    color: var(--primary-green);
}

/* Cart Sidebar Styles */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-sidebar.open {
    transform: translateX(0);
}

.cart-header {
    padding: 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-green);
}

.close-cart {
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
}

.cart-empty-msg {
    text-align: center;
    color: var(--text-muted);
    padding-top: 50px;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f9f9f9;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    background: #f5f5f5;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.95rem;
}

.cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.cart-qty-adjust {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.remove-item {
    color: #e53935;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
}

.cart-footer {
    padding: 25px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 700;
}

.cart-total-amount {
    color: var(--primary-green);
}

.checkout-btn {
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Mobile Navigation Components */
.mobile-nav-toggle {
    display: none;
    align-items: center;
    gap: 15px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: var(--primary-green);
    border-radius: 10px;
}

.mobile-cart-icon {
    position: relative;
    padding: 0;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 3000;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    padding: 20px;
}

.mobile-menu-overlay.active {
    transform: translateY(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.close-menu {
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.mobile-nav-links {
    margin-bottom: 40px;
}

.mobile-nav-links li {
    margin-bottom: 25px;
}

.mobile-nav-links a {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-main);
}

.no-scroll {
    overflow: hidden;
}

/* Responsiveness - Global Breakpoints */

/* Tablets & Smaller Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

/* Tablets (Portrait) */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .nav-container {
        grid-template-columns: auto 1fr;
        /* Stacked Search on next line or kept small */
        gap: 15px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
        justify-self: flex-end;
    }

    .nav-search {
        grid-row: 2;
        grid-column: 1 / span 2;
        max-width: 100% !important;
        margin-top: 10px !important;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-socials {
        margin-top: 10px;
    }
}

/* Phones */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .cart-sidebar {
        width: 100%;
    }
}

/* ==========================================================================
   ANIMATIONS & ENHANCEMENTS
   ========================================================================== */

/* Keyframe Animations */
@keyframes floatParticle {
    0% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-25px) rotate(15deg) scale(1.1);
    }
    100% {
        transform: translateY(15px) rotate(-10deg) scale(0.95);
    }
}

@keyframes blinkPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(76, 175, 80, 0.75);
    }
}

@keyframes pulseRadar {
    0% {
        transform: scale(0.95);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

@keyframes cartPop {
    0% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.35) rotate(-10deg);
    }
    70% {
        transform: scale(0.92) rotate(6deg);
    }
    100% {
        transform: scale(1) rotate(0);
    }
}

@keyframes floatSlow {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-8px);
    }
}

/* One-Time Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.revealed,
.reveal.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Stagger delay classes for child elements */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Directional one-time reveal variations */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-left.revealed,
.reveal-left.active {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-right.revealed,
.reveal-right.active {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-scale.revealed,
.reveal-scale.active {
    opacity: 1 !important;
    transform: scale(1) translateY(0) !important;
}

/* Hero Section Enhancements */
.hero {
    overflow: hidden;
    position: relative;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.hero-particles .particle {
    position: absolute;
    font-size: 1.6rem;
    opacity: 0.65;
    animation: floatParticle 8s ease-in-out infinite alternate;
    user-select: none;
}

.hero-particles .p1 {
    top: 22%;
    left: 8%;
    animation-duration: 9s;
    animation-delay: 0s;
}

.hero-particles .p2 {
    top: 58%;
    right: 12%;
    animation-duration: 11s;
    animation-delay: 1.5s;
    font-size: 1.3rem;
}

.hero-particles .p3 {
    bottom: 25%;
    left: 18%;
    animation-duration: 10s;
    animation-delay: 3s;
    font-size: 1.8rem;
}

.hero-particles .p4 {
    top: 32%;
    right: 24%;
    animation-duration: 7.5s;
    animation-delay: 2s;
    font-size: 1.2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 22px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #69F0AE;
    box-shadow: 0 0 10px #69F0AE;
    animation: blinkPulse 2s infinite;
}

.pulse-btn {
    animation: pulseGlow 2.5s infinite;
}

/* Trust & Value Proposition Bar */
.trust-bar {
    position: relative;
    z-index: 5;
    margin-top: -45px;
    margin-bottom: 40px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.trust-card {
    background: var(--white);
    padding: 22px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.trust-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(46, 125, 50, 0.12);
}

.trust-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(46, 125, 50, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}

.trust-card:hover .trust-icon-box {
    transform: scale(1.15) rotate(6deg);
    background: rgba(46, 125, 50, 0.18);
}

.trust-text h4 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 3px;
}

.trust-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.35;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 35px;
}

.section-tag {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 50px;
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-green);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: -45px;
    margin-bottom: 25px;
}

/* Category Filter Chips */
.category-filters-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    overflow-x: auto;
    padding: 5px 0 12px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.category-filters-container::-webkit-scrollbar {
    display: none;
}

.category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-pill {
    background: var(--white);
    border: 1.5px solid #e2e8f0;
    padding: 8px 22px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.filter-pill:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-2px);
}

.filter-pill.active {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
    box-shadow: 0 4px 16px rgba(46, 125, 50, 0.32);
    transform: translateY(-2px);
}

/* Enhanced Product Cards with Shimmer & Zoom */
.product-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-25deg);
    transition: 0.85s ease;
    pointer-events: none;
    z-index: 2;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.09);
}

.product-card:hover::before {
    left: 150%;
}

.product-card .product-img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

/* About / Our Story Section */
.about-section {
    background: #fbfcfb;
    border-top: 1px solid #f0f3f0;
    border-bottom: 1px solid #f0f3f0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.about-title {
    font-size: 2.75rem;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
}

.highlight-green {
    color: var(--primary-green);
}

.about-lead {
    font-size: 1.15rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 16px;
    font-weight: 500;
}

.about-body {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
}

.about-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.stat-box {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-4px);
    border-color: var(--primary-green);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-image-card {
    position: relative;
    border-radius: 24px;
    overflow: visible;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.about-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

.image-glass-card {
    position: absolute;
    bottom: -22px;
    left: -20px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 16px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    animation: floatSlow 5s ease-in-out infinite alternate;
}

.glass-icon {
    font-size: 2rem;
}

.glass-text strong {
    display: block;
    font-size: 0.96rem;
    color: var(--text-main);
}

.glass-text small {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.82rem;
}

/* Contact Section Polish */
.contact-details li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.02rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.4rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.contact-details a {
    color: var(--primary-green);
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-form-card {
    background: var(--white);
    padding: 34px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
}

.contact-form-card .form-group {
    margin-bottom: 18px;
}

.contact-form-card label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--text-main);
}

.contact-form-card .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 0.98rem;
    transition: var(--transition);
    outline: none;
}

.contact-form-card .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.12);
}

/* Cart Header & Stepper Enhancements */
.cart-header-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.cart-header-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cart-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.clear-cart-btn {
    background: transparent;
    border: none;
    color: #e53935;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transition);
}

.clear-cart-btn:hover {
    background: rgba(229, 57, 53, 0.08);
}

.cart-qty-stepper {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}

.cart-step-btn {
    width: 26px;
    height: 26px;
    background: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.cart-step-btn:hover {
    background: var(--primary-green);
    color: var(--white);
}

.cart-qty-value {
    min-width: 28px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.empty-icon {
    font-size: 3.2rem;
    display: block;
    margin-bottom: 12px;
    opacity: 0.6;
}

.close-cart-link {
    display: inline-block;
    margin-top: 15px;
}

.pulse-glow {
    animation: pulseGlow 2.5s infinite;
}

.cart-pop {
    animation: cartPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* Checkout Details Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.checkout-modal {
    background: var(--white);
    width: 100%;
    max-width: 520px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    transform: scale(0.92) translateY(20px);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .checkout-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.checkout-modal-header {
    padding: 22px 26px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #fbfbfb;
}

.checkout-modal-header h3 {
    font-size: 1.35rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 4px;
}

.checkout-modal-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #888;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #222;
}

.checkout-form {
    padding: 24px 26px;
    overflow-y: auto;
}

.checkout-summary-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(46, 125, 50, 0.08);
    padding: 12px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(46, 125, 50, 0.15);
    font-size: 1rem;
}

.checkout-modal-total {
    font-size: 1.3rem;
    color: var(--primary-green);
    font-weight: 700;
}

.checkout-form .form-group {
    margin-bottom: 16px;
}

.checkout-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-main);
}

.checkout-form .required {
    color: #e53935;
}

.whatsapp-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    padding: 14px 24px;
    font-weight: 600;
    background: #25D366;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
    margin-top: 15px;
}

.whatsapp-checkout-btn:hover {
    background: #1EBE5D;
    transform: translateY(-2px);
}

/* Floating WhatsApp Action Button */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1500;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-fab-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: pulseRadar 2.2s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
    pointer-events: none;
}

.whatsapp-fab-tooltip {
    position: absolute;
    right: 72px;
    background: #1f2937;
    color: white;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateX(5px);
}

.whatsapp-fab:hover .whatsapp-fab-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 2500;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast-item {
    background: #1f2937;
    color: white;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    min-width: 280px;
    max-width: 380px;
}

.toast-item.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 2px;
}

.toast-desc {
    font-size: 0.8rem;
    color: #9ca3af;
}

.toast-action {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.toast-action:hover {
    background: #1B5E20;
}

/* Responsiveness adjustments for new components */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        order: -1;
    }

    .about-img {
        height: 320px;
    }

    .image-glass-card {
        bottom: -15px;
        left: 15px;
    }
}

@media (max-width: 600px) {
    .trust-bar {
        margin-top: -20px;
    }

    .about-stats-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .toast-container {
        left: 15px;
        right: 15px;
        bottom: 95px; /* Above mobile action button */
    }

    .toast-item {
        min-width: auto;
        width: 100%;
    }

    .whatsapp-fab {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }
}

/* ==========================================================================
   SAFEGREEN ACADEMY (LESSONS) & STATE-OF-THE-ART FEATURES
   ========================================================================== */

/* Academy Ribbon */
.academy-tag {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.15), rgba(255, 193, 7, 0.2)) !important;
    color: #1B5E20 !important;
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.academy-ribbon {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    background: var(--white);
    padding: 18px 24px;
    border-radius: 16px;
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 50px;
}

.ribbon-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ribbon-icon {
    font-size: 1.5rem;
    width: 42px;
    height: 42px;
    background: rgba(46, 125, 50, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ribbon-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-main);
}

.ribbon-item small {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* Lessons Grid */
.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.lesson-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.lesson-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(46, 125, 50, 0.12);
    border-color: var(--secondary-green);
}

.lesson-card-top {
    padding: 22px 22px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lesson-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f1f8f3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.lesson-card:hover .lesson-icon-circle {
    transform: scale(1.15) rotate(8deg);
}

.lesson-badge {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lesson-badge.popular {
    background: #e8f5e9;
    color: #2e7d32;
}

.lesson-badge.high-demand {
    background: #fff8e1;
    color: #f57f17;
}

.lesson-badge.gentle {
    background: #e0f2fe;
    color: #0369a1;
}

.lesson-badge.eco-industrial {
    background: #f3e8ff;
    color: #7e22ce;
}

.lesson-body {
    padding: 10px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lesson-title {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.35;
}

.lesson-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.lesson-meta-list {
    background: #f9fafb;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #f0f2f5;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta-label {
    color: var(--text-muted);
}

.meta-item strong {
    color: var(--primary-green);
}

.lesson-footer .btn {
    font-size: 0.95rem;
    font-weight: 600;
}

/* State-of-the-Art Batch & Yield Calculator */
.calc-wrapper {
    margin-top: 30px;
}

.calc-card {
    background: linear-gradient(135deg, #ffffff 0%, #f7fbf8 100%);
    border: 2px solid #e1efe3;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 15px 45px rgba(46, 125, 50, 0.08);
}

.calc-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 35px;
}

.calc-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 50px;
    background: rgba(255, 193, 7, 0.2);
    color: #b45309;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.calc-header h3 {
    font-size: 1.85rem;
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 8px;
}

.calc-header p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.calc-controls {
    background: var(--white);
    padding: 28px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.slider-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-green);
    background: rgba(46, 125, 50, 0.08);
    padding: 3px 12px;
    border-radius: 20px;
}

.custom-range {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    margin: 12px 0 6px;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-green);
    border: 3px solid var(--white);
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.4);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 4px;
}

.calc-equipment-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #475569;
    border-left: 3px solid var(--secondary-green);
}

.tip-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.calc-results {
    background: var(--white);
    padding: 28px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.calc-results h4 {
    font-size: 1.08rem;
    color: var(--text-main);
    margin-bottom: 18px;
    font-weight: 700;
}

.results-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92rem;
    color: #4b5563;
    padding-bottom: 8px;
    border-bottom: 1px dashed #f1f5f9;
}

.breakdown-row strong {
    font-weight: 600;
    color: var(--text-main);
}

.breakdown-row.highlight-row {
    border-top: 1.5px solid #e2e8f0;
    border-bottom: none;
    padding-top: 10px;
    color: #b45309;
}

.breakdown-row.highlight-row strong {
    font-size: 1.1rem;
    color: #b45309;
}

.breakdown-row.highlight-green-row {
    background: rgba(46, 125, 50, 0.08);
    padding: 12px 16px;
    border-radius: 10px;
    border-bottom: none;
    color: #166534;
}

.breakdown-row.highlight-green-row strong {
    font-size: 1.25rem;
    color: var(--primary-green);
}

.whatsapp-calc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.98rem;
    font-weight: 600;
}

/* Testimonials / Social Proof */
.testimonials-section {
    background: #fafbfa;
    border-top: 1px solid #edf2ed;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px 26px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #edf0f3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(46, 125, 50, 0.1);
}

.star-rating {
    color: #f59e0b;
    font-size: 1.15rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 0.98rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 22px;
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    color: var(--text-main);
    font-size: 0.98rem;
}

.testimonial-author small {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* Curriculum Details Modal */
.curriculum-modal {
    max-width: 580px;
}

.curriculum-modal-body {
    padding: 24px 28px;
}

.modal-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-checklist li {
    font-size: 0.92rem;
    color: #374151;
    display: flex;
    gap: 8px;
    line-height: 1.45;
}

/* Back to Top Floating Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 32px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1400;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.3);
}

/* Responsiveness for Lessons & Calculator */
@media (max-width: 900px) {
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .calc-card {
        padding: 24px 18px;
    }

    .back-to-top {
        bottom: 82px;
        right: 22px;
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================================
   CHEMICALS & RAW MATERIALS SUPPLY STYLES
   ========================================================================== */

.chemicals-section {
    background: #fbfdfc;
    border-top: 1px solid #eef5f0;
    border-bottom: 1px solid #eef5f0;
}

.chemicals-tag {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.15)) !important;
    color: #047857 !important;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.chem-ribbon {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.chem-ribbon-card {
    background: var(--white);
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.chem-ribbon-card:hover {
    transform: translateY(-4px);
    border-color: var(--secondary-green);
}

.chem-ribbon-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #ecfdf5;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chem-ribbon-card strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-main);
}

.chem-ribbon-card small {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* Chemical Filter Tabs */
.chem-filters-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    overflow-x: auto;
    padding: 5px 0 10px;
    scrollbar-width: none;
}

.chem-filters-wrapper::-webkit-scrollbar {
    display: none;
}

.chem-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.chem-pill {
    background: var(--white);
    border: 1.5px solid #e2e8f0;
    padding: 8px 20px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.chem-pill:hover {
    border-color: #059669;
    color: #059669;
    transform: translateY(-2px);
}

.chem-pill.active {
    background: #059669;
    color: var(--white);
    border-color: #059669;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
    transform: translateY(-2px);
}

/* Chemicals Grid & Cards */
.chemicals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.chem-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.chem-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 36px rgba(5, 150, 105, 0.12);
    border-color: #10b981;
}

.chem-card-header {
    padding: 18px 20px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.chem-formula-tag {
    font-family: monospace;
    font-size: 0.78rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 4px;
}

.chem-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chem-badge.core {
    background: #ecfdf5;
    color: #059669;
}

.chem-badge.natural {
    background: #fef3c7;
    color: #d97706;
}

.chem-badge.heavy {
    background: #eff6ff;
    color: #2563eb;
}

.chem-badge.mild {
    background: #f0fdf4;
    color: #16a34a;
}

.chem-badge.booster {
    background: #fae8ff;
    color: #9333ea;
}

.chem-badge.sanitize {
    background: #e0e7ff;
    color: #4338ca;
}

.chem-badge.binder {
    background: #fff7ed;
    color: #ea580c;
}

.chem-badge.ultra-pure {
    background: #f1f5f9;
    color: #334155;
}

.chem-badge.strong {
    background: #fee2e2;
    color: #dc2626;
}

.chem-badge.aroma {
    background: #fdf2f8;
    color: #db2777;
}

.chem-card-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.chem-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.chem-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
    line-height: 1.35;
}

.chem-purity {
    font-size: 0.88rem;
    color: #059669;
    margin-bottom: 10px;
}

.chem-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 18px;
    flex: 1;
}

.chem-specs {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 0.82rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chem-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chem-spec-row span {
    color: var(--text-muted);
}

.chem-spec-row strong {
    color: var(--text-main);
    font-weight: 600;
}

.chem-inquire-btn {
    font-size: 0.92rem;
    font-weight: 600;
    padding: 10px 18px;
    background: #059669;
    border-color: #059669;
}

.chem-inquire-btn:hover {
    background: #047857;
}

/* Bulk Chemical Banner */
.bulk-chem-card {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    color: white;
    border-radius: 22px;
    padding: 38px 42px;
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 30px;
    align-items: center;
    box-shadow: 0 15px 40px rgba(6, 78, 59, 0.25);
}

.bulk-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: #a7f3d0;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.bulk-chem-content h3 {
    font-size: 1.7rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.bulk-chem-content p {
    color: #d1fae5;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.bulk-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #ecfdf5;
    font-size: 0.9rem;
}

.bulk-whatsapp-btn {
    background: #25D366 !important;
    border-color: #25D366 !important;
    color: white !important;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    text-align: center;
}

.bulk-whatsapp-btn:hover {
    background: #1ebe5d !important;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .bulk-chem-card {
        grid-template-columns: 1fr;
        padding: 30px 24px;
    }
}

/* ==========================================================================
   FAQ ACCORDION STYLES
   ========================================================================== */

.faq-section {
    background: #fafbfa;
    border-top: 1px solid #edf2ed;
}

.faq-tag {
    background: rgba(46, 125, 50, 0.1) !important;
    color: var(--primary-green) !important;
}

.faq-container {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.faq-item.active {
    border-color: var(--primary-green);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.09);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    text-align: left;
    font-family: var(--font-main);
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--primary-green);
}

.faq-icon, .faq-chevron {
    font-size: 1.4rem;
    color: var(--primary-green);
    font-weight: 700;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    line-height: 1;
    margin-left: 15px;
    flex-shrink: 0;
}

.faq-item.active .faq-icon,
.faq-item.active .faq-chevron {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
    padding: 0 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding: 0 24px 22px;
}



