@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;700&display=swap');

:root {
    --bg-main: #fcfcfc;
    --bg-card: #ffffff;
    --accent-green: #2e7d32;
    /* Deep Organic Green */
    --accent-light: #e8f5e9;
    /* Light Green */
    --text-main: #333333;
    --text-muted: #666666;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 25px rgba(46, 125, 50, 0.15);
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

/* Add this to prevent the off-screen reveal elements from stretching the page */
section {
    overflow: hidden; 
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

html {
    overflow-x: hidden;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ================= HEADER ================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(46, 100, 24, 0.879);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
}

/* Header Logo Size */
header .logo img {
    height: 45px;
    width: auto;
    display: block;
}

/* --- NAV ICONS (CREAM COLOR) --- */
.nav-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-icons i {
    font-size: 1.2rem;
    /* Changed to Cream (#fdfbf7) to match logo leaf */
    color: #fdfbf7;
    cursor: pointer;
    transition: 0.3s;
}

.nav-icons i:hover {
    color: #ffd54f;
    /* Light Gold/Yellow on hover for better contrast */
    transform: scale(1.1);
}

/* Cart Badge - Updated for visibility on Green Header */
.cart-icon-wrapper {
    position: relative;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ffffff;
    /* White background so it pops on green */
    color: #2e7d32;
    /* Green text */
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}


/* ================= BANNER CAROUSEL ================= */
.banner-section {
    width: 100%;
    height: 92vh;
    /* INCREASED: Was 60vh, now 85vh */
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    padding-left: 8%;
}

.banner-slide.active {
    opacity: 1;
    z-index: 2;
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 80%);
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.banner-content {
    position: relative;
    z-index: 3;
    color: white;
    max-width: 500px;
    animation: slideUp 1s ease forwards;
}

.banner-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
}

.banner-content h1 span {
    color: #81c784;
}

.banner-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.banner-content button {
    padding: 12px 30px;
    background: var(--accent-green);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

.banner-content button:hover {
    background: white;
    color: var(--accent-green);
    transform: translateY(-3px);
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ================= PRODUCT GRID ================= */
.products-section {
    padding: 60px 50px;
    min-height: 100vh;
    position: relative;
    /* Necessary for positioning the video behind */
    overflow: hidden;
    /* Ensures video doesn't spill out */
}

/* The Video Container */
.section-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Puts it at the bottom layer */
}

.section-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures video fills the area without stretching */
}

/* The White Overlay */
.section-video-bg .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.458);
    z-index: 1;
    backdrop-filter: blur(3px);
}

.section-header,
.product-grid {
    position: relative;
    z-index: 2;
    /* Highest priority */
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Rajdhani', sans-serif;
}

.section-header h2 span {
    color: var(--accent-green);
}

.section-header p {
    color: var(--text-muted);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    gap: 30px;
    justify-content: center;
}


.p-card {
    background: #ffffffa6;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    position: relative;
    /* Crucial for absolute positioned elements inside like badge */
}

.p-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-green);
}

.p-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #f9f9f9;
}

.p-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.p-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    font-family: 'Rajdhani', sans-serif;
}

.p-desc {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.p-price {
    font-size: 1.3rem;
    color: var(--accent-green);
    font-weight: 700;
    margin-bottom: 15px;
}

.qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.qty-label {
    font-size: 0.8rem;
    color: #555;
}

.qty-input {
    width: 60px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    outline: none;
}

.btn-group {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-card {
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-add {
    background: var(--accent-light);
    color: var(--accent-green);
}

.btn-add:hover {
    background: #dcedc8;
}

.btn-buy {
    background: var(--accent-green);
    color: white;
}

.btn-buy:hover {
    background: #1b5e20;
}

/* ================= INTERACTIVE FEATURES SECTION ================= */
.features-section {
    padding: 80px 50px;
    background: linear-gradient(to bottom, #fcfcfc, #f4fcf4);
    /* Subtle gradient fade */
    margin-top: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy smooth transition */
    overflow: hidden;
}

/* Hover State: Lift Up & Shadow */
.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(46, 125, 50, 0.15);
    /* Green glow shadow */
    border-color: var(--accent-light);
}

/* The Green Bottom Bar Effect */
.feature-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--accent-green);
    transition: width 0.4s ease;
}

.feature-box:hover::after {
    width: 100%;
}

/* Icon Styling */
.icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: 0.4s ease;
}

