/********** Template CSS **********/
:root {
    --primary: #4c8526;
    --primary-rgb: 76, 133, 38;
    --primary-dark: #3a6620;
    --primary-light: #5f9c35;
    --accent-gold: var(--primary-light);
    --light: #F8F8F8;
    --dark: #252525;
    --scrollbar-track: #e8efe3;
    --scrollbar-thumb-hover: #3a6620;
}

/*** Brand — Bootstrap template sets .text-primary to gold (#B78D65) ***/
.text-primary {
    color: var(--primary) !important;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    align-items: center;
    justify-content: center;
    width: 3.35rem;
    height: 3.35rem;
    right: 1.75rem;
    bottom: 1.75rem;
    z-index: 99;
    border: none;
    border-radius: 50%;
    padding: 0;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(155deg, var(--primary-light) 0%, var(--primary) 48%, var(--primary-dark) 100%);
    box-shadow:
        0 10px 32px rgba(var(--primary-rgb), 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
    overflow: visible;
}

.back-to-top::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    pointer-events: none;
}

.back-to-top::after {
    content: "";
    position: absolute;
    inset: -9px;
    border-radius: 50%;
    border: 1px solid rgba(var(--primary-rgb), 0.22);
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.back-to-top__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.35);
    opacity: 0;
    transform: scale(1);
    pointer-events: none;
}

.back-to-top__icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
}

.back-to-top__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.back-to-top:hover,
.back-to-top:focus-visible {
    color: #fff;
    transform: translateY(-5px);
    box-shadow:
        0 16px 40px rgba(var(--primary-rgb), 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.back-to-top:hover::after,
.back-to-top:focus-visible::after {
    transform: scale(1.06);
    opacity: 1;
}

.back-to-top:hover .back-to-top__pulse,
.back-to-top:focus-visible .back-to-top__pulse {
    animation: back-to-top-pulse 1.2s ease-out;
}

.back-to-top:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 4px;
}

@keyframes back-to-top-pulse {
    0% {
        opacity: 0.45;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.55);
    }
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: box-shadow 0.2s ease;
    }

    .back-to-top:hover,
    .back-to-top:focus-visible {
        transform: none;
    }

    .back-to-top:hover .back-to-top__pulse,
    .back-to-top:focus-visible .back-to-top__pulse {
        animation: none;
    }
}

.site-social-link--disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

/*** Scrollbar — ألوان الهواري ***/
html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--scrollbar-track);
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 100px;
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 100px;
    border: 2px solid var(--scrollbar-track);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary) 0%, var(--scrollbar-thumb-hover) 100%);
}

*::-webkit-scrollbar-corner {
    background: var(--scrollbar-track);
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#spinner .page-loader__ring {
    width: 6rem;
    height: 6rem;
}

#spinner .page-loader__logo {
    max-height: 4.5rem;
    width: auto;
    max-width: min(220px, 70vw);
    height: auto;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Site header — ATA (تصميم موحّد جديد) ***/
.site-header {
    z-index: 1030;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.1);
}

.site-header__ribbon {
    height: 4px;
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

.site-header__container {
    padding-inline: clamp(1rem, 3vw, 2.5rem);
}

.site-header__utility {
    background: #f7f8f6;
    border-bottom: 1px solid #e8ebe5;
    font-size: 0.8125rem;
}

.site-header__utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 2.5rem;
}

.site-header__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
}

.site-header__meta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #4a4a4a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-header__meta-link i {
    color: var(--primary);
    font-size: 0.85rem;
}

.site-header__meta-link:hover {
    color: var(--primary);
}

.site-header__socials {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.site-header__social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    border: 1px solid #dde3d8;
    color: #5a5a5a;
    background: #fff;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-header__social-btn:hover {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.site-header__social-btn.site-social-link--disabled {
    opacity: 0.35;
    pointer-events: none;
}

.site-header__main {
    border-bottom: 1px solid #eceeec;
}

.site-header__main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.75rem;
    padding-block: 0.65rem;
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 0;
}

.site-header__logo {
    width: auto;
    max-height: 3.35rem;
    display: block;
}

.site-header__brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.site-header__brand-name {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
    letter-spacing: 0.02em;
}

.site-header__brand-tagline {
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.35;
    color: #6f6f6f;
    max-width: 14rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.site-header__nav {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
}

.site-header__nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    background: #f3f5f1;
    border-radius: 999px;
    border: 1px solid #e4e8e0;
}

.site-header__nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #3a3a3a;
    text-decoration: none;
    border-radius: 999px;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-header__nav-link:hover {
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.85);
}

.site-header__nav-link.is-active {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.35);
}

.site-header__nav-link.is-disabled,
.site-header__panel-link.is-disabled,
.site-footer__nav-link.is-disabled,
.btn.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.site-header__wa {
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: #fff;
    background: #25d366;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-header__wa:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.site-header__wa i {
    font-size: 1.2rem;
}

.site-header__cta {
    align-items: center;
    padding: 0.6rem 1.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: var(--primary);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.32);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.site-header__cta:hover {
    color: #fff;
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.4);
}

.site-header__toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid #e0e4dc;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header__toggle:hover {
    border-color: var(--primary);
    background: #f7faf5;
}

.site-header__toggle-bar {
    display: block;
    width: 1.15rem;
    height: 2px;
    background: #2a2a2a;
    border-radius: 2px;
    transition: background 0.2s ease;
}

.site-header__toggle:hover .site-header__toggle-bar {
    background: var(--primary);
}

/* لوحة الجوال */
.site-header__panel {
    width: min(21rem, 92vw);
    border: none;
    background: #fff;
}

html[dir="rtl"] .site-header__panel.offcanvas-start {
    border-start-end-radius: 1.25rem;
    border-end-end-radius: 1.25rem;
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.12);
}

html[dir="ltr"] .site-header__panel.offcanvas-start {
    border-start-end-radius: 1.25rem;
    border-end-end-radius: 1.25rem;
    box-shadow: 16px 0 48px rgba(0, 0, 0, 0.12);
}

.site-header__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #eceeec;
    background: #f9faf8;
}

.site-header__panel-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    min-width: 0;
}

.site-header__panel-logo {
    max-height: 2.5rem;
    width: auto;
}

.site-header__panel-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.site-header__panel-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    color: #4a4a4a;
    background: #fff;
    transition: color 0.2s ease, background 0.2s ease;
}

.site-header__panel-close:hover {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
}

.site-header__panel-body {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
}

.site-header__panel-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.site-header__panel-link {
    display: block;
    padding: 0.9rem 1rem;
    font-size: 1.02rem;
    font-weight: 600;
    color: #2e2e2e;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid transparent;
    opacity: 0;
    transform: translateX(10px);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

html[dir="ltr"] .site-header__panel-link {
    transform: translateX(-10px);
}

.site-header__panel.show .site-header__panel-link {
    animation: site-header-panel-link-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--panel-delay, 0ms);
}

.site-header__panel-link:hover,
.site-header__panel-link:focus-visible {
    background: #f4f7f1;
    color: var(--primary);
}

.site-header__panel-link.is-active {
    color: var(--primary-dark);
    background: rgba(var(--primary-rgb), 0.12);
    border-color: rgba(var(--primary-rgb), 0.22);
}

.site-header__panel-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #eceeec;
}

.site-header__panel-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.9rem;
    color: #5a5a5a;
    text-decoration: none;
}

.site-header__panel-contact-link i {
    color: var(--primary);
}

.site-header__panel-contact-link:hover {
    color: var(--primary);
}

.site-header__panel-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: var(--primary);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
}

.site-header__panel-cta:hover {
    color: #fff;
    background: var(--primary-dark);
}

@keyframes site-header-panel-link-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* تمرير لمرساة #contact تحت الهيدر الثابت */
#contact {
    scroll-margin-top: 5.25rem;
}

@media (min-width: 992px) {
    #contact {
        scroll-margin-top: 7.75rem;
    }
}

/*** Home contact — تواصل معنا (تصميم جديد) ***/
.home-contact {
    padding-block: clamp(3rem, 6vw, 5rem);
    background: #f4f6f2;
}

.home-contact__container {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 2rem);
}

.home-contact__shell {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 24px 56px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8dc;
}

.home-contact__panel {
    padding: clamp(1.75rem, 4vw, 2.5rem);
}

.home-contact__panel--info {
    color: #eef2ea;
    background: #1a1f18;
    background-image:
        radial-gradient(ellipse 90% 70% at 0% 0%, rgba(var(--primary-rgb), 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 100% 100%, rgba(var(--primary-rgb), 0.1) 0%, transparent 50%);
}

.home-contact__eyebrow {
    display: inline-block;
    margin-bottom: 0.65rem;
    padding: 0.28rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-light);
    background: rgba(var(--primary-rgb), 0.18);
    border-radius: 999px;
}

.home-contact__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
}

.home-contact__lead {
    margin: 0 0 1.35rem;
    font-size: 0.9375rem;
    line-height: 1.8;
    color: rgba(238, 242, 234, 0.78);
}

.home-contact__highlights {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.home-contact__highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(238, 242, 234, 0.88);
}

.home-contact__highlights i {
    margin-top: 0.15rem;
    color: var(--primary-light);
    flex-shrink: 0;
}

