/* ===================================
   Josh And Sons - Premium Stylesheet
   Color Palette: Deep Emerald & Gold
   ✅ ALL POINTER-EVENT BUGS FIXED
   =================================== */

:root {
    /* Primary Palette */
    --primary: #1B4332;
    --primary-light: #2D6A4F;
    --primary-dark: #0B2B1E;
    --primary-rgb: 27, 67, 50;

    /* Accent - Warm Gold */
    --accent: #D4A373;
    --accent-light: #E9C99B;
    --accent-dark: #B8864E;
    --accent-rgb: 212, 163, 115;

    /* Neutrals */
    --bg-dark: #0A0F0D;
    --bg-section: #0E1512;
    --bg-card: #142420;
    --bg-card-hover: #1A3029;

    --text-primary: #F1EDE4;
    --text-secondary: #A8B5A0;
    --text-muted: #6B7B6A;

    --white: #FFFFFF;
    --black: #000000;

    /* Borders */
    --border: rgba(212, 163, 115, 0.12);
    --border-light: rgba(241, 237, 228, 0.08);

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(212, 163, 115, 0.15);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Cormorant Garamond', serif;

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1280px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-dark);
}

html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

html::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== SELECTION ===== */
::selection {
    background: var(--accent);
    color: var(--bg-dark);
}

/* ===== ACCESSIBILITY ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== PRELOADER ===== */
/* ✅ FIX: CSS auto-hide fallback + pointer-events:none jab hidden ho */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    animation: autoHidePreloader 0.6s ease 2.5s forwards;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* ✅ FIX: clicks block nahi hogi */
}

/* ✅ FIX: agar JS se .hidden class na lage to bhi preloader hat jayega */
@keyframes autoHidePreloader {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 30px;
    letter-spacing: 4px;
    animation: preloaderPulse 1.5s ease infinite;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.preloader-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 3px;
    animation: preloaderFill 2s ease forwards;
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes preloaderFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none; /* ✅ already correct */
    z-index: 99998;
    transition: transform 0.1s ease;
}

