@font-face {
    font-family: 'Klavier';
    src: url('/assets/fonts/klavier.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'DashTrak';
    src: url('/assets/fonts/DashTrak.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #10b981;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #059669;
}

/* Hero animations */
.hero-title {
    opacity: 1;
}

.hero-subtitle {
    opacity: 1;
}

.hero-buttons {
    opacity: 1;
}

.hero-image {
    opacity: 1;
}

/* About animations */
.about-content {
    opacity: 1;
}

.about-image {
    opacity: 1;
}

/* Course cards */
.course-card {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonial cards */
.testimonial-card {
    opacity: 1;
    transform: scale(1);
}

/* Stats */
.stat-card {
    opacity: 1;
    transform: translateY(0);
}

/* Hover effects */
.course-card:hover {
    transform: translateY(-8px) rotate(-1deg);
}

.testimonial-card:hover {
    transform: scale(1.05);
}

/* Navigation smooth highlight */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #10b981;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Form focus effects */
input:focus, select:focus, textarea:focus {
    outline: none;
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* Button hover effects */
button, a[class*="bg-"] {
    transition: all 0.3s ease;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card shadow effects */
.shadow-glow {
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.2);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    body {
        font-size: 14px;
    }
    
    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    /* Better touch targets */
    a, button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improve readability */
    p {
        line-height: 1.7;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    /* Tablet adjustments */
    body {
        font-size: 15px;
    }
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Smooth appearance for images */
img {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Custom cursor effect on interactive elements */
a, button {
    cursor: pointer;
}

/* Parallax effect preparation */
.parallax {
    will-change: transform;
}
