/* Custom styles for All Star Driver Education */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Geometric background shapes */
.geometric-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(123, 36, 27, 0.06) 0%, rgba(123, 36, 27, 0.02) 100%);
    border: 2px solid rgba(123, 36, 27, 0.08);
}

.shape-circle-2 {
    bottom: 15%;
    left: 8%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(223, 148, 114, 0.08) 0%, rgba(223, 148, 114, 0.02) 100%);
    border: 2px solid rgba(223, 148, 114, 0.12);
}

.shape-square-1 {
    top: 25%;
    left: 3%;
    width: 80px;
    height: 80px;
    background: rgba(123, 36, 27, 0.04);
    border: 2px solid rgba(123, 36, 27, 0.08);
    transform: rotate(45deg);
    border-radius: 8px;
}

.shape-triangle-1 {
    bottom: 25%;
    right: 10%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(223, 148, 114, 0.08);
}

.shape-dots {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background-image: radial-gradient(circle, rgba(123, 36, 27, 0.08) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

/* Floating stat cards */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.card-stat-1 {
    animation-delay: 0s;
}

.card-stat-2 {
    animation-delay: -2s;
}

.card-stat-3 {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* Service cards */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7B241B, #df9472);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

/* Course cards */
.course-card {
    position: relative;
    overflow: hidden;
}

/* Testimonial cards */
.testimonial-card {
    position: relative;
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(253, 246, 240, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(61, 53, 53, 0.08);
}

/* Mobile menu */
.mobile-menu-open #mobile-menu {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .floating-card {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    * {
        transition-duration: 0.01ms !important;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #FDF6F0;
}

::-webkit-scrollbar-thumb {
    background: #C94040;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
   