.home-contact__channels {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.home-contact__channel {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0.9rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-contact__channel:hover {
    background: rgba(var(--primary-rgb), 0.16);
    border-color: rgba(var(--primary-rgb), 0.4);
    transform: translateX(-2px);
}

html[dir="ltr"] .home-contact__channel:hover {
    transform: translateX(2px);
}

.home-contact__channel--wa:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.45);
}

.home-contact__channel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 10px;
    color: var(--primary-light);
    background: rgba(var(--primary-rgb), 0.2);
}

.home-contact__channel--wa .home-contact__channel-icon {
    color: #fff;
    background: #25d366;
}

.home-contact__channel-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.home-contact__channel-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(238, 242, 234, 0.65);
}

.home-contact__channel-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    word-break: break-word;
}

.home-contact__panel--form {
    background: #fff;
}

.home-contact__form-head {
    margin-bottom: 1.25rem;
}

.home-contact__form-title {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
}

.home-contact__form-sub {
    margin: 0;
    font-size: 0.875rem;
    color: #6f6f6f;
}

.home-contact__alert {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
    border-radius: 10px;
}

.home-contact__alert--success {
    color: #1e4d24;
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
}

.home-contact__alert--error {
    color: #842029;
    background: #f8d7da;
    border: 1px solid #f5c2c7;
}

.home-contact__alert-list {
    margin: 0;
    padding-inline-start: 1.1rem;
}

.home-contact__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.home-contact__field--full {
    grid-column: 1 / -1;
}

.home-contact__label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #3a3a3a;
}

.home-contact__input {
    display: block;
    width: 100%;
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #1a1a1a;
    background: #f9faf8;
    border: 1px solid #dde3d8;
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-contact__input::placeholder {
    color: #9aa196;
}

.home-contact__input:focus {
    outline: none;
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.14);
}

.home-contact__input.is-invalid {
    border-color: #dc3545;
}

.home-contact__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234c8526' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.9rem center;
    padding-inline-start: 0.9rem;
    padding-inline-end: 2rem;
}

html[dir="ltr"] .home-contact__select {
    background-position: right 0.9rem center;
}

.home-contact__textarea {
    min-height: 7rem;
    resize: vertical;
}

.home-contact__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.3);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-contact__submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(var(--primary-rgb), 0.38);
}

html[dir="rtl"] .home-contact__form .home-contact__input,
html[dir="rtl"] .home-contact__form .home-contact__select {
    text-align: right;
}

html[dir="rtl"] .home-contact__form .home-contact__input::placeholder,
html[dir="rtl"] .home-contact__form .home-contact__textarea::placeholder {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .home-contact__form .home-contact__input[name="phone"] {
    direction: ltr;
    text-align: right;
}

html[dir="rtl"] .home-contact__form .home-contact__input[name="phone"]::placeholder {
    direction: rtl;
    text-align: right;
}

@media (max-width: 991.98px) {
    .home-contact__shell {
        grid-template-columns: 1fr;
    }

    .home-contact__panel--info {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 575.98px) {
    .home-contact__fields {
        grid-template-columns: 1fr;
    }

    .home-contact__shell {
        border-radius: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-contact__channel:hover,
    .home-contact__submit:hover {
        transform: none;
    }
}

.offcanvas-backdrop.show {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background-color: rgba(26, 26, 26, 0.42);
}

@media (max-width: 1199.98px) {
    .site-header__brand-tagline {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .site-header__main-inner {
        min-height: 4.25rem;
    }

    .site-header__logo {
        max-height: 2.85rem;
    }

    .site-header__brand-name {
        font-size: 1rem;
    }

    #contact {
        scroll-margin-top: 4.85rem;
    }
}

@media (max-width: 575.98px) {
    .site-header__brand-text {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header__panel-link {
        opacity: 1;
        transform: none;
        animation: none !important;
    }

    .site-header__cta:hover,
    .site-header__wa:hover,
    .site-header__social-btn:hover {
        transform: none;
    }
}


/*** Header ***/
.header-carousel {
    min-height: 100vh;
    min-height: 100dvh;
}

/* تلاشي سلس بين الشرائح (Owl Animate: fadeOut من owl.carousel + fadeIn من animate.css) */
.header-carousel .owl-item.animated {
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
}

.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: transparent;
    z-index: 2;
}

/*** Home Hero — ذوق عراقي راقي ***/
.home-hero .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(105deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.2) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, transparent 45%);
    pointer-events: none;
}

.home-hero .hero-content {
    position: relative;
    padding: 1.75rem 2rem 2rem;
    border-inline-start: 4px solid var(--primary);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 0 14px 14px 0;
}

[dir="rtl"] .home-hero .hero-content {
    border-radius: 14px 0 0 14px;
}

.home-hero .hero-content::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 56px;
    height: 56px;
    border-top: 2px solid rgba(var(--primary-rgb), 0.65);
    border-inline-start: 2px solid rgba(var(--primary-rgb), 0.65);
    pointer-events: none;
}

.home-hero .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.95);
}

.home-hero .hero-eyebrow__mark {
    width: 2.75rem;
    height: 3px;
    background: linear-gradient(90deg, #fff, var(--primary-light));
    border-radius: 2px;
    flex-shrink: 0;
}

.home-hero .hero-title .text-primary {
    color: #fff !important;
}

.home-hero .hero-title {
    font-size: clamp(1.85rem, 4.8vw, 3.5rem);
    font-weight: 700;
    line-height: 1.22;
    color: #faf8f5;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4);
}

.home-hero .hero-lead {
    font-size: clamp(1rem, 1.75vw, 1.2rem);
    font-weight: 400;
    line-height: 1.8;
    color: rgba(248, 245, 240, 0.9);
    max-width: 38rem;
}

.home-hero .hero-cta {
    font-weight: 600;
    border-radius: 50px;
    border: none;
    box-shadow: 0 8px 26px rgba(var(--primary-rgb), 0.42);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.home-hero .hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(var(--primary-rgb), 0.52);
    color: #fff;
}

.home-hero .hero-bg-img--placeholder {
    min-height: 60vh;
    background: linear-gradient(145deg, #1a2e10 0%, var(--primary-dark) 48%, #2d4a1a 100%);
}

.home-hero .hero-content--empty {
    border-inline-start: none;
    border-radius: 14px;
    max-width: 32rem;
}

.home-hero .hero-content--empty::before {
    display: none;
}

.home-hero__frame {
    position: relative;
}

.home-hero__chrome {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.home-hero__chrome > * {
    pointer-events: auto;
}

.home-hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(-50%);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.home-hero__arrow:hover,
.home-hero__arrow:focus-visible {
    color: #fff;
    background: rgba(var(--primary-rgb), 0.85);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-50%) scale(1.06);
}

.home-hero__arrow--prev {
    inset-inline-start: clamp(0.75rem, 3vw, 2rem);
}

.home-hero__arrow--next {
    inset-inline-end: clamp(0.75rem, 3vw, 2rem);
}

.home-hero__counter {
    position: absolute;
    bottom: clamp(4.5rem, 10vh, 6.5rem);
    inset-inline-start: clamp(1rem, 4vw, 2.5rem);
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.home-hero__counter-current {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1;
    color: var(--primary-light);
}

.home-hero__counter-sep {
    opacity: 0.55;
    font-size: 1.1rem;
}

.home-hero__counter-total {
    font-size: 1rem;
    opacity: 0.75;
}

.home-hero__thumbs {
    position: absolute;
    bottom: clamp(3.75rem, 8vh, 5.25rem);
    inset-inline-end: clamp(1rem, 4vw, 2.5rem);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: min(22rem, 42vw);
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
}

.home-hero__thumbs::-webkit-scrollbar {
    display: none;
}

.home-hero__thumb {
    position: relative;
    flex: 0 0 auto;
    width: 4.25rem;
    height: 2.65rem;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.home-hero__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-hero__thumb-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.home-hero__thumb-bar {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 3px;
    background: transparent;
    transition: background 0.25s ease;
}

.home-hero__thumb.is-active,
.home-hero__thumb:hover,
.home-hero__thumb:focus-visible {
    opacity: 1;
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.home-hero__thumb.is-active .home-hero__thumb-bar {
    background: var(--primary-light);
}

.home-hero__progress {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 3;
    height: 3px;
    background: rgba(255, 255, 255, 0.18);
    pointer-events: none;
}

.home-hero__progress-fill {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
}

.home-hero__progress-fill.is-animating {
    animation: hero-slide-progress var(--hero-autoplay-ms, 6s) linear forwards;
}

@keyframes hero-slide-progress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.home-hero__scroll {
    position: absolute;
    bottom: clamp(4.25rem, 9vh, 6rem);
    left: 50%;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transform: translateX(-50%);
    transition: color 0.25s ease, transform 0.25s ease;
}

.home-hero__scroll-text {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-hero__scroll-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: hero-scroll-bounce 2s ease-in-out infinite;
}

.home-hero__scroll:hover,
.home-hero__scroll:focus-visible {
    color: #fff;
    transform: translateX(-50%) translateY(3px);
}

@keyframes hero-scroll-bounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

.header-carousel .owl-item .hero-reveal {
    opacity: 0;
    transform: translate3d(0, 1.75rem, 0);
}

.header-carousel .owl-item.active .hero-reveal {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.header-carousel .owl-item.active .hero-reveal--2 {
    transition-delay: 0.1s;
}

.header-carousel .owl-item.active .hero-reveal--3 {
    transition-delay: 0.2s;
}

.header-carousel .owl-item.active .hero-reveal--4 {
    transition-delay: 0.32s;
}

/* Hero يملأ ارتفاع الشاشة (مثل ارتفاع الصورة بعرض كامل) */
.header-carousel .owl-stage-outer,
.header-carousel .owl-stage,
.header-carousel .owl-item {
    min-height: 100vh;
    min-height: 100dvh;
}

.header-carousel .owl-carousel-item {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100%;
    background: #000;
    overflow: hidden;
}

@keyframes hero-bg-zoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.12);
    }
}

.header-carousel .owl-carousel-item .hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: scale(1);
    transform-origin: center center;
    will-change: transform;
}

.header-carousel .owl-item.active .hero-bg-img {
    animation: hero-bg-zoom 7s ease-in-out infinite alternate;
}

.header-carousel .owl-item:not(.active) .hero-bg-img {
    animation: none;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item .hero-bg-img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-carousel .owl-item.active .hero-bg-img {
        animation: none;
        transform: scale(1);
        will-change: auto;
    }

    .header-carousel .owl-item .hero-reveal,
    .header-carousel .owl-item.active .hero-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .home-hero__progress-fill.is-animating {
        animation: none;
        width: 100%;
    }

    .home-hero__scroll-icon {
        animation: none;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Home Features — عرض موحّد بدل البطاقات المنفصلة ***/
.home-features__board {
    display: grid;
    grid-template-columns: repeat(var(--hf-cols, 3), minmax(0, 1fr));
    min-height: 15.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9f4 100%);
    border: 1px solid rgba(var(--primary-rgb), 0.14);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.08);
    overflow: hidden;
}

.home-features__item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.75rem 1.5rem 1.85rem;
    min-height: 15.5rem;
    position: relative;
}

.home-features__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.25rem;
    bottom: 1.25rem;
    inset-inline-end: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(var(--primary-rgb), 0.22), transparent);
}

