* {
    zoom: reset !important;
    transform: none !important;
    scale: 1 !important;
}

html, body {
    zoom: 1 !important;
    transform: scale(1) !important;
    -webkit-transform: scale(1) !important;
    -moz-transform: scale(1) !important;
    -ms-transform: scale(1) !important;
}

/* Hero section content box size reduction and positioning */
.hero-content {
    max-width: 750px !important;
    margin-top: 120px !important;
}

.hero-content .bg-white {
    max-width: 700px !important;
    margin: 0 auto !important;
}

/* Mobile viewport stability */
@media (max-width: 768px) {
    .hero-content {
        max-width: 100% !important;
        margin-top: 80px !important;
        padding: 0 1rem !important;
    }
}

/* Hero content box size fix - persistent after refresh */
.hero-content-box {
    max-width: 900px !important;
    padding: 1.5rem !important;
    margin: 0 auto !important;
}

.hero-content-box .grid {
    gap: 2rem !important;
}

.hero-content-box h1 {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
}

.hero-content-box p {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
}

/* Navigation button colors matched to navbar background */
.hidden.md\:flex .bg-white.bg-opacity-10.backdrop-blur-md {
    background: transparent !important;
    backdrop-filter: none !important;
}

/* Mobile navbar and menu fixes */
@media (max-width: 768px) {
    /* Show mobile hamburger */
    .md\:hidden {
        display: flex !important;
    }
    
    /* Hide desktop menu and contact icons on mobile */
    nav .hidden.md\:flex {
        display: none !important;
    }
    
    /* Mobile navbar container */
    nav .container {
        padding: 0.75rem 1rem !important;
    }
    
    /* Navbar flex layout - logo left, hamburger right */
    nav .flex.items-center.justify-between {
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    /* Logo container */
    nav .flex.items-center.space-x-12 {
        flex: 0 0 auto !important;
        margin-right: 0 !important;
    }
    
    /* Hide desktop menu items in logo container */
    nav .flex.items-center.space-x-12 > *:not(.flex.items-center.h-16) {
        display: none !important;
    }
    
    /* Logo sizing */
    nav .h-24 {
        height: 2.5rem !important;
        width: auto !important;
    }
    
    /* Hamburger button positioning and styling */
    .md\:hidden[onclick] {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 3rem !important;
        height: 3rem !important;
        cursor: pointer !important;
        z-index: 10001 !important;
        position: relative !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
        flex-shrink: 0 !important;
    }
    
    /* Hamburger lines container */
    .md\:hidden[onclick] > div {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
    }
    
    /* Hamburger lines */
    .md\:hidden[onclick] > div > div {
        width: 20px !important;
        height: 3px !important;
        background: white !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
    }
    
    /* Mobile menu positioning */
    .mobile-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 10000 !important;
        margin: 0 1rem !important;
        margin-top: 0.5rem !important;
        display: none !important;
    }
    
    /* Show mobile menu when active */
    .mobile-menu[style*="block"], .mobile-menu.show {
        display: block !important;
    }
    
    /* Mobile menu content styling preserved */
    .mobile-menu .flex.flex-col {
        padding: 1.5rem !important;
    }
}

/* Product modal immediate display */
#productModal {
    transition: opacity 0.15s ease-in-out !important;
}

#productModal.hidden {
    display: none !important;
    opacity: 0 !important;
}

#productModal:not(.hidden) {
    display: flex !important;
    opacity: 1 !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding-top: 2rem !important;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(4px) !important;
}

#productModal .bg-white {
    margin-top: 0 !important;
    max-height: calc(100vh - 4rem) !important;
}

/* Mobile content visibility fixes */
@media (max-width: 768px) {
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        min-width: 320px !important;
    }
    
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .hero-content-box {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 1rem !important;
    }
    
    .hero-content-box .grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .hero-content-box h1 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    .hero-content-box p {
        font-size: 0.9rem !important;
    }
    
    /* Prevent zoom/scale changes on refresh */
    html {
        -webkit-text-size-adjust: 100% !important;
        -ms-text-size-adjust: 100% !important;
        text-size-adjust: 100% !important;
    }
    
    /* Force content to be visible */
    section, div, p, h1, h2, h3, h4, h5, h6 {
        visibility: visible !important;
        opacity: 1 !important;
        display: block !important;
    }
    
    .grid {
        display: grid !important;
    }
    
    .flex {
        display: flex !important;
    }
    
    /* Mobile navbar - only logo and hamburger */
    nav .container {
        padding: 0.5rem 1rem !important;
    }
    
    nav .flex.items-center.justify-between {
        justify-content: space-between !important;
    }
    
    /* Hide desktop menu and contact icons on mobile */
    nav .hidden.md\:flex {
        display: none !important;
    }
    
    /* Show only logo and hamburger */
    nav .flex.items-center.space-x-12 {
        space-x: 0 !important;
    }
    
    nav .flex.items-center.space-x-12 > *:not(.flex.items-center.h-16) {
        display: none !important;
    }
    
    /* Logo sizing for mobile */
    nav .h-24 {
        height: 3rem !important;
        width: auto !important;
    }
    
    /* Prevent navbar overflow and ensure proper spacing */
    nav {
        overflow: visible !important;
    }
    
    /* Ensure navbar elements don't wrap or overflow */
    nav .flex.items-center.justify-between {
        flex-wrap: nowrap !important;
        width: 100% !important;
    }
    
    /* Mobile viewport stability - prevent zoom/scale issues */
    html {
        -webkit-text-size-adjust: 100% !important;
        -ms-text-size-adjust: 100% !important;
        text-size-adjust: 100% !important;
    }
    
    /* Ensure mobile menu is clickable */
    .mobile-menu {
        pointer-events: auto !important;
    }
    
    .mobile-menu a {
        display: block !important;
        padding: 0.75rem !important;
        color: white !important;
        text-decoration: none !important;
        border-radius: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .mobile-menu a:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
    }
}