:root {
    --doli-navy: #1e3a8a;
    --doli-blue: #3b82f6;
    --doli-yellow: #fbbf24;
}

.bg-doli-navy { background-color: var(--doli-navy) !important; }
.bg-doli-blue { background-color: var(--doli-blue) !important; }
.text-doli-yellow { color: var(--doli-yellow) !important; }

/* Custom styles for mega menu */
.mega-menu-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    display: none
    /* opacity: 0; */
    /* transition: all 400ms ease-in-out; */
}

.mega-menu-dropdown{
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--doli-blue);
    justify-content: space-between !important;
}

#mega-menu-wrap-max_mega_menu_1,
.mega-menu-link{
    background-color: var(--doli-navy) !important;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--doli-blue);
}

#mega-menu-max_mega_menu_1 {
    display: flex !important;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px !important;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu {
    background: white;
}

#mega-menu-max_mega_menu_1 > li > a {
    text-transform: uppercase !important;
    font-size: 16px !important;
}

.mega-sub-menu .mega-menu-link {
    background-color: revert !important;
}

.mega-sub-menu .mega-menu-menu .mega-menu-link a{
    color: red !important;
}

.navbar-nav .nav-item:hover .mega-menu-container {
    display: block
    /* opacity: 1; */
}

/* Hero slider styles */
.hero-slider {
    height: 600px;
    position: relative;
}

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* Button styles */
.btn-cta {
    background-color: var(--doli-yellow);
    border-color: var(--doli-yellow);
    color: #000;
    font-weight: 600;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #f59e0b;
    border-color: #f59e0b;
    color: #000;
    transform: translateY(-1px);
}

.btn-cta-outline {
    background-color: transparent;
    border: 2px solid var(--doli-yellow);
    color: var(--doli-yellow);
    font-weight: 600;
    padding: 10px 24px;
    text-decoration: none;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-cta-outline:hover {
    background-color: var(--doli-yellow);
    color: #000;
}

/* Service cards */
.service-card {
    transition: all 0.3s ease;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

/* News cards */
.news-card {
    transition: all 0.3s ease;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

/* FAQ grid items */
.faq-item {
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.faq-item:hover {
    border-color: var(--doli-blue) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

/* Footer styles */
.footer-link {
    color: #d1d5db;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
    text-decoration: underline;
}

/* Alert banner */
.alert-banner {
    background-color: #fef3c7;
    border: 1px solid #f59e0b;
    color: #92400e;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .mega-menu-container {
    position: static;
    display: block !important;
    }
    
    .hero-slider {
    height: 400px;
    }
}

@media only screen and (max-width: 768px) {
    #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle + #mega-menu-max_mega_menu_1 {
        width: 100%;
        background-color: var(--doli-navy);
    }

    #mega-menu-max_mega_menu_1 {
        display: flex !important;
        flex-wrap: inherit;
        align-items: baseline;
        justify-content: revert;
    }

    .mega-close{
        right: min(calc(100vw - 20px), 50px) !important;
    }
}