html {
    scroll-behavior: smooth;
}
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.hero-bg {
    background-color: #f0f9ff;
    background-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        #f0f9ff
    );
    background-size: cover;
    background-position: center;
}

.teacher-card:hover .teacher-info {
    opacity: 1;
    transform: translateY(0);
}
.glassmorphic-nav {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.scroll-to-top {
    transition: opacity 0.3s, transform 0.3s;
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}
.filter-btn.active {
    background-color: #0f172a;
    color: #ffffff;
}
.testimonial-scroller {
    display: flex;
    width: max-content;
}
.testimonial-scroller-container:hover .testimonial-scroller {
    animation-play-state: paused;
}
.carousel-container {
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
a,
button,
.group,
.news-item,
.teacher-card,
.facility-card,
[onclick] {
    cursor: pointer;
}
.carousel-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.carousel-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.3);
}
.info-card::before {
    content: "";
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}
.form-input-group {
    position: relative;
}
.form-input {
    transition: all 0.3s ease;
    border-radius: 0 !important;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid #e5e7eb;
    padding: 0.75rem 0.25rem !important;
}
.form-input:focus {
    outline: none;
    box-shadow: none !important;
    border-color: #0ea5e9;
}
.form-label {
    transition: all 0.3s ease;
}
.modal {
    transition: opacity 0.3s ease-in-out;
}
.modal-content {
    transition: transform 0.3s ease-in-out;
}
.news-item {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