.feature-box i {
    font-size: 1.8rem;
    color: var(--accent-green);
    transition: 0.4s ease;
}

/* Icon Animation on Card Hover */
.feature-box:hover .icon-wrapper {
    background: var(--accent-green);
    transform: rotateY(180deg);
    /* 3D Flip effect */
}

.feature-box:hover i {
    color: white;
}

/* Text Styling */
.feature-box h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.feature-box p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .features-section {
        padding: 50px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

footer {
    background: #100f10;
    color: white;
    padding: 3px 50px 20px;

}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: #81c784;
    font-family: 'Rajdhani', sans-serif;
}

.footer-col a {
    display: block;
    color: #aaa;
    margin-bottom: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #9f9f9f;
    font-size: 0.8rem;
}


/* =======================================================
   STRUCTURAL STYLES (MODALS & POPUPS) - ESSENTIAL
   ======================================================= */

/* --- CART SIDEBAR --- */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 3001;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    /* Hidden by default */
    width: 400px;
    height: 100vh;
    height: 100dvh; /* Modern mobile viewport unit */
    background: white;
    border-left: 1px solid #ddd;
    z-index: 3002;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: bold;
}

/* --- AUTH MODALS & OVERLAYS --- */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.auth-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.auth-modal {
    background: white;
    width: 400px;
    padding: 40px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.close-cart,
.close-auth {
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
    transition: 0.3s;
}

.close-cart:hover,
.close-auth:hover {
    color: var(--accent-green);
}

.close-auth {
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}

.auth-tabs .tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    color: #999;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

.auth-tabs .tab.active {
    color: var(--accent-green);
    border-bottom: 2px solid var(--accent-green);
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 15px;
}

.auth-form.active {
    display: flex;
}

.auth-form h3 {
    margin-bottom: 5px;
    color: #333;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

.auth-form input {
    padding: 12px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    width: 100%;
}

.auth-form input:focus {
    border-color: var(--accent-green);
    background: white;
}

.btn-primary {
    background: var(--accent-green);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

.btn-primary:hover {
    background: #1b5e20;
}

.btn-secondary {
    background: white;
    color: #333;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: 0.2s;
}

.btn-secondary:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.btn-google {
    background: white;
    color: #333;
    border: 1px solid #ddd;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 6px;
    width: 100%;
}

.btn-google:hover {
    background: #f5f5f5;
}

.divider {
    text-align: center;
    position: relative;
    margin: 10px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #eee;
    z-index: 0;
}

.divider span {
    background: white;
    padding: 0 10px;
    position: relative;
    z-index: 1;
    color: #999;
    font-size: 0.8rem;
}

.forgot-link {
    font-size: 0.8rem;
    color: #666;
    cursor: pointer;
    text-align: center;
    margin-top: 5px;
}

.forgot-link:hover {
    color: var(--accent-green);
    text-decoration: underline;
}


/* =======================================================
   RESTORED: ADDRESS & ORDER STYLES (Required for Profile)
   ======================================================= */

.lbl-small {
    color: #aaa;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Address Grid */
.address-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.addr-card {
    background: #f9f9f9;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 6px;
    position: relative;
}

.addr-card h5 {
    color: #333;
    margin-bottom: 3px;
    font-size: 0.9rem;
    font-weight: 600;
}

.addr-card p {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.4;
}

.addr-card .del-addr {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #e53935;
    cursor: pointer;
    font-size: 0.8rem;
}

.addr-card .edit-addr {
    position: absolute;
    top: 10px;
    right: 35px;
    color: #777;
    cursor: pointer;
    font-size: 0.8rem;
}

.addr-card .edit-addr:hover {
    color: var(--accent-green);
}

/* Form Rows */
.row-2 {
    display: flex;
    gap: 10px;
}

.row-2 input {
    flex: 1;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.radio-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
    user-select: none;
}

.radio-container input {
    margin-right: 8px;
    accent-color: var(--accent-green);
}


/* Cart Address Selection */
.cart-address-section {
    padding: 15px 20px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.cart-addr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cart-addr-header h4 {
    font-size: 0.9rem;
    color: #333;
    text-transform: uppercase;
    font-family: 'Rajdhani', sans-serif;
}

.cart-addr-header span {
    color: var(--accent-green);
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: bold;
}

.cart-addr-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}

.cart-addr-item:hover {
    border-color: var(--accent-green);
}

.cart-addr-item.selected {
    border-color: var(--accent-green);
    background: var(--accent-light);
}

.addr-details {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.3;
}

.addr-details strong {
    color: #333;
    display: block;
    margin-bottom: 2px;
}


/* =======================================================
   RESTORED: ORDER HISTORY CARD STYLES
   ======================================================= */
.order-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.order-id {
    font-size: 0.8rem;
    color: #333;
    font-weight: bold;
    font-family: 'Rajdhani', sans-serif;
}

.order-date {
    font-size: 0.7rem;
    color: #999;
}

.order-status {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

.status-Paid {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #1976d2;
}

.status-Accepted {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #2e7d32;
}

.status-Rejected {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #c62828;
}

.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-weight: bold;
    color: var(--accent-green);
}

.order-card.new-order {
    border: 1px solid var(--accent-green);
    box-shadow: 0 0 10px rgba(46, 125, 50, 0.2);
}

/* =======================================================
   RESTORED: CUSTOM ALERTS
   ======================================================= */
.alert-btn {
    min-width: 80px;
    padding: 8px 16px;
    margin: 0 5px;
}

#customAlertOverlay .auth-modal {
    width: 350px;
    text-align: center;
}


/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .banner-section {
        height: 70vh;
        /* INCREASED: Was 50vh, now 70vh for mobile */
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .products-section {
        padding: 40px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
        height: 100dvh; /* Ensure proper height over address bars */
    }

    .auth-modal {
        width: 90%;
        padding: 25px;
    }
}

/* --- 1. Section & Background --- */
.provenance-section {
    position: relative;
    /* This creates the faded background image effect */
    background: linear-gradient(rgba(220, 240, 230, 0.85), rgba(220, 240, 230, 0.9)),
        url('../static/im/Palasa_Railway_Staion.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 20px;
    overflow: hidden;
    font-family: sans-serif;
    /* Replace with your site font */
}

/* --- 2. Layout Wrapper --- */
.provenance-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    /* Puts image and text side by side */
    align-items: center;
    justify-content: center;
    gap: 60px;
    /* Space between oval and text */
    flex-wrap: wrap;
}

/* --- 3. The Oval Image (Left Side) --- */
.provenance-image {
    flex: 0 0 320px;
    /* Fixed width for the oval */
    height: 450px;
    border-radius: 50%;
    /* Makes it an oval */
    border: 8px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: rotate(-3deg);
    /* Slight aesthetic tilt */
}

.provenance-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- 4. The Text Content (Right Side) --- */
.provenance-content {
    flex: 1;
    /* Takes remaining space */
    min-width: 300px;
}

.provenance-content h2 {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #222;
    line-height: 1.1;
}

.provenance-content h2 span {
    color: #2e7d32;
    /* Palasa Green */
}

.provenance-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.5);
    /* Improves readability */
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #2e7d32;
}

/* --- 5. The Badges --- */
.provenance-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.badge {
    background: #ffffff;
    color: #2e7d32;
    padding: 12px 25px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.badge i {
    font-size: 1.1rem;
}

.badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(46, 125, 50, 0.15);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .provenance-container {
        flex-direction: column;
        /* Stack them on mobile */
        text-align: center;
    }

    .provenance-image {
        width: 260px;
        height: 360px;
        transform: rotate(0deg);
        margin-bottom: 30px;
    }

    .provenance-content p {
        border-left: none;
        border-top: 4px solid #2e7d32;
    }

    .provenance-badges {
        justify-content: center;
    }
}



/* =========================================================
   LUXURY PRODUCT SPOTLIGHT BANNER (FIXED)
   ========================================================= */

.banner-slide {
    display: flex;
    align-items: center;
    position: relative;
}

/* Dark premium overlay */
.banner-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 45%, rgba(255, 215, 0, 0.18), transparent 40%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.25));
    z-index: 1;
}

