:root {
    --primary-blue: #0A192F;
    --primary-blue-light: #1A365D;
    --primary-gold: #C5A059;
    --primary-gold-dim: #D4AF37;
    --bg-beige: #FAF9F6;
    --bg-light: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-light: #F5F5F5;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --spacing-section: 100px 0;
    --vh: 1vh;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-beige);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-weight: 600;
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }

/* Overflow safety for all screens */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(12px, 5vw, 24px); }
.text-center { text-align: center; }
.bg-beige { background-color: var(--bg-beige); }
.relative { position: relative; }
.z-index-1 { z-index: 1; }

/* Enhanced touch interactions and accessibility */
*:focus-visible {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

button, .btn-primary, .btn-secondary, .btn-outline, a[role="button"],
input, textarea, select {
    touch-action: manipulation;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; font-weight: 500; border-radius: 4px;
    transition: all 0.3s ease; cursor: pointer; font-size: 1rem;
    position: relative; overflow: hidden; z-index: 1;
}
.btn-primary { background-color: var(--primary-blue); color: var(--text-light); border: none; }
.btn-primary:hover { background-color: var(--primary-gold); color: var(--primary-blue); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(10, 25, 47, 0.2); }
.btn-secondary { background-color: var(--primary-gold); color: var(--primary-blue); border: none; }
.btn-secondary:hover { background-color: var(--bg-light); transform: translateY(-2px); }
.btn-outline { background-color: transparent; color: var(--primary-gold); border: 1.5px solid var(--primary-gold); border-radius: 30px; padding: 10px 28px; font-weight: 600; letter-spacing: 1px; transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); }
.btn-outline:hover { background-color: var(--primary-gold); color: var(--text-light); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4); }

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.2; margin-bottom: 24px; color: var(--text-light); }
h2 { font-size: clamp(1.5rem, 4vw, 3rem); margin-bottom: 32px; position: relative; display: inline-block; }
h2::after {
    content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
    width: clamp(40px, 60px, 60px); height: 3px; background-color: var(--primary-gold);
}

/* Ultra Premium Navbar Upgrade */
.navbar { position: fixed; top: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 60px; background-color: rgba(250, 249, 246, 0.9); backdrop-filter: blur(15px); border-bottom: 1px solid rgba(197, 160, 89, 0.15); z-index: 1000; box-shadow: 0 15px 40px rgba(0,0,0,0.06); transition: all 0.4s ease; }
.navbar.scrolled { padding: 12px 60px; background-color: rgba(250, 249, 246, 0.98); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.logo { font-size: 2.2rem; font-weight: 700; color: var(--primary-blue); font-family: var(--font-heading); }
.logo a { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; text-decoration: none; color: inherit; transition: opacity 0.3s; }
.logo a:hover { opacity: 0.8; }
.logo span { font-size: 0.75rem; font-family: var(--font-body); font-weight: 600; color: var(--primary-gold); letter-spacing: 4px; text-transform: uppercase; margin-top: 6px; }

.nav-links { display: flex; gap: 40px; align-items: center; margin-left: auto; margin-right: 40px; }
.nav-links a:not(.btn-outline) { position: relative; text-decoration: none; color: var(--primary-blue); font-weight: 500; font-size: 1.05rem; transition: color 0.3s; padding: 8px 0; }
.nav-links a:not(.btn-outline)::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 50%; background-color: var(--primary-gold); transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); transform: translateX(-50%); }
.nav-links a:not(.btn-outline):hover { color: var(--primary-gold); }
.nav-links a:not(.btn-outline):hover::after { width: 100%; }

.fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.visible { opacity: 1; transform: translate(0); }

.hero { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 80px; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.05); animation: slowZoom 20s infinite alternate; }
@keyframes slowZoom { 0% { transform: scale(1.05); } 100% { transform: scale(1.15); } }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.4)); z-index: -1; }
.hero-content { max-width: 900px; padding: 0 20px; }
.hero p { color: var(--text-light); font-size: 1.25rem; margin-bottom: 40px; font-weight: 300; letter-spacing: 1px; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; }

