/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --primary-color: #1e6f3e; /* Deep Forest Green */
    --primary-light: #2ecc71; /* Brighter Green for gradients */
    --secondary-color: #8B4513; /* Earthy Brown */
    --light-bg: #f4fdf6;
    --dark-text: #2d3436;
    --white-glass: rgba(255, 255, 255, 0.98);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
}

a { text-decoration: none; }

/* =========================================
   2. STICKY SOCIAL SIDEBAR (Simple & Small)
   ========================================= */
.sticky-socials {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1050;
    display: flex;
    flex-direction: column;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px; 
    height: 40px; 
    background: rgba(0, 0, 0, 0.8);
    color: white;
    margin-bottom: 2px;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: scale(1.1);
    color: white;
    width: 40px; /* No expansion */
}

.social-link.facebook:hover { background: #3b5998; }
.social-link.instagram:hover { background: #C13584; }
.social-link.whatsapp:hover { background: #25D366; }
.social-link.twitter:hover { background: #1DA1F2; }

.social-link:hover::after { content: none; }


/* =========================================
   3. NAVBAR (Full Width + 3D Shadow)
   ========================================= */
.glass-nav {
    background: var(--white-glass);
    backdrop-filter: blur(15px);
    /* 3D Shadow Effect */
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1); 
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    width: 100%;
    margin: 0;
    border-radius: 0;
}

.navbar-brand {
    font-size: 2.5rem;
    color: var(--primary-color) !important;
    line-height: 1;
    font-weight: 700;
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #444 !important;
    padding: 8px 10px !important;
    transition: 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.login-btn {
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    padding: 6px 20px !important;
    color: var(--primary-color) !important;
    margin: 0 10px;
}

.login-btn:hover {
    background: var(--primary-color);
    color: white !important;
    box-shadow: 0 4px 10px rgba(30, 111, 62, 0.3);
}

.btn-custom-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 25px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-custom-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
    color: white;
}


/* =========================================
   4. HERO SECTION (Restructured with Base)
   ========================================= */

   
.hero-nature {
    height: 100vh;
    min-height: 100px;
    background: url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: flex-end; /* Content bottom pe align hoga */
    justify-content: center;
    overflow: hidden;
    padding-bottom: 0;
}

/* Dark Overlay */
.hero-nature::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6)); 
    z-index: 1;
}

/* Background Watermark Text */
.big-title-bg {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
    user-select: none;
}

/* --- NATURE BASE (Lakdi/Phool ka Floor) --- */
/* Is image ke upar bottles rakhi huyi dikhengi */
.hero-nature-base {
    position: absolute;
    bottom: -50px; /* Thoda adjustment taaki cut na lage */
    left: 0;
    width: 100%;
    height: 350px;
    /* Yahan apni lakdi wali PNG image lagana */
    background: url('https://png.pngtree.com/png-clipart/20230916/ourmid/pngtree-nature-podium-with-leaf-and-tree-trunk-wood-png-image_10114659.png') no-repeat center bottom;
    background-size: contain;
    z-index: 5; /* Bottle ke peeche, background ke upar */
    pointer-events: none;
}

/* Carousel Container */
#heroProductCarousel {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end; /* Important for base alignment */
    justify-content: center;
    padding-bottom: 80px; /* Space above base */
}

.carousel-inner, .carousel-item {
    height: 100%;
    overflow: visible; /* Shadows cut na ho */
}

.hero-slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

/* Product Image (Bigger & Grounded) */
.hero-product-img {
    height: 540px; /* Bada size */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 30px rgba(0,0,0,0.7)); /* Real shadow on wood */
    position: relative;
    z-index: 6;
    margin-bottom: 0px; /* Base me mix karne ke liye */

}

/* Floating Animation (Slight movement) */
.floating-img { 
    animation: float 4s ease-in-out infinite; 
}



/* Badges - Side positioning */
.hero-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    white-space: nowrap;
    font-size: 0.9rem;
    z-index: 15;
    opacity: 0; 
    animation: popIn 0.8s ease forwards 0.5s;
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.8) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.badge-left {
    bottom: 230px;
    left: 24%;
}


.badge-right {
    bottom: 340px;
    right: 22%;
}

/* H2 ka basic style */
.hero-bottom-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem; /* PC Font Size */
    font-weight: 700;
    color: #fff;
    text-align: center;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
    width: 100%;
}

/* MAGIC FIX: PC par <br> ko gayab kar do */
.hero-bottom-text h2 br {
    display: none; 
}

