:root {
    --hub-olive: #1e5a9e;
    --hub-olive-dark: #154a82;
}

.section-head h6 {
    color: var(--hub-olive) !important;
}

.pace .pace-progress {
    background: var(--hub-olive) !important;
}

.btn-main {
    border-color: var(--hub-olive) !important;
}

.btn-main:after {
    background: var(--hub-olive) !important;
}

.progress-wrap::after {
    color: var(--hub-olive) !important;
}

.progress-wrap svg.progress-circle path {
    stroke: var(--hub-olive) !important;
}

.author-info h5 {
    color: var(--hub-olive) !important;
}

.swiper-pagination-bullet-active {
    background: var(--hub-olive) !important;
}

.quote-block .content h6,
.quote-block .content h6 span {
    color: var(--hub-olive) !important;
}

.social-icons li a:hover,
.footer .footer_menu_list li a:hover {
    color: var(--hub-olive) !important;
}

.services-section .items {
    height: 340px;
    overflow: hidden;
    border-radius: 14px;
}

.services-section .items .item {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;
}

.services-section .items h5,
.services-section .items p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.services-section .items h5 {
    -webkit-line-clamp: 2;
}

.services-section .items p {
    -webkit-line-clamp: 3;
}

#contact .contact-details p {
    color: var(--hub-olive) !important;
    font-weight: 700;
}

#contact .contact-details > i {
    background: var(--hub-olive) !important;
    color: #fff !important;
}

[dir="rtl"] body {
    direction: rtl;
    text-align: right;
    font-family: "Cairo", "Tajawal", "Poppins", sans-serif;
}

.top-navbar .container-fluid {
    position: relative;
    align-items: center;
}

/* أزرار اللغة في منتصف الشريط دائماً — يمنع تداخل الشعار الواسع (EN) مع الأزرار دون تصغير الشعار */
.top-navbar .language-switch {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    margin: 0;
}

[dir="rtl"] .top-navbar .container-fluid {
    justify-content: space-between;
}

[dir="rtl"] .top-navbar .logo {
    width: auto;
    flex-shrink: 0;
}

