    /* فونت عادی */
    @font-face {
        font-family: 'MyCustomFont1';
        src: url('fonts/Gotham/Gotham Regular.otf') format('opentype');
        font-weight: normal;
        font-style: normal;
    }

    /* فونت بولد */
    @font-face {
        font-family: 'MyCustomFont1';
        src: url('fonts/Gotham/Gotham Bold/Gotham Bold.otf') format('opentype');
        font-weight: bold;
        font-style: normal;
    }

    body {
        background-color: #f1f1f1;
        margin: 0;
        overflow-x: hidden; /* جلوگیری از اسکرول افقی */
    }

    /* center the whole section horizontally */
    .content-section {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 20px;
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
    }

    .content-text {
        flex: 1;
        font-size: 50px;
        line-height: 1.4;
        color: #EF7778;
        text-align: center;
        font-weight: bold;
        max-width: 50%; /* جلوگیری از بزرگ شدن بیش از حد در دسکتاپ */
    }

    .text-main {
        margin: 0;
    }

    .text-sub {
        margin-top: 30px;
        font-size: 30px;
        color: #777777;
        font-weight: normal;
    }

    .content-image {
        flex: 1;
        text-align: center;
        padding-right: 40px;
        max-width: 50%; /* جلوگیری از بزرگ شدن بیش از حد در دسکتاپ */
    }

    .content-image img {
        max-width: 100%;
        height: auto;
        border-radius: 6px;
    }

    /* MOBILE */
    @media (max-width: 640px) {
        .content-text ,  .content-image {
            max-width: 90%;
        }
        .text-main , .text-sub {
        font-family: 'MyCustomFont1';
        }
        .content-section {
            flex-direction: column;  /* نمایش عمودی */
            gap: 12px;
            max-width: 100%;
            padding: 0px;
        }

        /* ترتیب عکس اول، متن دوم */
        .content-image { order: 1; width: 80%; padding-right: 0; }
        .content-text  { order: 2; width: 80%; }

        /* تنظیم فونت کمی کوچکتر برای موبایل */
        .content-text { font-size: 28px; }
        .text-sub { font-size: 20px; margin-top: 20px; }
    }

    .gradient-box {
        width: 100%;
        max-width: 1600px;
        height: 170px;
        background: linear-gradient(90deg, #F09A9B, #EF5F61);
        margin: 20px auto 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10%; /* 10% از دو طرف فاصله → 4 آیتم مجموعاً 80% */
        box-sizing: border-box;
    }

    .gradient-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        color: #FFE4E5;
        font-size: 18px;
        font-weight: bold;
        position: relative; /* مهم برای ::after */
        padding: 0 10px;
    }

    .gradient-item:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 20%;       
        height: 60%;   
        width: 3px;    
        background-color: #F48FA6;
    }

    /* number و label */
    .gradient-item .number {
        font-family: 'MyCustomFont1';
        font-size: 60px;
        margin-bottom: 5px;
    }

    .gradient-item .label {
        font-family: 'MyCustomFont1';
        font-size: 30px;
    }

    /* MOBILE */
    @media (max-width: 640px) {
        .gradient-box {
            flex-direction: row;   /* ردیف افقی */
            flex-wrap: wrap;       /* اجازه می‌دهد المان‌ها به خط بعد بروند */
            padding: 0 5%;
            height: auto;
        }

        .gradient-item {
            flex: 0 0 50%;         /* هر المان 50% عرض */
            box-sizing: border-box;
            margin-bottom: 10px;
            padding: 10px 0;
        }

        /* حذف pseudo-element در موبایل */
        .gradient-item:not(:last-child)::after {
            display: none;
        }

        .gradient-item .number {
            font-size: 36px;
        }

        .gradient-item .label {
            font-size: 18px;
        }
    }

