.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    background: url("../images/header_1.jpg") center/cover no-repeat;
    /* background-attachment: fixed; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
    font-family: var(--font-ar);
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.333);
    z-index: 1;
}

/* كل المحتوى فوق الـ overlay */
.hero > * {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 10px 18px;
    border-radius: 999px;
    color: var(--main-color);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 14px;
    animation: fadeUp 1s ease-in-out;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--main-color);
    margin: 0;
    animation: fadeUp 1s ease-in-out;
}

.hero-content {
    font-size: 24px;
    margin: 15px 0 20px 0;
    color: var(--main-color);
    animation: fadeUp 1s ease-in-out;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
    animation: fadeUp 1s ease-in-out;
}

.hero-btn {
    display: inline-block;
    padding: 10px 22px;
    font-size: 16px;
    text-decoration: none;
    color: var(--main-color);
    background: var(--second-bg-color);
    border-radius: 16px;
    transition: 0.3s ease;
    cursor: pointer;
    border: none;
}

.hero-btn:hover {
    background: var(--main-color);
    color: var(--second-bg-color);
}

.hero-stats {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    animation: fadeUp 1s ease-in-out;
}

.hero-stat {
    min-width: 220px;
    padding: 18px 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stat strong {
    display: block;
    font-size: 40px;
    line-height: 1;
    color: var(--main-color);
    margin-bottom: 10px;
}

.hero-stat span {
    color: var(--main-color);
    font-size: 16px;
}

.scroll-indicator {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-decoration: none;
}

.scroll-indicator span {
    display: block;
    width: 28px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    border-radius: 10px;
    background: #fff;
    animation: scrollDot 1.5s infinite;
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollDot {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(14px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-content {
        font-size: 18px;
    }

    .hero-btn {
        font-size: 16px;
        padding: 10px 20px;
    }

    .hero-stat {
        min-width: 160px;
    }

    .hero-stat strong {
        font-size: 30px;
    }
}