[dir="rtl"] .top-navbar .menu-icon {
    margin: 0;
    display: flex;
    align-items: center;
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.language-switch .lang-btn {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: #fff;
    padding: 2px 8px;
    font-size: 12px;
    line-height: 1.4;
    cursor: pointer;
}

.language-switch .lang-btn.is-active {
    background: var(--hub-olive);
    border-color: var(--hub-olive);
    color: #fff;
}

[dir="rtl"] .top-navbar .menu-icon .text {
    padding-left: 0;
    padding-right: 15px;
}

[dir="rtl"] .top-navbar .menu-icon .text:after {
    content: "إغلاق";
    padding-left: 0;
    padding-right: 15px;
}

[dir="rtl"] .menu-wrapper {
    left: auto;
    right: -100%;
}

[dir="rtl"] .menu-wrapper .menu-links .main-menu > li span.nm {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .menu-wrapper .menu-links .main-menu > li .link i {
    margin-left: 0;
    margin-right: 5px;
}

[dir="rtl"] .slide-controls .swiper-pagination-fraction {
    right: auto;
    left: 50px;
}

[dir="rtl"] .contact-details {
    text-align: right;
}

[dir="rtl"] .contact-details i {
    float: right;
    margin-right: 0;
    margin-left: 15px;
}

[dir="rtl"] .contact-details ul.social-icons li {
    margin-right: 0 !important;
    margin-left: 8px;
}

[dir="rtl"] .author-info {
    text-align: left !important;
}

[dir="rtl"] .offset-lg-1 {
    margin-left: 0;
    margin-right: 8.333333%;
}

[dir="rtl"] .company .img {
    min-height: 430px;
    justify-content: flex-end;
}

[dir="rtl"] .company .img .imgone,
[dir="rtl"] .company .img .imgtwo {
    width: 55%;
}

[dir="rtl"] .company .img .imgone {
    right: auto;
    left: 0;
    bottom: -80px;
}

[dir="rtl"] .company .img .imgtwo {
    right: 0;
    left: auto;
    top: 0;
}

[dir="rtl"] .company .img .imgone img,
[dir="rtl"] .company .img .imgtwo img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

[dir="rtl"] .btn-main span,
[dir="rtl"] .btn-lit span {
    letter-spacing: 0;
}

.quote-block {
    background: url("../img/hub/CTA-SECTION.jpg") center center fixed;
    background-size: cover;
}

[dir="rtl"] .hub-brand {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

[dir="rtl"] .hub-brand .hub-logo-ar,
[dir="rtl"] .hub-brand-footer .hub-logo-ar-footer,
[dir="ltr"] .hub-brand .hub-logo-en,
[dir="ltr"] .hub-brand-footer .hub-logo-en-footer {
    display: inline-block;
}

.hub-brand .hub-logo-ar,
.hub-brand .hub-logo-en,
.hub-brand-footer .hub-logo-ar-footer,
.hub-brand-footer .hub-logo-en-footer {
    display: none;
    height: 140px;
    width: auto;
    object-fit: contain;
    filter: none;
}

.hub-brand-footer .hub-logo-ar-footer,
.hub-brand-footer .hub-logo-en-footer {
    height: 88px;
    filter: none;
}

[dir="rtl"] .hub-brand .hub-brand-text,
[dir="rtl"] .hub-brand-footer .hub-brand-text {
    display: none;
}

[dir="ltr"] .hub-brand .hub-brand-text,
[dir="ltr"] .hub-brand-footer .hub-brand-text {
    display: none;
}

[dir="rtl"] .hub-brand:hover {
    color: #fff;
}

.hub-accent {
    color: var(--hub-olive);
    font-weight: 800;
}

.hub-main {
    color: #fff;
    font-weight: 700;
}

[dir="rtl"] .hub-brand-footer {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* فوتر داكن: خلفية أدكن من شريط الحقوق + تكسچر أبيض هادئ + شعار أبيض + نصوص فاتحة */
.footer,
footer.footer,
.footer.theme-bg,
footer.footer.theme-bg {
    background-color: #0c1e3a !important;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 45%) !important;
    background-size: 22px 22px, auto !important;
    background-position: 0 0, center top !important;
    background-repeat: repeat, no-repeat !important;
    box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.18);
    position: relative;
}

.footer-top {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.footer .ftr-about {
    color: rgba(255, 255, 255, 0.72);
}

.footer .footer_menu_list li a {
    color: rgba(255, 255, 255, 0.78) !important;
}

.footer .copyrights p {
    color: #fff !important;
}

.footer .hub-brand-footer {
    color: #fff;
}

.footer .hub-main {
    color: #fff !important;
}

.footer .hub-accent {
    color: #fff !important;
}

.footer .hub-brand-footer .hub-logo-ar-footer,
.footer .hub-brand-footer .hub-logo-en-footer {
    filter: brightness(0) invert(1);
}

html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
    font-family: "Poppins", "Roboto", sans-serif;
}

/* شريط علوي متجاوب: عمود للشعار + عمود ضيق للغة + عمود للقائمة — يمنع تداخل الشعار مع AR/EN */
@media (max-width: 991px) {
    .top-navbar .container-fluid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        gap: 6px 10px;
        position: relative;
    }

    .top-navbar .language-switch {
        position: static;
        left: auto;
        transform: none;
        z-index: 2;
        margin: 0;
        justify-self: center;
        flex-shrink: 0;
    }

    .top-navbar .logo {
        margin: 0 !important;
        justify-self: start;
        width: auto !important;
        max-width: 100%;
        min-width: 0;
    }

    .top-navbar .menu-icon {
        justify-self: end;
        margin: 0 !important;
    }

    .top-navbar .hub-brand {
        display: inline-flex;
        align-items: center;
        max-width: 100%;
    }

    .top-navbar .hub-brand .hub-logo-ar,
    .top-navbar .hub-brand .hub-logo-en {
        max-width: 100%;
        height: auto;
        max-height: 48px;
        width: auto;
        object-fit: contain;
    }

    .top-navbar.nav-scroll .hub-brand .hub-logo-ar,
    .top-navbar.nav-scroll .hub-brand .hub-logo-en {
        height: auto;
        max-height: 48px;
    }

    /* تأكيد إضافي للموبايل/التابلت: ناف بيضاء بعد السكرول + فوتر أبيض */
    #nav-bar.top-navbar.nav-scroll,
    .top-navbar.nav-scroll {
        background: #fff !important;
        background-color: #fff !important;
    }

    .footer,
    footer.footer.theme-bg {
        background-color: #0c1e3a !important;
    }
}

@media (max-width: 767px) {
    .hub-brand .hub-logo-ar {
        height: 52px;
    }

    .hub-brand .hub-logo-en {
        height: 52px;
    }

    .hub-brand-footer .hub-logo-ar-footer {
        height: 110px !important;
    }

    .hub-brand-footer .hub-logo-en-footer {
        height: 110px !important;
    }

    .services-section .items {
        height: 280px;
    }

    [dir="rtl"] .company .img {
        min-height: 360px;
    }

    [dir="rtl"] .company .img .imgone,
    [dir="rtl"] .company .img .imgtwo {
        width: 68%;
    }

    [dir="rtl"] .company .img .imgone img,
    [dir="rtl"] .company .img .imgtwo img {
        height: 220px;
    }

    .hub-brand-text {
        font-size: 20px; /* جرّب 18 - 28 حسب ما يناسبك */
        font-weight: 600;
    }
}

/*
 * شريط التنقل بعد التمرير: يضيف main.js الصنف nav-scroll عند scrollTop > 50.
 * الخلفية البيضاء هنا بـ !important لتغلب على أي كاش قديم أو ستايلات الجوال (Safari/iOS).
 */
#nav-bar.top-navbar.nav-scroll,
.top-navbar.nav-scroll {
    background: #fff !important;
    background-color: #fff !important;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.07);
    color: #1a1a1a;
    padding-top: 12px;
    padding-bottom: 12px;
}

#nav-bar.top-navbar.nav-scroll .menu-icon .icon i,
.top-navbar.nav-scroll .menu-icon .icon i {
    background: #1a1a1a !important;
}

.top-navbar.nav-scroll .hub-brand .hub-logo-ar,
.top-navbar.nav-scroll .hub-brand .hub-logo-en {
    height: 72px;
    width: auto;
    max-width: min(200px, 40vw);
    object-fit: contain;
    filter: none;
}

/* قبل التمرير: الشعار أبيض ليظهر فوق الـ Hero الداكن */
.top-navbar:not(.nav-scroll) .hub-brand .hub-logo-ar,
.top-navbar:not(.nav-scroll) .hub-brand .hub-logo-en {
    filter: brightness(0) invert(1);
}

.top-navbar.nav-scroll .menu-icon .text {
    font-size: 12px;
    color: #1a1a1a;
}

.top-navbar.nav-scroll .menu-icon .text:after {
    color: #1a1a1a;
}

.top-navbar.nav-scroll .language-switch .lang-btn {
    border-color: rgba(0, 0, 0, 0.22);
    color: #333;
    background: transparent;
}

.top-navbar.nav-scroll .language-switch .lang-btn.is-active {
    background: var(--hub-olive);
    border-color: var(--hub-olive);
    color: #fff;
}

.top-navbar.nav-scroll .hub-brand-text,
.top-navbar.nav-scroll .hub-brand-text .hub-main {
    color: #1a1a1a !important;
    text-shadow: none !important;
}

.top-navbar.nav-scroll .hub-brand-text .hub-accent {
    color: var(--hub-olive) !important;
    text-shadow: none !important;
}

[dir="rtl"] .top-navbar.nav-scroll .hub-brand {
    color: #1a1a1a;
}

@media (max-width: 767px) {
    .top-navbar.nav-scroll {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .top-navbar.nav-scroll .hub-brand .hub-logo-ar,
    .top-navbar.nav-scroll .hub-brand .hub-logo-en {
        height: 48px;
        max-width: min(160px, 45vw);
    }
}

/* تقصير الـ Hero ليكون أقل طولاً + ضبط مكان بدء المحتوى */
.slider .parallax-slider .swiper-slide {
    min-height: 85vh !important;
}

.main-content {
    margin-top: 85vh !important;
}

@media (max-width: 767px) {
    .slider .parallax-slider .swiper-slide {
        min-height: 80vh !important;
    }

    .main-content {
        margin-top: 80vh !important;
    }
}

/* سهم "اكتشف المزيد" أسفل الـ Hero */
.hero-scroll-down {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    opacity: 0.95;
    transition: opacity .25s ease, transform .25s ease;
}

.hero-scroll-down:hover {
    color: #fff;
    opacity: 1;
}

.hero-scroll-down-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.hero-scroll-down-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    animation: heroScrollBounce 1.9s ease-in-out infinite;
    transition: background .25s ease, border-color .25s ease;
}

.hero-scroll-down:hover .hero-scroll-down-icon {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.9);
    animation-play-state: paused;
}

@keyframes heroScrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

@media (max-width: 767px) {
    .hero-scroll-down {
        bottom: 20px;
        gap: 8px;
    }

    .hero-scroll-down-label {
        font-size: 10px;
        letter-spacing: 2.5px;
    }

    .hero-scroll-down-icon {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }
}

/* New Gate — hero dual CTAs (title only, no lead paragraph) */
.slider .parallax-slider .caption .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 36px;
    margin-top: 26px;
}