/* PC par saare <span> ko normal text bana do */
.style-small, .style-italic, .style-big {
    display: inline; /* Ek line mein rahenge */
    font-size: inherit; /* H2 ka size lenge */
    font-family: inherit;
    font-weight: inherit;
    letter-spacing: normal;
    text-transform: none; /* Uppercase hata diya */
    background: none; 
    -webkit-text-fill-color: #fff; /* Gradient hata ke white */
    margin: 0 5px; /* Words ke beech gap */
}

/* Bottom Text */
.hero-bottom-text {
    position: absolute;
    bottom: 10px;
    z-index: 4; /* Bottle ke peeche but readable */
    width: 100%;
    text-align: center;
}

.hero-bottom-text h2 {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
    font-weight: 700;
    font-size: 3.5rem;
    letter-spacing: 1px;
    padding-bottom: -160px;
}

/* Wave removed */
.custom-shape-divider-bottom-hero { display: none !important; }

/* Animated Leaves */
.leaf {
    position: absolute;
    color: #76c96c;
    opacity: 0.7;
    z-index: 3;
    animation: leafFloat 15s infinite linear;
}
.leaf-1 { top: 10%; left: 10%; font-size: 2rem; animation-duration: 12s; }
.leaf-2 { top: 60%; right: 5%; font-size: 3rem; animation-duration: 18s; animation-delay: 1s; }

@keyframes leafFloat {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, 50px) rotate(180deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}


/* =========================================
   5. GENERAL SECTIONS (Increased Spacing)
   ========================================= */
.section-padding { padding: 105px 0; } /* Increased from 100px */
.bg-light-green { background-color: var(--light-bg); }

/* About Images */
.image-stack { position: relative; margin-bottom: 30px; }
.image-stack .main-img { width: 90%; border-radius: 20px; }
.image-stack .small-img {
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 45%;
    border: 5px solid white;
    border-radius: 20px;
}

/* Product Cards */
/* =========================================
   FIX: PRODUCT CARD ALIGNMENT
   ========================================= */
.product-card {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    height: 100%; /* Card poori height lega */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Content barabar phailega */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(30, 111, 62, 0.15);
}

.product-img-wrap {
    /* MAGIC FIX: Height fix kar di taaki text upar na bhaage */
    height: 250px; 
    width: 100%;
    display: flex;
    align-items: center;     /* Vertically Center */
    justify-content: center; /* Horizontally Center */
    overflow: hidden;
    margin-bottom: 15px;
}

.product-img-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain; /* Image kategi nahi, poori dikhegi */
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.read-more-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    transition: 0.3s;
}
.read-more-link:hover { transform: translateX(5px); }

/* --- Products Carousel Custom Controls --- */
#productCarousel .carousel-control-prev,
#productCarousel .carousel-control-next {
    width: 5%; /* Thoda zyada area click karne ke liye */
    opacity: 1; /* Hamesha visible rakha */
    transition: opacity 0.3s;
}

#productCarousel .carousel-control-prev-icon-custom,
#productCarousel .carousel-control-next-icon-custom {
    background: none;
    color: var(--primary-color); /* Arrows ka color green */
    padding: 10px;
    border-radius: 50%;
    /* Shadow for subtle 3D lift */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
    transition: background-color 0.3s;
}



/* Mobile pe Controls chhote aur side me rakhe */
@media (max-width: 768px) {
    #productCarousel .carousel-control-prev,
    #productCarousel .carousel-control-next {
        width: 10%;
    }
    #productCarousel .carousel-control-prev-icon-custom,
    #productCarousel .carousel-control-next-icon-custom {
        font-size: 1.5rem;
    }
}

/* --- Products Heading Spacing Fix --- */
.products-heading-spacing {
    margin-top: 35px; /* Ya fir 15px/20px, jaisa tumhe theek lage */
    margin-bottom: 2.1rem; /* Ensure standard margin-bottom */
}


/* Service Cards */
.service-card {
    background: white;
    border: 1px solid #eee;
    transition: 0.4s;
}
.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

/* Why Choose Us */
.why-choose-us {
    background-color: var(--secondary-color);
    padding: 120px 0;
    color: white;
}
.border-animation {
    padding: 10px;
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 20px;
}

/* Trust Badges */
.badge-box {
    transition: 0.3s;
    border: 1px solid #eee;
}
.badge-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

/* News Section - Fixed Image Adjustment (Centering 'Contain'ed image) */
.img-zoom-container { 
    overflow: hidden; 
    height: 300px; /* Height fixed rakhi hai */
    width: 100%;
    position: relative;
    /* Nayi properties: Image ko vertically/horizontally center karne ke liye */
    display: flex; 
    justify-content: center;
    align-items: center; 
}

