/********** Template CSS **********/
:root {
    --primary: #B78D65;
    --light: #F8F8F8;
    --dark: #252525;
    --scrollbar-track: #e8e4df;
    --scrollbar-thumb-hover: #8f6b4a;
}

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;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.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, #c9a47e 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-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 — الهواري (شريط علوي + نافبار) ***/
.site-topbar {
    background: linear-gradient(180deg, #2d2d2d 0%, #1a1a1a 100%);
    border-bottom: 1px solid rgba(183, 141, 101, 0.28);
    font-size: 0.875rem;
}

.site-topbar__inner {
    width: 100%;
    min-height: 46px;
}

.site-topbar__start {
    justify-content: flex-start;
}

.site-topbar__end {
    justify-content: flex-end;
}

.site-topbar .topbar-link--phone {
    font-weight: 600;
}

.site-topbar .topbar-social-group {
    padding: 0.25rem 0.35rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-topbar .topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    transition: color 0.25s ease, background 0.25s ease;
}

.site-topbar .topbar-link:hover {
    color: #fff;
    background: rgba(183, 141, 101, 0.18);
}

.site-topbar .topbar-link--muted {
    color: rgba(255, 255, 255, 0.65);
    padding: 0.25rem 0.4rem;
}

.site-topbar .topbar-link--muted:hover {
    color: var(--primary);
    background: transparent;
}

.site-topbar .topbar-link__icon {
    color: var(--primary);
    font-size: 0.95em;
}

.site-topbar .topbar-sep {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.22);
    margin-inline: 0.1rem;
    align-self: center;
}

.site-topbar .topbar-dot {
    color: rgba(255, 255, 255, 0.35);
    user-select: none;
}

.site-topbar .topbar-social-btn {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.88);
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

