/* Header Glassmorphism Pill */
.cv-header-glass {
    background: rgba(25, 25, 25, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 12px 25px;
    transition: all 0.3s ease;
}

.cv-nav-list li a {
    font-size: 1.1vw;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.cv-nav-list li a:hover {
    color: #cda85f !important; /* Brand Red */
}

/* Dropdown styling */
.cv-dropdown-parent .cv-dropdown-menu {
    top: 150%;
    left: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(10px);
}
.cv-dropdown-parent:hover .cv-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.cv-dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    color: #fff;
    text-decoration: none;
}
.cv-dropdown-menu li a:hover {
    background: rgba(255,255,255,0.05);
    color: #fc4b38;
}

/* Red Pill Buttons */
.cv-btn-red-pill {
    background-color: #cda85f;
    color: #ffffff;
    font-weight: 700;
    font-size: 1vw;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border: 2px solid #cda85f;
}
.cv-btn-red-pill:hover {
    background-color: var(--color-2);
    color: #fff;
    border: 2px solid var(--color-2);
}
.cv-btn-icon {
    background-color: var(--color-2);
    color: #fff;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}
.cv-btn-large {
    padding: 8px 8px 8px 25px;
    font-size: 16px;
}
.cv-btn-large .cv-btn-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
}
/* Mobile Menu Overlay Styles */
.cv-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: -100%; /* Hidden off-screen by default */
    width: 320px;
    max-width: 85%;
    height: 100vh;
    background-color: #111111;
    z-index: 9999;
    transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: 10px 0 25px rgba(0,0,0,0.8);
    overflow-y: auto;
}

/* Class triggered by JavaScript to slide menu in */
.cv-mobile-menu-overlay.active {
    left: 0; 
}

.cv-mobile-menu-overlay .nav-link:hover {
    color: #fc4b38 !important;
}
/* -----------------------------------------
   Sticky Header Class Overrides
----------------------------------------- */
.cv-main-header {
    /* Ensures smooth visual transitions */
    transition: background-color 0.3s ease; 
}

.cv-main-header.is-sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 0 !important; /* Overrides your mt-4 class */
    background: radial-gradient(circle at center, #0e3552 0%, #000 70%) !important; /* Matches the dark background in image_6232f9.png */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); /* Adds a subtle drop shadow */
    z-index: 1050 !important; /* Ensures it stays above all other content */
    
    /* Optional: Adds a smooth slide-down effect when it sticks */
    animation: stickySlideDown 0.4s ease-out forwards;
}
.cv-main-header.is-sticky .cv-header-glass{
  border: none;
}
@keyframes stickySlideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
@media (max-width: 991px) {
    .cv-header-glass {
        padding: 5px 15px;
        border: none;
    }
}
@media(max-width: 767.98px){
    .cv-btn-red-pill{
        font-size: 16px;
    }
    .cv-nav-list li a{
        font-size: 18px;
    }
}