.about { padding: var(--spacing-section); position: relative; }
.pattern-bg-mandala { position: relative; z-index: 1; }
.pattern-bg-mandala::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('assets/mandala_pattern.png'); background-size: cover; background-position: center; border-image: fill; background-attachment: fixed; opacity: 0.15; z-index: -1; pointer-events: none;
}
.section-flex { display: flex; align-items: center; gap: 60px; }
.about-text { flex: 1; }
.about-text h2::after { left: 0; transform: none; }
.about-text p { font-size: 1.1rem; color: #444; }
.about-visual { flex: 1; display: flex; justify-content: center; position: relative; }
.jharokha-frame { position: relative; padding: 10px; border: 2px solid var(--primary-gold); border-radius: 200px 200px 0 0; overflow: hidden; height: 600px; width: 400px; background-color: var(--bg-light); z-index: 2; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.jharokha-frame img { border-radius: 190px 190px 0 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.jharokha-frame:hover img { transform: scale(1.05); }

/* Stats Section Redesign */
.stats { position: relative; color: var(--text-light); padding: 100px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; text-align: center; }
.stat-card { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(12px); border: 1px solid rgba(197, 160, 89, 0.2); padding: 40px 20px; border-radius: 16px; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }
.stat-card:hover { transform: translateY(-10px); background: rgba(197, 160, 89, 0.15); border-color: var(--primary-gold); box-shadow: 0 15px 35px rgba(0,0,0,0.3); }
.stat-card h3 { font-size: 3.5rem; color: var(--primary-gold); display: inline-block; margin-bottom: 5px; font-family: var(--font-heading); text-shadow: 0 4px 15px rgba(197, 160, 89, 0.4); line-height: 1; }
.stat-card span { font-size: 2.5rem; color: var(--primary-gold); font-family: var(--font-heading); vertical-align: super; margin-left: 2px; }
.stat-card p { font-size: 0.95rem; letter-spacing: 2px; text-transform: uppercase; margin: 0; color: rgba(255,255,255,0.9); font-weight: 500; }

.feature-section { padding: var(--spacing-section); background-color: var(--bg-light); }
.feature-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-image img { border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); transition: transform 0.5s; object-fit: cover; height: 600px; width: 100%; }
.feature-image img:hover { transform: scale(1.02); }
.feature-content h2::after { left: 0; transform: none; }
.feature-content p { margin-bottom: 30px; font-size: 1.1rem; color: #555; }

.products { padding: var(--spacing-section); }

/* Carousels */
.carousel-container { position: relative; display: flex; align-items: center; width: 100%; margin-top: 40px; padding: 0 10px; }
.carousel-track { display: flex; overflow-x: auto; scroll-behavior: smooth; gap: 30px; padding: 20px 0; scroll-snap-type: x mandatory; width: 100%; -ms-overflow-style: none; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { flex: 0 0 320px; scroll-snap-align: start; }
.carousel-btn { background: var(--primary-gold); color: var(--primary-blue); border: none; border-radius: 50%; width: 48px; height: 48px; font-size: 1.5rem; cursor: pointer; position: absolute; z-index: 10; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform 0.3s, background 0.3s; }
.carousel-btn:hover { transform: scale(1.1); background: var(--primary-blue); color: var(--primary-gold); }
.prev-btn { left: -10px; }
.next-btn { right: -10px; }

/* Multi-Page Header and Content Components */
.page-header { position: relative; height: 45vh; min-height: 400px; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 80px; background-color: var(--primary-blue); color: var(--text-light); overflow: hidden; margin-bottom: 60px; }
.page-header img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0.35; }
.page-header .container { position: relative; z-index: 1; margin-top: 40px; }
.page-content { padding: 40px 24px 100px; }
.content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 40px; }
.text-content p { margin-bottom: 20px; font-size: 1.15rem; color: #444; }
.contact-form { max-width: 600px; margin: 0 auto; background: var(--bg-light); padding: 50px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); border: 1px solid rgba(197, 160, 89, 0.2); }
.form-group { margin-bottom: 24px; text-align: left; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 500; color: var(--primary-blue-light); }
.form-group input, .form-group textarea, .form-select { width: 100%; padding: 14px 20px; border: 1px solid rgba(10, 25, 47, 0.1); border-radius: 8px; font-family: var(--font-body); font-size: 1rem; background-color: var(--bg-beige); transition: border-color 0.3s, box-shadow 0.3s; }
.form-group input:focus, .form-group textarea:focus, .form-select:focus { outline: none; border-color: var(--primary-gold); box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1); }
.form-group textarea { height: 160px; resize: vertical; }

/* Contact Page Improvements */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; align-items: stretch; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.05); border: 1px solid rgba(197, 160, 89, 0.15); overflow: hidden; margin-top: -100px; position: relative; z-index: 10; margin-bottom: 40px; }
.contact-info { background: var(--primary-blue); color: var(--text-light); padding: 50px 40px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.contact-info::before { content: ""; position: absolute; top: 0; right: 0; width: 100%; height: 100%; background: url('assets/mandala_pattern.png') no-repeat right bottom; background-size: cover; opacity: 0.1; z-index: 0; }
.contact-info > * { position: relative; z-index: 1; }
.contact-info h2 { color: var(--primary-gold); font-size: 2.2rem; margin-bottom: 15px; font-weight: 700; }
.contact-info > p { color: rgba(255,255,255,0.85); margin-bottom: 40px; font-size: 1.1rem; line-height: 1.6; }
.info-item { display: flex; align-items: flex-start; margin-bottom: 35px; }
.info-icon { background: rgba(197, 160, 89, 0.2); width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-right: 20px; color: var(--primary-gold); flex-shrink: 0; }
.info-item h4 { color: var(--text-light); font-size: 1.15rem; margin-bottom: 6px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.3px; }
.info-item p { color: rgba(255,255,255,0.75); font-size: 0.95rem; line-height: 1.6; margin: 0; }

.contact-form { padding: 50px; background: transparent; box-shadow: none; border: none; margin: 0; max-width: 100%; }
.contact-form h2 { color: var(--primary-blue); margin-bottom: 30px; font-size: 2.2rem; font-weight: 700; }
.form-select { appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A192F' 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 18px center; background-size: 16px; cursor: pointer; color: #444; }

@media (max-width: 900px) {
    .contact-wrapper { grid-template-columns: 1fr; margin-top: 0; }
    .contact-info, .contact-form { padding: 40px 30px; }
}

/* WhatsApp Float Premium */
.whatsapp-float {
    position: fixed; width: 62px; height: 62px; bottom: 30px; right: 30px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #FFF; border-radius: 50%;
    box-shadow: 0px 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 10000; display: flex; align-items: center; justify-content: center;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid rgba(255,255,255,0.2);
    animation: wa-pulse 2s infinite;
}
.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0px 15px 35px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #128c7e, #25d366);
    animation: none; /* stop pulsing on hover */
}
.whatsapp-float svg { width: 34px; height: 34px; fill: white; }

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== COMPREHENSIVE MOBILE-FIRST RESPONSIVENESS ===== */

/* Extra Small Devices (320px+) */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    
    /* Navbar Mobile Optimization */
    .navbar, .navbar.scrolled { 
        padding: 12px 16px; 
        flex-direction: row; 
        justify-content: space-between; 
    }
    .logo { font-size: 1.3rem; }
    .logo span { font-size: 0.55rem; letter-spacing: 1px; margin-top: 4px; }
    .hamburger { display: flex; margin-left: auto; }
    .nav-links { 
        position: fixed !important; 
        top: 0 !important; 
        left: 0 !important; 
        width: 100% !important; 
        height: 100vh !important; 
        background: rgba(10, 25, 47, 0.98) !important; 
        flex-direction: column !important; 
        justify-content: center !important; 
        align-items: center !important; 
        transform: translateX(-120%) !important;
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important; 
        margin: 0 !important; 
        padding: 40px 20px !important; 
        gap: 25px !important; 
        z-index: 9999 !important;
        box-shadow: 20px 0 50px rgba(0,0,0,0.5) !important;
    }
    .nav-links.active { transform: translateX(0) !important; }
    .nav-links a:not(.btn-outline) { 
        color: var(--text-light) !important; 
        font-size: 1.1rem !important; 
    }
    .btn-outline { width: 90%; text-align: center; margin-top: 15px; }
    
    /* Typography Mobile */
    h1 { font-size: clamp(1.5rem, 6vw, 2.2rem); margin-bottom: 12px; line-height: 1.1; }
    h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); margin-bottom: 16px; }
    h3 { font-size: 1.1rem; }
    p { font-size: 0.9rem; line-height: 1.4; }
    
    /* Spacing & Layout */
    :root { --spacing-section: 40px 0; }
    .hero { 
        min-height: 450px; 
        padding-top: 60px; 
        height: auto;
    }
    .hero-content { padding: 0 12px; }
    .hero p { font-size: 0.9rem; margin-bottom: 18px; line-height: 1.4; }
    .hero-buttons { 
        flex-direction: column; 
        gap: 10px; 
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    .btn-primary, .btn-secondary, .btn-outline {
        padding: 11px 16px;
        font-size: 0.85rem;
        width: 100%;
        border-radius: 3px;
    }
    
    /* Section Flex Mobile */
    .section-flex { 
        flex-direction: column; 
        gap: 24px; 
        text-align: center; 
    }
    .about-visual { order: -1; }
    .jharokha-frame { 
        height: 250px; 
        width: 90vw; 
        max-width: 260px;
        border-radius: 125px 125px 0 0;
        margin: 0 auto;
        padding: 8px;
    }
    
    /* Feature Container Mobile */
    .feature-container { 
        grid-template-columns: 1fr; 
        gap: 30px; 
    }
    .feature-image img { height: 280px; }
    .feature-content h2, .feature-content p { text-align: center; }
    
    /* Stats Grid Mobile */
    .stats { padding: 30px 0; }
    .stats-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px;
    }
    .stat-card { 
        padding: 20px 12px; 
        border-radius: 10px;
    }
    .stat-card h3 { font-size: 1.7rem; }
    .stat-card span { font-size: 1.2rem; }
    .stat-card p { font-size: 0.7rem; letter-spacing: 0.5px; }
    
    /* Carousel Mobile */
    .carousel-container { padding: 0; overflow: hidden; }
    .carousel-track { gap: 12px; padding: 12px 0; }
    .carousel-track > * { flex: 0 0 calc(100vw - 60px); max-width: calc(100vw - 60px); }
    .carousel-btn { 
        width: 32px; 
        height: 32px; 
        font-size: 1rem;
    }
    .prev-btn { left: 0; }
    .next-btn { right: 0; }
    
    /* Product Cards Mobile */
    .product-card img { height: 180px; }
    .product-info { padding: 16px 12px; }
    .product-info h3 { font-size: 1rem; margin-bottom: 8px; line-height: 1.2; }
    .tag { padding: 4px 10px; font-size: 0.7rem; }
    
    /* Contact Form Mobile */
    .contact-form { 
        padding: 24px 16px; 
        max-width: 100%;
    }
    .form-group { margin-bottom: 18px; }
    .form-group input, 
    .form-group textarea, 
    .form-select { 
        padding: 11px 14px;
        font-size: 16px;
    }
    .form-group textarea { height: 100px; }
    
    /* Page Header Mobile */
    .page-header { 
        min-height: 280px; 
        height: auto;
        margin-bottom: 30px;
        padding-top: 60px;
    }
    .page-header h1 { font-size: clamp(1.5rem, 6vw, 2rem); }
    
    /* Testimonials Mobile */
    .testimonial-box { 
        padding: 24px 16px; 
        margin: 30px auto 0;
        border-radius: 10px;
    }
    .quote-mark { font-size: 2rem; left: 10px; top: -15px; }
    .testimonial-box p { font-size: 0.9rem; margin-bottom: 14px; }
    
    /* CTA Mobile */
    .cta { padding: 60px 0; }
    .cta h2 { font-size: 1.5rem; margin-bottom: 16px; }
    .cta p { font-size: 1rem; margin-bottom: 30px; }
    
    /* Footer Mobile */
    .footer { padding: 60px 0 15px; }
    .footer-content { 
        grid-template-columns: 1fr; 
        gap: 30px; 
        margin-bottom: 40px;
    }
    .footer-brand h3 { font-size: 1.4rem; }
    .footer-brand .tagline { font-size: 0.95rem; }
    .footer-links h4 { font-size: 1.05rem; }
    .footer-bottom { font-size: 0.8rem; padding-top: 16px; }
    
    /* Expertise Cards Mobile */
    .expertise-card { border-radius: 10px; }
    .card-img-wrapper { height: 150px; }
    .expertise-content { padding: 16px 12px; }
    .expertise-content h3 { font-size: 1rem; margin-bottom: 8px; }
    .expertise-content p { font-size: 0.85rem; }
    
    /* About Visual Order */
    .about-text h2::after { left: 0; transform: none; }
    
    /* Enhanced Touch Targets */
    button, .btn-primary, .btn-secondary, .btn-outline, a[role="button"] { 
        min-height: 44px;
        min-width: 44px;
    }
    
    /* WhatsApp Button Mobile */
    .whatsapp-float { 
        width: 48px; 
        height: 48px; 
        bottom: 12px; 
        right: 12px; 
    }
    .whatsapp-float svg { width: 24px; height: 24px; }
    
    /* Reduce section padding on tiny screens */
    .about { padding: 40px 0; }
    .feature-section { padding: 40px 0; }
    .products { padding: 40px 0; }
    .expertise { padding: 40px 0; }
    .testimonials { padding: 40px 0; }
    .cta { padding: 50px 0; }
    .footer { padding: 50px 0 12px; }
    
    /* Text overflow prevention */
    h1, h2, h3 { word-break: break-word; overflow-wrap: break-word; }
    
    /* Better focus states for mobile */
    input:focus, textarea:focus, select:focus {
        font-size: 16px;
    }
}

