/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0b4b8a;
    --secondary-color: #1783d8;
    --accent-color: #f7a80b;
    /* Golden accent */
    --dark-bg: #090e17;
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --text-light: #fff;
    --transition: all 0.3s ease-in-out;
}

html,
body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    box-shadow: 0 5px 15px rgba(11, 75, 138, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(11, 75, 138, 0.5);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 800;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    margin-bottom: 30px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li a {
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

.nav-links li a.btn-primary {
    color: var(--text-light);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #f0f8ff, #ffffff);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-bg);
}

.hero-text h1 span {
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 10px solid #fff;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 50px rgba(11, 75, 138, 0.2);
    border-radius: 50%;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #fff;
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 3;
}

.about-text p {
    font-size: 1.15rem;
    margin-bottom: 20px;
    color: #555;
}

.about-stats {
    flex: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background: var(--light-bg);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-10px);
}

.stat-box i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.stat-box h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-box p {
    font-size: 0.95rem;
    color: #666;
}

/* Gallery Marquee */
.gallery {
    padding: 80px 0;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow: hidden;
}

.gallery h2 {
    color: #fff;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: scrollRtoL 30s linear infinite;
}

.marquee-content img {
    height: 300px;
    width: 450px;
    object-fit: cover;
    margin: 0 15px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.marquee-content img:hover {
    transform: scale(1.03);
}

@keyframes scrollRtoL {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(480px * 10));
    }
}

/* Courses Section */
.courses {
    padding: 100px 0;
    background: #fff;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.course-card {
    background: var(--light-bg);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(11, 75, 138, 0.1);
    background: #fff;
}

.course-icon {
    width: 70px;
    height: 70px;
    background: rgba(23, 131, 216, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.course-icon i {
    font-size: 30px;
    color: var(--secondary-color);
}

.course-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

.course-card p {
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.btn-book {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #25D366;
    /* WhatsApp Green */
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-book:hover {
    background: #128C7E;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    color: #fff;
}

.contact-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.contact-info p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.detail-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.social-links {
    margin-top: 40px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

.contact-form-wrapper {
    flex: 1;
    background: #fff;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.booking-form h3 {
    color: var(--dark-bg);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.booking-form input:focus,
.booking-form select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.btn-submit {
    width: 100%;
    background: #25D366;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background: #128C7E;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* Footer */
footer {
    background: #050a12;
    padding: 30px 0;
    color: #888;
}

/* Responsive */
@media (max-width: 992px) {

    .hero-container,
    .about-content,
    .contact-container {
        flex-direction: column;
        text-align: center;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 50px;
    }

    .about-text,
    .contact-info {
        text-align: center;
    }

    .nav-links {
        display: none;
    }

    .about-stats {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .image-wrapper {
        max-width: 250px;
        margin: 0 auto;
    }

    .marquee-content img {
        width: 280px;
        height: 180px;
        margin: 0 10px;
    }

    @keyframes scrollRtoL {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(300px * 10));
        }
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .courses {
        padding: 60px 0;
    }

    .about,
    .contact,
    .gallery {
        padding: 60px 0;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
    }

    .stat-box {
        padding: 20px 10px;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .detail-item {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}