/* =====================================================
   SRI RAM TROPHIES & GIFTS - PREMIUM ENTERPRISE CSS
   ===================================================== */

:root {
    /* Brand Colors (UNCHANGED) */
    --primary-gold: #D4AF37;
    --primary-gold-light: #F4E4BC;
    --primary-gold-dark: #B8962E;
    --secondary-blue: #1E3A5F;
    --secondary-blue-light: #2D5A8A;
    --secondary-blue-dark: #0F1E32;
    --navbar-height: 72px;

    
    /* Neutrals - Enhanced for Premium Feel */
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --light-bg: #FCFCFD;
    --border: rgba(30, 58, 95, 0.10);
    --border-light: rgba(30, 58, 95, 0.06);
    --border-medium: rgba(30, 58, 95, 0.15);
    --text-main: #374151;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --text-dark: #111827;

    


    /* Refined Spacing Scale (4px base system) */
    --s-1: 0.25rem;    /* 4px */
    --s-2: 0.5rem;     /* 8px */
    --s-3: 0.75rem;    /* 12px */
    --s-4: 1rem;       /* 16px */
    --s-5: 1.25rem;    /* 20px */
    --s-6: 1.5rem;     /* 24px */
    --s-7: 1.75rem;    /* 28px */
    --s-8: 2rem;       /* 32px */
    --s-10: 2.5rem;    /* 40px */
    --s-12: 3rem;      /* 48px */
    --s-14: 3.5rem;    /* 56px */
    --s-16: 4rem;      /* 64px */
    --s-20: 5rem;      /* 80px */
    --s-24: 6rem;      /* 96px */
    --s-28: 7rem;      /* 112px */
    --s-32: 8rem;      /* 128px */

    /* Enterprise-Grade Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 1px 2px -1px rgba(0, 0, 0, 0.10);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -2px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.10), 0 8px 10px -6px rgba(0, 0, 0, 0.10);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-premium: 0 32px 64px -12px rgba(15, 30, 50, 0.15);
    --shadow-card: 0 2px 8px -2px rgba(15, 30, 50, 0.08), 0 4px 12px -4px rgba(15, 30, 50, 0.06);
    
    /* Typography */
    --font-h: 'Playfair Display', Georgia, serif;
    --font-b: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* =====================================================
   1. BASE RESET & GLOBAL STYLES
   ===================================================== */

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

html { 
    scroll-behavior: smooth; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body { 
    padding-top: var(--navbar-height);
    font-family: var(--font-b); 
    line-height: 1.65; 
    color: var(--text-main); 
    background: var(--white);
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.015em;
}

body.menu-open {
    overflow: hidden;
    height: 100vh;
  }

img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
    object-fit: contain;
}

a { 
    text-decoration: none; 
    color: inherit; 
}

ul { 
    list-style: none; 
}

/* =====================================================
   2. LAYOUT STRUCTURE
   ===================================================== */

.container { 
    width: 100%; 
    max-width: 1240px; 
    margin: 0 auto; 
    padding: 0 var(--s-10); 
}

section { 
    padding: clamp(4rem, 10vw, 7rem) 0; 
    position: relative;
}

section:nth-child(even) {
    background: linear-gradient(180deg, var(--off-white) 0%, rgba(248, 249, 250, 0.4) 100%);
}

/* =====================================================
   3. TYPOGRAPHY HIERARCHY (PROFESSIONAL)
   ===================================================== */

h1, h2, h3, h4, h5, h6 { 
    font-family: var(--font-h); 
    color: var(--secondary-blue-dark); 
    font-weight: 700; 
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0;
}

.section-header { 
    text-align: center; 
    margin-bottom: clamp(3rem, 6vw, 5rem); 
    max-width: 800px; 
    margin-inline: auto; 
}

.section-tag { 
    display: inline-block; 
    font-family: var(--font-b); 
    text-transform: uppercase; 
    font-size: 0.6875rem; 
    font-weight: 700; 
    letter-spacing: 0.15em; 
    color: var(--primary-gold-dark); 
    margin-bottom: var(--s-5);
    padding: var(--s-2) var(--s-6);
    background: linear-gradient(135deg, var(--primary-gold-light) 0%, rgba(244, 228, 188, 0.6) 100%);
    border-radius: 100px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.section-title { 
    font-size: clamp(2.5rem, 5.5vw, 3.75rem); 
    line-height: 1.12; 
    margin-bottom: var(--s-7); 
    font-weight: 700;
    letter-spacing: -0.03em;
}

.section-desc { 
    font-size: 1.125rem; 
    color: var(--text-muted); 
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto;
    font-weight: 400;
}

.text-gradient { 
    background: linear-gradient(135deg, var(--primary-gold-dark) 0%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================================
   4. NAVBAR (ENTERPRISE POLISH)
   ===================================================== */

.navbar { 
    position: fixed !important; 
    top: 0 !important; 
    left: 0 !important;
    right: 0 !important;
    width: 100% !important; 
    height: var(--navbar-height);
    z-index: 999999 !important; 
    background: rgba(255, 255, 255, 0.96); 
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 6px 20px rgba(15, 30, 50, 0.12);
    -webkit-position: fixed !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);

}


@supports (padding: env(safe-area-inset-top)) {
    .navbar {
        padding-top: env(safe-area-inset-top);
        height: calc(var(--navbar-height) + env(safe-area-inset-top));
    }

    body {
        padding-top: calc(var(--navbar-height) + env(safe-area-inset-top));
    }
}




.navbar.scrolled {
    box-shadow: 0 8px 24px rgba(15, 30, 50, 0.12);
}


.navbar-container { 
    height: 100%;
    display: flex; 
    padding: 0 var(--s-10);
    justify-content: space-between; 
    align-items: center; 
    gap: var(--s-8);
}

.logo { 
    display: flex; 
    align-items: center; 
    gap: var(--s-3); 
    font-family: var(--font-h); 
    font-weight: 700; 
    color: var(--secondary-blue-dark); 
    font-size: 1.375rem;
    letter-spacing: -0.015em;
}

.logo-icon { 
    font-size: 1.75rem; 
    line-height: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.logo-suffix { 
    font-weight: 400; 
    font-size: 0.75rem; 
    opacity: 0.65; 
    font-family: var(--font-b);
    letter-spacing: 0.02em;
}

.nav-links { 
    display: flex; 
    align-items: center; 
    gap: var(--s-8); 
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    
}

.nav-link { 
    font-size: 0.9375rem; 
    font-weight: 500; 
    color: var(--text-dark);
    padding: var(--s-2) 0;
    position: relative;
    letter-spacing: -0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold-dark);
}

.nav-link.active { 
    color: var(--primary-gold-dark); 
    font-weight: 600; 
}

.nav-link.active::after {
    width: 100%;
}

.nav-cta { 
    background: var(--secondary-blue-dark); 
    color: var(--white); 
    padding: var(--s-3) var(--s-6); 
    border-radius: 8px; 
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.nav-cta::after {
    display: none;
}

.hamburger {
    display: none;
    -webkit-position: fixed !important;
    position: fixed !important;
    top: 12px !important;
    right: 16px !important;
    z-index: 2147483647 !important;
    flex-direction: column;
    width: 52px;
    height: 52px;
    gap: 6px;
    background: linear-gradient(135deg, var(--secondary-blue-dark), var(--secondary-blue));
    border: 2px solid var(--primary-gold);
    cursor: pointer;
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}
   
    

.hamburger::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-gold), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hamburger:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(212, 175, 55, 0.4);
    border-color: var(--primary-gold-light);
    background: linear-gradient(135deg, var(--secondary-blue), var(--secondary-blue-light));
}

.hamburger:hover::before {
    opacity: 0.3;
}

.hamburger:active {
    transform: scale(0.95);
}

body.menu-open .floating-whatsapp,
body.menu-open .scroll-top {
  display: none;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-light));
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hamburger-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--white);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.hamburger:hover .hamburger-line::after {
    transform: scaleX(1);
}