/* ================= MAIN LAYOUT ================= */
.luxury-hero {
    position: relative;
    z-index: 2;
    max-width: 1200px;

    /* 🔥 THIS IS THE KEY CHANGE */
    margin-left: 0;
    margin-right: auto;

    padding-left: 80px;
    padding-right: 40px;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    color: white;
}

/* ================= LEFT CONTENT ================= */
.luxury-left {
    text-align: left;
}

.luxury-left h1 {
    font-size: 3.4rem;
    line-height: 1.1;
    margin: 18px 0;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
}

.luxury-left h1 span {
    color: #ffd54f;
    text-shadow: 0 10px 40px rgba(255, 213, 79, 0.35);
}

.luxury-left p {
    max-width: 460px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
}

/* Badge */
.luxury-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
}

/* ================= BUTTONS ================= */
.luxury-actions {
    display: flex;
    gap: 14px;
    margin-top: 26px;
}

.luxury-btn {
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

.luxury-btn.primary {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: white;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.35);
}

.luxury-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(46, 125, 50, 0.45);
}

.luxury-btn.secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
}

.luxury-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* ================= RIGHT PRODUCT IMAGE ================= */
.luxury-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.luxury-right img {
    width: 100%;
    max-width: 360px;
    z-index: 2;
    animation: floatProduct 5s ease-in-out infinite;
}