.home-features__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.home-features__index {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    color: rgba(var(--primary-rgb), 0.22);
}

.home-features__thumb {
    flex-shrink: 0;
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 2px solid rgba(var(--primary-rgb), 0.18);
    box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-features__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-features__thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--primary);
    font-size: 1.35rem;
    background: rgba(var(--primary-rgb), 0.06);
}

.home-features__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: start;
}

.home-features__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.65rem;
    padding-inline-start: 0.65rem;
    border-inline-start: 3px solid var(--primary);
    line-height: 1.4;
}

.home-features__text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #5c5c5c;
}

.home-features__item:hover .home-features__thumb {
    border-color: var(--primary);
    transform: translateY(-2px);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.home-features__item:hover .home-features__index {
    color: var(--primary);
    transition: color 0.25s ease;
}

.home-features__board--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 8rem;
    padding: 2rem;
}

.home-features__empty {
    text-align: center;
    color: #6c757d;
}

@media (max-width: 991.98px) {
    .home-features__board {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .home-features__item {
        min-height: 0;
        padding: 1.35rem 1.25rem;
    }

    .home-features__item:not(:last-child)::after {
        top: auto;
        bottom: 0;
        inset-inline: 1.25rem;
        width: auto;
        height: 1px;
    }
}

@media (max-width: 767.98px) {
    .home-features__index {
        font-size: 1.35rem;
    }

    .home-features__thumb {
        width: 3.75rem;
        height: 3.75rem;
    }

    .home-features__title {
        font-size: 1rem;
    }

    .home-features__text {
        font-size: 0.9rem;
    }
}

/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}

.fact-item .fact-icon img {
    max-width: 72px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}


/*** Home About — بانر صور + بطاقة عائمة ***/
.home-about__stage {
    position: relative;
    min-height: 25rem;
    padding-bottom: 0.5rem;
}

.home-about__banner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0.65rem;
    height: 17.5rem;
    border-radius: 20px;
    overflow: hidden;
}

.home-about__banner-cell {
    position: relative;
    overflow: hidden;
    min-height: 0;
}

.home-about__banner-cell:first-child {
    border-start-start-radius: 20px;
    border-end-start-radius: 20px;
}

.home-about__banner-cell:last-child {
    border-start-end-radius: 20px;
    border-end-end-radius: 20px;
}

.home-about__banner-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-about__banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.35) 100%);
    pointer-events: none;
    border-radius: 20px;
}

.home-about__card {
    position: relative;
    z-index: 2;
    margin-top: -4.5rem;
    margin-inline: clamp(0.75rem, 4vw, 2.5rem);
    padding: 1.75rem 1.85rem;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    box-shadow: 0 20px 50px rgba(37, 37, 37, 0.12);
}

.home-about__title {
    font-size: clamp(1.25rem, 2.6vw, 1.75rem);
    font-weight: 700;
    line-height: 1.4;
    color: var(--dark);
    margin-bottom: 0.85rem;
}

.home-about__text {
    font-size: 0.96rem;
    line-height: 1.85;
    color: #5a5a5a;
}

.home-about__aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.home-about__ring {
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    border: 4px solid var(--primary);
    box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0.12);
}

.home-about__ring-value {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
}

.home-about__ring-label {
    margin-top: 0.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dark);
}

.home-about__cta {
    border-radius: 50px;
    font-weight: 600;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .home-about__banner {
        height: 14rem;
        grid-template-columns: 1fr 1fr;
    }

    .home-about__card {
        margin-top: -3rem;
        margin-inline: 0.5rem;
        padding: 1.35rem 1.25rem;
    }

    .home-about__aside {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1.25rem;
    }

    .home-about__ring {
        width: 6.5rem;
        height: 6.5rem;
        flex-shrink: 0;
    }

    .home-about__cta {
        flex: 1 1 auto;
        max-width: 14rem;
    }
}

@media (max-width: 767.98px) {
    .home-about__banner {
        height: 14rem;
        grid-template-columns: 1fr 1fr;
    }

    .home-about__card {
        margin-top: -2.75rem;
        margin-inline: 0.35rem;
        padding: 1.25rem 1.1rem;
    }

    .home-about__aside {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 1rem;
        width: 100%;
        margin-top: 0.35rem;
        padding: 1rem 1.1rem;
        border-radius: 14px;
        background: linear-gradient(135deg, #f6f9f4 0%, #eef4e8 100%);
        border: 1px solid rgba(var(--primary-rgb), 0.14);
    }

    .home-about__ring {
        width: 5.75rem;
        height: 5.75rem;
        flex-shrink: 0;
        border-width: 3px;
        box-shadow: 0 0 0 5px rgba(var(--primary-rgb), 0.1);
    }

    .home-about__ring-value {
        font-size: 1.75rem;
    }

    .home-about__ring-label {
        font-size: 0.72rem;
        line-height: 1.25;
        max-width: 4.5rem;
    }

    .home-about__cta {
        flex: 1 1 auto;
        width: auto !important;
        min-width: 0;
        margin: 0 !important;
        padding: 0.7rem 1rem !important;
        font-size: 0.9rem;
        line-height: 1.35;
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .home-about__banner {
        grid-template-columns: 1fr;
        height: auto;
    }

    .home-about__banner-cell {
        height: 9.5rem;
    }

    .home-about__banner-cell:first-child,
    .home-about__banner-cell:last-child {
        border-radius: 0;
    }

    .home-about__banner-cell:first-child {
        border-start-start-radius: 16px;
        border-start-end-radius: 16px;
    }

    .home-about__banner-cell:last-child {
        border-end-start-radius: 16px;
        border-end-end-radius: 16px;
    }

    .home-about__card {
        margin-top: -2.25rem;
        margin-inline: 0;
        padding: 1.15rem 1rem 1.25rem;
    }

    .home-about__title {
        font-size: 1.2rem;
    }

    .home-about__text {
        font-size: 0.9rem;
        line-height: 1.75;
    }
}

@media (max-width: 399.98px) {
    .home-about__aside {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.15rem 1rem;
    }

    .home-about__ring {
        width: 6.25rem;
        height: 6.25rem;
    }

    .home-about__ring-label {
        max-width: none;
    }

    .home-about__cta {
        width: 100% !important;
        max-width: 100%;
        padding: 0.75rem 1rem !important;
    }
}

/*** Home Why — لوحة مقسومة: محتوى + صور جانبية ***/
.home-why__shell {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    min-height: 26rem;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    box-shadow: 0 16px 48px rgba(var(--primary-rgb), 0.08);
    background: #fff;
}

.home-why__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 2rem 2.1rem;
}

.home-why__label {
    letter-spacing: 0.08em;
}

.home-why__title {
    font-size: clamp(1.3rem, 2.6vw, 1.85rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.home-why__lead {
    font-size: 0.96rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.home-why__pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(var(--primary-rgb), 0.14);
}

.home-why__pillar {
    padding-inline-start: 0.65rem;
    border-inline-start: 3px solid rgba(var(--primary-rgb), 0.35);
}

.home-why__pillar-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.home-why__pillar-num {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: var(--primary);
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-why__pillar-icon {
    width: 1.65rem;
    height: 1.65rem;
    object-fit: contain;
    flex-shrink: 0;
}

.home-why__pillar-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.35rem;
    line-height: 1.35;
}

.home-why__pillar-text {
    font-size: 0.8rem;
    line-height: 1.65;
    color: #626262;
}

.home-why__media {
    position: relative;
    min-height: 26rem;
    background: var(--dark);
}

.home-why__media-primary {
    position: absolute;
    inset: 0;
}

.home-why__media-primary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-why__media-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to inline-start, rgba(255, 255, 255, 0.18) 0%, transparent 38%, rgba(0, 0, 0, 0.22) 100%);
    pointer-events: none;
}

.home-why__media-secondary {
    position: absolute;
    inset-inline-end: 1rem;
    bottom: 1rem;
    width: 42%;
    max-width: 10.5rem;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.home-why__media-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 991.98px) {
    .home-why__shell {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .home-why__content {
        padding: 1.65rem 1.4rem 1.5rem;
    }

    .home-why__media {
        min-height: clamp(12rem, 40vw, 16rem);
        order: -1;
    }

    .home-why__pillars {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .home-why__pillar {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        column-gap: 0.75rem;
        align-items: start;
    }

    .home-why__pillar-head {
        grid-row: 1 / span 2;
        flex-direction: column;
        margin-bottom: 0;
    }

    .home-why__pillar-title {
        grid-column: 2;
    }

    .home-why__pillar-text {
        grid-column: 2;
    }
}

@media (max-width: 575.98px) {
    .home-why__media-secondary {
        width: 36%;
        max-width: 8.5rem;
    }
}

/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Home Services — بطاقات كلاسيكية راقية ***/
.home-services__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.home-services__title {
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark);
}

.home-services__all {
    flex-shrink: 0;
    font-weight: 600;
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}

.home-services__all:hover,
.home-services__all:focus {
    color: #fff;
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.home-services__slider {
    position: relative;
    padding-inline: 3.25rem;
}

.home-services__swiper {
    overflow: hidden;
    padding: 0.35rem 0.15rem;
    --swiper-wrapper-transition-timing-function: cubic-bezier(0.45, 0, 0.25, 1);
}

.home-services__swiper .swiper-wrapper {
    align-items: stretch;
}

.home-services__swiper .swiper-slide {
    height: auto;
    display: flex;
}

.home-services__nav {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, var(--primary-light) 0%, var(--primary) 55%, var(--primary-dark) 100%);
    box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.35);
    transform: translateY(-50%);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.home-services__nav:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 12px 28px rgba(var(--primary-rgb), 0.45);
    color: #fff;
}

.home-services__nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.home-services__nav--prev {
    inset-inline-start: 0;
}

.home-services__nav--next {
    inset-inline-end: 0;
}

.home-services__card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 20rem;
    text-align: start;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.03),
        0 6px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition:
        transform 0.32s ease,
        box-shadow 0.32s ease,
        border-color 0.32s ease;
}

