:root {
    /* Primary Colors - WOMENERA Theme */
    --primary-color: #8c7355;
    /* Deep Brown */
    --primary-light: #a68c69;
    --primary-dark: #3b2f2f;

    /* Gold Accent Colors */
    --gold-color: #C9A84C;
    --gold-light: #E8C97A;
    --gold-dark: #A07830;

    /* Secondary Colors */
    --secondary-color: #ffffff;
    /* White */
    --accent-color: #fdf5e6;
    /* Cream */
    --cream-bg: #fdf5e6;
    /* Warm Cream */

    /* Text Colors */
    --text-main: #5c4d3c;
    --text-muted: #968686;
    --text-white: #ffffff;

    /* Status Colors */
    --success: #3498db; /* Replaced green with blue */
    --danger: #e74c3c;
    --warning: #f1c40f;
    --info: #3498db;

    /* Gradients */
    --gradient-green: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-gold: linear-gradient(135deg, var(--gold-color) 0%, var(--gold-dark) 100%);
    --gradient-green-gold: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 60%, var(--gold-dark) 100%);
    --gradient-light: linear-gradient(135deg, #ffffff 0%, #fdf5e6 100%);
    --gradient-blue: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);

    /* Spacing & Borders */
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Inter', sans-serif;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: 90%;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

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

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

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
}

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

.btn-white:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline-white:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Navigation */
header {
    background-color: var(--secondary-color);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

header.scrolled {
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
}

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

.auth-btns {
    display: flex;
    gap: 15px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--gradient-green-gold);
    display: flex;
    align-items: center;
    padding-top: 80px;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--secondary-color);
    transform: skewY(-2deg);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 30px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 35px;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Cards & Components */
.card {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: clamp(1.5rem, 3vw, 2rem);
    /* Responsive padding */
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid #edf2f7;
    height: auto;
}

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

.feature-icon {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.card h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 10px;
    font-weight: 700;
}

.card p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: var(--text-muted);
}

