/* ===================================
   JAIVIK DESH - MAIN STYLESHEET
   =================================== */

/* ===== ROOT VARIABLES ===== */
:root {
    --primary-green: #2E7D32;
    --light-green: #A5D6A7;
    --earth-brown: #5D4037;
    --cream-bg: #FAF9F6;
    --accent-yellow: #FFC107;
    --white: #FFFFFF;
    --text-dark: #212121;
    --text-gray: #757575;
    --border-light: #E0E0E0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
}

.section.bg-light {
    background-color: var(--cream-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== NAVIGATION ===== */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-hover);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}



.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-green);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-green);
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--earth-brown) 100%);
    color: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="100" cy="100" r="50" fill="rgba(255,255,255,0.05)"/><circle cx="900" cy="400" r="80" fill="rgba(255,255,255,0.05)"/><circle cx="600" cy="200" r="60" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #1B5E20;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background-color: #FFA000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-green);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-green);
}

.btn-link {
    color: var(--primary-green);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-link:hover {
    color: var(--earth-brown);
}

.btn-block {
    width: 100%;
}

/* ===== GRID SYSTEM ===== */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* ===== CARDS ===== */
.feature-card,
.product-card,
.benefit-card,
.stat-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover,
.product-card:hover,
.benefit-card:hover,
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon,
.product-image {
    font-size: 4rem;
    margin-bottom: 20px;
}

.feature-card h3,
.product-card h3,
.benefit-card h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p,
.product-card p,
.benefit-card p {
    color: var(--text-gray);
}

/* ===== PROCESS TIMELINE ===== */
.process-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step-content h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.process-arrow {
    font-size: 2rem;
    color: var(--light-green);
}

/* ===== STATS ===== */
.stat-card {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-green);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
    /* Ensure it takes full height of navbar */
}

.logo-img {
    height: 70px;
    /* Adjust based on your navbar height preference */
    width: auto;
    object-fit: contain;
    max-width: 250px;
    /* Prevent it from getting too wide on large screens if needed */
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo-img {
        height: 50px;
        /* Smaller height for mobile */
    }
}

.testimonial-author strong {
    color: var(--primary-green);
    display: block;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green), var(--earth-brown));
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-center {
    text-align: center;
    margin-top: 40px;
}

.cta-box {
    background-color: var(--cream-bg);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
}

.cta-box h2 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

.cta-box p {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 1.125rem;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--earth-brown);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col p {
    opacity: 0.9;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    opacity: 0.9;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-yellow);
}

.footer-contact li {
    margin-bottom: 15px;
    opacity: 0.9;
}

.social-links {
    margin-top: 20px;
}

.social-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: var(--transition);
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ===== FLOATING ELEMENTS ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-hover);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    display: block;
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--earth-brown);
    transform: translateY(-3px);
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease;
}

/* ===== CONTENT GRID ===== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse>* {
    direction: ltr;
}

.content-text h2 {
    color: var(--primary-green);
    margin-bottom: 20px;
    font-size: 2rem;
}

.content-text p {
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-text ul {
    list-style: disc;
    margin-left: 20px;
    color: var(--text-gray);
}

.content-text ul li {
    margin-bottom: 10px;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
    border-radius: 15px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}


/* ===== CART STYLES ===== */
.cart-count {
    background-color: #FF0000;
    /* Red badge */
    color: var(--white);
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 10px;
    position: absolute;
    top: 0;
    right: -10px;
    display: none;
    min-width: 16px;
    height: 16px;
    line-height: 12px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.cart-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    vertical-align: middle;
    margin-right: 10px;
}

.product-col {
    display: flex;
    align-items: center;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-controls button {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;

    .btn-remove {
        background: #FFEBEE;
        color: #D32F2F;
        border: none;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .btn-remove:hover {
        background: #D32F2F;
        color: white;
        transform: rotate(90deg);
    }

    .cart-table th,
    .cart-table td {
        vertical-align: middle;
        /* Ensure vertical alignment */
    }

    .btn-remove {
        color: #F44336;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        transition: transform 0.2s;
    }

    .btn-remove:hover {
        transform: scale(1.2);
    }

    .cart-table th {
        background-color: #f9f9f9;
        color: var(--primary-green);
        font-weight: 600;
    }

    .checkout-form {
        background: #fff;
        padding: 30px;
        border-radius: 15px;
        box-shadow: var(--shadow);
    }

    .form-group label {
        font-weight: 600;
        color: var(--text-dark);
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        border: 1px solid var(--border-light);
        transition: border-color 0.3s;
    }

    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        border-color: var(--primary-green);
        outline: none;
    }