@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap");

:root {
    --primary-color: #0f766e;
    --accent-color: #14b8a6;
    --text-color: #163332;
    --bg-color: #f5f7f7;
}

body {
    font-family: "Tajawal", sans-serif;
    margin: 0;
    padding: 0;
    direction: ltr;
    background-color: var(--bg-color);
    color: var(--text-color);
}

body.lang-ar {
    direction: rtl;
    text-align: right;
}

body.lang-en {
    direction: ltr;
    text-align: left;
}

.hero-section {
    background: linear-gradient(rgba(7, 28, 28, 0.5), rgba(7, 28, 28, 0.5)), url("../medias/hero_bg.acec2db77ee9.jpg");
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 120px 20px 180px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.widget-wrapper {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0 0 24px;
    margin: -100px auto 0;
    position: relative;
    z-index: 10;
}

.widget-title {
    text-align: center;
    color: #ababab;
    margin-bottom: 20px;
}

.widget-footnote {
    text-align: center;
    color: #888888;
    margin-top: 30px;
    font-size: 0.9rem;
}

.button-row {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    color: #ffffff;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    display: block;
    height: 42px;
    width: auto;
    object-fit: contain;
}

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

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 1.1rem;
    opacity: 0.92;
    transition: opacity 0.2s ease;
}

.nav-link:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .top-nav {
        padding: 15px 20px;
    }

    .logo-image {
        height: 34px;
    }

    .nav-links {
        display: none;
    }
}