/* Small Devices (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .container { padding: 0 18px; }
    
    /* Navbar Tablet */
    .navbar, .navbar.scrolled { 
        padding: 14px 20px; 
    }
    .logo { font-size: 1.4rem; }
    .logo span { font-size: 0.55rem; letter-spacing: 1.5px; }
    .hamburger { display: flex; margin-left: auto; }
    .nav-links { 
        position: fixed !important; 
        top: 0 !important; 
        left: 0 !important; 
        width: 75% !important; 
        height: 100vh !important; 
        background: rgba(10, 25, 47, 0.98) !important; 
        flex-direction: column !important; 
        justify-content: center !important; 
        align-items: center !important; 
        transform: translateX(-120%) !important;
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important; 
        margin: 0 !important; 
        padding: 40px !important; 
        gap: 25px !important; 
        z-index: 9999 !important;
    }
    .nav-links.active { transform: translateX(0) !important; }
    .nav-links a:not(.btn-outline) { 
        color: var(--text-light) !important; 
        font-size: 1.15rem !important; 
    }
    .btn-outline { width: 80%; text-align: center; margin-top: 16px; }
    
    /* Typography Tablet */
    h1 { font-size: 1.9rem; margin-bottom: 16px; }
    h2 { font-size: 1.6rem; margin-bottom: 22px; }
    h3 { font-size: 1.2rem; }
    
    /* Spacing & Layout */
    :root { --spacing-section: 60px 0; }
    .hero { 
        min-height: 520px; 
        padding-top: 75px;
    }
    .hero p { font-size: 1.05rem; margin-bottom: 28px; }
    .hero-buttons { 
        flex-direction: row;
        flex-wrap: wrap;
        gap: 14px;
        justify-content: center;
    }
    .btn-primary, .btn-secondary, .btn-outline {
        padding: 12px 26px;
        font-size: 0.93rem;
    }
    
    /* Section Flex Tablet */
    .section-flex { 
        flex-direction: column; 
        gap: 36px; 
        text-align: center;
    }
    .about-visual { order: -1; }
    .jharokha-frame { 
        height: 330px; 
        width: 100%; 
        max-width: 300px;
        border-radius: 165px 165px 0 0;
    }
    
    /* Feature Container Tablet */
    .feature-container { 
        grid-template-columns: 1fr; 
        gap: 32px; 
    }
    .feature-image img { height: 330px; }
    .feature-content h2, .feature-content p { text-align: center; }
    
    /* Stats Grid Tablet */
    .stats { padding: 45px 0; }
    .stats-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 20px;
    }
    .stat-card { 
        padding: 28px 16px; 
        border-radius: 12px;
    }
    .stat-card h3 { font-size: 2.2rem; }
    .stat-card p { font-size: 0.85rem; }
    
    /* Carousel Tablet */
    .carousel-track > * { flex: 0 0 260px; }
    .carousel-btn { 
        width: 40px; 
        height: 40px; 
        font-size: 1.3rem;
    }
    
    /* Product Cards Tablet */
    .product-card img { height: 240px; }
    .product-info { padding: 22px 18px; }
    .product-info h3 { font-size: 1.1rem; }
    
    /* Contact Form Tablet */
    .contact-form { 
        padding: 38px; 
        max-width: 100%;
    }
    .form-group input, 
    .form-group textarea, 
    .form-select { 
        padding: 12px 16px;
    }
    .form-group textarea { height: 130px; }
    
    /* Page Header Tablet */
    .page-header { 
        min-height: 310px; 
        margin-bottom: 42px;
        padding-top: 75px;
    }
    .page-header h1 { font-size: 1.9rem; }
    
    /* Testimonials Tablet */
    .testimonial-box { 
        padding: 38px; 
        margin: 45px auto 0;
    }
    .quote-mark { font-size: 3.5rem; left: 22px; }
    .testimonial-box p { font-size: 1.05rem; margin-bottom: 18px; }
    
    /* CTA Tablet */
    .cta { padding: 70px 0; }
    .cta h2 { font-size: 1.7rem; margin-bottom: 18px; }
    .cta p { font-size: 1.05rem; margin-bottom: 32px; }
    
    /* Footer Tablet */
    .footer { padding: 65px 0 16px; }
    .footer-content { 
        grid-template-columns: 1fr; 
        gap: 36px; 
        margin-bottom: 45px;
    }
    .footer-brand h3 { font-size: 1.5rem; }
    
    /* Expertise Cards Tablet */
    .card-img-wrapper { height: 190px; }
    .expertise-content { padding: 22px 18px; }
    .expertise-content h3 { font-size: 1.15rem; margin-bottom: 12px; }
    
    /* WhatsApp Button Tablet */
    .whatsapp-float { 
        width: 54px; 
        height: 54px; 
        bottom: 18px; 
        right: 18px; 
    }
    .whatsapp-float svg { width: 29px; height: 29px; }
}

