html,
body {
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    /* background-color: #0F1626; */
    color: white;
    background-attachment: fixed;
    box-sizing: border-box;
    /* overflow-x: hidden; */
    min-height: 100vh;
}

:root {
    --content-left: 122.5px;
}

.hero {
    width: 1512px;
    height: 780px;
    position: relative;
    border-radius: 15px;
    background-image:

        url("../../images/Rectangle 3.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.blur-image {
    position: absolute;
    top: 400px;
    /* عدل حسب موقعها */
    left: 0;
    width: 717px;
    height: auto;
    z-index: 1;
    /* خليه خلف النص */
    pointer-events: none;
    /* يمنع التأثير على الضغط */
}

.navbar {
    position: absolute;
    top: 36px;
    left: 164px;
    width: 1185px;
    height: 93px;
    display: flex;
    align-items: center;
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 36px;
    box-sizing: border-box;
    gap: 36px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 77px;
    width: 861px;
}

.navbar-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    height: 56px;
    line-height: 100%;
    text-decoration: none;
    color: white;
    padding: 0 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-links a:first-child {
    color: #59eee2ea;
}

.navbar-links a:hover {
    color: #59eee2ea;
    background-color: rgba(255, 255, 255, 0.05);
}

.navbar-button {
    width: 183px;
}

.navbar-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #19A79B;
    color: white;
    font-size: 24px;
    font-weight: 600;
    border-radius: 16px;
    height: 56px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.navbar-button a:hover {
    background-color: #44d4c7;
}

.mobile-header {
    display: none;
}

.mobile-nav {
    display: none;
}

.hero-text {
    position: absolute;
    left: 100px;
    bottom: 40px;
    width: 1076px;
    height: 124px;
    color: white;
    text-align: left;
}

.hero-text h2 {
    font-size: 48px;
    font-weight: 600;
    line-height: 100%;
    color: white;
    margin: 0 0 12px 0;
}

.hero-text p {
    font-size: 24px;
    font-weight: 400;
    line-height: 100%;
    color: #ababab;
    margin: 0;
}

.mobile-menu-icon {
    display: none;
}

.hero-content {
    display: none;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

@media (max-width: 768px) {
    .hero {
        width: 440px;
        max-width: 440px;
        height: 251px;
        border-radius: 0;
        background-position: center;
        background-size: cover;
        position: relative;
        overflow-x: hidden;
    }

    .blur-image {
        display: none;
    }

    .hero-content {
        position: absolute;
        bottom: 24px;
        left: 16px;
        right: 16px;
        width: auto;
        height: auto;
        text-align: left;
        display: block;
    }

    .hero-text {
        display: none;
    }

    .hero-content h2 {
        font-size: 14px;
        font-weight: 600;
        line-height: 100%;
        color: #ffffff;
        margin-bottom: 8px;
    }

    .hero-content p {
        font-size: 12px;
        font-weight: 400;
        line-height: 100%;
        color: #ababab;
        margin: 0;
    }

    .mobile-menu-icon {
        display: block;
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 1001;
    }

    .mobile-menu-icon img {
        width: 18px;
        height: 12px;
        cursor: pointer;
    }

    .mobile-nav {
        position: fixed;
        top: 0;
        left: -300px;
        /* تبقى مخفية بالبداية */
        /* ← لازم نضيف ده عشان تكون مخفية بالبداية */
        width: 240px;
        height: 100%;
        background-color: #0F1626;
        padding: 60px 20px;
        box-shadow: 2px 0 5px #0F1626;
        display: flex;
        flex-direction: column;
        gap: 20px;
        z-index: 1000;
        transition: left 0.3s ease-in-out;
    }

    .mobile-nav.show {
        left: 0;
        /* تظهر بالقائمة */
    }

    .mobile-nav a {
        color: white;
        text-decoration: none;
        font-size: 18px;
        transition: color 0.3s;
    }

    .mobile-nav a:hover {
        color: #59eee2ea;
    }

    .navbar {
        display: none;
    }

    .hero-content {
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
    }
}