@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.blob-1 {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    animation: morphBlob 8s ease-in-out infinite;
}

@keyframes morphBlob {
    0%, 100% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }

    50% {
        border-radius: 58% 42% 30% 70% / 55% 55% 45% 45%;
    }
}

input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.4);
}

.counter {
    font-variant-numeric: tabular-nums;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background: #a3e635;
    border-radius: 4px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

    .slider-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

.slider-overlay-right {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 40%, transparent 70%);
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .slider-dot.active {
        background: #a3e635;
        border-color: #a3e635;
        transform: scale(1.3);
        box-shadow: 0 0 12px rgba(163,230,53,0.5);
    }

.slider-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .slider-arrow:hover {
        background: #a3e635;
        color: #171717;
        border-color: #a3e635;
        transform: scale(1.1);
    }

.slide-content {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.65, 0, 0.35, 1) 0.3s;
}

    .slide-content.active {
        opacity: 1;
        transform: translateY(0);
    }

.slide-subtitle {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease 0.5s;
}

    .slide-subtitle.active {
        opacity: 1;
        transform: translateX(0);
    }

.slide-buttons {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.7s;
}

    .slide-buttons.active {
        opacity: 1;
        transform: translateY(0);
    }

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: #a3e635;
    z-index: 20;
    transition: width 0.1s linear;
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

    .mobile-menu.open {
        transform: translateX(0);
    }

.nav-scrolled {
    background: rgba(255,255,255,0.97) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.program-card:hover {
    transform: translateY(-8px);
}

.teacher-card:hover .teacher-img {
    transform: scale(1.05);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.logo-glow {
    box-shadow: 0 0 20px rgba(163, 230, 53, 0.3);
}
