/* ARCHI-TECH Premium Dark Luxury UI Style Sheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Syne:wght@500;600;700;800&display=swap');

/* Color Variables */
:root {
    --primary-color: #111111;
    --secondary-color: #1A1A1A;
    --accent-color: #B2BEB5;
    --text-color: #FFFFFF;
    --gray-color: #B0B0B0;
    --light-accent-color: rgba(178, 190, 181, 0.1);
    --glass-background: rgba(26, 26, 26, 0.75);
    --glass-border: rgba(178, 190, 181, 0.12);
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Elements */
body {
    background-color: var(--primary-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    color: var(--gray-color);
    font-weight: 300;
}

.text-muted {
    color: var(--gray-color) !important;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--accent-color);
}

/* Customized Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--primary-color);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-background);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
}
.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 30px rgba(178, 190, 181, 0.08);
}

/* Golden Buttons */
.btn-gold {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--text-color);
    padding: 0.8rem 2.2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-smooth);
}
.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transition: var(--transition-smooth);
    z-index: -1;
}
.btn-gold:hover {
    color: #000000;
}
.btn-gold:hover::before {
    left: 0;
}

.btn-gold-filled {
    display: inline-block;
    background: var(--accent-color);
    border: 1px solid var(--accent-color);
    color: #000000;
    padding: 0.8rem 2.2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    transition: var(--transition-smooth);
}
.btn-gold-filled:hover {
    background: transparent;
    color: var(--text-color);
    box-shadow: 0 0 20px rgba(178, 190, 181, 0.3);
}

/* Header & Navigation */
.navbar-custom {
    background-color: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem 0;
    transition: var(--transition-smooth);
}
.navbar-custom .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.15em;
    font-size: 1.6rem;
    color: var(--text-color);
}
.navbar-custom .navbar-brand span {
    color: var(--accent-color);
}
.navbar-custom .nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-color);
    padding: 0.5rem 1.2rem;
    margin: 0 0.2rem;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.95) 0%, rgba(17, 17, 17, 0.7) 50%, rgba(17, 17, 17, 0.95) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-title span {
    color: var(--accent-color);
}
.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Background Animation */
.animated-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    background-image: 
        linear-gradient(rgba(178, 190, 181, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(178, 190, 181, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

/* Section Header */
.section-subtitle {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: block;
}
.section-title {
    font-size: 2.8rem;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

/* Service Box */
.service-card {
    height: 100%;
}
.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Masonry Projects */
.project-grid-item {
    margin-bottom: 30px;
}
.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 380px;
    cursor: pointer;
}
.project-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.95) 0%, rgba(17, 17, 17, 0.4) 60%, rgba(17, 17, 17, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: var(--transition-smooth);
    opacity: 0.9;
}
.project-card-title {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}
.project-card-category {
    color: var(--accent-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.project-card:hover .project-card-image {
    transform: scale(1.08);
}
.project-card:hover .project-card-overlay {
    background: linear-gradient(to top, rgba(17, 17, 17, 0.98) 0%, rgba(17, 17, 17, 0.5) 50%, rgba(17, 17, 17, 0.2) 100%);
}

/* Before / After Slider */
.ba-slider {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ba-resize {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: width 0.1s ease-out;
}
.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    cursor: ew-resize;
    z-index: 10;
    transform: translateX(-50%);
    transition: left 0.1s ease-out;
}
.ba-handle::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    font-weight: bold;
    box-shadow: 0 0 15px rgba(178, 190, 181, 0.6);
}
.ba-label {
    position: absolute;
    top: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-color);
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    z-index: 5;
    pointer-events: none;
}
.ba-label.before {
    left: 20px;
}
.ba-label.after {
    right: 20px;
}

/* Statistics Counter */
.counter-box {
    text-align: center;
}
.counter-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}
.counter-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Gallery Hover */
.gallery-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    cursor: pointer;
}
.gallery-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.gallery-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}
.gallery-hover-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
}
.gallery-card:hover .gallery-image {
    transform: scale(1.05);
}
.gallery-card:hover .gallery-hover-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal .modal-content {
    background: transparent;
    border: none;
}
.lightbox-modal .modal-body {
    padding: 0;
    position: relative;
}
.lightbox-modal img {
    max-height: 85vh;
    object-fit: contain;
    width: 100%;
}
.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: var(--text-color);
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.lightbox-close:hover {
    color: var(--accent-color);
}

