/* All Star Driver Education — Custom Styles */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background-color: rgba(229, 168, 0, 0.3);
    color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #040B18;
}
::-webkit-scrollbar-thumb {
    background: rgba(229, 168, 0, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(229, 168, 0, 0.5);
}

/* Mobile link transition */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(229, 168, 0, 0.08);
}
.mobile-link:last-child {
    border-bottom: none;
}

/* Gold divider animation */
.gold-line {
    height: 3px;
    width: 80px;
    background: linear-gradient(90deg, #FFD94D, #C48800);
    border-radius: 2px;
}

/* Input focus glow */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(229, 168, 0, 0.1);
}

/* Subtle gold border animation on cards */
.service-card {
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD94D, transparent);
    transition: left 0.6s ease;
}
.service-card:hover::before {
    left: 100%;
}