.news-card img {
    width: 100%; 
    height: 100%; 
    object-fit: contain; /* 'Contain' waapas kiya taaki poori image dikhe */
    object-position: center;
    transition: transform 0.6s ease; 
}

.news-card:hover img { 
    transform: scale(1.1); 
}
/* --- Products & News Carousel Custom Controls --- */
/* Targetting both #productCarousel and #newsCarousel */
#productCarousel .carousel-control-prev,
#productCarousel .carousel-control-next,
#newsCarousel .carousel-control-prev,
#newsCarousel .carousel-control-next {
    width: 5%; 
    opacity: 1; 
    transition: opacity 0.3s;
}

#productCarousel .carousel-control-prev-icon-custom,
#productCarousel .carousel-control-next-icon-custom,
#newsCarousel .carousel-control-prev-icon-custom,
#newsCarousel .carousel-control-next-icon-custom {
    background: none;
    color: var(--primary-color);
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
    transition: background-color 0.3s;
}




/* Mobile pe Controls chhote aur side me rakhe */
@media (max-width: 768px) {
    #productCarousel .carousel-control-prev,
    #productCarousel .carousel-control-next,
    #newsCarousel .carousel-control-prev,
    #newsCarousel .carousel-control-next {
        width: 10%;
    }
    #productCarousel .carousel-control-prev-icon-custom,
    #productCarousel .carousel-control-next-icon-custom,
    #newsCarousel .carousel-control-prev-icon-custom,
    #newsCarousel .carousel-control-next-icon-custom {
        font-size: 1.5rem;
    }
}

/* =========================================
   6. FOOTER
   ========================================= */