/* Hamburger animation when active - Premium X transformation */
.hamburger.active {
    background: rgba(30, 58, 95, 0.98);
    border-color: var(--primary-gold);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(212, 175, 55, 0.3);
}

.hamburger.active::before {
    opacity: 0.6;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
}

.hamburger.active .hamburger-line {
    background: linear-gradient(135deg, var(--primary-gold), var(--white));
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(20px) scale(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile menu styles - Premium Full-Screen Experience */
@media (max-width: 768px) {
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: var(--navbar-height) !important;
        -webkit-position: fixed !important;
        display: flex !important;
    }
    
    .hamburger {
        display: flex !important;
    }
    
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important; /* Dynamic viewport height for mobile */
        z-index: 2147483646 !important;
        overflow-y: auto;
        background: linear-gradient(
            135deg,
            rgba(15, 30, 50, 0.98),
            rgba(30, 58, 95, 0.98)
        );
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 120px;
        padding-bottom: 40px;
        transform: translateX(100%);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.4s ease, visibility 0.4s ease;
    }

    .nav-links.active {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
        
            
            
      
        
      
       

        .logo-text{
            display: inline-flex;
            flex-wrap: wrap;
            max-width: calc(100% - 72px); /* space for hamburger */
            line-height: 1.1;
            row-gap: 2px;
        }

        .logo-suffix {
            display: inline-block;
            font-size: 0.75rem;
            opacity: 0.8;
            margin-top: 2px;
          }
      
        .logo-text::after {
            content: '';
            display: block;
            width: 100%;
          }
      
    
    /* Animated background pattern */
    .nav-links::before {
        content: '';
        position: absolute;
        inset: 0;
        background: 
            radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
        animation: float 8s ease-in-out infinite;
    }
    
    /* Decorative golden accent */
    .nav-links::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(
            90deg,
            transparent,
            var(--primary-gold),
            var(--primary-gold-light),
            var(--primary-gold),
            transparent
        );
        transform: translateX(-100%);
        transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s;
    }

    .nav-links.active {
        transform: translateX(0) scale(1) rotate(0deg);
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }
    
    .nav-links.active::after {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.4rem;
        font-weight: 600;
        color: var(--white);
        padding: 1rem 2.5rem;
        position: relative;
        margin: 0.4rem 0;
        letter-spacing: 0.02em;
        
        /* Elegant entrance animation */
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        
        /* Premium glass effect */
        background: rgba(255, 255, 255, 0.03);
        border-radius: 12px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    /* Staggered animation delays */
    .nav-links.active .nav-link:nth-child(1) { animation: slideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards; }
    .nav-links.active .nav-link:nth-child(2) { animation: slideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards; }
    .nav-links.active .nav-link:nth-child(3) { animation: slideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards; }
    .nav-links.active .nav-link:nth-child(4) { animation: slideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards; }
    .nav-links.active .nav-link:nth-child(5) { animation: slideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards; }
    .nav-links.active .nav-link:nth-child(6) { animation: slideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards; }
    
    /* Stunning hover effect */
    .nav-link:hover,
    .nav-link.active {
        background: linear-gradient(
            135deg,
            rgba(212, 175, 55, 0.2),
            rgba(212, 175, 55, 0.1)
        );
        border-color: rgba(212, 175, 55, 0.4);
        transform: translateY(0) scale(1.05);
        box-shadow: 
            0 8px 32px rgba(212, 175, 55, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        color: var(--primary-gold-light);
    }
    
    /* Golden glow effect */
    .nav-link::before {
        content: '';
        position: absolute;
        inset: -2px;
        background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-light));
        border-radius: 12px;
        opacity: 0;
        filter: blur(8px);
        transition: opacity 0.3s ease;
        z-index: -1;
    }
    
    .nav-link:hover::before {
        opacity: 0.3;
    }

    .nav-link::after {
        display: none;
    }

    .nav-cta {
        margin-top: 2rem;
        font-size: 1.15rem;
        padding: 1.1rem 2.8rem;
        border-radius: 16px;
        background: linear-gradient(135deg, var(--primary-gold-dark), var(--primary-gold));
        color: var(--secondary-blue-dark);
        font-weight: 700;
        border: 2px solid rgba(255, 255, 255, 0.2);
        box-shadow: 
            0 8px 24px rgba(212, 175, 55, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        position: relative;
        overflow: hidden;
    }
    
    /* Shimmering effect on CTA */
    .nav-cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent
        );
        transition: left 0.5s ease;
    }
    
    .nav-cta:hover::before {
        left: 100%;
    }
    
    .nav-cta:hover {
        transform: translateY(0) scale(1.08);
        box-shadow: 
            0 12px 32px rgba(212, 175, 55, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

/* Keyframe animations */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, 20px) scale(1.1);
    }
}

