/* ===========================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   =========================================== */
:root {
    --everfast-blue: #00529B;
    --off-white: #e0e3e6;
    --bg-button-gold:  linear-gradient(to right top, #ce7500, #d78721, #e19939, #eaab4f, #f3bd65, #f4bf66, #f6c066, #f7c267, #f1b552, #eba73d, #e59925, #df8b00);
    --hero-bg-overlay: linear-gradient(rgba(0, 80, 160, 0.5), rgba(0, 80, 160, 0.5));
    --text-gold: #EFB13A;
}

/* ===========================================
   GLOBAL STYLES
   =========================================== */
main {
    background-color: var(--off-white);
}
body {
    background: 
        radial-gradient(circle at 30% 20%, rgba(6, 87, 158, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(234, 175, 70, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%) !important;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(6, 87, 158, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(234, 175, 70, 0.4) 2px, transparent 2px);
    background-size: 30px 30px, 45px 45px;
    background-position: 0 0, 15px 15px;
    pointer-events: none;
    z-index: -999;
    opacity: 1;
}

main {
    background: transparent;
    min-height: 100vh;
    position: relative;
}

/* ===========================================
   HEADER / NAVIGATION
   =========================================== */
header, 
.bg-blue {
    background-color: var(--everfast-blue);
}

.navbar-brand img {
    width: 10rem;
}

.navbar-toggler {
    background-color: var(--text-gold);
}


.header-nav-link {
    font-family: "Roboto";
    font-size: .875rem;
}

.btn-everfast-primary {
    background-image: var(--bg-button-gold);
    color: black;
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 16px;
    border: 1px solid white;
    border-radius: 25px;
    width: 160px;
}

/* Dropdown hover styles for navigation */
.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
    margin-top: 0;
}

/* Ensure dropdown works on mobile touch devices */
@media (max-width: 991px) {
    .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        background: transparent;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}


.btn-style {
    background-image: var(--bg-button-gold);
    color: black;
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid var(--text-gold);
    border-radius: 1.5625rem;
    min-width: 8rem;
    padding: 0.5rem 1rem;
}


.terms-title {
    font-family: 'Newsreader', 'sans-serif';
    font-weight: 500;
}



/* ===========================================
   FOOTER SECTION
   =========================================== */
.footer-wrapper {
    background-color: var(--everfast-blue);
}

.footer-title,
.footer-list-title {
    font-family: 'Roboto', 'sans-serif';
    color: white;
}

.footer-text,
.footer-list-item {
    font-family: 'Roboto', 'sans-serif';
    color: white;
}

.footer-link {
    text-decoration: none;
}

.footer-disclaimer,
.copyright {
    font-family: 'Roboto', 'sans-serif';
    font-size: 12px;
    color: white;
}

.footer-social-icon {
    font-size: 32px;
    color: white;
}

.lower-footer {
    border-top: 2px solid #1863A5;
}