footer { background-color: #111; }
.footer-links a {
    color: #aaa;
    transition: 0.3s;
    display: block;
    margin-bottom: 8px;
}
.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

/* =========================================
   7. RESPONSIVE TWEAKS
   ========================================= */
@media (max-width: 991px) {
    .big-title-bg { font-size: 6rem; top: 30%; }
    .navbar-brand { font-size: 2rem; }
    
    .sticky-socials { display: none; } 
    
    /* Mobile Hero Adjustments */
    #heroProductCarousel { min-height: 500px; padding-bottom: 50px; }
    .hero-nature-base { height: 180px; bottom: 0; background-size: cover; }
    .hero-product-img { height: 320px; margin-bottom: 0; }
    
    /* Mobile Badges */
    .hero-badge {
        position: absolute;
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    .badge-left { bottom: auto; top: 80px; left: 10px; }
    .badge-right { bottom: auto; top: 80px; right: 10px; }
    
    .hero-bottom-text h2 { font-size: 1.8rem; margin-top: 0; padding: 0 15px; }
    .hero-bottom-text { bottom: 60px; }
}

/* about page */
/* =========================================
   8. ABOUT US PAGE STYLES
   ========================================= */
.about-hero-banner {
    /* Dark green leaves background image */
    background: url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    height: 350px; /* Thodi zyada height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
}
.about-hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for readability */
    z-index: 2;
}
.about-hero-banner h1 {
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    z-index: 3;
}
.breadcrumb-text {
    z-index: 3;
    font-size: 1.1rem;
}
.breadcrumb-text a {
    color: rgba(255, 255, 255, 0.8);
    transition: 0.3s;
}
.breadcrumb-text a:hover {
    color: var(--primary-light);
}
.breadcrumb-text span {
    color: var(--primary-color);
    font-weight: 600;
}

.about-content-section {
    padding: 120px 0; /* Consistent padding */
}

/* Image box styling */
.about-img-box {
    position: relative;
    padding: 15px;
    background: rgba(30, 111, 62, 0.1); /* Light green tint */
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.about-img-box:hover {
    transform: translateY(-5px);
}

.about-img-box img {
    border-radius: 10px;
}


/* registration form  */

/* --- Registration Form Specific Styles --- */
.register-header {
    /* Gradient Color as seen in the screenshot's header */
    background: linear-gradient(to right, #6f42c1, #ff8c00); 
    color: white;
    padding: 15px;
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
}
.register-card {
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border-radius: 10px;
    overflow: hidden;
}
/* Input Group Icon Styling */
.input-group-text {
    background-color: #eee;
    color: #555;
}
/* Register Button Styling */
.btn-warning {
    background-color: #ff8c00 !important;
    border-color: #ff8c00 !important;
    color: white !important;
}







/* =========================================
   MOBILE NAVBAR BUTTONS (Add at the bottom of CSS)
   ========================================= */

/* 1. Mobile Top Buttons Design (Login/Join) */
.mobile-top-btn {
    font-size: 0.75rem; /* Font size chota taaki mobile pe fit aaye */
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 5px 10px; /* Button ke andar spacing */
    border-radius: 4px; /* Thoda rounded corner */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: white;
    margin-left: 5px; /* Buttons ke beech gap */
    white-space: nowrap; /* Text tut kar next line me na jaye */
}

/* 2. Join Button Highlight (Green color wala) */
.mobile-top-btn.btn-highlight {
    background: var(--primary-color);
    color: white;
}

/* 3. Hamburger Menu Adjustment */
.navbar-toggler {
    margin-left: 5px; /* Button se chipke na */
    padding: 2px; /* Thoda compact */
}

/* 4. Mobile Screen Specific Adjustments */
@media (max-width: 768px) {
    /* Logo thoda chota karein taaki buttons ke liye jagah bache */
    .navbar-brand {
        font-size: 1.5rem; 
        margin-right: auto; /* Logo left me rahe */
    }
    
    /* Container ki padding kam karein taaki kinare tak jagah mile */
    .navbar .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}


/* =========================================
   MOBILE NAVBAR 3 OPTIONS FIX
   ========================================= */

@media (max-width: 991px) {
    
    /* Wrapper to align items */
    .mobile-nav-wrapper {
        display: flex;
        align-items: center;
        gap: 5px; /* Beech ka gap */
    }

    /* Links Style (Join, Login, Store) */
    .mobile-link {
        font-size: 0.7rem; /* Font chota kiya taaki fit aaye */
        font-weight: 600;
        color: var(--dark-text);
        text-decoration: none;
        display: flex;
        flex-direction: column; /* Icon upar, text neeche (optional) or row */
        align-items: center;
        padding: 0 4px;
        line-height: 1.2;
    }

    /* Icon Style */
    .mobile-link i {
        font-size: 1rem;
        color: var(--primary-color);
        margin-bottom: 2px;
    }

    /* Text ko thoda chota rakha hai */
    .link-text {
        font-size: 0.65rem; 
        white-space: nowrap; /* Text tutega nahi */
    }

    /* Navbar Logo Adjustment for small screens */
    .navbar-brand {
        font-size: 1.6rem; 
        margin-right: auto; 
    }
    
    /* Toggler ko thoda adjust kiya */
    .navbar-toggler {
        margin-left: 2px;
    }
}

/* Bahut choti screen (iPhone SE/Fold) ke liye */
@media (max-width: 370px) {
    .navbar-brand { font-size: 1.3rem; }
    .mobile-link { padding: 0 2px; }
    .link-text { font-size: 0.55rem; }
    .navbar .container { padding-left: 5px; padding-right: 5px; }
}


/* =========================================
   FIX: STOP CONTENT MOVING & JUMPING
   ========================================= */

/* 1. Horizontal Scroll Band Karna (Side movement rokega) */
html, body {
    overflow-x: hidden !important; /* Bahut zaroori hai */
    width: 100%;
    position: relative;
}

/* 2. Mobile Click Highlight Hatana (Blue dabba nahi aayega) */
a, button, .nav-link, .mobile-link {
    -webkit-tap-highlight-color: transparent;
}

/* =========================================
   MOBILE RESPONSIVENESS FIX (Hero Section)
   ========================================= */

/* =========================================
   MOBILE TEXT STYLING (Magazine Look)
   ========================================= */

@media (max-width: 991px) {
    
    /* 1. Text Container Positioning */
    .hero-bottom-text {
        position: absolute;
        /* Text ko upar set karne ke liye bottom ki jagah top use kiya */
        top: 140px; 
        left: 0;
        width: 100%;
        z-index: 20;
        text-align: center;
        padding: 0px 15px;
    }

    /* 2. Main H2 Reset */
    .hero-bottom-text h2 {
        color: #fff;
        line-height: 1.1;
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8); /* Strong Shadow */
        
    }

    /* 3. "REDUCE VISIBLE" - Chota aur Spaced */
    .style-small {
        font-family: 'Poppins', sans-serif; /* Clean Font */
        font-size: 1rem;
        letter-spacing: 4px; /* Words faila diye */
        text-transform: uppercase;
        font-weight: 400;
        display: block;
        margin-bottom: 5px;
        color: rgba(255, 255, 255, 0.9);
    }

    /* 4. "Signs of" - Stylish Italic */
    .style-italic {
        font-family: 'Playfair Display', serif;
        font-size: 1.9rem;
        font-style: italic;
        font-weight: 400;
        color: #f4fdf6; /* Halka sa off-white */
    }

    /* 5. "AGEING" - Bada aur Bold */
    .style-big {
        font-family: 'Playfair Display', serif;
        font-size: 3.7rem; /* Bahut bada */
        font-weight: 700;
        text-transform: uppercase;
        display: block;
        margin-top: 5px;
        background: linear-gradient(to right, #fff, #e2e2e2);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: none; /* Gradient ke liye shadow hatayi */
        filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5)); /* Drop shadow wapas laye */
    }
    
    /* Baki Images ka code same rahega */
    .hero-product-img {
        height: 45vh !important;
        margin-bottom: -40px;
    }
    .hero-nature {
        height: 100dvh;
        padding-top: 0;
    }


    /* 6. Badges (New/Best) ko adjust kiya */
    .hero-badge {
       display: none;
    }

}

/* Extra Small Screens (iPhone SE / Fold) */
@media (max-width: 380px) {
    .hero-product-img { height: 40vh !important; }
    .hero-bottom-text h2 { font-size: 1.5rem; }
}



/* =========================================
   8. ABOUT US / LEGAL PAGE HERO BANNER (FIXED)
   ========================================= */
.about-hero-banner {
    /* FIX: Ye relative zaroori hai taaki overlay bahar na faile */
    position: relative; 
    background: url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
}

/* Dark Overlay - Sirf banner ke andar rahega */
.about-hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1; 
}

/* Text Container */
.about-hero-banner .container {
    position: relative;
    z-index: 2; 
}

/* =========================================
   9. LEGAL DOCUMENTS CARD (Image Only + Hover)
   ========================================= */

/* Card Container */
.legal-card {
    border-radius: 15px;
    overflow: hidden;
    background: transparent;
    transition: transform 0.3s ease;
    /* Shadow sirf image pe achi lagegi, yahan hata di */
    box-shadow: none; 
    
}

.legal-card:hover {
    transform: translateY(-5px);
}

/* Image Wrapper - Yehi ab main box hai */
.legal-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 400px; /* Badi Height taaki document clear dikhe */
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* Hover pe Border Green Hogi */
.legal-card:hover .legal-img-wrapper {
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(30, 111, 62, 0.15);
}

/* Image Styling */
.legal-img-wrapper img {
    max-width: 95%;
    max-height: 105%;
    object-fit: contain; /* Image kategi nahi */
    transition: transform 0.5s ease;
}

/* Hover pe Image thodi Zoom hogi */
.legal-card:hover .legal-img-wrapper img {
    transform: scale(1.05);
}

/* =========================================
   10. HOVER OVERLAY & EYE ICON
   ========================================= */
.legal-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(30, 111, 62, 0.85); /* Green Transparent Bg */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Default Chupa hua */
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(2px);
}

