:root {
    --primary: #065f46; /* Deep Emerald */
    --primary-light: #ecfdf5;
    --primary-dark: #064e3b;
    --secondary: #10b981; /* Mid Green */
    --secondary-light: #d1fae5;
    --accent: #059669;
    --accent-light: #f0fdf4;
    --text-main: #0f172a;
    --text-muted: #475569;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --radius: 40px;
    --radius-sm: 24px;
    --radius-asym: 40px 150px 40px 40px;
    --shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
    --shadow-lg: 0 30px 60px -12px rgba(0,0,0,0.12);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Outfit', 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background: var(--glass);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    min-height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--text-main);
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 10px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-links li.active a {
    color: var(--primary);
    background: var(--primary-light);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-content {
    /* Base State: Hidden */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    
    position: absolute;
    background-color: var(--white);
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    border-radius: 16px;
    z-index: 2000;
    top: 100%;
    left: 0;
    overflow: hidden;
    padding: 12px 0;
    border: 1px solid rgba(0,0,0,0.05);
    margin-top: 5px;
    
    /* Animation settings */
    transform: translateY(15px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s; /* Delay visibility change when hiding */
}

/* Hover State: Visible */
.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0s; /* Immediate visibility change when showing */
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -20px; /* Bridge the gap to parent */
    left: 0;
    width: 100%;
    height: 30px;
    background: transparent;
}

.dropdown-content a {
    color: var(--text-main) !important;
    padding: 12px 20px !important;
    text-decoration: none;
    display: block !important;
    font-size: 14px !important;
    transition: 0.2s;
    background: transparent !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    border-bottom: 1px solid #f8fafc;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--primary-light) !important;
    color: var(--primary) !important;
    padding-left: 25px !important;
}

.nav-links li.dropdown > a {
    display: flex;
    align-items: center;
}

.nav-links li.dropdown > a::after {
    content: '▾';
    font-size: 14px;
    margin-left: 6px;
    opacity: 0.6;
    transition: 0.3s;
}

.dropdown:hover > a::after {
    transform: rotate(180deg);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Promo & Badge Styles */
.promo-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ef4444;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.bundle-badge {
    background: #f59e0b !important;
}

.price-old {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    margin-right: 5px;
}

.discount-tag {
    background: #fee2e2;
    color: #ef4444;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.btn-cta {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: transform 0.3s, background 0.3s;
}

.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-main);
}

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

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-wa {
    background: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Service Grid */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f1f5f9;
}


/* Bottom Navigation (Mobile Only) */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    height: 70px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    border-radius: 20px 20px 0 0;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    gap: 4px;
}

.bottom-nav-item.active {
    color: var(--primary);
}

.bottom-nav-item span:first-child {
    font-size: 20px;
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
    }
}


/* Global Mobile Adjustments */
@media (max-width: 768px) {
    header {
        padding: 10px 0;
        background: rgba(255, 255, 255, 0.95);
    }
    
    .logo {
        font-size: 20px !important;
    }
    
    .nav-links, .nav-actions .btn-cta {
        display: none !important;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 40px 0 !important;
    }

    .mobile-grid-1 {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Product Grid on Mobile - 2 columns */
    .mobile-product-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .mobile-product-grid .p-card, 
    .mobile-product-grid > div {
        padding: 10px !important;
    }

    /* Hero Redesign for Mobile */
    section[style*="background: linear-gradient(135deg, #064e3b 0%, #065f46 100%)"] {
        padding: 60px 0 0 !important;
        text-align: center;
    }

    section[style*="background: linear-gradient(135deg, #064e3b 0%, #065f46 100%)"] .container > div {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    section[style*="background: linear-gradient(135deg, #064e3b 0%, #065f46 100%)"] h1 {
        font-size: 2.5rem !important;
    }

    section[style*="background: linear-gradient(135deg, #064e3b 0%, #065f46 100%)"] p {
        margin: 0 auto 30px !important;
    }

    section[style*="background: linear-gradient(135deg, #064e3b 0%, #065f46 100%)"] .display-flex {
        justify-content: center !important;
    }

    /* Stats Bar Mobile */
    section[style*="background: white; padding: 40px 0"] .container > div {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }

    section[style*="background: white; padding: 40px 0"] div[style*="border-right"] {
        border-right: none !important;
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 15px;
    }

    /* Trust Section Mobile */
    section[style*="padding: 120px 0; background: white"] .container > div {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
    }

    section[style*="padding: 120px 0; background: white"] div[style*="position: absolute; -bottom: 40px"] {
        position: relative !important;
        bottom: 0 !important;
        right: 0 !important;
        margin: -40px auto 0;
        max-width: 100% !important;
        padding: 30px !important;
    }

    .grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    div[style*="grid-template-columns: repeat(3, 1fr)"],
    div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    .bottom-padding-mobile {
        padding-bottom: 90px !important;
    }

    footer {
        padding: 60px 0 100px;
        margin-top: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 30px;
    }
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* Footer */
footer {
    background: #0f172a;
    color: white;
    padding: 80px 0 30px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate {
    animation: fadeIn 0.8s ease forwards;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    margin: 40px 0 20px;
    color: var(--text-main);
    font-size: 1.8rem;
}

.article-content h3 {
    margin: 30px 0 15px;
    color: var(--text-main);
    font-size: 1.5rem;
}

.article-content ul, .article-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    font-style: italic;
    color: var(--text-muted);
    margin: 30px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    .mobile-grid-1 {
        grid-template-columns: 1fr !important;
    }
    .mobile-flex-col {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    .mobile-hidden {
        display: none !important;
    }
}
/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

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

/* Hover Effects Utility */
.hover-lift {
    transition: var(--transition) !important;
}

.hover-lift:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: var(--shadow-lg) !important;
}

.btn-grow {
    transition: var(--transition);
}

.btn-grow:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.img-asym {
    border-radius: var(--radius-asym);
}

/* Glassmorphism Refinement */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Custom Selection Color */
::selection {
    background: var(--primary);
    color: white;
}

/* Staggered Delay Utilities */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
