/* قسم من أنا */
.about {
    text-align: center;
    position: relative;
    padding: 80px 40px;
}

.about-container {
    display: grid;
    grid-template-columns: 70% 30%;
    position: relative;
    gap: 20px;
    align-items: center;
    text-align: right;
    background-color: var(--bg-darker);
    color: var(--text-light);
    padding: 40px;

    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    max-width: 1260px;
    margin: 40px auto;
    box-shadow: var(--standard-shadow);
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: auto;
    margin-bottom: 0%;
    background: linear-gradient(135deg, #FFD01B, #ffa41b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text p {
    font-size: 1.7rem;
    font-weight: 300;
    margin-bottom: auto;
}

.btn-download-cv {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.4rem 1rem;
    font-size: 1rem;
    background: linear-gradient(135deg, #FFD01B, #ffa41b);
    color: var(--bg-darker);
    font-weight: bold;
    text-decoration: none;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    max-width: 100%;
    text-align: center;
}

.btn-download-cv:hover {
    color: var(--primary-color);
    background: transparent;
    border-color: var(--primary-color);
}


.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    transform: scaleX(-1);
}

.about-image img {
    height: auto;
    display: block;
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 900px;
}

/* ✅ جعل القسم متجاوب مع جميع الأجهزة */
@media (max-width: 1200px) {
    .about-container {
        display: grid;
        width: 97%;
        grid-template-columns: 70% 30%;
    }

    .about-image {
        margin-left: 0;
        order: 1;
        transform: none;
    }

    .about-text {
        text-align: right;
    }

    .about-text-h2 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1.3rem;
    }
}

/* شاشات الموبايل */
@media (max-width: 768px) {
    .about-container {
        width: 99%;
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .about-text {
        text-align: right;
    }

    .about-text-h1 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .btn-download-cv {
        width: 100%;
        font-size: 1rem;
        padding: 0.4rem 1rem;
    }

    .about-image img {
        height: 50%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .about-container {
        width: 99%;
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .about-text {
        text-align: right;
    }

    .about-text-h1 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .btn-download-cv {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }

    .about-image img {
        height: 50%;
        max-width: 100%;
    }
}