.slider .parallax-slider .caption .hero-actions .dis {
    margin-top: 0;
}

[dir="rtl"] .slider .parallax-slider .caption .hero-actions .dis {
    padding-left: 0;
    padding-right: 80px;
}

[dir="rtl"] .slider .parallax-slider .caption .hero-actions .dis:after {
    left: auto;
    right: 0;
}

/* Our Clients — heading + infinite horizontal logo marquee (flat row, no capsules) */
.client-logos-slider {
    background: linear-gradient(180deg, #fbfcfe 0%, #eef2f7 100%);
    padding-top: 4.5rem;
    padding-bottom: 4rem;
}

.client-logos-slider .client-section-head {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

.client-logos-slider .client-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hub-olive);
}

.client-logos-slider .client-kicker-line {
    flex: 0 0 40px;
    height: 1px;
    background: currentColor;
    opacity: 0.35;
}

.client-logos-slider .client-section-title {
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    font-weight: 800;
    line-height: 1.25;
    color: #0c1e3a;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
}

.client-logos-slider .client-section-lead {
    font-size: 1rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 0;
    max-width: 34em;
    margin-left: auto;
    margin-right: auto;
}

.client-marquee-outer {
    padding-left: 0;
    padding-right: 0;
}

.client-logo-marquee-viewport {
    overflow: hidden;
    background: #fff;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 40px -28px rgba(15, 23, 42, 0.12);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.client-logo-marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: clientLogoMarquee 18s linear infinite;
    will-change: transform;
}

[dir="rtl"] .client-logo-marquee-track {
    animation-direction: reverse;
}

.client-logo-marquee-viewport:hover .client-logo-marquee-track {
    animation-play-state: paused;
}

@keyframes clientLogoMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-logo-marquee-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
}

.client-marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 1.75rem clamp(2.5rem, 5vw, 4rem);
    text-decoration: none;
    opacity: 1;
    transition: transform 0.25s ease;
}

.client-marquee-item:hover {
    transform: scale(1.04);
}

.client-marquee-img {
    display: block;
    width: auto;
    max-width: min(340px, 42vw);
    max-height: 120px;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

@media (max-width: 767px) {
    .client-logos-slider {
        padding-top: 3.25rem;
        padding-bottom: 3rem;
    }

    .client-marquee-item {
        padding: 1.4rem 2rem;
    }

    .client-marquee-img {
        max-height: 90px;
        max-width: min(260px, 50vw);
    }

    .client-logo-marquee-track {
        animation-duration: 14s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .client-logo-marquee-track {
        animation: none;
    }

    .client-logo-marquee-viewport {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        mask-image: none;
        -webkit-mask-image: none;
    }
}

/* === قسم العملاء: شبكة كروت أنيقة (بديل عن الـ marquee) === */

.client-grid-section {
    padding-top: 72px;
    padding-bottom: 72px;
}

.client-grid-section .client-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.client-grid-section .client-section-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--hub-olive) !important;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.client-grid-section .client-section-title {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    line-height: 1.4;
    color: #0c1e3a;
    margin: 0 0 14px;
    letter-spacing: 0;
}

.client-grid-section .client-section-lead {
    font-size: 15.5px;
    line-height: 1.75;
    color: #555;
    margin: 0 auto;
    max-width: 540px;
}

/* صف الكروت */
.client-grid-row {
    margin-top: 0;
}

.client-grid-row > [class*="col-"] {
    margin-bottom: 28px;
    display: flex;
}

/* الكرت */
.client-card {
    background: #fff;
    border: 1px solid rgba(15, 30, 58, 0.07);
    border-radius: 14px;
    padding: 32px 26px 24px;
    text-align: center;
    transition: box-shadow .35s ease, transform .35s ease, border-color .35s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* خطّ زخرفي علوي رفيع يظهر عند الـ hover */
.client-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 64px;
    height: 3px;
    background: var(--hub-olive);
    border-radius: 0 0 3px 3px;
    transition: transform .35s ease;
    transform-origin: center;
}

.client-card:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.client-card:hover {
    border-color: rgba(30, 90, 158, 0.2);
    box-shadow: 0 28px 60px -36px rgba(15, 30, 58, 0.28);
    transform: translateY(-5px);
}

/* حاوية الشعار */
.client-card-logo-wrap {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(15, 30, 58, 0.06);
    width: 100%;
}

.client-card-logo {
    max-width: 78%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: none;
    transition: transform .35s ease;
    image-rendering: -webkit-optimize-contrast;
}

.client-card:hover .client-card-logo {
    transform: scale(1.04);
}

/* اسم المؤسسة */
.client-card-name {
    font-size: 15.5px;
    font-weight: 600;
    color: #0c1e3a;
    margin: 0;
    line-height: 1.55;
    letter-spacing: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
    .client-grid-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }
}

@media (max-width: 767px) {
    .client-grid-section {
        padding-top: 48px;
        padding-bottom: 40px;
    }

    .client-grid-section .client-section-head {
        margin-bottom: 32px;
    }

    .client-grid-row > [class*="col-"] {
        margin-bottom: 18px;
    }

    .client-card {
        padding: 24px 20px 20px;
    }

    .client-card-logo-wrap {
        height: 110px;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    .client-card-logo {
        max-height: 92px;
    }

    .client-card-name {
        font-size: 14.5px;
    }
}

/* === قسم "عن الشركة": تنسيق مؤسسي مصقول === */

/* تكسچر مشبك أنيق على خلفية القسم */
.company {
    position: relative;
    background-color: #fff;
    overflow: hidden;
}

.company:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 30, 58, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 30, 58, 0.05) 1px, transparent 1px);
    background-size: 38px 38px;
    background-position: 0 0;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: radial-gradient(ellipse 92% 82% at 50% 45%, #000 30%, transparent 88%);
    mask-image: radial-gradient(ellipse 92% 82% at 50% 45%, #000 30%, transparent 88%);
    opacity: 0.9;
}

.company:after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(30, 90, 158, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 90, 158, 0.07) 1px, transparent 1px);
    background-size: 190px 190px;
    background-position: 0 0;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 80%);
    opacity: 0.7;
}

.company > .container {
    position: relative;
    z-index: 1;
}

/* عنوان القسم بنمط مطابق لباقي الأقسام */
.company .section-head {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(15, 30, 58, 0.08);
}

[dir="rtl"] .company .section-head {
    text-align: right;
}