.home-services__card::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 2px;
    background: #4c8526;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease;
    pointer-events: none;
}

.home-services__swiper .home-services__card:hover {
    transform: translateY(-4px);
    border-color: rgba(76, 133, 38, 0.12);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 16px 40px rgba(0, 0, 0, 0.09);
}

.home-services__swiper .home-services__card:hover::after {
    transform: scaleX(1);
}

.home-services__card--interactive {
    cursor: pointer;
}

.home-services__card--interactive:focus-visible {
    outline: 2px solid rgba(76, 133, 38, 0.45);
    outline-offset: 3px;
}

.home-services__thumb {
    display: block;
    flex-shrink: 0;
    aspect-ratio: 5 / 3;
    overflow: hidden;
    text-decoration: none;
    background: #f5f5f5;
}

.home-services__thumb img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.home-services__swiper .home-services__card:hover .home-services__thumb img {
    transform: scale(1.02);
}

.home-services__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.65rem;
    min-width: 0;
    padding: 1.25rem 1.35rem 1.4rem;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.home-services__name {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.01em;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-services__desc {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.75;
    color: #6f6f6f;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-services__more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.65rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #2e2e2e;
    text-decoration: none;
    transition: color 0.25s ease;
}

.home-services__more:hover {
    color: #4c8526;
}

.home-services__more i {
    font-size: 0.72rem;
    opacity: 0.85;
    transition: transform 0.25s ease, color 0.25s ease;
}

.home-services__more:hover i {
    transform: translateX(-2px);
}

[dir="rtl"] .home-services__more:hover i {
    transform: translateX(2px);
}

.home-services__card--interactive:hover .home-services__more {
    color: #4c8526;
}

.home-service-modal .modal-dialog {
    max-width: 32rem;
}

.home-service-modal__dialog {
    position: relative;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.06),
        0 24px 56px rgba(0, 0, 0, 0.14);
}

.home-service-modal.fade .modal-dialog {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
    transform: translateY(18px) scale(0.97);
}

.home-service-modal.show .modal-dialog {
    transform: translateY(0) scale(1);
}

.home-service-modal__close {
    position: absolute;
    top: 0.85rem;
    inset-inline-end: 0.85rem;
    z-index: 2;
    margin: 0;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.home-service-modal__media {
    aspect-ratio: 16 / 9;
    background: #f3f3f3;
    overflow: hidden;
}

.home-service-modal__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-service-modal__body {
    padding: 1.35rem 1.45rem 1.5rem;
}

.home-service-modal__title {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.45;
    color: #1a1a1a;
}

.home-service-modal__desc {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #5f5f5f;
    max-height: 12rem;
    overflow-y: auto;
    white-space: pre-line;
}

.home-service-modal__whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: #25d366;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.home-service-modal__whatsapp:hover {
    color: #fff;
    background: #1ebe57;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
    transform: translateY(-1px);
}

.home-service-modal__whatsapp i {
    font-size: 1.25rem;
}

