/* modern-navbar.css - Premium Sleek Redesign */

/* Navbar Container - Ultra Modern Sticky Full Width */
.main-header {
    background: transparent !important;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.main-header .navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05) !important;
    padding: 12px 0 !important;
    transition: all 0.3s ease;
}

/* Typography & Links */
.navbar-nav .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #334155 !important;
    padding: 8px 16px !important;
    margin: 0 4px;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Tighten nav spacing on smaller desktops so all links fit on one row */
@media (min-width: 1200px) and (max-width: 1499.98px) {
    .navbar-nav .nav-link {
        font-size: 14px;
        padding: 8px 9px !important;
        margin: 0 1px;
    }

    .header-desktop-actions {
        gap: 0.75rem !important;
    }

    .header-desktop-actions .btn-cta {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .navbar-brand {
        gap: 0.5rem !important;
    }
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: #0F172A !important;
    background: rgba(15, 23, 42, 0.03);
}

/* Mega Menu & Dropdowns Container */
.dropdown-menu {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08) !important;
    padding: 16px !important;
    margin-top: 10px !important;
    animation: dropdownFade 0.3s ease forwards;
    transform-origin: top center;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mega Menu Headings */
.mega-menu-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600 !important;
    font-size: 14px;
    color: #0F172A !important; /* Premium Navy instead of Yellow */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 8px;
    margin-bottom: 12px !important;
    border-bottom: 2px solid #F1F5F9;
}

/* Beautiful Icon Wrapper in Mega Menu */
.mega-menu-title i {
    color: #EAB308 !important; /* Brand Yellow/Gold */
    margin-right: 8px;
    background: #FEF9C3;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 12px;
}

/* Dropdown Items */
.dropdown-item {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #475569 !important; /* Slate gray instead of harsh black */
    padding: 8px 12px !important;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.dropdown-item:hover {
    background: #F8FAFC !important;
    color: #0F172A !important;
    transform: translateX(4px);
}

/* Desktop CTAs (Get Started Button) */
.btn-cta {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    background: #0F172A !important; /* Navy Blue */
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: #1E293B !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.3);
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* Phone Consultation Block */
.header-desktop-actions a {
    text-decoration: none;
}

.header-desktop-actions .phone-icon-wrapper {
    width: 36px;
    height: 36px;
    background: #FFFBEB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EAB308;
    transition: all 0.3s ease;
}

.header-desktop-actions .cta-phone:hover .phone-icon-wrapper {
    background: #EAB308;
    color: #ffffff;
    transform: rotate(10deg) scale(1.05);
}

.header-desktop-actions .phone-label {
    font-size: 11px;
    letter-spacing: 0.5px;
    color: #64748B;
}

.header-desktop-actions .phone-number {
    font-size: 15px;
    color: #0F172A !important;
    font-weight: 700;
}

/* Logo specific tuning */
.navbar-brand .logo-title {
    color: #0F172A !important;
    font-weight: 800;
    font-size: 24px;
}
.navbar-brand .logo-subtitle {
    color: #EAB308 !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 10px;
}

/* Mobile Navigation Scrolling Fix */
@media (max-width: 1199.98px) {
    #mainNavbar.navbar-collapse {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    .mega-menu-content {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