/* Medium Devices (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container { padding: 0 24px; }
    
    /* Navbar Medium */
    .navbar, .navbar.scrolled { 
        padding: 16px 50px; 
    }
    
    /* Typography Medium */
    h1 { font-size: 2.3rem; }
    h2 { font-size: 1.85rem; margin-bottom: 28px; }
    
    /* Spacing & Layout */
    :root { --spacing-section: 80px 0; }
    .hero { min-height: 600px; }
    .hero-buttons { flex-direction: row; gap: 18px; }
    .btn-primary, .btn-secondary, .btn-outline {
        padding: 13px 30px;
        font-size: 0.98rem;
    }
    
    /* Section Flex Medium */
    .section-flex { 
        flex-direction: row;
        gap: 45px;
        text-align: left;
        align-items: center;
    }
    .about-visual { order: 0; margin-left: auto; }
    .about-text h2::after { left: 0; transform: none; }
    .jharokha-frame { 
        height: 450px; 
        width: 350px;
    }
    
    /* Feature Container Medium */
    .feature-container { 
        grid-template-columns: 1fr 1fr; 
        gap: 50px; 
    }
    .feature-image img { height: 450px; }
    
    /* Stats Grid Medium */
    .stats-grid { 
        grid-template-columns: repeat(4, 1fr); 
        gap: 28px;
    }
    .stat-card { padding: 35px 20px; }
    .stat-card h3 { font-size: 3rem; }
    
    /* Carousel Medium */
    .carousel-track > * { flex: 0 0 300px; }
    .carousel-btn { 
        width: 46px; 
        height: 46px; 
        font-size: 1.4rem;
    }
    
    /* Product Cards Medium */
    .product-card img { height: 300px; }
    .product-info { padding: 28px 24px; }
    
    /* Contact Form Medium */
    .contact-wrapper { grid-template-columns: 1fr 1.1fr; }
    .contact-info, .contact-form { padding: 45px 35px; }
    
    /* Page Header Medium */
    .page-header { min-height: 380px; }
    
    /* Footer Medium */
    .footer-content { 
        grid-template-columns: 2fr 1fr 1fr; 
        gap: 50px; 
    }
}

