﻿* {
    box-sizing: border-box;
}

/*body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: #ffffff;
    color: #333333;
}
*/

@media (min-width: 1081px) {
    .container {
        max-width: 1170px;
        margin: 0 auto;
        padding: 100px 40px;
        color: #000;
        font-size: 16px;
        -webkit-font-smoothing: antialiased;
        font-family: system-ui;
        /*font-family: YouTube Sans;*/
    }

    /* الصورة الرئيسية */
    .hero-img {
        width: 100%;
        height: auto;
        max-height: 480px;
        object-fit: cover;
        border-radius: 10px;
        display: block;
        margin-bottom: 56px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    /* عناوين الأقسام الموحدة */
    .section-header {
        margin-bottom: 24px;
    }

    .section-subtitle {
        display: block;
        /*font-size: 13px;*/
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: #64748b;
        margin-bottom: 6px;
    }

    .section-title {
        margin: 0;
        /* font-size: 30px;*/
        font-weight: 600;
        color: #000000;
        letter-spacing: -0.5px;
    }

    /* القسم الأول: من نحن */
    .about-section {
        /*  padding-bottom: 64px;
    border-bottom: 1px solid #e2e8f0;*/
    }

    .about-text {
        margin: 0;
        line-height: 1.75;
        max-width: 920px;
    }


    .desk1-read {
        background-color: #fff;
        border-color: #dbdbdb;
        border-width: 1px;
        color: #363636;
        cursor: pointer;
        justify-content: center;
        padding-bottom: calc(.375em - 1px);
        padding-left: .75em;
        padding-right: .75em;
        padding-top: calc(.375em - 1px);
        text-align: center;
        white-space: nowrap;
    }
    /* القسم الثاني: الخدمات */
    .services-section {
        margin-top: 100px;
        margin-bottom: 100px;
    }

    .feature-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 32px;
    }

    .feature-card {
        background-color: #ffffff;
        /* border: 1px solid #e2e8f0;*/
        border-radius: 10px;
        /*padding: 32px 28px;*/
        padding: 32px 20px;
        text-align: left;
        transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    }

        .feature-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
            border-color: #cbd5e1;
        }

    .icon-box {
        /*  width: 52px;
    height: 52px;
    background-color: #f1f5f9;*/
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        /*margin-bottom: 20px;*/
    }

        .icon-box svg {
            width: 43px;
            height: 43px;
        }

        .icon-box img {
            width: 36px;
            height: 36px;
            /*  filter: grayscale(100%) contrast(120%);*/
        }

    .feature-card h4 {
        margin: 0 0 10px 0;
        /* font-size: 19px;*/
        font-weight: 600;
        color: #000000;
    }

    .feature-card p {
        margin: 0;
        /*  font-size:16px;*/
        line-height: 1.65;
    }

    /* قسم الإدارة والمدير العام */
    .author-section {
        margin-top: 72px;
        background-color: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 48px 32px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-img {
        width: 84px;
        height: 84px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 16px;
        border: 3px solid #ffffff;
        /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);*/
    }

    .author-quote {
        margin: 0 0 20px 0;
        /* font-size: 19px;*/
        /*  font-style: italic;*/
        line-height: 1.65;
        color: #000;
        max-width: 720px;
    }

    .author-name {
        margin: 0 0 4px 0;
        /* font-size: 18px;*/
        font-weight: 700;
        color: #000000;
    }

    .author-role {
        margin: 0 0 28px 0;
        /* font-size: 14px;*/
        font-weight: 500;
        color: #64748b;
    }

    /* زر التواصل */
    .btn {
        display: inline-block;
        padding: 14px 36px;
        background-color: #0f172a;
        color: #ffffff;
        /*font-size: 16px;*/
        font-weight: 600;
        text-decoration: none;
        border-radius: 6px;
        transition: background-color 0.25s ease, transform 0.2s ease;
    }

        .btn:hover {
            background-color: #334155;
            transform: translateY(-1px);
        }

    /* التجاوب مع الجوال والتابلت */
    @media (max-width: 900px) {
        .feature-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .container {
            padding: 24px 16px 60px;
        }

        .hero-img {
            margin-bottom: 40px;
        }

        .section-title {
            /*font-size: 24px;*/
        }

        .about-text {
            /*   font-size: 16px;*/
        }

        .author-section {
            padding: 36px 20px;
            margin-top: 56px;
        }

        .author-quote {
            /* font-size: 17px;*/
        }
    }
}