﻿/* بانر من نحن */
.about-hero {
    background-color: #f3fdf5;
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .about-hero::before {
        content: "";
        position: absolute;
        top: -100px;
        left: -100px;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, #d0f0dc 0%, transparent 70%);
        z-index: 0;
        opacity: 0.3;
    }

    .about-hero::after {
        content: "";
        position: absolute;
        bottom: -80px;
        right: -80px;
        width: 260px;
        height: 260px;
        background: radial-gradient(circle, #c2f2db 0%, transparent 70%);
        z-index: 0;
        opacity: 0.25;
    }

/* محتوى البانر */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

    .hero-content .text {
        flex: 1 1 340px;
        max-width: 520px;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.8s ease-out forwards;
        animation-delay: 0.3s;
    }

        .hero-content .text h1 {
            font-size: 2.4rem;
            color: #1e824c;
            margin-bottom: 16px;
        }

        .hero-content .text p {
            font-size: 1.1rem;
            color: #333;
            line-height: 1.7;
        }

    /* صورة أو SVG */
    .hero-content .image {
        flex: 1 1 320px;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.8s ease-out forwards;
        animation-delay: 0.5s;
    }

        .hero-content .image svg {
            max-width: 100%;
            border-radius: 16px;
            box-shadow: 0 8px 20px #1e824c22;
            animation: float 5s ease-in-out infinite alternate;
        }

/* أنيميشن */
@keyframes float {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-10px);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* استجابة الموبايل */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

        .hero-content .text h1 {
            font-size: 1.8rem;
        }

        .hero-content .text p {
            font-size: 1rem;
        }

        .hero-content .image {
            margin-top: 20px;
        }
}
