/* 
   Gro2Max Custom Cohesive Premium Design System
   Created by Antigravity (Google DeepMind Team)
   Theme: Eco-Premium Biotechnology (Growth & Purity)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   1. DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette (HSL Tailored) */
    --primary: hsl(145, 60%, 23%);          /* Growth Green */
    --primary-light: hsl(145, 45%, 33%);    /* Mid Green */
    --primary-glow: hsla(145, 60%, 23%, 0.15);
    --secondary: hsl(38, 90%, 52%);        /* Gold/Amber */
    --secondary-dark: hsl(38, 85%, 42%);   /* Deep Gold */
    --text-dark: hsl(210, 24%, 16%);        /* Rich Slate Text */
    --text-muted: hsl(210, 12%, 46%);       /* Medium Gray Copy */
    --bg-light: hsl(140, 15%, 98%);         /* Calming Green-Tinted Cream */
    --bg-white: hsl(0, 0%, 100%);
    --bg-header: hsla(38, 90%, 52%, 0.96); /* Gold/Amber matching hero secondary button */
    --bg-dark: hsl(210, 24%, 12%);          /* Dark Slate Footer */
    --border-color: hsl(145, 20%, 90%);
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 20px 40px -15px rgba(27, 85, 49, 0.08);
    --shadow-glow: 0 10px 25px -5px hsla(38, 90%, 52%, 0.3);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Layout & Animation */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. RESET & BASE ELEMENTS
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-dark);
}

p {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ==========================================================================
   3. GLOBAL COMMON COMPONENTS
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--bg-white);
}

.section-dark h2, .section-dark h3 {
    color: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px auto;
}

.section-header .tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-glow);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

/* Glass Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--text-dark);
    box-shadow: var(--shadow-glow);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px hsla(38, 90%, 52%, 0.45);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary-glow);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--bg-white);
    color: var(--primary);
    box-shadow: var(--shadow-soft);
}

.btn-white:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

/* Grid helper */
.grid {
    display: grid;
    gap: 32px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .section-header h2 { font-size: 2rem; }
}

/* ==========================================================================
   4. NAVIGATION HEADER (Glassmorphic)
   ========================================================================== */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-header);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark); /* Rich Dark Slate */
    letter-spacing: 0.5px;
}

.logo-text span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-item {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark); /* Rich Dark Slate matching hero button text */
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    position: relative;
}

.nav-item:hover, .nav-item.active {
    color: var(--primary); /* Growth Green */
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 2.5px;
    background-color: var(--primary); /* Growth Green indicator line */
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.nav-item:hover::after, .nav-item.active::after {
    transform: scaleX(1);
}

/* Call to Action Navbar */
.nav-cta {
    background-color: var(--primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.nav-cta:hover {
    background-color: var(--primary-light);
    transform: translateY(-1px);
}

.nav-cta::after {
    display: none;
}

/* Mobile burger menu */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-dark); /* Rich Dark Slate burger lines */
    transition: var(--transition-smooth);
    border-radius: 2px;
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-dark);
        flex-direction: column;
        padding: 100px 32px 32px 32px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.25);
        transition: var(--transition-smooth);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .burger {
        display: flex;
    }
    
    .burger.toggle span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .burger.toggle span:nth-child(2) {
        opacity: 0;
    }
    
    .burger.toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .nav-item {
        color: hsla(0, 0%, 100%, 0.8) !important;
        font-weight: 600;
    }
    
    .nav-item:hover, .nav-item.active {
        color: var(--bg-white) !important;
    }
    
    .nav-item::after {
        background-color: var(--secondary) !important;
    }
}

/* ==========================================================================
   5. HERO BANNER
   ========================================================================== */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    background-color: var(--bg-dark);
    color: var(--bg-white);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--bg-light);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 56px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--bg-white);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--secondary), hsl(45, 100%, 65%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    color: hsla(0, 0%, 100%, 0.75);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image-container {
    position: relative;
    z-index: 2;
}

.hero-image-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.5);
    border: 4px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition-smooth);
}

.hero-image-frame:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-8px);
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--secondary);
    color: var(--text-dark);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glow);
    font-weight: 800;
    font-family: var(--font-heading);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge .num {
    font-size: 2.2rem;
    line-height: 1;
    color: var(--primary);
}

.hero-badge .lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image-frame {
        transform: none;
        max-width: 500px;
        margin: 0 auto;
    }
    .hero-badge {
        left: 20px;
    }
}