/* Golden glow */
.product-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.35), transparent 65%);
    filter: blur(35px);
    z-index: 1;
}

/* Floating animation */
@keyframes floatProduct {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ================= MOBILE ================= */
@media (max-width: 900px) {
    .luxury-hero {
        grid-template-columns: 1fr;
        padding: 0 20px;
        margin: auto;
        text-align: center;
    }

    .luxury-left {
        text-align: center;
    }

    .luxury-left p {
        margin: auto;
    }

    .luxury-actions {
        justify-content: center;
    }

    .luxury-right img {
        max-width: 260px;
        margin-top: 30px;
    }
}



/* --- Add to style.css --- */

.cart-qty-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid var(--accent-green);
    background: white;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: 0.2s;
}

.qty-btn:hover {
    background: var(--accent-green);
    color: white;
}

.qty-display {
    font-size: 0.9rem;
    font-weight: 600;
    width: 20px;
    text-align: center;
}

/* ================= MARQUEE BANNER ================= */
.marquee-bar {
    position: fixed;
    top: 75px;
    /* Height of the header */
    left: 0;
    width: 100%;
    background-color: #fdfbf7;
    /* Cream/White Background */
    color: #2e7d32;
    /* Green Text */
    z-index: 999;
    /* Sits below header (1000) but above content */
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #e8f5e9;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.marquee-bar a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 700;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 25s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
    /* Pauses text when you hover to read/click */
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ================= ADJUST BANNER POSITION ================= */
/* Update your existing .banner-section to push it down further */
.banner-section {
    /* Matches header (75px) + marquee bar height (~30px) */
    margin-top: 105px !important;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .marquee-bar {
        font-size: 0.85rem;
        top: 75px;
        /* Keeps alignment safe on mobile */
    }
}

/* ================= WHATSAPP FLOATING BUTTON ================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    /* Official WhatsApp Green */
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    z-index: 3000;
    /* Ensures it stays on top of cart/modals */
    transition: background-color 0.3s ease;

    /* The "Quiet Jump" Animation */
    animation: quiet-jump 4s ease-in-out infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    /* Darker green on hover */
    animation-play-state: paused;
    /* Stops jumping when you try to click */
}

.whatsapp-float i {
    font-size: 1.4rem;
}

/* Keyframes for the gentle bounce */
@keyframes quiet-jump {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    /* Moves up slightly */
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}


/* Copyright Link Styling */
.copyright a {
    color: inherit;
    /* Blends in with the text */
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.copyright a:hover {
    color: #d32f2f;
    text-shadow: 0 0 10px rgba(211, 47, 47, 0.3);
}


/* --- PRODUCT CARD QUANTITY CONTROLS --- */
.qty-control-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    width: fit-content;
    margin-bottom: 15px;
    /* Spacing before buttons */
}

/* The Input Field (Middle) */
.qty-input-styled {
    width: 40px;
    text-align: center;
    border: none;
    font-weight: 600;
    color: #333;
    outline: none;
    -moz-appearance: textfield;
    /* Remove arrows Firefox */
}

/* Remove arrows Chrome/Safari/Edge */
.qty-input-styled::-webkit-outer-spin-button,
.qty-input-styled::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* The Buttons (+ and -) */
.qty-btn-card {
    background: #f9f9f9;
    border: none;
    padding: 5px 12px;
    cursor: pointer;
    color: var(--accent-green);
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.2s;
}

.qty-btn-card:hover {
    background: var(--accent-green);
    color: white;
}

.qty-btn-card:disabled {
    color: #ccc;
    cursor: not-allowed;
}

.qty-btn-card:disabled:hover {
    background: #f9f9f9;
    color: #ccc;
}