.site-navbar {
    box-shadow: 0 4px 24px rgba(37, 37, 37, 0.07);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {
    .site-navbar.navbar-expand-lg .site-navbar__collapse {
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        flex-grow: 1;
    }

    .site-navbar__center {
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 0;
        width: auto !important;
    }

    .site-navbar__center .navbar-nav {
        flex-direction: row;
        justify-content: center;
    }
}

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

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

.site-navbar .navbar-brand-logo {
    max-height: 65px;
    width: auto;
    display: block;
}

.site-navbar.navbar .navbar-nav .nav-link {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    position: relative;
}

.site-navbar.navbar .navbar-nav .nav-link:not(.dropdown-toggle)::after {
    content: "";
    position: absolute;
    bottom: 22px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.site-navbar.navbar .navbar-nav .nav-link:not(.dropdown-toggle):hover::after,
.site-navbar.navbar .navbar-nav .nav-link:not(.dropdown-toggle).active::after {
    width: 28px;
}

.site-navbar .dropdown-menu-site {
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(37, 37, 37, 0.14);
    padding: 0.5rem 0;
    min-width: 11rem;
}

.site-navbar .dropdown-menu-site .dropdown-item {
    padding: 0.55rem 1.25rem;
    font-weight: 500;
    transition: color 0.2s ease, background 0.2s ease;
}

.site-navbar .dropdown-menu-site .dropdown-item:hover,
.site-navbar .dropdown-menu-site .dropdown-item:focus {
    color: var(--primary);
    background: rgba(183, 141, 101, 0.1);
}

.navbar-toggler-site:focus {
    box-shadow: 0 0 0 0.2rem rgba(183, 141, 101, 0.25);
}

.btn-cta-header {
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(183, 141, 101, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta-header:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(183, 141, 101, 0.45);
}

@media (max-width: 991.98px) {
    .site-navbar.navbar .navbar-nav .nav-link::after {
        display: none;
    }

    .site-navbar .dropdown-menu-site {
        box-shadow: none;
        border-radius: 0;
        padding-inline-start: 1rem;
        padding-inline-end: 0;
    }

    .site-navbar .navbar-brand-logo {
        max-height: 52px;
    }

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


/*** 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: rgba(0, 0, 0, .5);
}

/* 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;
}

.header-carousel .owl-carousel-item .hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

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

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

.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;
}


/*** 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;
}


/*** 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;
}


/*** 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(183, 141, 101, 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(183, 141, 101, 0.35);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.service-item .service-item-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
    transition: transform 0.35s ease, filter 0.35s ease;
    filter: drop-shadow(0 6px 14px rgba(37, 37, 37, 0.12));
}

.service-item:hover .service-item-icon {
    transform: scale(1.06);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35)) brightness(1.15);
}

.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(183, 141, 101, 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;
}


/*** 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 {
    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 — هوية الهواري ***/
.site-footer {
    color: rgba(255, 255, 255, 0.78);
    border-top: 3px solid var(--primary);
    background: #101010;
}

.site-footer__main {
    background: linear-gradient(165deg, #222 0%, #181818 45%, #121212 100%);
}

.site-footer__lead {
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.75;
}

.site-footer__muted {
    color: rgba(255, 255, 255, 0.55);
}

.site-footer__logo {
    max-height: 100px;
    width: auto;
    display: block;
}

.site-footer__logo-link:hover .site-footer__logo {
    opacity: 0.9;
}

.site-footer__heading {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.35rem;
    position: relative;
    padding-bottom: 0.7rem;
}

.site-footer__heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 42px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.site-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.92rem;
    line-height: 1.55;
}

.site-footer__contact-icon {
    flex-shrink: 0;
    width: 2.1rem;
    height: 2.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(183, 141, 101, 0.16);
    color: var(--primary);
    border-radius: 8px;
    font-size: 0.85rem;
}

.site-footer__contact-link {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
}

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

.site-footer__social-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.88);
    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__link {
    display: block;
    padding: 0.25rem 0;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
    transform: translateX(0);
}

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

.site-footer__cta {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 22px rgba(183, 141, 101, 0.32);
}

.site-footer__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(183, 141, 101, 0.42);
}

.site-footer__bottom {
    background: #0a0a0a;
}

.site-footer__bottom-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

@media (min-width: 768px) {
    [dir="rtl"] .site-footer__link:hover {
        transform: translateX(-4px);
    }

    [dir="ltr"] .site-footer__link:hover {
        transform: translateX(4px);
    }
}

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

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

    .site-footer__logo {
        max-height: 56px;
    }
}

@media (max-width: 767.98px) {
    .header-carousel .owl-carousel-inner .display-1 {
        font-size: clamp(1.55rem, 6.5vw, 2.15rem);
        line-height: 1.28;
    }

    .header-carousel .owl-carousel-inner .fs-5 {
        font-size: 0.95rem !important;
        line-height: 1.65;
        margin-bottom: 1rem !important;
    }

    .header-carousel .owl-carousel-inner .btn {
        padding: 0.65rem 1.35rem;
        font-size: 0.95rem;
    }

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

    .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: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

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

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

    .service-item .service-item-icon {
        width: 60px;
        height: 60px;
    }

    .site-footer__bottom .row {
        text-align: center;
    }

    .site-footer__bottom .col-md-8,
    .site-footer__bottom .col-md-4 {
        text-align: center !important;
    }
}

/*** صفحة من نحن — تخطيط مستقل عن الرئيسية (.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(183, 141, 101, 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(183, 141, 101, 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(183, 141, 101, 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(183, 141, 101, 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(183, 141, 101, 0.1) 0%, #fff 60%);
    border-color: rgba(183, 141, 101, 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(183, 141, 101, 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(183, 141, 101, 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, #2a2420 0%, #3d3229 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 لا تؤثر على الرئيسية) ***/
@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) ***/
@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);
}

.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(183, 141, 101, 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(183, 141, 101, 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(183, 141, 101, 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-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.page-projects__card:hover .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, #2a2420 0%, #3d3229 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-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;
    }
}