.cursor-outline {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(var(--accent-rgb), 0.4);
    border-radius: 50%;
    position: fixed;
    pointer-events: none; /* ✅ already correct */
    z-index: 99997;
    transition: transform 0.15s ease, border-color 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor-dot.hover,
.cursor-outline.hover {
    transform: scale(1.5);
}

.cursor-outline.hover {
    border-color: var(--accent);
    transform: translate(-50%, -50%) scale(1.5);
}

@media (max-width: 768px) {
    .cursor-dot, .cursor-outline { display: none; }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 15, 13, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    z-index: 1001;
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
    z-index: 1001;
    transition: var(--transition);
}

.nav-logo-text span {
    color: var(--accent);
    font-style: italic;
    font-weight: 400;
}

.nav-logo-text:hover {
    color: var(--accent);
}

.navbar.scrolled .nav-logo-text {
    font-size: 22px;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 42px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 10px 18px;
    border-radius: 8px;
    position: relative;
    letter-spacing: 0.3px;
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: var(--transition);
    pointer-events: none; /* ✅ FIX */
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 20px;
}

.nav-btn {
    font-size: 13px;
    font-weight: 600;
    color: var(--bg-dark);
    background: var(--accent);
    padding: 10px 24px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.3);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-phone {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 14px;
    transition: var(--transition);
}

.nav-phone:hover {
    background: var(--accent);
    color: var(--bg-dark);
    border-color: var(--accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== LOGO + TEXT INLINE ===== */
.nav-container > div:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-logo,
.nav-logo-text {
    display: inline-flex;
    align-items: center;
}

@media (max-width: 768px) {
    .nav-container > div:first-child { gap: 8px; }
    .logo-img { height: 44px; }
}

/* ✅ FIX: mobile-overlay - ye SABSE BADA BUG tha */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    pointer-events: none; /* ✅ FIX: default me clicks block nahi karega */
    transition: var(--transition);
}

/* ✅ FIX: sirf active hone par hi clicks capture kare */
.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto; /* ✅ FIX: active hone par hi kaam kare */
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1; /* ✅ FIX: button content upar rahe */
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
    pointer-events: none; /* ✅ FIX: shimmer effect clicks block nahi karega */
    z-index: -1; /* ✅ FIX: button text ke peeche rahe */
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(var(--accent-rgb), 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

.btn-white {
    background: var(--white);
    color: var(--bg-dark);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 15px;
}

.btn-sm {
    padding: 10px 22px;
    font-size: 13px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn i {
    font-size: 12px;
    transition: var(--transition);
    pointer-events: none; /* ✅ FIX: icon clicks pass-through kare */
}

.btn:hover i {
    transform: translateX(4px);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 30% 50%, rgba(var(--primary-rgb), 0.3) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(var(--accent-rgb), 0.08) 0%, transparent 50%),
                var(--bg-dark);
}

/* ✅ FIX: hero bg pattern clicks block kar raha tha */
.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(var(--accent-rgb), 0.05) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(var(--accent-rgb), 0.04) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px;
    animation: patternFloat 20s linear infinite;
    pointer-events: none; /* ✅ FIX: ye decorative hai, clicks block nahi karna chahiye */
}

@keyframes patternFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* ✅ already correct */
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
    pointer-events: none; /* ✅ FIX */
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    20% { opacity: 0.6; }
    80% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 24px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    font-family: var(--font-accent);
    font-size: 16px;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.badge-line {
    width: 40px;
    height: 1px;
    background: var(--accent);
    display: block;
}

.hero-title {
    margin-bottom: 28px;
}

.title-line {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(52px, 8vw, 96px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.title-line em {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}

.title-sub {
    display: block;
    font-family: var(--font-accent);
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-top: 12px;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    position: relative; /* ✅ FIX */
    z-index: 3; /* ✅ FIX: buttons sabse upar */
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--accent);
    display: inline;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
}

.hero-scroll a:hover {
    color: var(--accent);
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
    transition: var(--transition);
}

.hero-scroll a:hover .scroll-indicator {
    border-color: var(--accent);
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 4px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 22px; opacity: 0.3; }
}

/* ===== MARQUEE ===== */
.marquee-section {
    padding: 18px 0;
    background: var(--primary);
    overflow: hidden;
    border-top: 1px solid rgba(var(--accent-rgb), 0.1);
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.1);
}

.marquee-track {
    display: flex;
    overflow: hidden;
    pointer-events: none; /* ✅ FIX: marquee clickable nahi hona chahiye */
}

.marquee-content {
    display: flex;
    gap: 50px;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    font-family: var(--font-accent);
    font-size: 16px;
    color: var(--accent-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== SECTION STYLES ===== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.section-label.center {
    justify-content: center;
    width: 100%;
}

.label-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-title.center {
    text-align: center;
}

.section-title .highlight {
    color: var(--accent);
    font-style: italic;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--section-padding);
    background: var(--bg-section);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(ellipse at center right, rgba(var(--accent-rgb), 0.04) 0%, transparent 70%);
    pointer-events: none; /* ✅ already correct */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    border-radius: 20px;
    z-index: 1;
    pointer-events: none; /* ✅ already correct */
}

.about-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image-frame:hover .about-img {
    transform: scale(1.05);
}

.about-experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--accent);
    color: var(--bg-dark);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.exp-text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
    margin-top: 4px;
    display: block;
}

.about-image-dots {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, var(--accent) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: 0.3;
    z-index: -1;
    pointer-events: none; /* ✅ FIX */
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--accent);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 36px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(var(--accent-rgb), 0.06);
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(var(--accent-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 18px;
}

.feature-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== PRODUCTS SECTION ===== */
.products {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 50px;
}

.products-loader {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.products-loader p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ✅ FIX: group: true hataya - ye invalid CSS tha */
.product-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--accent-rgb), 0.3);
    box-shadow: var(--shadow-glow);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--bg-section);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* ✅ FIX: product overlay - invisible hone par bhi clicks block kar raha tha */
.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    opacity: 0;
    pointer-events: none; /* ✅ FIX: jab invisible hai tab clicks block nahi karega */
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
}

/* ✅ FIX: hover par hi clickable banega */
.product-card:hover .product-overlay {
    opacity: 1;
    pointer-events: auto; /* ✅ FIX: ab click karna possible hai */
}

.product-overlay a {
    background: var(--accent);
    color: var(--bg-dark);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transform: translateY(20px);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-card:hover .product-overlay a {
    transform: translateY(0);
}

.product-info {
    padding: 20px;
    position: relative; /* ✅ FIX: stacking context */
    z-index: 1; /* ✅ FIX: overlay ke upar rahe */
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
}

.product-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: var(--bg-dark);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2; /* ✅ FIX: overlay se upar */
    pointer-events: none; /* ✅ FIX: tag click block nahi karega */
}

.products-cta {
    text-align: center;
}

/* ===== VIDEO GALLERY ===== */
.gallery {
    padding: var(--section-padding);
    background: var(--bg-section);
}

.video-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

.video-card-large {
    grid-row: span 2;
}

.video-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 260px;
    background: var(--bg-card);
}

