/* ===================================================
   ROYA PLATFORM
   INTERNAL PAGES
=================================================== */

.page-hero {
    position: relative;
    padding: 90px 20px;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(
            circle at 50% 25%,
            rgba(255, 209, 102, 0.18),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            #0d1b3d 0%,
            #1e88e5 100%
        ) !important;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    margin-bottom: 16px;
    color: #ffffff !important;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 800;
}

.page-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 2;
}

.services-page-section {
    padding: 80px 0;
    background-color: #f7faff !important;
    background-image: none !important;
}

.services-page-section .custom-card {
    height: 100%;
}

.services-page-section .custom-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
}

.services-page-section .custom-card p {
    flex: 1;
}

.services-page-section .read-btn {
    margin-top: auto;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 65px 18px;
    }

    .services-page-section {
        padding: 58px 0;
    }
}
/* ===================================================
   CONTACT PAGE
=================================================== */

.contact-info-box,
.contact-form-box {
    height: 100%;
    padding: 36px 32px;

    background: #ffffff;

    border: 1px solid rgba(13, 43, 75, 0.08);
    border-radius: 22px;

    box-shadow:
        0 14px 35px rgba(13, 43, 75, 0.09);
}

.contact-info-box h2,
.contact-form-box h2 {
    margin-bottom: 0;

    color: #0D2B4B !important;

    font-size: 30px;
    font-weight: 800;
}

.contact-info-box .gold-line,
.contact-form-box .gold-line {
    margin: 14px 0 28px auto;
}

.info-item {
    margin-bottom: 22px;

    color: #334155;

    font-size: 17px;
    line-height: 1.9;
}

.info-item strong {
    color: #1E88E5;
    font-weight: 800;
}

.contact-info-box hr {
    margin: 28px 0;

    border-color: rgba(13, 43, 75, 0.10);
}


/* ===================================================
   CONTACT FORM
=================================================== */

.contact-form-box .form-label {
    color: #0D2B4B;

    font-weight: 700;
}

.contact-form-box .form-control {
    min-height: 50px;

    border: 1px solid #d8e1eb;
    border-radius: 10px;

    background: #ffffff;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-form-box textarea.form-control {
    min-height: 150px;
}

.contact-form-box .form-control:focus {
    border-color: #1E88E5;

    box-shadow:
        0 0 0 4px rgba(30, 136, 229, 0.10);
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 150px;
    min-height: 50px;

    padding: 10px 24px;

    border: 0;
    border-radius: 10px;

    background: #1E88E5;

    color: #ffffff;

    font-size: 17px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 10px 22px rgba(30, 136, 229, 0.20);

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.submit-btn:hover {
    background: #156FC0;

    transform: translateY(-2px);

    box-shadow:
        0 14px 28px rgba(30, 136, 229, 0.28);
}


/* ===================================================
   SOCIAL BUTTONS
=================================================== */

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 18px;
}

.social-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 9px 16px;

    border-radius: 9px;

    background: #0D2B4B;

    color: #ffffff !important;

    font-weight: 700;

    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.social-buttons a:hover {
    background: #1E88E5;

    transform: translateY(-2px);
}


/* ===================================================
   CONTACT MOBILE
=================================================== */

@media (max-width: 768px) {

    .contact-info-box,
    .contact-form-box {
        padding: 28px 20px;
    }

    .contact-info-box h2,
    .contact-form-box h2 {
        font-size: 26px;
    }

    .social-buttons {
        justify-content: center;
    }
}
/* ===================================================
   CONTACT COLORS FIX
=================================================== */

.contact-info-box h2,
.contact-form-box h2 {
    color: #0D2B4B !important;
}

.contact-info-box .info-item strong {
    color: #1E88E5 !important;
}

.contact-form-box .form-label {
    color: #0D2B4B !important;
}

.contact-form-box .submit-btn {
    background: #1E88E5 !important;
    color: #ffffff !important;
}

.contact-form-box .submit-btn:hover {
    background: #156FC0 !important;
}

.contact-info-box,
.contact-info-box p,
.contact-info-box .info-item {
    color: #334155 !important;
}
/* ===================================================
   CONTACT PAGE - FINAL COLOR FIX
=================================================== */

/* عناوين معلومات التواصل */
.contact-info-box .info-item strong {
    color: #1E88E5 !important;
}

/* عنوان تابعنا */
.contact-info-box h2.mt-4 {
    color: #1E88E5 !important;
}

/* عناوين حقول النموذج:
   الاسم - البريد - الموضوع - الرسالة
*/
.contact-form-box label,
.contact-form-box .form-label {
    color: #1E88E5 !important;
}

/* زر الإرسال */
.contact-form-box .submit-btn {
    background: #1E88E5 !important;
    color: #ffffff !important;
}

.contact-form-box .submit-btn:hover {
    background: #156FC0 !important;
}
/* توسيط عنوان من نحن داخل البطاقة */
.about-box h2 {
    text-align: center !important;
    color: #1E88E5 !important;
}

.about-box .gold-line {
    margin-left: auto !important;
    margin-right: auto !important;
}