/* ==========================================================================
   6. PREMIUM FEATURES & BENEFITS CARDS
   ========================================================================== */
.card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: transparent;
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 64px;
    height: 64px;
    background-color: var(--primary-glow);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.card:hover .card-icon {
    background-color: var(--primary);
    color: white;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.card p {
    font-size: 0.95rem;
}

/* ==========================================================================
   7. DOSING GUIDE & INTERACTIVE TABS
   ========================================================================== */
.tabs-wrapper {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background-color: hsl(140, 10%, 96%);
}

.tab-btn {
    flex: 1;
    padding: 24px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.tab-btn.active {
    background-color: var(--bg-white);
    color: var(--primary);
    position: relative;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
}

.tab-pane {
    display: none;
    padding: 48px;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

.dosing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.dosing-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.dosing-info h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.dosing-info p {
    margin-bottom: 24px;
}

.instruction-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.instruction-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.instruction-num {
    background-color: var(--primary-glow);
    color: var(--primary);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .dosing-grid {
        grid-template-columns: 1fr;
    }
    .tab-btn {
        padding: 16px;
        font-size: 0.95rem;
    }
    .tab-pane {
        padding: 24px;
    }
}

/* ==========================================================================
   8. TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
    column-count: 3;
    column-gap: 32px;
}

@media (max-width: 992px) {
    .testimonials-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        column-count: 1;
    }
}

.testimonial-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    margin-bottom: 32px;
    display: inline-block;
    width: 100%;
    position: relative;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stars {
    color: var(--secondary);
    margin-bottom: 16px;
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--primary-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    border: 2px solid var(--primary);
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   9. DIGITAL DATABANK (Resource Cards)
   ========================================================================== */
.databank-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: var(--radius-lg);
    padding: 48px;
    margin-bottom: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.databank-banner h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.databank-banner p {
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
    .databank-banner {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
}

.doc-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: var(--transition-smooth);
}

.doc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.doc-body {
    padding: 32px;
}

.doc-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.doc-badge {
    background-color: var(--secondary);
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.doc-size {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.doc-body h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.doc-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.doc-footer {
    border-top: 1px solid var(--border-color);
    padding: 20px 32px;
    background-color: hsl(140, 10%, 98%);
    display: flex;
    gap: 16px;
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
}

.doc-footer .btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 0.85rem;
}

/* ==========================================================================
   10. PRICING & CALCULATOR SYSTEM
   ========================================================================== */
.calc-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    padding: 48px;
    border: 1px solid var(--border-color);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
}

.calc-sliders {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
}

.slider-header span:first-child {
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.slider-header span.val {
    color: var(--primary);
    font-size: 1.2rem;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--border-color);
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: transform 0.1s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.calc-output {
    background-color: var(--primary-glow);
    border-radius: var(--radius-md);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    border: 2px dashed var(--primary);
}

.output-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.output-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 16px 0;
    font-family: var(--font-heading);
}

.output-savings {
    background-color: var(--secondary);
    color: var(--text-dark);
    padding: 10px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .calc-card {
        padding: 24px;
    }
}

/* ==========================================================================
   11. CONTACT & FORMS
   ========================================================================== */
.form-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    padding: 48px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--primary);
    background-color: var(--bg-white);
    outline: none;
    box-shadow: 0 0 0 4px var(--primary-glow);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.footer {
    background-color: var(--bg-dark);
    color: hsla(0, 0%, 100%, 0.65);
    padding: 80px 0 40px 0;
    border-top: 4px solid var(--primary);
}

.footer h3, .footer h4 {
    color: var(--bg-white);
    margin-bottom: 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand p {
    color: hsla(0, 0%, 100%, 0.65);
    margin-top: 16px;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.footer-contact-icon {
    color: var(--secondary);
    font-size: 1.1rem;
}

.footer-brands-logo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.brand-badge {
    background-color: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
}

.brand-badge:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: var(--secondary);
}

.brand-badge .icon {
    font-weight: 800;
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 32px;
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   13. ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll Animation Hooks */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   14. BRAND LOGO & PREMIUM DROPDOWN MENUS (Fewer Menus)
   ========================================================================== */
.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-img:hover {
    transform: scale(1.03);
}

/* Caret indicator for Dropdowns */
.nav-item.has-dropdown::after {
    content: ' ▾';
    font-size: 0.8rem;
    display: inline-block;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.nav-links li:hover .nav-item.has-dropdown::after {
    transform: rotate(180deg);
}

/* Dropdown Menu styling */
.nav-links li {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-dark);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-medium);
    padding: 12px 0;
    min-width: 230px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 100;
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: hsla(0, 0%, 100%, 0.85);
    text-align: left;
    transition: var(--transition-smooth);
}

.dropdown-item:hover {
    color: var(--secondary);
    background-color: rgba(255,255,255,0.04);
    padding-left: 24px;
}

.dropdown-item.active {
    color: var(--secondary);
    background-color: rgba(255,255,255,0.04);
}

/* Sub-CTA button in dropdown */
.dropdown-cta {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 8px;
    padding-top: 8px;
}

/* ==========================================================================
   15. PREMIUM HERO BANNER IMAGES FOR ALL PAGES
   ========================================================================== */
.internal-hero {
    position: relative;
    padding-top: 170px;
    padding-bottom: 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--bg-white);
    text-align: center;
    overflow: hidden;
}

.internal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(16, 27, 36, 0.88) 0%, rgba(16, 27, 36, 0.72) 100%);
    z-index: 1;
}