[dir="ltr"] .company .section-head {
    text-align: left;
}

.company .section-head h6 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--hub-olive) !important;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.company .section-head h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.4;
    color: #0c1e3a;
    margin: 0;
    letter-spacing: 0;
}

/* عنوان SEO (H1) — مميّز كعنوان فرعي قوي */
.company .seo-title {
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    font-weight: 700;
    line-height: 1.55;
    color: #0c1e3a;
    margin: 22px 0 16px;
    letter-spacing: 0;
}

/* فقرات المحتوى — قراءة مريحة */
.company .content p {
    font-size: 15px;
    line-height: 1.85;
    color: #555;
    margin-bottom: 12px;
}

/* عنوان "الخدمات الأساسية" بشريط زخرفي */
.company .about-core-title {
    margin-top: 28px;
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--hub-olive);
    position: relative;
    padding-bottom: 12px;
}

.company .about-core-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--hub-olive);
    opacity: 0.45;
}

[dir="rtl"] .company .about-core-title:after {
    right: 0;
    left: auto;
}

[dir="ltr"] .company .about-core-title:after {
    left: 0;
    right: auto;
}

/* عناصر القائمة — دائرة فاتحة بعلامة ✓ بلون الهوية */
.company .content ul {
    margin: 0;
    padding: 0;
}

.company .content ul li,
[dir="rtl"] .company .content ul li,
[dir="ltr"] .company .content ul li {
    margin-top: 12px;
    position: relative;
    font-size: 14.5px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.65;
}

[dir="rtl"] .company .content ul li {
    padding-right: 36px;
    padding-left: 0;
}

[dir="ltr"] .company .content ul li {
    padding-left: 36px;
    padding-right: 0;
}

.company .content ul li:after,
[dir="rtl"] .company .content ul li:after,
[dir="ltr"] .company .content ul li:after {
    content: "✓";
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: rgba(30, 90, 158, 0.1);
    color: var(--hub-olive);
    border: none;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    top: 2px;
    position: absolute;
    transition: background .2s ease, transform .2s ease;
}

[dir="rtl"] .company .content ul li:after {
    right: 0;
    left: auto;
}

[dir="ltr"] .company .content ul li:after {
    left: 0;
    right: auto;
}

.company .content ul li:hover:after {
    background: var(--hub-olive);
    color: #fff;
    transform: scale(1.08);
}

/* الفقرة الختامية — كتلة callout أنيقة بحاشية ملوّنة */
.company .about-closing {
    margin-top: 26px !important;
    padding: 16px 18px;
    background: rgba(30, 90, 158, 0.045);
    border-radius: 8px;
    font-size: 14.5px;
    color: #2c3e5a !important;
    line-height: 1.8 !important;
    font-style: normal;
    position: relative;
}

[dir="rtl"] .company .about-closing {
    border-right: 3px solid var(--hub-olive);
    padding-right: 18px;
}

[dir="ltr"] .company .about-closing {
    border-left: 3px solid var(--hub-olive);
    padding-left: 18px;
}

/* الصور — حدود بيضاء + ظل أنعم + شكل خلفي زخرفي */
[dir="rtl"] .company .img .imgone,
[dir="rtl"] .company .img .imgtwo,
[dir="ltr"] .company .img .imgone,
[dir="ltr"] .company .img .imgtwo {
    border: 6px solid #fff;
    border-radius: 12px;
    box-shadow: 0 22px 50px -28px rgba(15, 30, 58, 0.22);
    overflow: hidden;
}

/* شكل زخرفي خلفي بلون الهوية */
.company .img:before {
    content: "";
    position: absolute;
    width: 60%;
    height: 60%;
    background: linear-gradient(135deg, rgba(30, 90, 158, 0.08), rgba(30, 90, 158, 0));
    border-radius: 16px;
    z-index: 0;
}

[dir="rtl"] .company .img:before {
    top: 8%;
    left: 15%;
}

[dir="ltr"] .company .img:before {
    top: 8%;
    right: 15%;
}

@media (max-width: 767px) {
    .company .seo-title {
        margin-top: 18px;
    }

    .company .about-core-title {
        margin-top: 22px;
    }

    .company .about-closing {
        padding: 14px 16px;
        font-size: 14px;
    }

    .company .img:before {
        display: none;
    }
}

.testimonials .testimonial-slide .author-info h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0;
}

/* === تحسين قسم آراء العملاء === */

/* عنوان القسم مثل قسم التواصل (مؤسسي مبسّط) */
.testimonials .section-head {
    margin-bottom: 36px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(15, 30, 58, 0.08);
    max-width: none;
}

[dir="rtl"] .testimonials .section-head {
    text-align: right;
}

[dir="ltr"] .testimonials .section-head {
    text-align: left;
}

.testimonials .section-head h6 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--hub-olive);
    margin: 0 0 10px;
    text-transform: uppercase;
}

.testimonials .section-head h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.4;
    color: #0c1e3a;
    margin: 0;
    letter-spacing: 0;
}

/* بطاقات الشهادات: من خلفيات داكنة → كروت بيضاء أنيقة */
.testimonials .swiper-container .swiper-slide,
.testimonials .swiper-container .swiper-slide.testimonial-slide {
    background: #fff !important;
    background-image: none !important;
    background-color: #fff !important;
    color: #1a1a1a !important;
    border: 1px solid rgba(15, 30, 58, 0.08);
    border-radius: 14px;
    padding: 48px 40px 30px !important;
    box-shadow: 0 16px 40px -28px rgba(15, 30, 58, 0.18);
    position: relative;
    overflow: hidden;
}

/* أيقونة الاقتباس: من أبيض ضخم في الزاوية إلى لون الهوية ناعم */
.testimonials .swiper-container .swiper-slide::after,
.testimonials .swiper-container .swiper-slide.testimonial-slide::after {
    content: "❝";
    font-family: serif;
    position: absolute;
    top: 20px;
    font-size: 64px;
    line-height: 1;
    color: var(--hub-olive);
    opacity: 0.14;
    z-index: 1;
}

[dir="rtl"] .testimonials .swiper-container .swiper-slide::after,
[dir="rtl"] .testimonials .swiper-container .swiper-slide.testimonial-slide::after {
    right: 28px;
    left: auto;
    transform: scaleX(-1);
}

[dir="ltr"] .testimonials .swiper-container .swiper-slide::after,
[dir="ltr"] .testimonials .swiper-container .swiper-slide.testimonial-slide::after {
    left: 28px;
    right: auto;
}