/* =====================================================
   5. HERO SECTION (HIGH IMPACT)
   ===================================================== */

.hero { 
    position: relative; 
    min-height: 90vh; 
    display: flex; 
    align-items: center; 
    color: var(--white);
    
}

.hero-bg { 
    position: absolute; 
    inset: 0; 
    background-size: cover; 
    background-position: center; 
    z-index: -1;
}

.hero-overlay { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(
        to right, 
        rgba(15, 30, 50, 0.95) 0%, 
        rgba(15, 30, 50, 0.88) 50%,
        rgba(15, 30, 50, 0.72) 100%
    ); 
    z-index: -1;
}

.hero-content { 
    max-width: 880px;
    padding: var(--s-16) 0;
}

.hero-title { 
    color: black; 
    font-size: clamp(3rem, 8vw, 5.5rem); 
    line-height: 1.05; 
    margin-bottom: var(--s-10);
    font-weight: 700;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.15);
}

.hero-subtitle { 
    font-size: 1.375rem; 
    opacity: 0.96; 
    color: black;
    margin-bottom: var(--s-14); 
    max-width: 640px; 
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: -0.015em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-cta { 
    display: flex; 
    gap: var(--s-5); 
    flex-wrap: wrap;
    align-items: center;
}

.scroll-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-2);
    margin-top: var(--s-16);
    opacity: 0.7;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.scroll-arrow {
    width: 2px;
    height: 24px;
    background: var(--white);
    border-radius: 2px;
}