/* Testimonials */
.testimonial-card {
    text-align: center;
    padding: 3rem;
}
.testimonial-stars {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}
.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 300;
}
.testimonial-name {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.testimonial-role {
    color: var(--accent-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Contact Details Info */
.contact-info-item {
    display: flex;
    margin-bottom: 2rem;
}
.contact-info-icon {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-right: 1.5rem;
}
.contact-info-text h5 {
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

/* Footer Section */
.footer-section {
    background-color: #0A0A0A;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 0 2rem 0;
}
.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.15em;
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    display: block;
}
.footer-logo span {
    color: var(--accent-color);
}
.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    font-size: 1.1rem;
    color: var(--gray-color);
}
.footer-social-link:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 10px rgba(178, 190, 181, 0.3);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: var(--transition-smooth);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Admin Styling Overrides */
.admin-sidebar {
    background-color: var(--secondary-color);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 100vh;
}
.admin-sidebar .nav-link {
    color: var(--gray-color);
    padding: 1rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    border-left: 3px solid transparent;
    transition: var(--transition-smooth);
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: var(--accent-color);
    background-color: rgba(178, 190, 181, 0.05);
    border-left-color: var(--accent-color);
}
.table-dark-custom {
    background-color: var(--secondary-color);
    color: var(--text-color);
}
.table-dark-custom th {
    font-family: var(--font-heading);
    border-bottom: 2px solid var(--accent-color) !important;
}

/* Form Styles */
.form-dark-control {
    background-color: #222222;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    padding: 0.75rem 1rem;
}
.form-dark-control:focus {
    background-color: #222222;
    border-color: var(--accent-color);
    color: var(--text-color);
    box-shadow: 0 0 8px rgba(178, 190, 181, 0.25);
}

/* Team Card hover */
.team-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}
.team-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.95) 0%, rgba(17, 17, 17, 0.5) 70%, transparent 100%);
    padding: 2rem;
    transition: var(--transition-smooth);
}
.team-bio {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}
.team-card:hover .team-image {
    transform: scale(1.05);
}
.team-card:hover .team-bio {
    max-height: 100px;
    opacity: 1;
}

/* Responsive Overrides */
.pdf-embed-container {
    min-height: 600px;
}

@media (min-width: 768px) {
    .admin-main-content {
        margin-left: 16.666667%;
    }
}