/* نصّ الاقتباس: داكن واضح بحجم مريح */
.testimonials .swiper-container p {
    color: #1a1a1a !important;
    font-size: 16px;
    line-height: 1.9;
    font-weight: 400;
    position: relative;
    z-index: 2;
    margin: 0 0 4px;
}

[dir="rtl"] .testimonials .swiper-container p {
    text-align: right;
}

[dir="ltr"] .testimonials .swiper-container p {
    text-align: left;
}

/* بيانات صاحب الرأي: فاصل علوي + خط بلون الهوية */
.testimonials .swiper-container .author-info {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 30, 58, 0.08);
    position: relative;
    z-index: 2;
}

[dir="rtl"] .testimonials .swiper-container .author-info,
[dir="rtl"] .testimonials .testimonial-slide .author-info {
    text-align: right !important;
}

[dir="ltr"] .testimonials .swiper-container .author-info,
[dir="ltr"] .testimonials .testimonial-slide .author-info {
    text-align: left !important;
}

.testimonials .swiper-container .author-info h5 {
    color: var(--hub-olive) !important;
    font-size: 14.5px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0;
}

/* نقاط swiper-pagination بلون الهوية */
.testimonials .swiper-pagination {
    margin-top: 26px !important;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
    background: rgba(15, 30, 58, 0.22);
    opacity: 1;
    width: 8px;
    height: 8px;
    margin: 0 5px;
    transition: background .25s ease, width .25s ease;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
    background: var(--hub-olive) !important;
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 767px) {
    .testimonials .swiper-container .swiper-slide,
    .testimonials .swiper-container .swiper-slide.testimonial-slide {
        padding: 36px 24px 22px !important;
        border-radius: 12px;
    }

    .testimonials .swiper-container .swiper-slide::after,
    .testimonials .swiper-container .swiper-slide.testimonial-slide::after {
        font-size: 48px;
        top: 14px;
    }

    [dir="rtl"] .testimonials .swiper-container .swiper-slide::after,
    [dir="rtl"] .testimonials .swiper-container .swiper-slide.testimonial-slide::after {
        right: 18px;
    }

    [dir="ltr"] .testimonials .swiper-container .swiper-slide::after,
    [dir="ltr"] .testimonials .swiper-container .swiper-slide.testimonial-slide::after {
        left: 18px;
    }

    .testimonials .swiper-container p {
        font-size: 15px;
        line-height: 1.85;
    }
}

.quote-block .cta-actions {
    width: 100%;
    max-width: 320px;
}

.quote-block .cta-actions .btn-main {
    width: 100%;
    text-align: center;
}

/* — CTA Split: نصفان متباينان بوضوح — */
.quote-block.quote-block-split {
    background: none !important;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
}

.quote-block-split .quote-block-inner {
    padding: 80px clamp(24px, 6vw, 80px);
    min-height: 360px;
    display: flex;
    align-items: center;
    height: 100%;
}

/* الجانب النصّي: صورة + overlay داكن */
.quote-block-split .quote-block-text-side {
    background-image: linear-gradient(135deg, rgba(12, 30, 58, 0.92) 0%, rgba(30, 90, 158, 0.85) 100%), url('../img/hub/CTA-SECTION.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: #fff;
    position: relative;
}

.quote-block-split .quote-block-text-side .content h6 {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.quote-block-split .quote-block-text-side .content h6 span {
    color: inherit !important;
}

.quote-block-split .quote-block-text-side .content h2 {
    color: #fff;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.5;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0;
    max-width: 640px;
}

[dir="rtl"] .quote-block-split .quote-block-text-side .content {
    text-align: right;
}

[dir="ltr"] .quote-block-split .quote-block-text-side .content {
    text-align: left;
}

/* الجانب الفعّال: لون الهوية الصلب */
.quote-block-split .quote-block-action-side {
    background: var(--hub-olive);
    color: #fff;
    position: relative;
}

.quote-block-split .quote-block-action-side .quote-block-inner {
    justify-content: center;
}

.quote-block-split .quote-block-action-side .cta-actions {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

/* أزرار بيضاء واضحة على خلفية الهوية */
.quote-block-split .quote-block-action-side .btn-main {
    background: #fff !important;
    border-color: #fff !important;
    color: var(--hub-olive) !important;
    width: 100%;
}

.quote-block-split .quote-block-action-side .btn-main span {
    color: var(--hub-olive) !important;
}

.quote-block-split .quote-block-action-side .btn-main:after {
    background: rgba(255, 255, 255, 0.15) !important;
}

.quote-block-split .quote-block-action-side .btn-main:hover,
.quote-block-split .quote-block-action-side .btn-main:hover span {
    color: #fff !important;
}

.quote-block-split .quote-block-action-side .btn-main.btn-lit {
    background: transparent !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
}

.quote-block-split .quote-block-action-side .btn-main.btn-lit span {
    color: #fff !important;
}

.quote-block-split .quote-block-action-side .btn-main.btn-lit:hover {
    background: #fff !important;
    border-color: #fff !important;
}

.quote-block-split .quote-block-action-side .btn-main.btn-lit:hover span {
    color: var(--hub-olive) !important;
}

/* تجاوب: على الجوال يتكدّسان رأسياً مع الحفاظ على التباين */
@media (max-width: 767px) {
    .quote-block-split .quote-block-inner {
        padding: 50px 24px;
        min-height: auto;
    }

    .quote-block-split .quote-block-text-side .content h2 {
        font-size: 1.35rem;
        line-height: 1.55;
    }

    .quote-block-split .quote-block-action-side .cta-actions {
        max-width: 100%;
    }
}

/* ===========================================================
   تحسينات نهائية: تنظيم/مساحات/ألوان
   تقليل المساحات الزائدة، ومحاذاة العناصر، وإصلاح الحقول الشفافة
   =========================================================== */

/* — مسافات الأقسام: من 80px إلى 64px (مع تخفيف للجوال) — */
.section {
    padding: 64px 0;
}

.quote-block.section {
    padding: 70px 0;
}

.section-head {
    margin-bottom: 28px;
}

@media (max-width: 767px) {
    .section {
        padding: 48px 0;
    }
    .quote-block.section {
        padding: 56px 0;
    }
}

/* — قسم "عن الشركة": نقاط القائمة في اتجاه RTL + تحجيم الصور — */
[dir="rtl"] .company .content ul li {
    padding-left: 0;
    padding-right: 22px;
    margin-top: 14px;
}

[dir="rtl"] .company .content ul li:after {
    left: auto;
    right: 0;
    top: 7px;
}

.company .content p,
.company .content .seo-title {
    margin-bottom: 12px;
}

.company .content ul {
    margin-bottom: 0;
}

[dir="rtl"] .company .img {
    min-height: 380px;
}

[dir="rtl"] .company .img .imgone {
    bottom: -40px;
    margin-bottom: 40px;
}

@media (max-width: 767px) {
    [dir="rtl"] .company .img {
        min-height: 320px;
        margin-top: 24px;
    }

    [dir="rtl"] .company .img .imgone {
        bottom: -20px;
        margin-bottom: 20px;
    }
}

/* — السلايدر الرئيسي: تباعد حروف عربية + لون رابط العنوان — */
[dir="rtl"] .slider .parallax-slider .caption h2 {
    letter-spacing: 0;
    line-height: 1.3;
}

[dir="rtl"] .slider .parallax-slider .caption h2 a,
[dir="rtl"] .slider .parallax-slider .caption h2 a:hover {
    color: #fff;
}

/* خط الزخرفة بجوار أزرار "dis" يصبح أوضح على الخلفية الداكنة */
.slider .parallax-slider .caption .dis:after {
    background: #ffffff;
    opacity: 0.9;
}

/* — قسم الخدمات: عنوان مؤسسي + كروت داكنة مصقولة — */

/* عنوان القسم بنمط مؤسسي (مطابق لقسم التواصل والشهادات) */
.services-section .section-head {
    margin-bottom: 36px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(15, 30, 58, 0.08);
}

[dir="rtl"] .services-section .section-head {
    text-align: right;
}

[dir="ltr"] .services-section .section-head {
    text-align: left;
}

.services-section .section-head h6 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--hub-olive);
    margin: 0 0 10px;
    text-transform: uppercase;
}

.services-section .section-head h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.4;
    color: #0c1e3a;
    margin: 0;
    letter-spacing: 0;
}

