/* ========================================== */
/* قسم العنوان الرئيسي */
/* ========================================== */

.main-heading-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #fff 100%);
    direction: rtl;
    position: relative;
    overflow: hidden;
}

.main-heading-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(180, 47, 76, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.main-heading-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(180, 47, 76, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.heading-wrapper {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.heading-badge {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, #b42f4c 0%, #8d2439 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(180, 47, 76, 0.3);
    animation: fadeInDown 0.6s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-heading {
    font-size: 48px;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0 0 25px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight-text {
    display: block;
    background: linear-gradient(135deg, #b42f4c 0%, #d64e5c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 5px;
}

.heading-underline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    animation: fadeIn 1s ease 0.4s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.heading-underline .line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #b42f4c 50%, transparent 100%);
    border-radius: 10px;
}

.heading-underline .dot {
    width: 12px;
    height: 12px;
    background: #b42f4c;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(180, 47, 76, 0.5);
}

.heading-description {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.6s backwards;
}

/* ========================================== */
/* الموبايل والآيباد */
/* ========================================== */

@media (max-width: 992px) {
    .main-heading-section {
        padding: 60px 0;
    }

    .main-heading {
        font-size: 36px;
    }

    .heading-description {
        font-size: 16px;
    }

    .heading-badge {
        font-size: 13px;
        padding: 8px 20px;
    }
}

@media (max-width: 768px) {
    .main-heading-section {
        padding: 50px 0;
    }

    .main-heading {
        font-size: 30px;
    }

    .heading-description {
        font-size: 15px;
        line-height: 1.6;
    }

    .heading-underline .line {
        width: 60px;
        height: 2px;
    }

    .heading-underline .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .main-heading-section {
        padding: 40px 0;
    }

    .heading-wrapper {
        padding: 0 15px;
    }

    .main-heading {
        font-size: 26px;
    }

    .heading-description {
        font-size: 14px;
    }

    .heading-badge {
        font-size: 12px;
        padding: 7px 18px;
    }

    .heading-underline .line {
        width: 50px;
    }
}