/* Card pe mouse jaane par dikhega */
.legal-card:hover .legal-overlay {
    opacity: 1;
}

/* Eye Icon Circle */
.icon-box {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: scale(0); /* Default chota */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hover pe icon popup hoke aayega */
.legal-card:hover .icon-box {
    transform: scale(1);
}


/* =========================================
   11. ADVANCED MODAL (Blur + A4 Look)
   ========================================= */
.legal-modal {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    /* Background with Blur Effect */
    background-color: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(10px); /* Main Blur Logic */
    -webkit-backdrop-filter: blur(10px); /* Safari Support */
    
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.legal-modal.show {
    opacity: 1;
}

/* Container to hold Image + Button vertically */
.modal-doc-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-height: 100%;
}

/* The Image - A4 Paper Look */
.modal-content-img {
    display: block;
    /* A4 Logic: Height badi rakhi hai taaki document jaisa lage */
    height: 80vh; 
    width: auto; /* Width apne aap set hogi */
    max-width: 100%;
    
    background: white;
    padding: 10px; /* White border effect */
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    border-radius: 5px;
    object-fit: contain;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

/* Zoom Animation class */
.legal-modal.show .modal-content-img {
    transform: scale(1);
}

/* Close Button - Below Image */
.close-modal-btn {
    margin-top: 20px;
    padding: 10px 30px;
    background-color: #ff4757; /* Red color for attention */
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.close-modal-btn:hover {
    background-color: #e84118;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 71, 87, 0.6);
}

/* Mobile Responsive: Image thodi choti ho jaye */
@media (max-width: 768px) {
    .modal-content-img {
        height: 65vh; /* Mobile pe zyada jagah button ko mile */
        width: 95%;
    }
    .close-modal-btn {
        padding: 12px 40px;
    }
}