/* --- Mobile Responsiveness Enhancements --- */
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 6px; z-index: 2000; margin-left: auto; }
.hamburger span { width: 30px; height: 3px; background-color: var(--primary-gold); transition: all 0.3s ease; border-radius: 2px; }

.product-card { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); border-radius: 16px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.06); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); cursor: pointer; border: 1px solid rgba(197, 160, 89, 0.15); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-12px); box-shadow: 0 30px 60px rgba(10, 25, 47, 0.12); border-color: rgba(197, 160, 89, 0.5); }
.product-card img { height: 320px; width: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover img { transform: scale(1.08); }
.product-info { padding: 30px 24px; text-align: center; background: var(--bg-light); position: relative; z-index: 2; border-top: 3px solid var(--primary-gold); }
.product-info h3 { font-size: 1.3rem; margin-bottom: 15px; }
.tag { display: inline-block; padding: 6px 16px; background-color: rgba(197, 160, 89, 0.1); color: var(--primary-gold-dim); font-size: 0.85rem; font-weight: 500; border-radius: 30px; letter-spacing: 0.5px; }

.expertise { padding: var(--spacing-section); }
.expertise-card { background: var(--bg-light); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid rgba(197, 160, 89, 0.1); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.expertise-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(10, 25, 47, 0.1); border-color: var(--primary-gold); }
.card-img-wrapper { overflow: hidden; height: 240px; width: 100%; }
.expertise-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.expertise-card:hover .expertise-img { transform: scale(1.08); }
.expertise-content { padding: 30px 24px; text-align: center; background: var(--bg-light); flex-grow: 1; z-index: 1; position: relative; border-top: 4px solid var(--primary-blue); overflow: hidden; }
.expertise-content::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 0; background-color: var(--primary-blue); transition: height 0.4s ease; z-index: -1; }
.expertise-card:hover .expertise-content::before { height: 100%; }
.expertise-card h3 { margin-bottom: 15px; font-size: 1.3rem; transition: color 0.4s ease; }
.expertise-card p { transition: color 0.4s ease; }
.expertise-card:hover .expertise-content h3, .expertise-card:hover .expertise-content p { color: var(--text-light); }

