/* ==== FONTS ==== */
@font-face {
    font-family: Sahel;
    src: url(/static/Font/Sahel.ttf);
}

/* ==== end FONTS ==== */

/* ==== TEXT SELECTION COLOR ==== */
::selection {
    background-color: #ff8c00; /* نارنجی */
    color: white;
}

::-moz-selection {
    background-color: #ff8c00; /* نارنجی برای فایرفاکس */
    color: white;
}

/* ==== end TEXT SELECTION COLOR ==== */


.sub-header {
    position: relative;
    width: 100%;
    height: 100vh;
    /* کل ارتفاع صفحه */
    background: url('/static/image/baner.png') no-repeat center center;
    /* مسیر تصویر */
    background-size: cover;
    /* تصویر کل بخش را می‌پوشاند */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.sub-header-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    /* شفافیت برای خوانایی متن */
    z-index: 1;
}

.sub-header-content {
    position: relative;
    z-index: 2;
    max-width: 809px;
    padding: 0 24px;
    margin-right: auto;
}

.sub-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

#under-header-p {
    font-size: 21px;
    margin-bottom: 32px;
    line-height: 48.8px;
}

.icons-hesder-p {
    font-size: 20px;
    margin-bottom: 32px;
    line-height: 1.6;
}
/* ویژگی‌ها/آیکون‌ها */
.sub-header-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 120px;
}

.feature .material-icons {
    font-size: 48px;
    /* اندازه آیکون */
    color: #ffca28;
    /* رنگ طلایی */
    margin-bottom: 12px;
}

/* دکمه CTA */
.btn-primary {
    display: inline-block;
    background: #ffca28;
    color: #0d47a1;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #ffc107;
    transform: translateY(-2px);
}

/* واکنش‌گرا */
@media (max-width: 991px) {
    .sub-header h2 {
        font-size: 32px;
    }

    .sub-header p {
        font-size: 16px;
    }

    .sub-header-features {
        gap: 5px;
        margin-bottom: 24px;
    }

    .feature .material-icons {
        font-size: 40px;
    }

    .btn-primary {
        padding: 12px 24px;
        font-size: 16px;
    }
    #under-header-p {
        font-size: 16px;
        line-height: 33px;
    }

    #come-down {
        display: none;
    }
}