.internal-hero .container {
    position: relative;
    z-index: 2;
}

.internal-hero h1 {
    font-size: 3.2rem;
    color: var(--bg-white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.internal-hero h1 span {
    color: var(--secondary);
}

.internal-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .internal-hero h1 {
        font-size: 2.3rem;
    }
    .internal-hero p {
        font-size: 1rem;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        background-color: rgba(0,0,0,0.1);
        border: none;
        box-shadow: none;
        padding-left: 16px;
        min-width: auto;
        transform: none;
        display: none; /* toggled by burger script if expanded */
    }
}

/* ==========================================================================
   16. SHOPPING CART DRAWER & PAYPAL CHECKOUT SYSTEM
   ========================================================================== */

/* Navbar Actions and Toggle Button */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    font-size: 1.5rem;
    color: var(--text-dark);
    transition: var(--transition-smooth);
    border-radius: var(--radius-sm);
}

.cart-toggle-btn:hover {
    background-color: rgba(27, 85, 49, 0.08); /* light primary green tint */
    color: var(--primary);
    transform: scale(1.05);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--secondary);
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 2px solid var(--secondary);
    transition: var(--transition-smooth);
}

/* Sliding Cart Drawer */
.cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(16, 27, 36, 0.4); /* dark slate overlay */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1099;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.cart-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--border-color);
}

@media (max-width: 480px) {
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-light);
}

.cart-header h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--primary);
}

.cart-close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    padding: 0 4px;
}

.cart-close-btn:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

/* Empty Cart View */
.cart-empty-message {
    text-align: center;
    padding: 48px 0;
}

.cart-empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.3;
}

.cart-empty-message p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Cart Items List */
.cart-items-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 60px;
    height: 60px;
    background-color: var(--primary-glow);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.cart-item-meta {
    font-size: 0.8rem;
    color: var(--primary);
    background-color: var(--primary-glow);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 6px;
}

.cart-item-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.qty-btn {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.qty-btn:hover {
    background-color: var(--primary-glow);
    color: var(--primary);
}

.qty-val {
    width: 32px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

.cart-item-remove {
    background: none;
    border: none;
    color: #EF4444; /* red */
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    padding: 4px 8px;
    border-radius: 4px;
}

.cart-item-remove:hover {
    background-color: rgba(239, 68, 68, 0.08);
}

/* Cart Footer */
.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-light);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.cart-total-row {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    margin-top: 12px;
    margin-bottom: 20px;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Order Confirmation Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(16, 27, 36, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.order-confirm-modal {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-medium);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    line-height: 1;
}

.order-confirm-modal h2 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 12px;
}

.order-confirm-modal p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
}

.order-details-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 24px;
    text-align: left;
}

.order-detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.order-detail-row:last-child {
    margin-bottom: 0;
}

.order-detail-row span {
    color: var(--text-muted);
}

.order-detail-row strong {
    color: var(--text-dark);
}

/* Toast Notifications */
.cart-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1500;
    font-weight: 700;
    font-family: var(--font-heading);
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}

.cart-toast.active {
    transform: translateY(0);
    opacity: 1;
}

.cart-toast-icon {
    font-size: 1.2rem;
    color: var(--secondary);
}