/* =====================================================
   6. BUTTONS (CLEAN & PROFESSIONAL)
   ===================================================== */

.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    gap: var(--s-3); 
    padding: var(--s-5) var(--s-10); 
    font-weight: 600; 
    font-size: 1rem; 
    border-radius: 10px; 
    border: none; 
    cursor: pointer;
    font-family: var(--font-b);
    line-height: 1;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.12), 0 2px 6px -1px rgba(0, 0, 0, 0.08);
    letter-spacing: -0.015em;
}

.btn-primary { 
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%); 
    color: var(--secondary-blue-dark);
}

.btn-whatsapp { 
    background: linear-gradient(135deg, #25D366 0%, #1ebe57 100%); 
    color: var(--white); 
}

.btn-outline { 
    background: rgba(255, 255, 255, 0.15); 
    border: 2px solid rgba(255, 255, 255, 0.35); 
    color: black;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-icon { 
    width: 18px; 
    height: 18px;
    flex-shrink: 0;
}

/* =====================================================
   7. ABOUT SECTION
   ===================================================== */

.about { 
    background: var(--off-white); 
}

.about-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: var(--s-24); 
    align-items: center; 
}

.about-image { 
    position: relative; 
    padding: var(--s-8); 
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%); 
    border: 1px solid var(--border-light); 
    box-shadow: 0 20px 40px -12px rgba(15, 30, 50, 0.12), 0 8px 16px -6px rgba(15, 30, 50, 0.08);
    border-radius: 20px;
}

.about-image img { 
    width: 100%; 
    border-radius: 16px; 
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    aspect-ratio: 4/3;
    object-fit: contain;
    padding: var(--s-8);
    border: 1px solid rgba(30, 58, 95, 0.04);
}

.about-image-badge { 
    position: absolute; 
    bottom: -32px; 
    right: -32px; 
    background: linear-gradient(135deg, var(--secondary-blue-dark) 0%, #0F1E32 100%); 
    color: var(--primary-gold); 
    padding: var(--s-12); 
    border-radius: 20px; 
    text-align: center;
    box-shadow: 0 16px 32px -8px rgba(15, 30, 50, 0.3), 0 8px 16px -4px rgba(15, 30, 50, 0.2);
    border: 8px solid var(--white);
}

.badge-number { 
    display: block; 
    font-size: 2.75rem; 
    font-weight: 700; 
    line-height: 1; 
    margin-bottom: var(--s-2);
    font-family: var(--font-h);
}

.badge-text { 
    font-size:  0.6875rem; 
    text-transform: uppercase; 
    letter-spacing: 0.1em; 
    color: var(--white);
    font-weight: 600;
}

.about-content {
    padding: var(--s-8) 0;
}

.about-text { 
    margin-bottom: var(--s-7); 
    color: var(--text-main); 
    font-size: 1.0625rem;
    line-height: 1.85;
    letter-spacing: -0.01em;
}

.about-text:last-child {
    margin-bottom: 0;
}

/* =====================================================
   8. FEATURE CARDS
   ===================================================== */

.features-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: var(--s-10); 
    margin-top: clamp(3rem, 6vw, 5rem); 
}

