/* Mobile and Hero Section Fixes */

/* Hide top bar on mobile */
@media (max-width: 768px) {
    .bg-primary.py-2.text-sm {
        display: none;
    }
    
    /* Also hide trust bar on mobile if it exists */
    .trust-bar {
        display: none;
    }
}

/* Fix hero section z-index and overlapping issues */
#hero {
    position: relative;
    z-index: 1;
}

.hero-bg {
    position: relative;
    z-index: 1;
    min-height: 500px;
}

/* Ensure hero content is visible */
.hero-content {
    position: relative;
    z-index: 10;
}

/* Fix hero slider positioning */
.hero-slider-wrapper {
    position: relative;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* Ensure next section doesn't overlap */
section {
    position: relative;
    z-index: 2;
}

/* Fix header z-index to stay on top */
header {
    position: sticky;
    top: 0;
    z-index: 1000 !important;
}

/* Mobile menu fix - ensure it's visible */
#mobile-menu {
    position: relative;
    z-index: 999;
    background: white;
}

#mobile-menu:not(.hidden) {
    display: block !important;
}

/* Mobile menu button fix */
#mobile-menu-toggle {
    cursor: pointer;
    padding: 8px;
    display: block;
}

/* Ensure mobile menu links are clickable */
#mobile-menu a {
    display: block;
    padding: 8px 16px;
}