/* فقرة المقدّمة تحت العنوان */
.services-section > .container > .row > .col-md-12 > p {
    color: #555;
    font-size: 15.5px;
    line-height: 1.8;
    margin-bottom: 26px !important;
    max-width: 760px;
}

[dir="rtl"] .services-section > .container > .row > .col-md-12 > p {
    text-align: right;
}

[dir="ltr"] .services-section > .container > .row > .col-md-12 > p {
    text-align: left;
}

/* الكرت: ارتفاع وحشو + ظل ناعم */
.services-section .items {
    height: 340px;
    padding: 30px 28px;
    border-radius: 14px;
    box-shadow: 0 10px 30px -20px rgba(15, 30, 58, 0.18);
    transition: box-shadow .35s ease, transform .35s ease;
}

.services-section .items .item {
    gap: 10px;
    align-items: flex-start;
}

[dir="rtl"] .services-section .items .item {
    text-align: right;
}

[dir="ltr"] .services-section .items .item {
    text-align: left;
}

/* تدرّج بديل عن الـ overlay الأسود الصلب */
.services-section .steps-hover-thumb {
    border-radius: 14px;
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
}

.services-section .steps-hover-thumb::before {
    background: linear-gradient(180deg, rgba(12, 30, 58, 0.25) 0%, rgba(12, 30, 58, 0.92) 78%) !important;
    transition: background .4s ease !important;
}

/* hover: تكبير الصورة + إضافة لمسة لون الهوية + رفع الكرت */
.services-section .box-hover:hover .steps-hover-thumb {
    transform: scale(1.06);
}

.services-section .box-hover:hover .steps-hover-thumb::before {
    background: linear-gradient(180deg, rgba(30, 90, 158, 0.45) 0%, rgba(12, 30, 58, 0.92) 80%) !important;
}

.services-section .box-hover:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 30px 60px -30px rgba(15, 30, 58, 0.4) !important;
}

/* أيقونة: glass-morphism + تنقلب لـ لون الهوية عند hover */
.services-section .items .icon {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    color: #fff;
    font-size: 22px;
    margin-bottom: 6px;
    transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

.services-section .box-hover:hover .items .icon {
    background: var(--hub-olive);
    border-color: var(--hub-olive);
    transform: scale(1.05);
}

/* العنوان + الوصف */
.services-section .items h5 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0;
    color: #fff !important;
}

.services-section .items p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88) !important;
}

@media (max-width: 767px) {
    .services-section .items {
        height: 300px;
        padding: 24px 22px;
    }

    .services-section .items .icon {
        width: 48px;
        height: 48px;
        font-size: 19px;
    }

    .services-section .items h5 {
        font-size: 18px;
    }
}

/* — قسم آراء العملاء: مطابقة الـ RTL للأيقونة والمحاذاة — */
[dir="rtl"] .testimonials .swiper-container .swiper-slide {
    padding-left: 30px !important;
    padding-right: 100px !important;
}

[dir="rtl"] .testimonials .swiper-container .swiper-slide::after {
    left: auto;
    right: 30px;
}

[dir="rtl"] .author-info {
    text-align: right !important;
}

.testimonials .swiper-container p {
    color: #ececec;
}

@media (max-width: 767px) {
    [dir="rtl"] .testimonials .swiper-container .swiper-slide {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* — كتلة الـ CTA: تحسين سطر العنوان — */
.quote-block .content h2 {
    font-size: 26px;
    line-height: 1.5;
}

/* — نموذج التواصل: حقول واضحة، وإلغاء التلوين الأحمر من has-error — */
.contact-area .form .form-group.has-error,
.contact-area .form .form-group.has-danger {
    color: inherit;
}

.contact-area .form .form-group.has-error input,
.contact-area .form .form-group.has-danger input,
.contact-area .form .form-group.has-error textarea,
.contact-area .form .form-group.has-danger textarea {
    border-color: #c8ccd2;
    color: #1a1a1a;
}

.contact-area .form input,
.contact-area .form textarea {
    color: #1a1a1a;
    border-bottom: 2px solid #c8ccd2;
    background: transparent;
    padding: 10px 5px;
    transition: border-color .2s ease;
}

.contact-area .form input:focus,
.contact-area .form textarea:focus {
    border-bottom-color: var(--hub-olive);
}

.contact-area .form input::placeholder,
.contact-area .form textarea::placeholder {
    color: #8a8f99;
    opacity: 1;
}

[dir="rtl"] .contact-area .form input,
[dir="rtl"] .contact-area .form textarea {
    text-align: right;
    padding-right: 5px;
    padding-left: 20px;
}

.contact-area .form .form-group {
    margin-bottom: 22px;
}

/* — عنوان قسم التواصل: تصميم احترافي مؤسسي مبسّط — */
.contact-area .section-head {
    max-width: none;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(15, 30, 58, 0.08);
}

[dir="rtl"] .contact-area .section-head {
    text-align: right;
}

[dir="ltr"] .contact-area .section-head {
    text-align: left;
}

.contact-area .section-head h6 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--hub-olive);
    margin: 0 0 10px;
    text-transform: uppercase;
}