.feature-card { 
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%); 
    padding: var(--s-12) var(--s-8); 
    border: 1px solid var(--border-light); 
    border-radius: 16px; 
    text-align: center; 
    box-shadow: 0 4px 16px -4px rgba(15, 30, 50, 0.08), 0 2px 8px -2px rgba(15, 30, 50, 0.04);
}

.feature-icon { 
    width: 80px; 
    height: 80px; 
    margin: 0 auto var(--s-7); 
    color: var(--primary-gold-dark); 
    display: grid; 
    place-items: center;
    background: linear-gradient(135deg, var(--primary-gold-light) 0%, rgba(244, 228, 188, 0.5) 100%); 
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.12);
}

.feature-icon svg { 
    width: 32px;
    height: 32px;
}

.feature-title { 
    font-size: 1.125rem; 
    margin-bottom: var(--s-4); 
    font-family: var(--font-b);
    font-weight: 700;
    color: var(--secondary-blue-dark);
    letter-spacing: -0.02em;
}

.feature-desc { 
    font-size: 0.9375rem; 
    color: var(--text-muted); 
    line-height: 1.7; 
}

/* =====================================================
   9. GALLERY SECTION (PREMIUM IMAGE DISPLAY)
   ===================================================== */

.gallery {
    background: var(--white);
}

.gallery-filter { 
    display: flex; 
    justify-content: center; 
    gap: var(--s-4); 
    margin-bottom: var(--s-20); 
    flex-wrap: wrap; 
}

.filter-btn { 
    padding: var(--s-4) var(--s-7); 
    border: 1px solid var(--border); 
    background: var(--white); 
    font-weight: 500; 
    font-size: 0.9375rem; 
    border-radius: 100px; 
    cursor: pointer; 
    color: var(--text-muted);
    font-family: var(--font-b);
    box-shadow: var(--shadow-xs);
    letter-spacing: -0.01em;
}

.filter-btn.active { 
    background: var(--secondary-blue-dark); 
    color: var(--white); 
    border-color: var(--secondary-blue-dark);
    box-shadow: var(--shadow-sm);
}

.gallery-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); 
    gap: var(--s-10); 
}

.gallery-item { 
    background: var(--white); 
    border: 1px solid var(--border-light); 
    border-radius: 20px; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column;
    box-shadow: 0 4px 16px -4px rgba(15, 30, 50, 0.10), 0 2px 8px -2px rgba(15, 30, 50, 0.06);
}

/* CRITICAL: Safe image display - NO cropping */
.gallery-item img { 
    width: 100%; 
    height: 360px; 
    object-fit: contain; 
    background: linear-gradient(180deg, #FCFCFD 0%, #F8F9FA 100%); 
    padding: var(--s-10); 
    border-bottom: 1px solid var(--border-light);
}

.gallery-overlay { 
    padding: var(--s-7) var(--s-8); 
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%); 
}

.gallery-overlay h4 { 
    font-family: var(--font-b); 
    font-size: 1.0625rem; 
    margin-bottom: var(--s-2);
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.015em;
}

.gallery-overlay span { 
    font-size: 0.8125rem; 
    color: var(--primary-gold-dark); 
    font-weight: 600; 
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 30, 50, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--s-8);
}

.lightbox-close {
    position: absolute;
    top: var(--s-6);
    right: var(--s-6);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    line-height: 1;
}

#lightboxImage {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-caption {
    position: absolute;
    bottom: var(--s-8);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: var(--s-4) var(--s-8);
    border-radius: 100px;
    font-weight: 600;
    color: var(--secondary-blue-dark);
}

/* =====================================================
   10. CLIENTS SECTION
   ===================================================== */

.clients { 
    background: var(--secondary-blue-dark); 
    padding: var(--s-28) 0;
}

.clients .section-title { 
    color: var(--secondary-blue-dark); 
}

.clients .section-tag { 
    color: var(--primary-gold-dark); 
    background: rgba(212, 175, 55, 0.15);
}

.clients .section-desc {
    color: black;
}

.clients-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: var(--s-10); 
}

.client-logo { 
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.95) 100%); 
    border: 1px solid rgba(212, 175, 55, 0.12); 
    height: 200px; 
    display: grid; 
    place-items: center; 
    padding: var(--s-14); 
    border-radius: 20px;
    box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.10), 0 2px 8px -2px rgba(0, 0, 0, 0.06);
}

.client-logo img { 
    max-height: 100%; 
    max-width: 100%; 
    filter: grayscale(0.6) contrast(0.9);
    opacity: 0.92;
    object-fit: contain;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0) contrast(1);
    opacity: 1;
}