.video-card-large .video-wrapper {
    min-height: 544px;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.2) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition: var(--transition);
    cursor: pointer;
    z-index: 1;
}

/* ✅ FIX: playing state me overlay clicks block nahi karega + video pause ho sake */
.video-overlay.playing {
    opacity: 0;
    pointer-events: none; /* ✅ FIX */
}

.video-overlay:hover {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.3) 100%);
}

.play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), 0.9);
    border: none;
    color: var(--bg-dark);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.play-btn:hover {
    transform: scale(1.1);
    background: var(--accent);
    box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.4);
}

.play-btn i {
    margin-left: 3px;
    pointer-events: none; /* ✅ FIX: click parent button pe jaaye */
}

.video-label {
    font-size: 13px;
    color: var(--white);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: absolute;
    bottom: 20px;
    left: 20px;
    pointer-events: none; /* ✅ FIX */
}

/* ===== WHY US ===== */
.why-us {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
    pointer-events: none; /* ✅ FIX */
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--accent-rgb), 0.2);
    box-shadow: var(--shadow-glow);
}

.why-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(var(--accent-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--accent);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--accent);
    color: var(--bg-dark);
    transform: scale(1.1);
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.why-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: var(--section-padding);
    background: var(--bg-section);
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    text-align: center;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 24px;
    color: var(--accent);
    font-size: 18px;
}

.testimonial-card p {
    font-family: var(--font-accent);
    font-size: 22px;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
}

.testimonial-author h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-muted);
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}

.test-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.test-nav-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-dark);
}

.test-dots {
    display: flex;
    gap: 8px;
}

.test-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.test-dot.active {
    background: var(--accent);
    width: 28px;
    border-radius: 6px;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.contact-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: rgba(var(--accent-rgb), 0.3);
    background: rgba(var(--accent-rgb), 0.04);
    transform: translateX(8px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(var(--accent-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 18px;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.contact-item span {
    font-size: 13px;
    color: var(--text-muted);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(var(--primary-rgb), 0.2);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
    outline: none;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D4A373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), 0.05);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-line {
    display: none;
}

/* ===== INSTAGRAM CTA ===== */
.instagram-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

/* ✅ FIX: ye pseudo-element Instagram button block kar raha tha */
.instagram-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none; /* ✅ FIX */
}

.insta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.insta-big-icon {
    font-size: 60px;
    color: var(--accent-light);
    margin-bottom: 24px;
    display: block;
}

.insta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.insta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-section);
    border-top: 1px solid var(--border);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border);
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-newsletter h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(6px);
}

.footer-newsletter p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-bottom {
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom .fa-heart {
    color: var(--accent);
}

.back-to-top {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    pointer-events: none; /* ✅ FIX: jab hidden hai tab block nahi karega */
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto; /* ✅ FIX: visible hone par clickable */
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.3);
}

/* ===== ANIMATIONS (AOS replacement) ===== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="fade-down"] {
    transform: translateY(-40px);
}

[data-aos="fade-right"] {
    transform: translateX(-40px);
}

[data-aos="fade-left"] {
    transform: translateX(40px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0, 0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }

    .about-grid {
        gap: 50px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .contact-grid {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-section);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: var(--transition);
        border-left: 1px solid var(--border);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    /* ✅ FIX: mobile overlay ko display:block mat karo by default
       Sirf JS se .active class add hone par show ho */
    .mobile-overlay {
        display: block;
        pointer-events: none; /* ✅ FIX: by default clicks block nahi karega */
    }

    .mobile-overlay.active {
        display: block;
        pointer-events: auto; /* ✅ FIX: active hone par hi clicks capture kare */
    }

    .nav-link {
        font-size: 16px;
        padding: 14px 16px;
        width: 100%;
    }

    .nav-btn {
        margin-top: 16px;
        text-align: center;
        display: block;
        width: 100%;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img {
        height: 400px;
    }

    .about-experience-badge {
        bottom: -20px;
        right: 20px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-card-large {
        grid-row: auto;
    }

    .video-card-large .video-wrapper {
        min-height: 300px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .testimonial-card {
        padding: 32px 24px;
    }

    .testimonial-card p {
        font-size: 18px;
    }

    .hero-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title .title-line {
        font-size: 42px;
    }

    .hero-title .title-sub {
        font-size: 14px;
        letter-spacing: 4px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .stat-number {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .about-experience-badge {
        padding: 18px;
    }

    .exp-number {
        font-size: 28px;
    }
}

/* ===== SPECIAL ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Form success state */
.form-success {
    text-align: center;
    padding: 40px;
}

.form-success i {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 16px;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-muted);
}