.contact-area .section-head h6:before,
.contact-area .section-head h6:after {
    content: none;
}

.contact-area .section-head h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.4;
    color: #0c1e3a;
    margin: 0;
    letter-spacing: 0;
}

.contact-area .section-head h3 .hub-accent {
    color: var(--hub-olive);
    font-weight: 700;
    padding: 0;
    background: none;
}

.contact-area .section-head h3 .hub-accent:after {
    content: none;
}

.contact-area .section-head:after {
    content: none;
}

@media (max-width: 640px) {
    .contact-area .section-head {
        margin-bottom: 28px;
        padding-bottom: 16px;
    }
}

/* — صف ويدجات التواصل (فوق) + كرت إرسال رسالة (تحت) — */
.contact-area .contact-widgets-row {
    margin-bottom: 64px;
}

.contact-area .contact-widgets-row > [class*="col-"] {
    margin-bottom: 24px;
}

.contact-area .contact-form-row {
    margin-top: 16px;
}

.contact-area .contact-widget {
    background: #fff;
    border: 1px solid rgba(15, 30, 58, 0.08);
    border-radius: 8px;
    padding: 22px 24px;
    min-height: 100%;
    margin: 0;
    transition: box-shadow .2s ease, border-color .2s ease;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 10px;
    row-gap: 6px;
    align-items: center;
}

.contact-area .contact-widget::before {
    display: none;
    content: none;
}

.contact-area .contact-widget:hover {
    border-color: rgba(15, 30, 58, 0.18);
    box-shadow: 0 6px 18px -10px rgba(15, 30, 58, 0.12);
    transform: none;
}

.contact-area .contact-widget > i {
    position: static;
    grid-column: 1;
    grid-row: 1;
    flex: none;
    width: auto;
    height: auto;
    font-size: 16px;
    background: transparent !important;
    color: var(--hub-olive) !important;
    margin: 0;
    padding: 0;
    border-radius: 0;
    text-align: center;
    line-height: 1;
    float: none;
    top: auto;
    right: auto;
    left: auto;
    align-self: center;
}

.contact-area .contact-widget .contact-widget-text {
    display: contents;
}

.contact-area .contact-widget p {
    grid-column: 2;
    grid-row: 1;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #6b7280 !important;
    margin: 0;
    opacity: 1;
    line-height: 1.4;
}

.contact-area .contact-widget h6 {
    grid-column: 2;
    grid-row: 2;
    font-size: 16px;
    font-weight: 600;
    color: #0c1e3a;
    margin: 0;
    line-height: 1.5;
    word-break: break-word;
    text-transform: none;
    letter-spacing: 0;
}

[dir="rtl"] .contact-area .contact-widget p,
[dir="rtl"] .contact-area .contact-widget h6 {
    text-align: right;
}

[dir="ltr"] .contact-area .contact-widget p,
[dir="ltr"] .contact-area .contact-widget h6 {
    text-align: left;
}

.contact-area .contact-widget h6 a {
    text-transform: none;
    color: inherit;
    transition: color .2s ease;
}

.contact-area .contact-widget h6 a:hover {
    color: var(--hub-olive);
}

.contact-area .contact-widget h6 a {
    color: inherit;
    transition: color .2s ease;
}

.contact-area .contact-widget h6 a:hover {
    color: var(--hub-olive);
}

/* كرت نموذج إرسال الرسالة */
.contact-area .contact-form-card {
    background: #fff;
    border: 1px solid rgba(15, 30, 58, 0.08);
    border-radius: 12px;
    padding: 36px clamp(20px, 4vw, 44px);
    box-shadow: 0 18px 50px -34px rgba(15, 30, 58, 0.22);
}

.contact-area .contact-form-card-head {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(15, 30, 58, 0.06);
}

[dir="rtl"] .contact-area .contact-form-card-head {
    text-align: right;
}

[dir="ltr"] .contact-area .contact-form-card-head {
    text-align: left;
}

.contact-area .contact-form-card-head h5 {
    font-size: 18px;
    font-weight: 700;
    color: #0c1e3a;
    margin: 0 0 4px;
}

.contact-area .contact-form-card-head p {
    font-size: 13.5px;
    color: #6b7280;
    margin: 0;
}

.contact-area .contact-form-card .form input,
.contact-area .contact-form-card .form textarea {
    padding: 12px 5px;
}

@media (max-width: 640px) {
    .contact-area .contact-widgets-row {
        margin-bottom: 40px;
    }

    .contact-area .contact-form-row {
        margin-top: 8px;
    }

    .contact-area .contact-widget {
        padding: 18px 20px;
        column-gap: 8px;
    }

    .contact-area .contact-widget > i {
        font-size: 15px;
    }

    .contact-area .contact-form-card {
        padding: 24px 18px;
    }
}

/* — بطاقات بيانات التواصل: محاذاة وترتيب في الـ RTL — */
[dir="rtl"] .contact-details {
    padding-right: 80px;
    position: relative;
    margin: 16px 0;
    min-height: 60px;
    overflow: visible;
}

[dir="rtl"] .contact-details i {
    float: none;
    position: absolute;
    right: 0;
    top: 0;
    margin: 0;
}

.contact-details p {
    margin-bottom: 4px;
}

.contact-details h6 {
    margin-bottom: 0;
    word-break: break-word;
}

@media (max-width: 640px) {
    [dir="rtl"] .contact-details {
        padding-right: 64px;
        min-height: 50px;
    }
}

/* — قسم العملاء: تخفيف بسيط للمسافات — */
.client-logos-slider {
    padding-top: 56px;
    padding-bottom: 56px;
}

.client-logos-slider .client-section-head {
    margin-bottom: 28px;
}

/* — الفوتر: شبكة 3 أعمدة منظمة + شريط حقوق نشر ملوّن — */
.footer {
    padding: 64px 0 24px;
}

.footer .footer-grid {
    padding-bottom: 36px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-col {
    margin-bottom: 28px;
}

/* عمود الهوية */
.footer .foot_logo {
    margin: 0 0 18px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

[dir="rtl"] .footer .foot_logo {
    justify-content: flex-start;
}

.footer .hub-brand-footer .hub-logo-ar-footer,
.footer .hub-brand-footer .hub-logo-en-footer {
    height: 150px !important;
    max-height: none;
    width: auto !important;
    max-width: 100%;
}

.footer .ftr-about {
    width: 100%;
    max-width: none;
    margin: 0;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14.5px;
    text-align: right;
}

[dir="ltr"] .footer .ftr-about {
    text-align: left;
}

[dir="rtl"] .footer .footer-brand-col,
[dir="rtl"] .footer .footer-brand-col .hub-brand-footer,
[dir="rtl"] .footer .footer-brand-col .hub-brand-text {
    text-align: right;
}

[dir="ltr"] .footer .footer-brand-col,
[dir="ltr"] .footer .footer-brand-col .hub-brand-footer,
[dir="ltr"] .footer .footer-brand-col .hub-brand-text {
    text-align: left;
}

/* عناوين الأعمدة */
.footer .footer-col-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin: 8px 0 24px;
    position: relative;
    padding-bottom: 14px;
}

.footer .footer-col-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 38px;
    height: 2px;
    background: #4a8fd6;
}

