﻿.hero {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-align: center;
    /* گرادیانت اولیه */
    background: linear-gradient(270deg, #1e3c72, #2a5298, #1e3c72);
    background-size: 600% 600%;
    /* انیمیشن گرادیانت */
    animation: gradientShift 15s ease infinite;
}

/* انیمیشن تغییر رنگ */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* یک overlay نرم برای عمق بیشتر */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    pointer-events: none;
}