@media (max-width: 991px) {
    .navbar-custom {
        padding: 0.8rem 0;
    }
    .navbar-custom .nav-link {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .navbar-custom .navbar-collapse {
        background: rgba(17, 17, 17, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 1.5rem;
        border-radius: 8px;
        margin-top: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    .hero-title {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.4rem;
    }
    .glass-card {
        padding: 1.5rem;
    }
    .ba-slider {
        height: 320px;
    }
    .pdf-embed-container {
        min-height: 400px;
    }
    
    /* Responsive Admin Sidebar Slide-out Drawer */
    .admin-sidebar.collapse,
    .admin-sidebar.collapsing {
        display: block !important;
        height: 100% !important;
        width: 260px !important;
        position: fixed !important;
        top: 0;
        bottom: 0;
        left: 0;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 1090;
        background-color: var(--secondary-color) !important;
        box-shadow: 5px 0 25px rgba(0,0,0,0.5);
    }
    .admin-sidebar.show {
        transform: translateX(0) !important;
    }
    .admin-main-content {
        margin-left: 0 !important;
        padding-top: 80px !important;
    }
}

@media (max-width: 575px) {
    .navbar-custom .navbar-brand {
        font-size: 1.3rem;
        letter-spacing: 0.08em;
    }
    .navbar-custom .container {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
    }
    .hero-title {
        font-size: 1.55rem;
        letter-spacing: -0.03em;
    }
    .section-title {
        font-size: 1.65rem;
        margin-bottom: 2rem;
    }
    .ba-slider {
        height: 250px;
    }
    .counter-number {
        font-size: 2.8rem;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 1.35rem;
        letter-spacing: -0.03em;
    }
    .navbar-custom .navbar-brand {
        font-size: 1.15rem;
        letter-spacing: 0.05em;
    }
}

@media (max-width: 767px) {

    .navbar-spacer.home-spacer {
        display: none;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    .glass-card {
        padding: 1.5rem;
    }
    .ba-slider {
        height: 350px;
    }
    .hero-section {
        padding-top:100px;
        max-height:550px;
    }
}

/* Custom Bootstrap Warning color overrides to match the premium Ash Gray design theme */
.btn-outline-warning {
    color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}
.btn-outline-warning:hover,
.btn-outline-warning:focus,
.btn-outline-warning:active {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: #000000 !important;
}
.bg-warning {
    background-color: var(--accent-color) !important;
    color: #000000 !important;
}
.text-warning {
    color: var(--accent-color) !important;
}
.alert-warning {
    background-color: rgba(178, 190, 181, 0.1) !important;
    border: 1px solid rgba(178, 190, 181, 0.25) !important;
    color: var(--text-color) !important;
}
.btn-warning {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: #000000 !important;
}
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    background-color: rgba(178, 190, 181, 0.8) !important;
    border-color: rgba(178, 190, 181, 0.8) !important;
    color: #000000 !important;
}

/* Custom Leaflet Dark Popups */
.leaflet-popup-content-wrapper {
    background: rgba(26, 26, 26, 0.95) !important;
    border: 1px solid rgba(178, 190, 181, 0.2) !important;
    border-radius: 8px !important;
    color: #FFFFFF !important;
    font-family: var(--font-body);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}
.leaflet-popup-tip {
    background: rgba(26, 26, 26, 0.95) !important;
    border: 1px solid rgba(178, 190, 181, 0.2) !important;
}
.leaflet-popup-close-button {
    color: #FFFFFF !important;
}
.leaflet-container a.leaflet-popup-close-button:hover {
    color: var(--accent-color) !important;
}

 .navbar-collapse {
        flex-basis: 100%;
        margin-top: 0.8rem;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(17, 17, 17, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 0;
        padding: 1.5rem 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        z-index: 1040;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        margin: 0 !important;
    }
    
    /* Center align mobile nav items and add aesthetic spacing */
    .navbar-custom .navbar-nav {
        align-items: center !important;
        text-align: center;
        width: 100%;
        margin: 0;
    }
    .navbar-custom .nav-item {
        width: 100%;
        text-align: center;
        margin: 0.8rem 0;
    }
    .navbar-custom .nav-link {
        display: block;
        padding: 0.8rem 0;
        margin: 0.1rem 0;
        display: inline-block;
        font-size: 1.25rem;
        padding: 0.5rem 0;
        border-bottom: none;
        border-radius: 0;
        width: 100%;
        width: auto;
        text-align: center;
    }
    
    .navbar-custom .nav-link:last-child {
        border-bottom: none;
    }
    /* Stack CTA buttons cleanly and center them */
    .navbar-custom .nav-item.ms-lg-3,
    .navbar-custom .nav-item.ms-lg-2 {
        margin-left: 0 !important;
        margin-top: 1.2rem !important;
        margin-top: 1.5rem !important;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .navbar-custom .btn-gold {
        width: auto;
        min-width: 220px;
        max-width: 280px;
        min-width: 240px;
        text-align: center;
        padding: 0.8rem 2.2rem;
        font-size: 1rem;
    }
    .navbar-custom .btn.btn-outline-warning {
        width: auto;
        min-width: 220px;
        max-width: 280px;
        min-width: 240px;
        text-align: center;
        font-size: 1rem;
    }
    /* Adjust logo and toggler spacing on mobile */
    /* Spacing and absolute visibility index for brand logo and toggler */
    .navbar-custom .navbar-brand {
        font-size: 1.4rem;
        z-index: 1050;
        position: relative;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }
    /* Style the toggler button to match theme */
    /* Hide the brand logo when expanded so nav items replace the top space */
    body:has(.navbar-collapse.show) .navbar-brand {
        opacity: 0;
        visibility: hidden;
    }
    /* Style the toggler button to match theme and keep on top of overlay */
    .navbar-toggler {
        z-index: 1050;
        position: relative;
        border: 1px solid rgba(212, 175, 55, 0.3) !important;
        padding: 0.5rem;
        border-radius: 6px;
}
    /* Make the mobile menu a full-screen overlay that expands from the top */
    /* Prevent Bootstrap's collapsing height animation from creating the upward flicker */
    .navbar-collapse.collapsing {
        height: 100vh !important;
        transition: none !important;
        display: flex !important;
    }
    /* Make the mobile menu a full-screen overlay that unrolls from the top like a carpet */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(17, 17, 17, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 1040;
        display: flex;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        margin: 0 !important;
        /* Hidden state: clipped from top — no height, no position shift */
        clip-path: inset(0 0 100% 0);
        pointer-events: none;
        transition: clip-path 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                    opacity 0.4s ease;
        opacity: 0;
    }
    /* Shown state: fully unrolled downward */
    .navbar-collapse.show {
        clip-path: inset(0 0 0% 0);
        pointer-events: auto;
        opacity: 1;
    }
    