/* ================= BULK QUERY BOX ================= */
.bulk-msg-box {
    position: fixed;
    bottom: 95px;
    /* Positions it right above the WhatsApp icon */
    right: 30px;
    background: white;
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    font-size: 0.85rem;
    color: #333;
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #f0f0f0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    animation: fadeUp 0.5s ease-out 1s backwards;
    /* Delays appearance slightly */
}

/* The little triangle pointer pointing down */
.bulk-msg-box::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 24px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-bottom: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
}

/* The Close (Cross) Icon */
.close-bulk {
    cursor: pointer;
    color: #bbb;
    font-size: 0.9rem;
    padding: 2px;
    transition: 0.2s;
}

.close-bulk:hover {
    color: #d32f2f;
    /* Red on hover */
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .bulk-msg-box {
        bottom: 80px;
        /* Adjusted for mobile button position */
        right: 20px;
        font-size: 0.75rem;
        padding: 10px;
    }
}

/* ================= FILTER BUTTONS (Glassmorphic Redesign) ================= */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    /* Subtle border for glass effect */
    background: rgba(255, 255, 255, 0.6);
    /* Semi-transparent base */
    backdrop-filter: blur(10px);
    /* Frosted glass effect */
    color: #333;
    /* Dark text for readability */
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    outline: none;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.15);
    /* Greenish shadow on hover */
    color: var(--accent-green);
    border-color: var(--accent-green);
}

.filter-btn.active {
    background: var(--accent-green);
    /* Solid Green Active */
    color: white;
    border-color: var(--accent-green);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
    /* Strong Green Glow */
    transform: translateY(-2px);
}

/* Optional: Add a gold accent/underline to active state */
.filter-btn.active::after {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: #ffd54f;
    /* Gold underline */
    margin: 4px auto 0;
    border-radius: 2px;
}


/* Variant Buttons - Redesigned */
.variant-selector {
    display: flex;
    gap: 8px !important;
    /* Override inline style if any */
    margin-bottom: 20px !important;
    padding: 4px;
    background: #f5f5f5;
    border-radius: 50px;
    /* Pill container */
    width: fit-content;
}

.v-btn {
    flex: 1;
    min-width: 80px;
    padding: 8px 16px;
    border: none;
    background: transparent;
    border-radius: 50px !important;
    /* Pill shape buttons */
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    color: #666;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.v-btn:hover {
    color: var(--accent-green);
    background: rgba(46, 125, 50, 0.05);
}

.v-btn.active {
    background: var(--accent-green);
    color: white;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
    font-weight: 700;
}

/* Optional: Add a subtle shine effect to active button */
.v-btn.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    opacity: 0.5;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ffd54f;
    /* Modern Gold */
    color: #2e7d32;
    /* Contrast Green */
    padding: 4px 12px;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


/* Container for the image */
.footer-bottom-image {
    width: 100%;
    background: #2D1B16;
    /* Matches your footer color */
    display: block;
    line-height: 0;
    /* Removes tiny gap at bottom */
    margin-top: -1px;
    position: relative;
    z-index: 1000;
}

/* The Image itself */
.footer-bottom-image img {
    width: 100%;
    /* Change from fixed height to auto to show the full image */
    height: auto;

    /* Change from cover to contain/unset to prevent cropping */
    object-fit: contain;

    display: block;
}

/* Optional: Max-height limit if the image is naturally too tall */
@media (min-width: 1200px) {
    .footer-bottom-image img {
        max-height: 600px;
        /* Adjust this value based on your image aspect ratio */
    }
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .footer-bottom-image img {
        height: auto;
        width: 100%;
    }
}

/* ================= MODERN REELS SECTION ================= */
.reels-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fffbf2 0%, rgb(254 254 253) 100%);
    /* Warm cream to soft green */
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
.reels-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: rgba(46, 125, 50, 0.03);
    border-radius: 50%;
    z-index: 0;
}