/* =====================================================
   11. TESTIMONIALS - EXPERT PROFESSIONAL DESIGN
   ===================================================== */

.testimonials { 
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '"';
    position: absolute;
    top: 10%;
    left: 5%;
    font-size: 20rem;
    font-family: var(--font-h);
    color: rgba(212, 175, 55, 0.03);
    line-height: 1;
    pointer-events: none;
}

.testimonials-slider {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
}

.testimonials-track {
    display: flex;
    width:100%;
    transition: transform 0.5s ease;
   
}

.testimonial-card { 
    background: linear-gradient(135deg, var(--white) 0%, rgba(248, 249, 250, 0.7) 100%);
    padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem); 
    border-radius: 28px; 
    box-shadow: 0 12px 40px -8px rgba(15, 30, 50, 0.12), 
                0 24px 56px -16px rgba(15, 30, 50, 0.10);
    max-width: 1040px; 
    width: 100%;
    margin-inline: var(--s-8);
    flex-shrink: 0;
    box-sizing: border-box;
    margin: 0 auto; 
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.10);
    min-width: 100%;
    position: relative;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold-dark) 0%, var(--primary-gold) 100%);
    border-radius: 0 0 4px 4px;
}

.testimonial-stars { 
    color: var(--primary-gold);
    font-size: 1.75rem; 
    margin-bottom: var(--s-10);
    letter-spacing: 0.4rem;
    display: inline-flex;
    gap: var(--s-2);
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.2));
}

.testimonial-stars span {
    display: inline-block;
}

.testimonial-text { 
    font-size: 1.1875rem; 
    font-style: normal; 
    color: var(--text-main); 
    margin-bottom: var(--s-14); 
    line-height: 1.9;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.012em;
    font-weight: 400;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -12px;
    font-size: 4rem;
    font-family: var(--font-h);
    color: var(--primary-gold-light);
    line-height: 1;
    opacity: 0.5;
}

.testimonial-author { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: var(--s-6);
    padding-top: var(--s-8);
    border-top: 1px solid var(--border-light);
    margin-top: var(--s-6);
}

.testimonial-author img { 
    width: 80px; 
    height: 80px; 
    border-radius: 50%; 
    border: 5px solid var(--white);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.15),
                0 0 0 1px var(--primary-gold-light);
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-info h4 { 
    font-family: var(--font-b); 
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary-blue-dark);
    letter-spacing: -0.015em;
    margin-bottom: var(--s-1);
}

.author-info p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    font-weight: 500;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-8);
    margin-top: var(--s-16);
}

.slider-btn {
    background: var(--white);
    border: 1px solid var(--border-medium);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: var(--secondary-blue-dark);
}

.slider-btn:hover {
    background: var(--secondary-blue-dark);
    border-color: var(--secondary-blue-dark);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(15, 30, 50, 0.15);
}

.slider-btn svg {
    width: 24px;
    height: 24px;
}

.slider-dots {
    display: flex;
    gap: var(--s-3);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-medium);
    cursor: pointer;
    border: none;
    padding: 0;
}

.slider-dot.active {
    background: var(--primary-gold-dark);
    width: 32px;
    border-radius: 5px;
}

/* =====================================================
   12. CONTACT SECTION
   ===================================================== */

.contact {
    background: var(--white);
}

.contact-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: var(--s-24); 
}

.contact-form-wrapper { 
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--off-white) 100%); 
    padding: var(--s-16); 
    border-radius: 24px; 
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 24px -6px rgba(15, 30, 50, 0.10), 0 4px 12px -4px rgba(15, 30, 50, 0.06);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-6);
}

.form-group { 
    margin-bottom: var(--s-7); 
}

.form-group label { 
    display: block; 
    font-weight: 600; 
    font-size: 0.9375rem; 
    margin-bottom: var(--s-3); 
    color: var(--text-dark); 
    letter-spacing: -0.01em;
}

.form-group input, 
.form-group textarea { 
    width: 100%; 
    padding: var(--s-5) var(--s-6); 
    border: 1px solid var(--border); 
    border-radius: 12px; 
    font-family: inherit; 
    font-size: 1rem;
    background: var(--white);
    color: var(--text-dark);
    letter-spacing: -0.01em;
    box-shadow: 0 1px 2px rgba(15, 30, 50, 0.04);
}

