html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1B1B1D;
}

.hero-gradient {
    background: radial-gradient(ellipse at 30% 20%, #142752 0%, #0D1B3E 50%, #080F24 100%);
}

.hero-bg {
    background-image: url('/images/engineers-school-hero.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(8, 15, 36, 0.88) 0%, rgba(13, 27, 62, 0.82) 50%, rgba(8, 15, 36, 0.90) 100%);
}

.nav-glass {
    background: rgba(13, 27, 62, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.card-lift {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(13, 27, 62, 0.18);
}

.gradient-text {
    background: linear-gradient(135deg, #E8A800, #FFD04A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1;
    letter-spacing: -0.01em;
}

.fade-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card {
    background: linear-gradient(135deg, #142752 0%, #0D1B3E 100%);
    border: 1px solid rgba(27, 79, 216, 0.15);
}

.testimonial-card:hover {
    border-color: rgba(27, 79, 216, 0.4);
}

.story-card .story-overlay {
    background: linear-gradient(to top, rgba(13, 27, 62, 0.95) 0%, rgba(13, 27, 62, 0.4) 50%, transparent 100%);
}

.font-arabic {
    font-family: 'Tajawal', sans-serif;
}

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.btn-primary {
    background: linear-gradient(135deg, #1B4FD8 0%, #3B6FE8 100%);
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(27, 79, 216, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
}

.btn-outline:hover {
    border-color: #E8A800;
    color: #E8A800;
    background: rgba(232, 168, 0, 0.08);
}

.grid-pattern {
    background-image:
        linear-gradient(rgba(27, 79, 216, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27, 79, 216, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(27, 79, 216, 0.1), rgba(27, 79, 216, 0.05));
    color: #1B4FD8;
}

.section-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #E8A800;
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[dir="rtl"] .mobile-menu {
    transform: translateX(-100%);
}

.mobile-menu.open {
    transform: translateX(0);
}

.play-btn {
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(27, 79, 216, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(27, 79, 216, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(27, 79, 216, 0);
    }
}

.star-filled {
    color: #E8A800;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #1B4FD8;
    box-shadow: 0 0 0 3px rgba(27, 79, 216, 0.1);
}

::-webkit-scrollbar {
    width: 8px;
}

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

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