.testimonials { padding: var(--spacing-section); }
.testimonial-box { max-width: 800px; margin: 60px auto 0; background: var(--bg-light); padding: 60px; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.05); position: relative; border: 1px solid rgba(197, 160, 89, 0.2); }
.quote-mark { font-family: var(--font-heading); font-size: 6rem; color: var(--primary-gold); position: absolute; top: -30px; left: 40px; line-height: 1; opacity: 0.3; }
.testimonial-box p { font-size: 1.2rem; font-style: italic; color: #444; margin-bottom: 24px; position: relative; z-index: 1; }
.testimonial-box h4 { color: var(--primary-blue); font-weight: 600; }

.cta { position: relative; padding: 120px 0; background-image: url('assets/block_print.png'); background-size: cover; background-position: center; background-attachment: fixed; color: var(--text-light); display: flex; align-items: center; justify-content: center; text-align: center; z-index: 1; }
.cta-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 25, 47, 0.85); z-index: 0; }
.cta h2 { color: var(--primary-gold); margin-bottom: 24px; z-index: 1; position: relative; display: inline-block;}
.cta h2::after { display: none; }
.cta p { font-size: 1.2rem; margin-bottom: 40px; max-width: 700px; margin-inline: auto; opacity: 0.9; z-index: 1; position: relative;}

.footer { position: relative; padding: 80px 0 20px; color: var(--text-light); background-image: url('assets/block_print.png'); background-size: cover; z-index: 1; }
.footer-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 25, 47, 0.95); z-index: 0; }
.footer-content { position: relative; z-index: 1; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand h3 { color: var(--primary-gold); font-size: 1.8rem; margin-bottom: 10px; }
.footer-brand .tagline { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 24px; color: var(--text-light); }
.footer-brand .desc { opacity: 0.7; font-size: 0.95rem; max-width: 500px; }
.footer-links h4 { color: var(--text-light); margin-bottom: 24px; position: relative; display: inline-block; }
.footer-links h4::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 30px; height: 2px; background-color: var(--primary-gold); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { opacity: 0.7; }
.footer-links a:hover { opacity: 1; color: var(--primary-gold); }
.footer-bottom { position: relative; z-index: 1; text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); opacity: 0.6; font-size: 0.9rem; }