.form-group input:focus, 
.form-group textarea:focus { 
    outline: 2px solid var(--primary-gold); 
    outline-offset: -1px;
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
}

.btn-submit {
    width: 100%;
    margin-top: var(--s-4);
}

.quick-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-4);
    margin-bottom: var(--s-10);
}

.quick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-3);
    padding: var(--s-6);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow: var(--shadow-md);
    letter-spacing: -0.01em;
}

.quick-btn.call {
    background: var(--secondary-blue-dark);
    color: var(--white);
}

.quick-btn.whatsapp {
    background: #25D366;
    color: var(--white);
}

.quick-btn svg {
    width: 22px;
    height: 22px;
}

.contact-details {
    margin-top: var(--s-10);
}

.contact-item { 
    display: flex; 
    gap: var(--s-6); 
    margin-bottom: var(--s-10);
    padding: var(--s-8);
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--off-white) 100%);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px -2px rgba(15, 30, 50, 0.06);
}

.contact-icon { 
    color: var(--primary-gold-dark); 
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary-gold-light) 0%, rgba(244, 228, 188, 0.6) 100%);
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-text h4 {
    font-family: var(--font-b);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--s-2);
    color: var(--secondary-blue-dark);
    letter-spacing: -0.015em;
}

.contact-text p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.contact-text a {
    color: var(--primary-gold-dark);
    font-weight: 500;
}

.contact-map { 
    border-radius: 16px; 
    overflow: hidden; 
    border: 1px solid var(--border-light); 
    margin-top: var(--s-12);
    box-shadow: var(--shadow-card);
}

.contact-map iframe { 
    width: 100%; 
    height: 320px; 
    border: none; 
    display: block; 
}

/* =====================================================
   13. FOOTER
   ===================================================== */

.footer { 
    background: var(--secondary-blue-dark); 
    color: rgba(255, 255, 255, 0.75); 
    padding: var(--s-24) 0 var(--s-12); 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr 1.5fr; 
    gap: var(--s-20); 
    margin-bottom: var(--s-20); 
}

.footer h4 { 
    color: var(--white); 
    font-family: var(--font-b); 
    font-size: 1rem; 
    margin-bottom: var(--s-6); 
    text-transform: uppercase; 
    letter-spacing: 0.08em;
    font-weight: 700;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    font-family: var(--font-h);
    font-weight: 700;
    color: var(--white);
    font-size: 1.375rem;
    margin-bottom: var(--s-6);
    letter-spacing: -0.015em;
}

.footer-logo .logo-icon {
    font-size: 1.75rem;
}

