/* Custom styles for native FAQ accordions */
details > summary {
    list-style: none;
}

details > summary::-webkit-details-marker {
    display: none;
}

/* Solid Header Styles */
#main-nav {
    background-color: #ffffff;
    border-bottom: 1px solid #f3f4f6;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.nav-scrolled {
    height: 4.5rem !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.nav-link {
    transition: color 0.2s ease;
}

/* Modern Slide-in Mobile Menu */
#mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 320px;
    background-color: #ffffff;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

#mobile-menu.active {
    transform: translateX(0);
}

#menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-link {
    display: block;
    padding: 1.25rem 2rem;
    color: #111827;
    font-size: 1.25rem;
    font-weight: 700;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
}

.mobile-link:hover {
    background-color: #f9fafb;
    color: #efad55;
    padding-left: 2.5rem;
}

/* Modern Grid Background */
.grid-background {
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

.grid-mask {
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
}
