/* ===========================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   =========================================== */
:root {
    --everfast-blue: #06579E;
    --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: #EAAF46;
}

/* ===========================================
   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', 'sans-serif';
    font-size: .875rem;
}

.btn-everfast-primary {
    background-image: var(--bg-button-gold);
    color: black;
    font-family: 'Roboto', 'sans-serif';
    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', 'sans-serif';
    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: 'Newsreader', 'sans-serif';
    font-weight: 500;
    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;
}

/* ===========================================
   HELP CENTER SPECIFIC STYLES
   =========================================== */

/* Hero Section */
.hero-wrapper {
    background: linear-gradient(135deg, var(--everfast-blue) 0%, #0a4e7d 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(234, 175, 70, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 2px, transparent 2px);
    background-size: 30px 30px, 45px 45px;
    background-position: 0 0, 15px 15px;
    pointer-events: none;
}

.hero-title {
    font-family: 'Newsreader', 'sans-serif';
    font-weight: 500;
    color: white;
    position: relative;
    z-index: 1;
}

.hero-text {
    font-family: 'Roboto', 'sans-serif';
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* Section Titles */
.section-title {
    font-family: 'Newsreader', 'sans-serif';
    font-weight: 500;
    color: var(--everfast-blue);
}

.section-text {
    font-family: 'Roboto', 'sans-serif';
}

/* Tutorial Cards */
.tutorial-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.tutorial-card:hover {
    transform: translateY(-5px);
}

.tutorial-card .card {
    border: none;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 25px, rgba(0, 0, 0, 0.05) 0px 5px 15px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.tutorial-card:hover .card {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 20px 40px, rgba(0, 0, 0, 0.1) 0px 8px 20px;
    border: 2px solid var(--text-gold);
}

/* Video Thumbnail */
.video-thumbnail {
    height: 180px;
    background: linear-gradient(135deg, var(--everfast-blue) 0%, #0a4e7d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(234, 175, 70, 0.2) 2px, transparent 2px),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px, 15px 15px;
    background-position: 0 0, 10px 10px;
}

.play-icon {
    font-size: 3.5rem;
    color: var(--text-gold);
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.tutorial-card:hover .play-icon {
    transform: scale(1.1);
    color: white;
}

.tutorial-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-family: 'Roboto', 'sans-serif';
    font-weight: 500;
    z-index: 1;
}

/* Card Content */
.tutorial-card .card-body {
    padding: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.tutorial-card .card-title {
    font-family: 'Newsreader', 'sans-serif';
    font-weight: 500;
    color: var(--everfast-blue);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.tutorial-card .card-text {
    font-family: 'Roboto', 'sans-serif';
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

/* Tutorial Display Section */
.tutorial-display {
    background-color: #f8f9fa;
}

.tutorial-title {
    font-family: 'Newsreader', 'sans-serif';
    font-weight: 500;
    color: var(--everfast-blue);
}

/* Video Player */
.video-player-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 10px 30px, rgba(0, 0, 0, 0.1) 0px 5px 15px;
}

.video-player-wrapper video {
    background-color: #000;
}

.video-player-wrapper video::-webkit-media-controls-panel {
    background-color: rgba(6, 87, 158, 0.9);
}

/* Instructions Panel */
.instructions-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 25px, rgba(0, 0, 0, 0.05) 0px 5px 15px;
    height: fit-content;
}

.instructions-title {
    font-family: 'Newsreader', 'sans-serif';
    font-weight: 500;
    color: var(--everfast-blue);
}

.instructions-content {
    font-family: 'Roboto', 'sans-serif';
    line-height: 1.6;
}

.instructions-content h5 {
    font-family: 'Newsreader', 'sans-serif';
    font-weight: 500;
    color: var(--everfast-blue);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.instructions-content ol {
    padding-left: 1.25rem;
}

.instructions-content ol li {
    margin-bottom: 0.75rem;
    color: #495057;
}

.instructions-content ol li strong {
    color: var(--everfast-blue);
}

.instructions-content .note {
    background: rgba(6, 87, 158, 0.05);
    border: 1px solid rgba(6, 87, 158, 0.1);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: var(--everfast-blue);
}

.instructions-content .note i {
    color: var(--text-gold);
    margin-right: 0.5rem;
}

/* Help Contact Section */
.help-contact {
    background: linear-gradient(135deg, rgba(6, 87, 158, 0.05) 0%, rgba(234, 175, 70, 0.05) 100%);
    border: 1px solid rgba(6, 87, 158, 0.1);
    border-radius: 15px;
}

.help-contact h6 {
    font-family: 'Newsreader', 'sans-serif';
    color: var(--everfast-blue);
}

.help-contact p {
    font-family: 'Roboto', 'sans-serif';
    color: #6c757d;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .tutorial-card .card-title {
        font-size: 1.1rem;
    }
    
    .instructions-container {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .video-thumbnail {
        height: 160px;
    }
    
    .play-icon {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .tutorial-card .card-body {
        padding: 1.25rem;
    }
    
    .instructions-container {
        padding: 1.25rem;
    }
    
    .video-thumbnail {
        height: 140px;
    }
    
    .play-icon {
        font-size: 2.5rem;
    }
    
    .help-contact .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .help-contact .btn:last-child {
        margin-bottom: 0;
    }
}