.footer-about p { 
    font-size: 0.9375rem; 
    margin-bottom: var(--s-10); 
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: var(--s-4);
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links li { 
    margin-bottom: var(--s-4); 
}

.footer-links a { 
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.75;
    margin-bottom: var(--s-4);
}

.footer-contact a {
    color: var(--primary-gold);
}

.footer-bottom { 
    border-top: 1px solid rgba(255, 255, 255, 0.08); 
    padding-top: var(--s-10); 
    text-align: center; 
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* =====================================================
   14. FLOATING ELEMENTS
   ===================================================== */

.floating-whatsapp { 
    position: fixed; 
    bottom: 36px; 
    right: 36px; 
    background: linear-gradient(135deg, #25D366 0%, #1ebe57 100%); 
    width: 68px; 
    height: 68px; 
    border-radius: 50%; 
    display: grid; 
    place-items: center; 
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 4px 12px rgba(37, 211, 102, 0.25); 
    z-index: 1000;
}

.floating-whatsapp svg { 
    width: 36px;
    height: 36px;
    color: white; 
    fill: white; 
}

.whatsapp-tooltip {
    position: absolute;
    right: 76px;
    background: var(--secondary-blue-dark);
    color: var(--white);
    padding: var(--s-2) var(--s-4);
    border-radius: 6px;
    font-size:  0.875rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
}

.scroll-top {
    position: fixed;
    bottom: 36px;
    left: 36px;
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
    border: 1px solid var(--border);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 20px rgba(15, 30, 50, 0.12), 0 4px 10px rgba(15, 30, 50, 0.08);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    z-index: 999;
    transition: opacity 0.3s ease ,transform 0.3s ease;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top:hover {
    transform: translateY(-4px);
}

.scroll-top svg {
    width: 22px;
    height: 22px;
    color: var(--secondary-blue-dark);
}

/* =====================================================
   15. RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 var(--s-8);
    }

    section {
        padding: clamp(3.5rem, 8vw, 5rem) 0;
    }

    .about-grid, 
    .contact-grid { 
        grid-template-columns: 1fr; 
        gap: clamp(3rem, 6vw, 4rem);
    }

    .features-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: var(--s-10);
    }

    .footer-grid { 
        grid-template-columns: 1fr 1fr; 
        gap: var(--s-14);
    }

    .hero-title { 
        font-size: clamp(2.75rem, 7vw, 4.5rem); 
    }

    .about-image-badge {
        bottom: var(--s-6);
        right: var(--s-6);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: var(--s-10);
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: var(--s-8);
    }
}

@media (max-width: 768px) {
    section {
        padding: clamp(3rem, 7vw, 5rem) 0;
    }

    .section-header {
        margin-bottom: clamp(2.5rem, 5vw, 4rem);
    }

    .section-title {
        font-size: clamp(2.25rem, 7vw, 3rem);
    }
    
    .section-desc {
        font-size: 1.0625rem;
    }

    

    .hamburger {
        display: flex;
        position: fixed !important;
        top: 12px !important;
        right: 16px !important;
        z-index: 1000000 !important;
    }

    .features-grid,
    .clients-grid { 
        grid-template-columns: 1fr; 
        gap: var(--s-8);
    }

    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: var(--s-16);
    }

    .hero { 
        text-align: center; 
        min-height: 88vh;
    }

    .hero-content {
        padding: var(--s-12) 0;
    }

    .hero-cta { 
        justify-content: center; 
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 360px;
    }

    .hero-subtitle { 
        margin-inline: auto; 
        font-size: 1.25rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: var(--s-10);
    }

    .about-grid {
        gap: clamp(3rem, 6vw, 4rem);
    }

    .about-image-badge {
        position: static;
        margin-top: var(--s-10);
    }

    .quick-contact {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        gap: clamp(3rem, 6vw, 4rem);
    }

    .floating-whatsapp,
    .scroll-top {
        width: 64px;
        height: 64px;
        bottom: 28px;
    }

    .floating-whatsapp {
        right: 28px;
    }

    .scroll-top {
        left: 28px;
    }
    
    .testimonial-card {
        padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
    }
    
    .testimonial-stars {
        font-size: 1.5rem;
        letter-spacing: 0.3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--s-6);
    }

    section {
        padding: clamp(2.5rem, 6vw, 4rem) 0;
    }

    .hero-title {
        font-size: clamp(2.25rem, 9vw, 3.25rem);
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: clamp(2rem, 7.5vw, 2.75rem);
    }
    
    .section-desc {
        font-size: 1rem;
    }

    .testimonial-card {
        padding: var(--s-12) var(--s-8);
        border-radius: 24px;
    }

    .testimonial-text {
        font-size: 1.0625rem;
    }
    
    .testimonial-stars {
        font-size: 1.375rem;
        letter-spacing: 0.25rem;
    }

    .btn {
        padding: var(--s-4) var(--s-8);
        font-size: 0.9375rem;
    }

    .feature-card {
        padding: var(--s-12) var(--s-7);
    }
    
    .feature-icon {
        width: 72px;
        height: 72px;
    }
    
    .contact-form-wrapper {
        padding: var(--s-12);
    }
    
    .client-logo {
        height: 160px;
        padding: var(--s-10);
    }
}

/* =====================================================
   MOBILE NAVBAR FIX - CRITICAL OVERRIDES
   ===================================================== */
@media screen and (max-width: 768px) {
    /* Force navbar to stay fixed on mobile - CRITICAL */
    body {
        position: relative !important;
        padding-top: var(--navbar-height) !important;
    }
    
    #navbar,
    nav.navbar,
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: var(--navbar-height) !important;
        z-index: 999999 !important;
        display: flex !important;
        transform: translate3d(0, 0, 0) !important;
        -webkit-transform: translate3d(0, 0, 0) !important;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        perspective: 1000;
        -webkit-perspective: 1000;
    }
    
    /* Ensure navbar container is visible */
    .navbar-container {
        display: flex !important;
        visibility: visible !important;
        position: relative !important;
    }
}

/* Additional fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    @media screen and (max-width: 768px) {
        .navbar {
            position: -webkit-sticky !important;
            position: sticky !important;
            top: 0 !important;
        }
    }
}

  
  