/* Custom styles for SAGE Truck Driving Schools */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth fade-in for hero cards (no blocking of above-the-fold content) */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.floating-card-1 {
    animation: float 4s ease-in-out infinite;
}

.floating-card-2 {
    animation: float 4s ease-in-out infinite 1s;
}

/* Subtle gradient on section dividers */
.section-divider {
    background: linear-gradient(180deg, transparent 0%, rgba(15, 43, 76, 0.03) 50%, transparent 100%);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #6ee7b7;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .floating-card-1,
    .floating-card-2 {
        animation: none;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