@media (max-width: 575.98px) {
    .home-service-modal__body {
        padding: 1.15rem 1.2rem 1.35rem;
    }

    .home-service-modal__desc {
        max-height: 10rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-service-modal.fade .modal-dialog {
        transition: none;
    }

    .home-service-modal__whatsapp {
        transition: none;
    }

    .home-service-modal__whatsapp:hover {
        transform: none;
    }
}

@media (max-width: 991.98px) {
    .home-services__header {
        flex-direction: column;
        align-items: stretch;
    }

    .home-services__all {
        align-self: flex-start;
    }

    .home-services__slider {
        padding-inline: 2.75rem;
    }
}

@media (max-width: 575.98px) {
    .home-services__slider {
        padding-inline: 2.35rem;
    }

    .home-services__nav {
        width: 2.35rem;
        height: 2.35rem;
        font-size: 0.85rem;
    }

    .home-services__card {
        min-height: 18.5rem;
    }

    .home-services__content {
        padding: 1.1rem 1.15rem 1.25rem;
    }

    .home-services__name {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-services__card,
    .home-services__card::after,
    .home-services__swiper .home-services__thumb img,
    .home-services__nav,
    .home-services__more {
        transition: none;
    }

    .home-services__swiper .home-services__card:hover {
        transform: none;
    }

    .home-services__swiper .home-services__card:hover::after {
        transform: none;
    }

    .home-services__swiper .home-services__card:hover .home-services__thumb img {
        transform: none;
    }

    .home-services__more:hover i {
        transform: none;
    }
}

/*** Service ***/
.service-item {
    flex-direction: column;
    overflow: hidden;
    border-radius: 14px;
    background: var(--dark);
    box-shadow: 0 10px 40px rgba(37, 37, 37, 0.1);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.service-item:hover {
    box-shadow: 0 18px 48px rgba(37, 37, 37, 0.16);
    transform: translateY(-6px);
}

.service-item .bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.55s ease;
}

.service-item:hover .bg-img {
    transform: scale(1.07);
}

.service-item .service-text {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    margin: 1.1rem;
    width: calc(100% - 2.2rem);
    padding: 2.25rem 1.75rem !important;
    background: rgba(248, 248, 248, 0.94);
    border-radius: 10px;
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, 0.78);
    border-color: rgba(var(--primary-rgb), 0.35);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.service-item .service-text h3 {
    color: var(--dark);
    font-weight: 600;
    letter-spacing: -0.02em;
    transition: color 0.35s ease;
}

.service-item:hover .service-text h3 {
    color: #FFFFFF;
}

.service-item .service-text p {
    color: #5c5c5c;
    line-height: 1.75;
    max-width: 32ch;
    margin-left: auto;
    margin-right: auto;
    transition: color 0.35s ease;
}

.service-item:hover .service-text p {
    color: rgba(255, 255, 255, 0.9);
}

.service-item .btn {
    width: auto;
    max-width: 100%;
    min-height: 44px;
    padding: 0.5rem 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: visible;
    border-radius: 999px;
    border: 2px solid rgba(var(--primary-rgb), 0.35);
    transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 4px 14px rgba(37, 37, 37, 0.08);
    text-decoration: none;
}

.service-item .btn .fa {
    flex-shrink: 0;
    margin: 0 !important;
}

.service-item .btn .service-btn-label {
    display: inline-block;
    max-width: none;
    opacity: 1;
    overflow: visible;
    margin-inline-start: 0;
    font-weight: 500;
}

.service-item .btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.service-item:hover .btn {
    color: var(--dark);
    background: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.service-item:hover .btn .text-primary {
    color: var(--primary) !important;
}

@media (max-width: 575.98px) {
    .service-item .service-text {
        min-height: 320px;
        margin: 0.85rem;
        width: calc(100% - 1.7rem);
        padding: 1.75rem 1.25rem !important;
    }

    .service-item .btn {
        max-width: 100%;
        white-space: normal;
        line-height: 1.4;
        padding: 0.55rem 0.9rem;
    }

    .service-item:hover {
        transform: translateY(-3px);
    }
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}

.project .tab-pane .project__media {
    min-height: 220px;
}

@media (min-width: 576px) {
    .project .tab-pane .project__media {
        min-height: 280px;
    }
}

@media (min-width: 768px) {
    .project .tab-pane .project__media {
        min-height: 350px;
    }
}

@media (max-width: 991.98px) {
    .project .nav .nav-link {
        padding: 0.875rem 1rem !important;
    }

    .project .nav .nav-link.mb-4 {
        margin-bottom: 0.65rem !important;
    }

    .project .nav .nav-link h3 {
        font-size: clamp(0.95rem, 3.8vw, 1.1rem);
        line-height: 1.35;
    }

    .project .tab-pane h1 {
        font-size: clamp(1.25rem, 5vw, 1.65rem);
        line-height: 1.3;
    }

    .project .tab-pane .btn {
        width: 100%;
    }

    .project .text-center.mx-auto.mb-5 .display-5 {
        font-size: clamp(1.35rem, 5.5vw, 2rem);
    }
}

@media (max-width: 575.98px) {
    .container-xxl.project.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .project .text-center.mx-auto.mb-5 {
        margin-bottom: 1.75rem !important;
        padding-inline: 0.25rem;
    }
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #777777;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright,
.site-footer__bottom.copyright {
    padding: 0;
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

/*** Footer — ATA (تصميم موحّد جديد) ***/
.site-footer {
    margin-top: 4rem;
    color: #e8ebe5;
}

.site-footer__container {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 2.5rem);
}

/* شريط الدعوة للإجراء — فاتح */
.site-footer__cta {
    background: linear-gradient(135deg, #f7faf4 0%, #eef3e8 100%);
    border-top: 1px solid #e2e8dc;
    border-bottom: 1px solid #dce5d4;
}

.site-footer__cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 2.25rem;
}

.site-footer__cta-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: rgba(var(--primary-rgb), 0.12);
    border-radius: 999px;
}

.site-footer__cta-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 700;
    line-height: 1.35;
    color: #1a1f16;
}

.site-footer__cta-desc {
    margin: 0;
    max-width: 36rem;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #5a6254;
}

.site-footer__cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.site-footer__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.7rem 1.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.site-footer__cta-btn--primary {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.28);
}

.site-footer__cta-btn--primary:hover {
    color: #fff;
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.site-footer__cta-btn--wa {
    color: #fff;
    background: #25d366;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}

.site-footer__cta-btn--wa:hover {
    color: #fff;
    background: #1ebe57;
    transform: translateY(-1px);
}

/* الجسم الرئيسي — داكن أخضر */
.site-footer__body {
    padding-block: 3rem 2.5rem;
    background: #1a1f18;
    background-image:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(var(--primary-rgb), 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 0% 100%, rgba(var(--primary-rgb), 0.08) 0%, transparent 50%);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem 2rem;
}

.site-footer__brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    text-decoration: none;
}

.site-footer__logo {
    max-height: 3.25rem;
    width: auto;
    display: block;
}

.site-footer__brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.site-footer__about {
    margin: 0 0 1.25rem;
    max-width: 22rem;
    font-size: 0.875rem;
    line-height: 1.8;
    color: rgba(232, 235, 229, 0.72);
}

.site-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.site-footer__contact {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    padding: 0.45rem 0.75rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.site-footer__contact i {
    color: var(--primary-light);
    font-size: 0.85rem;
}

.site-footer__contact:hover {
    color: #fff;
    border-color: rgba(var(--primary-rgb), 0.45);
    background: rgba(var(--primary-rgb), 0.15);
}

.site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.site-footer__social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-footer__social-btn:hover {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.site-footer__social-btn.site-social-link--disabled {
    opacity: 0.3;
    pointer-events: none;
}

.site-footer__title {
    margin: 0 0 1.15rem;
    padding-bottom: 0.65rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    border-bottom: 2px solid rgba(var(--primary-rgb), 0.55);
    display: inline-block;
}

.site-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.site-footer__nav-link {
    display: block;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(232, 235, 229, 0.75);
    text-decoration: none;
    transition: color 0.2s ease, padding-inline-start 0.2s ease;
}

.site-footer__nav-link:hover {
    color: var(--primary-light);
    padding-inline-start: 0.35rem;
}

/* شريط الحقوق */
.site-footer__bar {
    padding-block: 1.1rem;
    background: #121610;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__copy {
    margin: 0;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(232, 235, 229, 0.55);
}

.site-footer__copy a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.site-footer__copy a:hover {
    color: var(--primary-light);
}

@media (max-width: 991.98px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .site-footer {
        margin-top: 3rem;
    }

    .site-footer__cta-inner {
        flex-direction: column;
        align-items: stretch;
        padding-block: 1.75rem;
    }

    .site-footer__cta-actions {
        width: 100%;
    }

    .site-footer__cta-btn {
        flex: 1 1 auto;
        min-width: 0;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .site-footer__body {
        padding-block: 2.25rem 2rem;
    }

    .site-footer__logo {
        max-height: 2.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer__cta-btn:hover,
    .site-footer__social-btn:hover,
    .site-footer__nav-link:hover {
        transform: none;
        padding-inline-start: 0;
    }
}

/**
 * تحسينات الهاتف والتابلت — داخل media queries فقط حتى لا يتأثر سطح المكتب (≥992 حيث يلزم)
 */
@media (max-width: 991.98px) {
    .section-title {
        letter-spacing: 2px;
    }

    .about-img,
    .feature-img {
        min-height: 300px;
    }

}

@media (max-width: 767.98px) {
    .home-hero .hero-content {
        padding: 1.25rem 1.15rem 1.5rem;
    }

    .home-hero .hero-title {
        font-size: clamp(1.5rem, 6.5vw, 2.1rem);
        line-height: 1.3;
    }

    .home-hero .hero-lead {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1rem !important;
    }

    .home-hero .hero-cta {
        padding: 0.65rem 1.35rem !important;
        font-size: 0.95rem;
    }

    .home-hero .owl-carousel-inner .container {
        --bs-gutter-x: 1rem;
    }

    .home-hero__arrow {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.85rem;
    }

    .home-hero__counter {
        bottom: 3.75rem;
    }

    .home-hero__counter-current {
        font-size: 1.5rem;
    }

    .home-hero__thumbs {
        display: none;
    }

    .home-hero__scroll {
        bottom: 3.5rem;
    }

    .home-hero__scroll-text {
        display: none;
    }

    .display-5 {
        font-size: clamp(1.45rem, 5.2vw, 2rem);
        line-height: 1.35;
    }

    .fact-item {
        padding-left: 1.35rem !important;
        padding-right: 1.35rem !important;
        padding-bottom: 1.75rem !important;
    }

    .fact-item .fact-icon {
        width: 96px;
        height: 96px;
        margin-top: -48px;
    }

    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 3rem;
        height: 3rem;
    }

    .back-to-top__icon {
        width: 1.35rem;
        height: 1.35rem;
    }
}

@media (max-width: 575.98px) {
    .section-title {
        letter-spacing: 1px;
        font-size: 0.8rem;
    }

    .about-img,
    .feature-img {
        min-height: 260px;
    }

}

/*** صفحة من نحن — تخطيط مستقل عن الرئيسية (.page-about) ***/
.page-about {
    background: var(--light);
    overflow-x: hidden;
}

@media (min-width: 992px) {
    .page-about__section-space {
        padding-top: 4.25rem !important;
        padding-bottom: 4.25rem !important;
    }

    .page-about__cta-space {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
}

.page-about__intro {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.2);
}

/**
 * خلفية المقدمة: صورة + تظليل للقراءة (المسار يُمرَّر من Blade عبر --page-about-intro-bg-image)
 */
.page-about__intro-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: #2a2623;
    background-image: var(--page-about-intro-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-about__intro-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        rgba(37, 37, 37, 0.82) 0%,
        rgba(37, 37, 37, 0.55) 45%,
        rgba(60, 48, 38, 0.5) 100%
    );
}

.page-about__intro--image {
    min-height: 14rem;
}

@media (min-width: 992px) {
    .page-about__intro--image {
        min-height: 17rem;
    }
}

.page-about__intro--image .page-about__breadcrumb {
    color: rgba(255, 255, 255, 0.78);
}

.page-about__intro--image .page-about__breadcrumb a {
    color: #fff;
}

.page-about__intro--image .page-about__breadcrumb a:hover {
    color: #f0d9c4;
}

.page-about__intro--image .page-about__breadcrumb-sep {
    opacity: 0.55;
}

.page-about__intro--image .page-about__title {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.page-about__intro--image .page-about__subtitle {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.page-about__intro-inner {
    position: relative;
    z-index: 1;
    max-width: 48rem;
}

.page-about__breadcrumb {
    font-size: 0.85rem;
    color: #6c6c6c;
}

.page-about__breadcrumb a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-about__breadcrumb a:hover {
    color: var(--primary);
}

.page-about__breadcrumb-sep {
    margin: 0 0.5rem;
    opacity: 0.45;
}

.page-about__title {
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.page-about__subtitle {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #555;
    max-width: 40rem;
}

.page-about__story {
    background: #fff;
}

.page-about__story-row {
    min-height: 0;
}

@media (min-width: 992px) {
    .page-about__story-row {
        border-radius: 0 0 20px 20px;
        overflow: hidden;
        box-shadow: 0 18px 48px rgba(37, 37, 37, 0.07);
    }
}

.page-about__story-photo-wrap {
    min-height: 240px;
    position: relative;
}

.page-about__story-photo {
    min-height: 280px;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.page-about__story-body {
    padding: 2.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 38rem;
}

@media (min-width: 576px) {
    .page-about__story-body {
        padding-inline: 1.75rem;
    }
}

@media (min-width: 992px) {
    .page-about__story-photo-wrap {
        min-height: 440px;
    }

    .page-about__story-photo {
        min-height: 440px;
    }

    .page-about__story-body {
        padding: 3.75rem clamp(2rem, 4vw, 3.5rem);
        margin-inline: auto;
    }
}

.page-about__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.page-about__eyebrow--center {
    display: inline-block;
}

.page-about__section-head {
    max-width: 38rem;
    margin-bottom: 2.75rem;
}

.page-about__section-head .page-about__eyebrow {
    margin-bottom: 0.65rem;
}

.page-about__section-head--process {
    margin-bottom: 2.25rem;
}

@media (min-width: 992px) {
    .page-about__section-head {
        margin-bottom: 3.25rem;
    }

    .page-about__section-head--process {
        margin-bottom: 2.75rem;
    }
}

.page-about__h2 {
    font-size: clamp(1.35rem, 3.2vw, 1.85rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: 1rem;
}

.page-about__text {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.page-about__stats {
    background: linear-gradient(180deg, var(--light) 0%, #f3f0ec 50%, var(--light) 100%);
}

.page-about__stats-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem 1rem 1.75rem;
    border: 1px solid rgba(var(--primary-rgb), 0.14);
    box-shadow: 0 16px 44px rgba(37, 37, 37, 0.07);
}

@media (min-width: 768px) {
    .page-about__stats-card {
        padding: 2rem 1.75rem 2.25rem;
    }
}

.page-about__stat {
    background: var(--light);
    border-radius: 16px;
    padding: 1.5rem 0.85rem 1.35rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 18px rgba(37, 37, 37, 0.04);
    height: 100%;
    min-height: 148px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.page-about__stat-figure {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 0.08em;
    line-height: 1;
}

.page-about__stat-value {
    font-size: clamp(1.85rem, 4.2vw, 2.35rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.page-about__stat-unit {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1;
    vertical-align: baseline;
}

.page-about__stat-label {
    font-size: 0.8125rem;
    color: #666;
    margin: 0;
    line-height: 1.45;
    max-width: 12rem;
    margin-inline: auto;
}

.page-about__pillars {
    background: #fff;
    border-block: 1px solid rgba(0, 0, 0, 0.05);
}

.page-about__pillars .row {
    --bs-gutter-y: 1.5rem;
}

.page-about__pillar {
    background: var(--light);
    border-radius: 16px;
    padding: 1.85rem 1.5rem 1.75rem;
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1200px) {
    .page-about__pillar {
        min-height: 220px;
    }
}

.page-about__pillar:hover {
    box-shadow: 0 12px 36px rgba(37, 37, 37, 0.08);
    transform: translateY(-3px);
}

.page-about__pillar-index {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
}

.page-about__pillar-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
    color: var(--dark);
}

.page-about__pillar-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #5a5a5a;
    flex-grow: 1;
}

.page-about__mv-section {
    padding: 3rem 0 3.5rem;
    background: linear-gradient(180deg, var(--light) 0%, #fff 35%, #fff 100%);
    border-top: 1px solid rgba(var(--primary-rgb), 0.12);
}

@media (min-width: 992px) {
    .page-about__mv-section {
        padding: 3.75rem 0 4rem;
    }
}

.page-about__mv {
    border-radius: 16px;
    padding: 2rem 1.75rem;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

@media (min-width: 992px) {
    .page-about__mv {
        padding: 2.35rem 2rem;
    }
}

.page-about__mv--mission {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, #fff 60%);
    border-color: rgba(var(--primary-rgb), 0.25);
}

.page-about__mv--vision {
    background: #fff;
    border-color: rgba(37, 37, 37, 0.08);
    box-shadow: 0 10px 36px rgba(37, 37, 37, 0.06);
}

.page-about__mv-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid rgba(var(--primary-rgb), 0.35);
    display: inline-block;
    align-self: flex-start;
}

.page-about__mv--vision .page-about__mv-title {
    border-bottom-color: rgba(37, 37, 37, 0.12);
}

.page-about__mv-text {
    color: #555;
    line-height: 1.75;
    font-size: 0.98rem;
}

.page-about__process {
    background: #f6f4f1;
}

.page-about__steps {
    max-width: 760px;
    margin-inline: auto;
    background: #fff;
    border-radius: 22px;
    padding: 1.75rem 1.25rem 2rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 50px rgba(37, 37, 37, 0.08);
}

@media (min-width: 768px) {
    .page-about__steps {
        padding: 2.5rem 2.5rem 2.75rem 2.75rem;
    }
}

.page-about__step {
    display: flex;
    gap: 1.25rem;
    padding-bottom: 2rem;
    position: relative;
    padding-inline-start: 0.25rem;
}

.page-about__step:not(.page-about__step--last)::before {
    content: "";
    position: absolute;
    top: 3rem;
    bottom: 0;
    width: 2px;
    background: rgba(var(--primary-rgb), 0.32);
    inset-inline-start: 21px;
    z-index: 0;
}

.page-about__step--last {
    padding-bottom: 0;
}

.page-about__step-badge {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px #fff;
}

.page-about__step-title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
    color: var(--dark);
}

.page-about__step-desc {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.7;
}

.page-about__team {
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.page-about__team-row {
    max-width: 920px;
    margin-inline: auto;
}

.page-about__person {
    padding: 0.5rem 0.25rem;
}

.page-about__person-img-wrap {
    width: 140px;
    height: 140px;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 10px 30px rgba(37, 37, 37, 0.12);
}

.page-about__person-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-about__person-name {
    font-weight: 600;
    color: var(--dark);
}

.page-about__cta-band {
    background: linear-gradient(120deg, #1a2e10 0%, #2d4a1a 40%, var(--primary) 100%);
}

.page-about__cta-row {
    max-width: 1100px;
    margin-inline: auto;
}

.page-about__cta-title {
    font-size: clamp(1.2rem, 3vw, 1.55rem);
    font-weight: 700;
    line-height: 1.35;
}

.page-about__cta-text {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 36rem;
}

.page-about__cta-btn {
    min-width: 11rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991.98px) {
    .page-about__cta-btn {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 575.98px) {
    .page-about__pillar:hover {
        transform: none;
    }

    .page-about__person-img-wrap {
        width: 120px;
        height: 120px;
    }

    /* ——— صفحة من نحن: تحسينات الهاتف فقط ——— */
    .page-about .page-about__intro-inner {
        padding-top: 1.25rem !important;
        padding-bottom: 1.35rem !important;
    }

    .page-about__intro--image {
        min-height: 12.5rem;
    }

    .page-about__intro-bg::after {
        background: linear-gradient(
            115deg,
            rgba(37, 37, 37, 0.88) 0%,
            rgba(37, 37, 37, 0.6) 50%,
            rgba(60, 48, 38, 0.55) 100%
        );
    }

    .page-about__intro--image .page-about__title {
        font-size: clamp(1.45rem, 7vw, 1.9rem);
        margin-bottom: 0.65rem !important;
    }

    .page-about__intro--image .page-about__subtitle {
        font-size: 0.9375rem;
        line-height: 1.65;
    }

    .page-about__breadcrumb {
        font-size: 0.8125rem;
        line-height: 1.55;
    }

    .page-about__story.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .page-about__story-photo-wrap {
        min-height: 200px;
    }

    .page-about__story-photo {
        min-height: 210px;
    }

    .page-about__story-body {
        padding: 1.65rem 1rem 1.85rem;
    }

    .page-about__h2 {
        font-size: clamp(1.2rem, 5.2vw, 1.45rem);
        line-height: 1.32;
    }

    .page-about__text {
        font-size: 0.9375rem;
        line-height: 1.72;
    }

    .page-about__stats.py-4 {
        padding-top: 1.65rem !important;
        padding-bottom: 1.65rem !important;
    }

    .page-about__stats-card {
        padding: 1rem 0.6rem 1.15rem;
        border-radius: 16px;
    }

    .page-about__stat {
        min-height: 0;
        padding: 0.95rem 0.35rem 0.9rem;
        gap: 0.35rem;
    }

    .page-about__stat-value {
        font-size: clamp(1.4rem, 6.5vw, 1.85rem);
    }

    .page-about__stat-unit {
        font-size: 1rem;
    }

    .page-about__stat-label {
        font-size: 0.72rem;
        line-height: 1.4;
        max-width: none;
        padding-inline: 0.15rem;
    }

    .page-about__pillars.py-5 {
        padding-top: 2.15rem !important;
        padding-bottom: 2.15rem !important;
    }

    .page-about__section-head {
        margin-bottom: 1.65rem;
        padding-inline: 0.25rem;
    }

    .page-about__section-head--process {
        margin-bottom: 1.25rem;
    }

    .page-about__pillar {
        padding: 1.35rem 1.05rem 1.2rem;
    }

    .page-about__pillar-title {
        font-size: 1.02rem;
    }

    .page-about__pillar-text {
        font-size: 0.875rem;
    }

    .page-about__mv-section {
        padding: 2rem 0 2.25rem;
    }

    .page-about__mv {
        padding: 1.45rem 1.1rem;
    }

    .page-about__mv-title {
        font-size: 1.08rem;
    }

    .page-about__mv-text {
        font-size: 0.9rem;
    }

    .page-about__process.py-5 {
        padding-top: 2.1rem !important;
        padding-bottom: 2.1rem !important;
    }

    .page-about__steps {
        padding: 1.2rem 0.85rem 1.45rem 1rem;
        border-radius: 16px;
    }

    .page-about__step {
        gap: 0.8rem;
        padding-bottom: 1.35rem;
        padding-inline-start: 0.15rem;
    }

    .page-about__step:not(.page-about__step--last)::before {
        top: 2.55rem;
        inset-inline-start: 18px;
    }

    .page-about__step-badge {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
        box-shadow: 0 0 0 3px #fff;
    }

    .page-about__step-title {
        font-size: 0.98rem;
        line-height: 1.3;
    }

    .page-about__step-desc {
        font-size: 0.8125rem;
        line-height: 1.65;
    }

    .page-about__cta-band .page-about__cta-row {
        text-align: center;
        justify-content: center;
    }

    .page-about__cta-band .text-lg-end {
        text-align: center !important;
    }

    .page-about__cta-title {
        font-size: 1.12rem;
    }

    .page-about__cta-text {
        font-size: 0.9rem;
        margin-inline: auto;
    }

    .page-about__subtitle,
    .page-about__stat-label,
    .page-about__text,
    .page-about__step-desc {
        overflow-wrap: break-word;
    }
}

/*** صفحة الخدمات — تحسينات الهاتف فقط (.page-services لا تؤثر على الرئيسية) ***/
.page-services .page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/images/hero2.jpeg) center center no-repeat;
    background-size: cover;
}

@media (max-width: 767.98px) {
    .page-services .page-header {
        margin-bottom: 2.5rem !important;
    }

    .page-services .page-header .display-1 {
        font-size: clamp(1.7rem, 6.8vw, 2.45rem);
        line-height: 1.22;
    }

    .page-services .page-header .breadcrumb {
        font-size: 0.8125rem;
        flex-wrap: wrap;
        row-gap: 0.25rem;
    }
}

@media (max-width: 575.98px) {
    .page-services .page-header {
        padding-top: 2.25rem !important;
        padding-bottom: 2.25rem !important;
        margin-bottom: 1.75rem !important;
    }

    .page-services .page-header .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .page-services .page-header .display-1 {
        font-size: clamp(1.5rem, 8.5vw, 2rem);
        margin-bottom: 0.35rem;
    }

    .page-services > .container-xxl.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .page-services .container-xxl > .container.pt-5 {
        padding-top: 0.75rem !important;
    }

    .page-services .fact-item {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-bottom: 1.35rem !important;
    }

    .page-services .fact-item .fact-icon {
        width: 88px;
        height: 88px;
        margin-top: -44px;
        margin-bottom: 0.85rem;
    }

    .page-services .fact-item .fact-icon img {
        max-width: 52%;
        max-height: 52%;
    }

    .page-services .fact-item h3 {
        font-size: 1.02rem;
    }

    .page-services .fact-item p {
        font-size: 0.875rem;
        line-height: 1.65;
    }

    .page-services .container .text-center.mx-auto.mb-5 {
        margin-bottom: 1.5rem !important;
        padding-inline: 0.35rem;
    }

    .page-services .container .text-center.mx-auto.mb-5 .display-5 {
        font-size: clamp(1.2rem, 5.5vw, 1.55rem);
        line-height: 1.32;
    }

    .page-services .row.g-4 {
        --bs-gutter-x: 0.85rem;
        --bs-gutter-y: 1.15rem;
    }

    .page-services .service-item .service-text {
        min-height: 300px;
        margin: 0.75rem;
        width: calc(100% - 1.5rem);
        padding: 1.5rem 1.1rem !important;
    }

    .page-services .service-item .service-text h3 {
        font-size: 1.05rem;
    }

    .page-services .service-item .service-text p {
        font-size: 0.9rem;
        margin-bottom: 1rem !important;
    }

    .page-services .testimonial-carousel {
        max-width: 100%;
        padding-inline: 0.15rem;
    }

    .page-services .testimonial-carousel .owl-dots {
        height: auto;
        min-height: 72px;
        flex-wrap: wrap;
        margin-bottom: 1.1rem;
        gap: 0.4rem;
        padding-inline: 0.25rem;
    }

    .page-services .testimonial-carousel .owl-dots .owl-dot {
        width: 50px;
        height: 50px;
        margin: 0 4px;
    }

    .page-services .testimonial-carousel .owl-dots .owl-dot.active {
        width: 68px;
        height: 68px;
    }

    .page-services .testimonial-item .fs-5 {
        font-size: 0.92rem !important;
        line-height: 1.68;
    }

    .page-services .testimonial-item h3 {
        font-size: 0.98rem;
    }

    .page-services .testimonial-item .text-primary {
        font-size: 0.875rem;
    }
}

/*** صفحة اتصل بنا — تحسينات الهاتف فقط (.page-contact) ***/
.page-contact .page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/images/hero4.jpeg) center center no-repeat;
    background-size: cover;
}

@media (max-width: 767.98px) {
    .page-contact .page-header {
        margin-bottom: 2.5rem !important;
    }

    .page-contact .page-header .display-1 {
        font-size: clamp(1.7rem, 6.8vw, 2.45rem);
        line-height: 1.22;
    }

    .page-contact .page-header .breadcrumb {
        font-size: 0.8125rem;
        flex-wrap: wrap;
        row-gap: 0.25rem;
    }

    .page-contact .row.g-5 {
        --bs-gutter-x: 1.35rem;
        --bs-gutter-y: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .page-contact .page-header {
        padding-top: 2.25rem !important;
        padding-bottom: 2.25rem !important;
        margin-bottom: 1.75rem !important;
    }

    .page-contact .page-header .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .page-contact .page-header .display-1 {
        font-size: clamp(1.45rem, 8.5vw, 1.95rem);
        margin-bottom: 0.35rem;
    }

    .page-contact .container-xxl.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .page-contact .container .text-center.mx-auto.mb-5 {
        margin-bottom: 1.5rem !important;
        padding-inline: 0.35rem;
    }

    .page-contact .container .text-center.mx-auto.mb-5 .section-title {
        margin-bottom: 0.5rem;
    }

    .page-contact .container .text-center.mx-auto.mb-5 .display-5 {
        font-size: clamp(1.2rem, 5.5vw, 1.55rem);
        line-height: 1.32;
    }

    .page-contact .row.g-5 {
        --bs-gutter-x: 0.85rem;
        --bs-gutter-y: 1.35rem;
    }

    .page-contact .bg-light.d-flex.align-items-center.p-4 {
        padding: 1rem !important;
        flex-wrap: wrap;
        align-items: flex-start !important;
        gap: 0.75rem;
    }

    .page-contact .bg-light .ms-4,
    .page-contact .bg-light .me-4 {
        margin-inline-start: 0 !important;
        margin-inline-end: 0 !important;
        flex: 1 1 100%;
        min-width: 0;
    }

    .page-contact .bg-light h3.h5 {
        font-size: 1rem;
        line-height: 1.45;
        word-break: break-word;
    }

    .page-contact .col-lg-6 > p.mb-4 {
        font-size: 0.9375rem;
        line-height: 1.65;
    }

    .page-contact .form-floating > .form-control {
        min-height: 52px;
        padding-top: 1.1rem;
        padding-bottom: 0.35rem;
    }

    .page-contact .form-floating > label {
        padding-top: 0.85rem;
    }

    .page-contact textarea.form-control {
        min-height: 110px !important;
    }

    .page-contact .btn-primary.w-100.py-3 {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
        font-size: 0.95rem;
    }

    .page-contact .alert {
        font-size: 0.9rem;
        padding: 0.85rem 1rem;
    }

    .page-contact .alert ul {
        padding-inline-start: 1.1rem;
    }

    .page-contact .container-xxl.pt-5.px-0 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-contact .page-contact__map {
        height: 260px !important;
        min-height: 200px;
    }
}

/*** صفحة أعمالنا — معرض مشاريع (.page-projects) ***/
.page-projects {
    background: var(--light);
    overflow-x: hidden;
}

.page-projects .page-header {
    margin-bottom: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/images/hero3.jpeg) center center no-repeat;
    background-size: cover;
}

.page-projects__hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.page-projects__hero-lead {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    line-height: 1.75;
    max-width: 40rem;
}

.page-projects__intro {
    background: linear-gradient(180deg, #fff 0%, var(--light) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.page-projects__intro-title {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

.page-projects__intro-text {
    color: #555;
    line-height: 1.8;
    font-size: 1.02rem;
}

.page-projects__stat-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.15rem 0.75rem;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    box-shadow: 0 8px 28px rgba(37, 37, 37, 0.06);
}

.page-projects__stat-num {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

.page-projects__stat-label {
    font-size: 0.72rem;
    color: #666;
    line-height: 1.35;
    display: block;
}

.page-projects__gallery {
    background: var(--light);
}

.page-projects__gallery-title {
    font-weight: 700;
    color: var(--dark);
}

.page-projects__filter-btn {
    font-weight: 600;
    font-size: 0.8125rem;
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    background: #fff !important;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.page-projects__filter-btn:hover {
    background: rgba(var(--primary-rgb), 0.12) !important;
    color: var(--dark) !important;
}

.page-projects__filter-btn.is-active {
    background: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.35);
}

.page-projects__card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 14px 44px rgba(37, 37, 37, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.page-projects__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 56px rgba(37, 37, 37, 0.12);
}

.page-projects__card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--dark);
}

.page-projects__card-media--slider .page-projects__card-carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.page-projects__card-media--slider .carousel-inner,
.page-projects__card-media--slider .carousel-item {
    height: 100%;
    min-height: 0;
}

.page-projects__card-media--slider .carousel-item .page-projects__card-img {
    height: 100%;
    object-fit: cover;
}

.page-projects__card-media--slider::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(37, 37, 37, 0.5) 0%, transparent 50%, rgba(37, 37, 37, 0.12) 100%);
    border-radius: inherit;
}

.page-projects__card-media--slider .page-projects__card-badge {
    z-index: 4;
}

@keyframes page-projects-stone-zoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.07);
    }
}

.page-projects__card-carousel.carousel-fade .carousel-item .page-projects__card-img {
    transition: opacity 0.65s ease-in-out, transform 0.65s ease-out;
}

.page-projects__card-carousel .carousel-item.active .page-projects__card-img {
    animation: page-projects-stone-zoom 2.2s ease-in-out infinite alternate;
}

.page-projects__card-carousel .page-projects__carousel-arrow {
    width: 2.65rem;
    height: 2.65rem;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    opacity: 1;
    padding: 0;
    border: none;
    z-index: 3;
}

.page-projects__card-carousel .carousel-control-prev.page-projects__carousel-arrow {
    left: 0.65rem;
    right: auto;
}

.page-projects__card-carousel .carousel-control-next.page-projects__carousel-arrow {
    right: 0.65rem;
    left: auto;
}

.page-projects__card-carousel .page-projects__carousel-arrow-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--primary);
    font-size: 0.95rem;
    box-shadow: 0 6px 22px rgba(37, 37, 37, 0.2);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.page-projects__card-carousel .page-projects__carousel-arrow:hover .page-projects__carousel-arrow-inner,
.page-projects__card-carousel .page-projects__carousel-arrow:focus .page-projects__carousel-arrow-inner {
    background: #fff;
    transform: scale(1.06);
    box-shadow: 0 8px 28px rgba(37, 37, 37, 0.28);
    color: var(--dark);
}

.page-projects__card-carousel .page-projects__carousel-arrow:focus {
    box-shadow: none;
}

.page-projects__card-carousel .page-projects__carousel-arrow:focus-visible .page-projects__carousel-arrow-inner {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .page-projects__card-carousel .carousel-item.active .page-projects__card-img {
        animation: none;
    }

    .page-projects__card-carousel.carousel-fade .carousel-item .page-projects__card-img {
        transition: opacity 0.35s ease;
    }
}

.page-projects__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.page-projects__card:hover .page-projects__card-media:not(.page-projects__card-media--slider) .page-projects__card-img {
    transform: scale(1.05);
}

.page-projects__card-badge {
    position: absolute;
    top: 1rem;
    inset-inline-end: 1rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-projects__card-body {
    padding: 1.75rem 1.5rem 1.85rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.page-projects__tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.65rem;
}

.page-projects__card-title {
    font-size: clamp(1.15rem, 2.4vw, 1.4rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.page-projects__excerpt {
    color: #5a5a5a;
    line-height: 1.75;
    font-size: 0.95rem;
    margin-bottom: 0;
    flex-grow: 1;
}

.page-projects__highlights {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.55;
}

.page-projects__highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.page-projects__highlights li:last-child {
    margin-bottom: 0;
}

.page-projects__highlights .fa-check {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.page-projects__cta-band {
    background: linear-gradient(115deg, #1a2e10 0%, #2d4a1a 42%, var(--primary) 100%);
}

.page-projects__cta-title {
    font-size: clamp(1.15rem, 2.8vw, 1.5rem);
    font-weight: 700;
    line-height: 1.35;
}

.page-projects__cta-text {
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 36rem;
}

@media (max-width: 767.98px) {
    .page-projects .page-header .display-1 {
        font-size: clamp(1.65rem, 6.5vw, 2.35rem);
        line-height: 1.2;
    }

    .page-projects .page-header .breadcrumb {
        font-size: 0.8125rem;
        flex-wrap: wrap;
        row-gap: 0.25rem;
    }

    .page-projects__hero-lead {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .page-projects__intro .row.g-4 {
        --bs-gutter-y: 1.35rem;
    }

    .page-projects__gallery .row.g-4.g-lg-5 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1.35rem;
    }

    .page-projects__card:hover {
        transform: none;
    }

    .page-projects__card:hover .page-projects__card-media:not(.page-projects__card-media--slider) .page-projects__card-img {
        transform: none;
    }
}

@media (max-width: 575.98px) {
    .page-projects .page-header {
        padding-top: 2.25rem !important;
        padding-bottom: 2.25rem !important;
    }

    .page-projects .page-header .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .page-projects .page-header .display-1 {
        font-size: clamp(1.45rem, 8vw, 1.95rem);
        margin-bottom: 0.35rem;
    }

    .page-projects__hero-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.12em;
    }

    .page-projects__hero-lead {
        font-size: 0.9rem;
        line-height: 1.65;
        margin-bottom: 1rem !important;
    }

    .page-projects .page-header .breadcrumb {
        font-size: 0.72rem;
        margin-top: 1rem !important;
    }

    .page-projects .page-header .mt-lg-4 {
        margin-top: 1rem !important;
    }

    .page-projects__intro {
        padding-top: 1.75rem !important;
        padding-bottom: 1.75rem !important;
    }

    .page-projects__intro .section-title {
        margin-bottom: 0.35rem;
    }

    .page-projects__intro-title {
        font-size: clamp(1.1rem, 5.2vw, 1.35rem);
        line-height: 1.28;
        margin-bottom: 0.65rem !important;
    }

    .page-projects__intro-text {
        font-size: 0.9rem;
        line-height: 1.72;
    }

    .page-projects__stat-card {
        padding: 0.75rem 0.4rem;
        border-radius: 12px;
    }

    .page-projects__stat-num {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .page-projects__stat-label {
        font-size: 0.62rem;
        line-height: 1.25;
    }

    .page-projects__gallery {
        padding-bottom: 1.75rem !important;
    }

    .page-projects__gallery .text-center.mx-auto.mb-4 {
        margin-bottom: 1.15rem !important;
        padding-inline: 0.35rem;
    }

    .page-projects__gallery .section-title {
        margin-bottom: 0.35rem;
    }

    .page-projects__gallery-title.display-6 {
        font-size: clamp(1.02rem, 5vw, 1.22rem);
        line-height: 1.32;
    }

    .page-projects__filters {
        row-gap: 0.45rem !important;
        column-gap: 0.35rem !important;
        margin-bottom: 1.25rem !important;
    }

    .page-projects__filter-btn {
        flex: 1 1 auto;
        min-width: calc(50% - 0.2rem);
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
        font-size: 0.72rem;
    }

    .page-projects .row.g-4.g-lg-5 {
        --bs-gutter-x: 0.65rem;
        --bs-gutter-y: 1rem;
    }

    .page-projects__card {
        border-radius: 14px;
    }

    .page-projects__card-media {
        aspect-ratio: 4 / 3;
    }

    .page-projects__card-badge {
        width: 2.3rem;
        height: 2.3rem;
        font-size: 0.78rem;
        top: 0.65rem;
        inset-inline-end: 0.65rem;
    }

    .page-projects__card-body {
        padding: 1.15rem 1rem 1.35rem;
    }

    .page-projects__tag {
        font-size: 0.62rem;
        letter-spacing: 0.08em;
        margin-bottom: 0.45rem;
    }

    .page-projects__card-title {
        font-size: 1.02rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    .page-projects__excerpt {
        font-size: 0.84rem;
        line-height: 1.68;
    }

    .page-projects__highlights {
        font-size: 0.78rem;
        margin-top: 0.75rem;
        margin-bottom: 1rem !important;
    }

    .page-projects__highlights li {
        gap: 0.4rem;
        margin-bottom: 0.3rem;
    }

    .page-projects__card .btn.rounded-pill {
        width: 100%;
        max-width: 100%;
        padding-top: 0.65rem !important;
        padding-bottom: 0.65rem !important;
        font-size: 0.875rem;
    }

    .page-projects__cta-band {
        padding-top: 1.65rem !important;
        padding-bottom: 1.65rem !important;
    }

    .page-projects__cta-title {
        font-size: 1.02rem;
        line-height: 1.32;
        margin-bottom: 0.5rem !important;
    }

    .page-projects__cta-text {
        font-size: 0.84rem;
        line-height: 1.62;
    }

    .page-projects__cta-band .row {
        text-align: center;
        justify-content: center;
    }

    .page-projects__cta-band .text-lg-end {
        text-align: center !important;
    }

    .page-projects__cta-band .btn-lg {
        width: 100%;
        max-width: 300px;
        padding-top: 0.65rem !important;
        padding-bottom: 0.65rem !important;
        font-size: 0.95rem;
    }
}