.reels-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: rgba(255, 213, 79, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.reels-section .section-header {
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

/* Horizontal Scroll Container */
.reels-container {
    display: flex;
    overflow-x: hidden;
    /* Hidden for clean infinite marquee scroll */
    gap: 30px;
    padding: 20px 50px 60px;
    /* Extra bottom padding for shadows */
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
    /* Ensures instant reset without rewinding */
    -webkit-overflow-scrolling: touch;
    z-index: 2;
    position: relative;
}

/* Hide scrollbar but keep functionality */
.reels-container::-webkit-scrollbar {
    height: 6px;
}

.reels-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    margin: 0 50px;
}

.reels-container::-webkit-scrollbar-thumb {
    background: rgba(46, 125, 50, 0.2);
    border-radius: 10px;
}

.reels-container::-webkit-scrollbar-thumb:hover {
    background: rgba(46, 125, 50, 0.4);
}

/* Reel Card - Phone Mockup Style */
.reel-card {
    flex: 0 0 320px;
    /* Fixed width for phone feel */
    height: 600px;
    /* Taller aspect ratio */
    background: white;
    border-radius: 30px;
    overflow: hidden;
    scroll-snap-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 8px solid white;
    /* Phone frame bezel effect */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

/* Hover Effect */
.reel-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(46, 125, 50, 0.2);
    border-color: #fff;
    z-index: 10;
}

/* Instagram Embed Adjustments */
.reel-card blockquote {
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 20px !important;
    /* Inner radius match */
}

/* Overlay for interaction hint */
.reel-card::after {
    content: 'View on Instagram';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(255, 255, 255, 0.9);
    color: #E1306C;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.reel-card:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .reels-container {
        padding: 10px 20px 40px;
        gap: 15px;
    }

    /* Added a closing brace just in case, though not needed for syntax */

    .reel-card {
        flex: 0 0 280px;
        height: 520px;
        border-width: 4px;
    }
}


@media (max-width: 768px) {
    /* This removes the glowing orbs causing the side gap */
    .stats-counter-section::before,
    .stats-counter-section::after {
        display: none;
    }
    
    /* Ensure the footer doesn't squish content on mobile */
    footer {
        padding: 20px 20px;
    }
}


/* ===============================================================
   ANIMATED STATS COUNTER SECTION
   =============================================================== */
.stats-counter-section {
    padding: 80px 50px;
    background: #2e7d32;
    position: relative;
    overflow: visible;
    z-index: 1;
}

/* Decorative glow orbs - HIDDEN to fix horizontal scroll gap */
.stats-counter-section::before,
.stats-counter-section::after {
    display: none !important;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 213, 79, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 213, 79, 0.2), rgba(255, 213, 79, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border: 1px solid rgba(255, 213, 79, 0.25);
}

.stat-icon i {
    font-size: 1.4rem;
    color: #ffd54f;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* Stats mobile */
@media (max-width: 768px) {
    .stats-counter-section {
        padding: 50px 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-card {
        padding: 25px 15px;
    }
}


/* ===============================================================
   PARALLAX CINEMATIC DIVIDER
   =============================================================== */
.parallax-divider {
    position: relative;
    height: 420px;
    background-image: url('../static/im/banner2.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Wave Dividers */
.wave-top,
.wave-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
    pointer-events: none;
}

.wave-top {
    top: -79px;
}

.wave-bottom {
    bottom: -79px;
}

.wave-top svg,
.wave-bottom svg {
    width: 100%;
    height: 80px;
    display: block;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.72), rgba(27, 60, 27, 0.65));
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-content {
    text-align: center;
    color: white;
    max-width: 700px;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.parallax-tagline {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #ffd54f;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 6px 18px;
    border: 1px solid rgba(255, 213, 79, 0.4);
    border-radius: 50px;
}

.parallax-content h2 {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.parallax-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 550px;
    margin: 0 auto 25px;
}

.parallax-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #ffd54f, rgba(255, 213, 79, 0.3));
    margin: 0 auto;
    border-radius: 3px;
}

/* iOS / Mobile fallback */
@media (max-width: 768px) {
    .parallax-divider {
        background-attachment: scroll;
        height: 350px;
    }

    .parallax-content h2 {
        font-size: 2rem;
    }

    .parallax-content p {
        font-size: 0.95rem;
    }
}


/* ===============================================================
   SCROLL-TRIGGERED REVEAL ANIMATIONS
   =============================================================== */

/* Base reveal — starts hidden, translates up */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Directional reveals */
.reveal-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered children — stat cards and feature boxes */
.stats-counter-section.reveal.active .stat-card {
    opacity: 1;
    transform: translateY(0);
}

.stats-counter-section .stat-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.features-section.reveal.active .feature-box {
    opacity: 1;
    transform: translateY(0);
}

.features-section .feature-box {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Override hover transforms to combine with reveal */
.features-section.reveal.active .feature-box:hover {
    transform: translateY(-10px);
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal-left,
    .reveal-right,
    .stats-counter-section .stat-card,
    .features-section .feature-box {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}