/* Feature Grid */
.features {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

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

/* Products Section */
.products {
    padding: 100px 0;
    background-color: var(--accent-color);
}

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

/* Product Card Specifics */
.product-card {
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-details {
    padding: clamp(1.2rem, 3vw, 1.5rem);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-details h3 {
    margin-bottom: 10px;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 600;
}

.product-details p {
    color: var(--text-muted);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.product-price {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--primary-color);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--text-white);
    padding: 80px 0 30px;
}

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

.footer-logo {
    height: 60px;
    margin-bottom: 10px;
    filter: brightness(0) invert(1);
}

.footer-company-name {
    color: #bdc3c7;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.footer-desc {
    color: #bdc3c7;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--text-white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* Forms */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    padding: 120px 20px 80px;
}

.auth-card {
    background: var(--secondary-color);
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    /* Responsive input font */
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Rewards Section */
.reward-card {
    text-align: center;
    padding: clamp(1.5rem, 3vw, 2rem);
}

.reward-icon-container {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.reward-icon {
    font-size: 2.5rem;
    color: var(--warning);
}

.reward-type {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.reward-badge {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Call to Action Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-green);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 50px;
    font-size: 1.1rem;
    border: none;
}

.cta-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsiveness */
@media (max-width: 991px) {
    .container {
        padding: 0 15px;
    }



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

@media (max-width: 768px) {

    /* Navbar Mobile Menu Support */
    .nav-links,
    .auth-btns {
        display: none;
    }

    .mobile-menu-btn {
        display: block !important;
        font-size: 2.2rem;
        cursor: pointer;
        color: var(--primary-color);
    }

    /* Hero Section Mobile */
    .hero {
        height: auto;
        padding: 120px 0 80px;
    }

    /* Hero content h1 and p font sizes handled by clamp() */

    .hero-container {
        flex-direction: column-reverse;
        /* Convert to column layout */
        text-align: center;
    }

    .hero-image {
        margin-top: 40px;
        justify-content: center;
        width: 100%;
    }

    .hero-image img {
        max-width: 100%;
        height: auto;
    }

    .cta-btns {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }

    /* Grid Layouts Mobile */
    .feature-grid,
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-grid .card {
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Product Card Mobile Tweaks */
    @media (max-width: 480px) {
        .product-footer {
            flex-direction: column;
            align-items: stretch;
            text-align: center;
        }

        .product-price {
            margin-bottom: 10px;
        }

        .btn-sm {
            width: 100%;
        }
    }

    /* User Dashboard Mobile Responsive */
    .dashboard-wrapper {
        flex-direction: column;
    }

    .sidebar {
        transform: translateX(-100%);
        width: 280px;
        z-index: 2000;
        box-shadow: var(--shadow-lg);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0 !important;
        padding: 15px;
    }

    .top-bar {
        padding: 10px 15px;
        margin-bottom: 25px;
    }

    /* Auth Pages Mobile */
    .auth-container {
        padding: 100px 15px 60px;
    }

    .auth-card {
        padding: 30px 20px;
    }

    /* Footer Mobile */
    footer {
        padding: 50px 0 30px;
        text-align: center;
    }

    .footer-col {
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-list {
        display: inline-flex !important;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .footer-grid {
        gap: 20px;
        margin-bottom: 30px;
    }
}

/* Helper Components for Responsive UI */
.mobile-menu-btn {
    display: none;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 3000;
    padding: 60px 40px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    margin-top: 30px;
}

.mobile-nav ul li {
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f4f8;
    padding-bottom: 15px;
}

.mobile-nav ul li a {
    text-decoration: none;
    color: var(--text-main);
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    font-weight: 600;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2500;
    display: none;
}

.overlay.active {
    display: block;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

/* ===== TOP BAR STRIP ===== */
.top-bar-strip {
    background: var(--primary-dark);
    padding: 8px 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.85);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1100;
}
.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.top-bar-left {
    display: flex;
    gap: 18px;
    align-items: center;
}
.top-bar-left span, .top-bar-center span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.85);
}
.top-bar-left i, .top-bar-center i {
    color: var(--gold-color);
    font-size: 0.95rem;
}
.top-bar-center {
    font-weight: 500;
    color: var(--gold-light);
}
.top-bar-right {
    display: flex;
    gap: 10px;
    align-items: center;
}
.top-bar-right a {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    transition: color 0.2s;
}
.top-bar-right a:hover { color: var(--gold-color); }

/* Offset header to account for top bar */
header {
    top: 36px !important;
}
main {
    padding-top: 36px;
}

/* ===== NAVIGATION DROPDOWN ===== */
.nav-links .nav-dropdown {
    position: relative;
}
.nav-links .nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-links .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    min-width: 180px;
    list-style: none;
    padding: 8px 0;
    border: 1px solid #edf2f7;
    z-index: 999;
}
.nav-links .dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}
.nav-links .dropdown-menu li a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    padding-left: 24px;
}
.nav-links .nav-dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeInDown 0.2s ease;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== SOCIAL ICON BUTTON ===== */
.social-icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-icon-btn:hover {
    background: var(--gold-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 5000;
    transition: all 0.3s ease;
    animation: pulse-green 2s ease-in-out infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37,211,102,0.6);
}
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50%       { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    background: linear-gradient(135deg, #0D4A25, #1B6B3A);
    padding: 120px 0 60px;
    text-align: center;
    color: #fff;
    margin-top: 36px;
}
.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 12px;
}
.page-hero p {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}
.page-hero .page-hero-badge {
    display: inline-block;
    background: rgba(201,168,76,0.2);
    border: 1px solid var(--gold-color);
    color: var(--gold-light);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* Fix about-hero to use page-hero style */
.about-hero {
    background: linear-gradient(135deg, #0D4A25, #1B6B3A) !important;
    padding: 130px 0 60px !important;
    text-align: center;
    color: #fff !important;
}
.about-hero h1 { color: #fff !important; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 10px; }
.about-hero p { color: rgba(255,255,255,0.85) !important; font-size: 1.05rem; }

/* Fix products-hero */
.products-hero {
    background: linear-gradient(135deg, #0D4A25, #1B6B3A) !important;
    padding: 130px 0 60px !important;
    text-align: center;
    color: #fff !important;
}
.products-hero h1 { color: #fff !important; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 10px; }
.products-hero p { color: rgba(255,255,255,0.85) !important; }

/* Top bar responsive */
@media (max-width: 768px) {
    .top-bar-left span:last-child,
    .top-bar-center { display: none; }
    .top-bar-strip { padding: 6px 0; }
    header { top: 32px !important; }
    main { padding-top: 32px; }
}
@media (max-width: 480px) {
    .top-bar-left { gap: 10px; }
    .top-bar-right { gap: 6px; }
    .whatsapp-float { width: 48px; height: 48px; font-size: 1.6rem; bottom: 18px; right: 18px; }
}