[dir="rtl"] .footer .footer-col-title:after {
    right: 0;
    left: auto;
}

[dir="ltr"] .footer .footer-col-title:after {
    left: 0;
    right: auto;
}

/* عمود الروابط — قائمة عمودية */
[dir="rtl"] .footer .footer-links-col {
    text-align: right;
}

[dir="ltr"] .footer .footer-links-col {
    text-align: left;
}

.footer .footer_menu_list {
    margin-top: 0;
    padding: 0;
    display: block;
}

.footer .footer_menu_list li {
    margin-bottom: 10px;
    padding: 0;
    transition: transform 0.2s ease;
    display: block;
    float: none;
    width: auto;
    text-align: inherit;
}

[dir="rtl"] .footer .footer_menu_list li:hover {
    transform: translateX(-3px);
}

[dir="ltr"] .footer .footer_menu_list li:hover {
    transform: translateX(3px);
}

.footer .footer_menu_list li a {
    padding: 0 !important;
    margin: 0;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.78) !important;
    position: relative;
    transition: color .2s ease;
}

.footer .footer_menu_list li a:before {
    content: "›";
    color: #4a8fd6;
    margin-left: 8px;
    opacity: 0.85;
    font-weight: 700;
}

[dir="rtl"] .footer .footer_menu_list li a:before {
    content: "‹";
    margin-left: 8px;
    margin-right: 0;
}

.footer .footer_menu_list li a:hover {
    color: #fff !important;
}

/* عمود بيانات التواصل */
[dir="rtl"] .footer .footer-contact-col {
    text-align: right;
}

[dir="ltr"] .footer .footer-contact-col {
    text-align: left;
}

.footer-contact-list {
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    padding: 0 !important;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.footer-contact-list li span,
.footer-contact-list li a {
    padding: 0 !important;
}

.footer-contact-list li i {
    flex: 0 0 34px;
    height: 34px;
    width: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 143, 214, 0.18);
    color: #6fb1ff;
    border-radius: 50%;
    font-size: 13px;
    margin-top: 2px;
}

.footer-contact-list li span,
.footer-contact-list li a {
    flex: 1;
    color: rgba(255, 255, 255, 0.85);
    word-break: break-word;
}

.footer-contact-list li a:hover {
    color: #fff;
}

/* السب-فوتر: شريط ملوّن واضح ممتد لعرض الشاشة */
.footer .copyrights {
    background: var(--hub-olive);
    color: #fff;
    padding: 14px 20px;
    margin-top: 22px;
    margin-bottom: -22px;
    border-top: none;
    border-radius: 0;
    position: relative;
    box-shadow: 0 0 0 100vmax var(--hub-olive);
    clip-path: inset(0 -100vmax);
    text-align: center;
}

.footer .copyrights p {
    color: #fff !important;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.footer .copyrights .site-credit {
    margin-top: 6px !important;
    font-size: 12.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.78) !important;
}

.footer .copyrights .site-credit a {
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 1px;
    transition: border-color .2s ease, color .2s ease;
}

.footer .copyrights .site-credit a:hover {
    color: #fff !important;
    border-bottom-color: #fff;
}

/* تخطيط الجوال: ينهار للأعمدة ويتمحور */
@media screen and (max-width: 991px) {
    .footer {
        padding: 44px 0 22px;
    }

    .footer .footer-col {
        margin-bottom: 28px;
    }
}

@media screen and (max-width: 767px) {
    .footer {
        padding: 40px 0 22px;
    }

    .footer .footer-grid {
        padding-bottom: 8px;
    }

    /* عمود الهوية: متمحور + فاصل أسفله */
    .footer .footer-brand-col,
    [dir="rtl"] .footer .footer-brand-col,
    [dir="ltr"] .footer .footer-brand-col {
        text-align: center;
        padding-bottom: 26px;
        margin-bottom: 26px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    [dir="rtl"] .footer .foot_logo,
    .footer .foot_logo {
        justify-content: center;
    }

    .footer .ftr-about,
    [dir="rtl"] .footer .ftr-about,
    [dir="ltr"] .footer .ftr-about {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 440px;
    }

    /* أعمدة الروابط + التواصل: عمودان بـ 50% لاستغلال العرض */
    .footer .footer-links-col,
    .footer .footer-contact-col {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 18px;
    }

    /* محاذاة طبيعية للقراءة (يمين في RTL) */
    [dir="rtl"] .footer .footer-links-col,
    [dir="rtl"] .footer .footer-contact-col {
        text-align: right;
    }

    [dir="ltr"] .footer .footer-links-col,
    [dir="ltr"] .footer .footer-contact-col {
        text-align: left;
    }

    .footer .footer-col-title {
        display: block;
        margin-top: 0;
        margin-bottom: 18px;
    }

    .footer .footer-col-title:after {
        transform: none;
    }

    [dir="rtl"] .footer .footer-col-title:after {
        right: 0;
        left: auto;
        transform: none;
    }

    [dir="ltr"] .footer .footer-col-title:after {
        left: 0;
        right: auto;
        transform: none;
    }

    .footer .footer_menu_list li {
        margin-bottom: 9px;
    }

    /* قائمة التواصل: مرتّبة من البداية (يمين/يسار) لا متمحورة */
    .footer-contact-list li {
        justify-content: flex-start;
        gap: 10px;
    }

    [dir="rtl"] .footer-contact-list li {
        text-align: right;
    }

    [dir="ltr"] .footer-contact-list li {
        text-align: left;
    }

    .footer-contact-list li i {
        flex: 0 0 28px;
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
}

/* شاشات صغيرة جداً: نكدّس عمود الروابط فوق وعمود التواصل تحته */
@media screen and (max-width: 479px) {
    .footer .footer-links-col,
    .footer .footer-contact-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer .footer-links-col {
        padding-bottom: 8px;
        margin-bottom: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
}

/* — تحسين شريط التنقل: تخفيف الحشو الافتراضي — */
.top-navbar {
    padding-top: 14px;
    padding-bottom: 14px;
}

