/* ============================================
   WOOD HOUSE FIT-OUT — Main Stylesheet (RTL)
   ============================================ */

/* ━━━ Fonts ━━━ */
@font-face {
    font-family: 'RH-Zak';
    src: url('../fonts/RH-Zak-Reg.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'RH-Zak';
    src: url('../fonts/RH-Zak-Reg.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'RH-Zak';
    src: url('../fonts/RH-Zak-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ━━━ Variables ━━━ */
:root {
    --primary: #655d59;
    --primary-dark: #645f59;
    --secondary: #3d3d3d;
    --black: #000000;
    --white: #ffffff;
    --white-soft: #fffdfd;
    --gray: #747474;
    --gray-subtle: #979797;
    --gray-light: #868584;
    --bg-page: #f9f9f9;
    --bg-strip: #f3f3f3;
    --bg-card-alt: #ece8e5;
    --copyright: #f5f5f5;
    --dot-inactive: #d9d9d9;
    --transition: all 0.35s ease-in-out;
    --transition-slow: all 0.5s ease-in-out;
    --container-width: 1170px;
    --shadow-card: 0 0 18px 10px rgba(0, 0, 0, 0.01);
    --shadow-floating: 0 0 11px 10px rgba(0, 0, 0, 0.12);
    --shadow-map: 0 0 11px 0 rgba(0, 0, 0, 0.18);
}

/* ━━━ Reset / Base ━━━ */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'RH-Zak', 'Tajawal', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--black);
    background-color: var(--bg-page);
    overflow-x: hidden;
    margin: 0;
    direction: rtl;
    text-align: start;
}
[dir="ltr"] body{
    direction: ltr;
}
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

p {
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 700;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ━━━ Bootstrap RTL Overrides ━━━ */
[dir="rtl"] .text-left { text-align: start !important; }
[dir="rtl"] .text-right { text-align: end !important; }
[dir="rtl"] .float-left { float: inline-start !important; }
[dir="rtl"] .float-right { float: inline-end !important; }
[dir="ltr"] .mobile-nav-list{
    inset-inline-start: unset;
    inset-inline-end: 0;
}

.container {
    max-width: var(--container-width);
}

/* ━━━ Section base ━━━ */
.section {
    padding: 80px 0;
    position: relative;
}

.section__head {
    text-align: center;
    margin-bottom: 50px;
}

.section__title {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section__subtitle {
    font-size: 18px;
    font-weight: 300;
    color: var(--gray-subtle);
    line-height: 44px;
    max-width: 1026px;
    margin: 0 auto;
}

/* ━━━ Buttons ━━━ */
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    color: var(--secondary);
    font-size: 19px;
    font-weight: 700;
    border-radius: 500px;
    gap: 10px;
    padding: 14px 20px;
    transition: var(--transition);
    min-height: 56px;
    line-height: 1;
}

.btn-pill:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-pill--small {
    font-size: 12px;
    font-weight: 700;
    padding: 8px 18px;
    min-height: 33px;
    background-color: var(--primary);
    color: var(--white);
}

.btn-pill--small:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-arrow img {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.btn-arrow:hover img {
    transform: translateX(-4px);
}

/* ━━━ Scroll-indicator dots (3 dots) ━━━ */
.scroll-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 27px;
    margin-top: 30px;
}

.scroll-dots__dot {
    width: 4px;
    height: 15px;
    padding: 0;
    cursor: pointer;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.17);
    transition: var(--transition);
}

.scroll-dots__dot--active {
    height: 27px;
    background-color: var(--white);
}

.scroll-dots--dark .scroll-dots__dot {
    background-color: rgba(0, 0, 0, 0.17);
}

.scroll-dots--dark .scroll-dots__dot--active {
    background-color: var(--primary);
}

/* ━━━ HEADER / NAVBAR ━━━ */
.site-header {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
    background-color: rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.site-header.is-sticky {
    backdrop-filter: blur(10px);
    background-color: rgba(20, 20, 20, 0.85);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.site-header.is-sticky .header-inner{

}

.head-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.head-logo img {
    width: auto;
    height: 56px;
    object-fit: contain;
}

.menu-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.menu-icons__btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--white);
}

.menu-icons__btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

.menu-icons__btn img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
}

.menu-icons__btn--cta {
    background-color: var(--white);
}

.menu-icons__btn--cta img {
    filter: none;
    transform: rotate(45deg);
}

.menu-icons__btn--cta:hover {
    background-color: var(--primary);
}

.menu-icons__btn--cta:hover img {
    filter: brightness(0) invert(1);
}

/* nav structure inherited from menu.html — we keep its classes */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list > .menu-item > a {
    display: inline-block;
    color: var(--white);
    font-size: 15px;
    font-weight: 400;
    padding: 12px 18px;
    transition: var(--transition);
    position: relative;
}

.nav-list > .menu-item:hover > a,
.nav-list > .menu-item.active > a {
    color: var(--gray-subtle);
}

.nav-list > .menu-item > a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    inset-inline-start: 50%;
    transform: translateX(50%);
    width: 6px;
    height: 6px;
    opacity: 0;
    border-radius: 50%;
    transition: all linear .3s;
    background-color: var(--gray-subtle);
}
.nav-list > .menu-item:hover > a::after,
.nav-list > .menu-item.active > a::after{
    opacity: 1;
}
.wpcf7{
    direction: inherit;
    text-align: inherit;
}
.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list {
    display: none;
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    z-index: 100;
    padding: 70px 20px 30px;
    transform: translateX(100%);
    transition: var(--transition);
    overflow-y: auto;
}

.mobile-nav-list.is-open {
    transform: translateX(0);
}

.mobile-nav-list .menu-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-nav-list .menu-item > a {
    display: block;
    padding: 14px 10px;
    color: var(--black);
    font-size: 16px;
    font-weight: 500;
}

.mobile-nav-list .menu-item.active > a,
.mobile-nav-list .menu-item > a:hover {
    color: var(--primary);
}

.mobile-nav-close {
    position: absolute;
    top: 15px;
    inset-inline-end: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-strip);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 18px;
}

/* ━━━ HERO ━━━ */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}
.hero .hero__slide{
    height: 930px;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero-background.png') center/cover no-repeat;
    z-index: 0;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(-80.2deg, rgba(0, 0, 0, 0.55) 0.5%, rgba(0, 0, 0, 0.25) 93.7%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 5% 0;
    height: 100%;
    display: flex;
    align-items: end;
}

.hero__text {
    max-width: 700px;
    text-align: start;
}

.hero__overline {
    font-size: 30px;
    font-weight: 300;
    line-height: 46px;
    margin-bottom: 4px;
    display: block;
}

.hero__title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--white);
}

.hero__desc {
    font-size: 17px;
    font-weight: 300;
    line-height: 31px;
    max-width: 449px;
    margin-bottom: 34px;
    color: var(--white);
}

.hero__cta {
    margin-top: 12px;
}
.hero__cta i{
    transition: all linear .3s;
    transform: rotate(45deg) translate(-3px, -3px);
}
.hero__cta:hover i{
    transform: rotate(0deg) translate(0px, 0px);
}
/* ══ Video Background ══ */
.hero__bg--video {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero__bg--video video,
.hero__bg--video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.5);
    object-fit: cover;
    border: 0;
    pointer-events: none;

}

/* لو عايز الـ iframe يغطي المساحة كلها زي الفيديو */
.hero__bg--video iframe {
    width: 100vw;
    height: 56.25vw; /* 16:9 */
    min-height: 100%;
    min-width: 177.78vh; /* 16:9 */
}
/* hero side arrow nav (slider) */
.hero__side-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    inset-inline-start: 30px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 18px;
    direction: ltr;
}
[dir='ltr'] .hero__side-nav{
    direction: rtl;
}
.hero__side-nav button {
    width: 59px;
    height: 59px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.hero__side-nav button:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.hero__side-nav i {
    font-size: 18px;
}

.hero__dots {
    position: absolute;
    bottom: 40px;
    inset-inline-start: 50%;
    transform: translateX(50%);
    z-index: 3;
}

/* ━━━ ABOUT SECTION ━━━ */
.about {
    padding: 60px 0 0px;
    z-index: 2;
    position: relative;
    background-color: var(--bg-page);
}

.about__images {
    position: relative;
    display: flex;
    gap: 18px;
    align-items: stretch;
    height: 100%;
    min-height: 609px;
}

.about__images-col {
    border-radius: 15px;
    overflow: hidden;
    flex: 1;
}
@keyframes float-y {
    0%, 100% { transform: translateY(-50%) translateX(-50%); }
    50% { transform: translateY(-51%) translateX(-50%); }
}
.about__images-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__images-col--tall {
    flex: 1.4;
    margin-bottom: -30px;
}

.about__images-col--short {
    flex: 0.85;

    height: 467px;
}
[dir='ltr'] .about__images-col--short{
    order: 2;
}
.about__floating {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 83px;
    height: 83px;
    border-radius: 50%;
    background-color: var(--white-soft);
    box-shadow: var(--shadow-floating);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.about__floating img {
    width: 50px;
    height: auto;
}

.about__title {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 18px;
}

.about__lead {
    font-size: 21px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--black);
    margin-bottom: 18px;
}

.about__desc {
    font-size: 15px;
    font-weight: 300;
    line-height: 31px;
    color: var(--black);
    margin-bottom: 36px;
}

.about__stats {
    display: flex;
    gap: 32px;
    justify-content: space-around;
    flex-wrap: wrap;
}

.about__stat {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-direction: column;
}

.about__stat-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background-color: var(--white-soft);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about__stat-icon img {
    width: 38px;
    height: 38px;
}

.about__stat-label {
    font-size: 19px;
    font-weight: 300;
    color: var(--black);
}
/* About Stat Modal */
.about-stat-modal .modal-content {
    border-radius: 16px;
    border: none;
    overflow: hidden;
}
.about-stat-modal .modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 20px 24px;
}
.about-stat-modal__head {
    display: flex;
    align-items: center;
    gap: 12px;
}
.about-stat-modal__head img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.about-stat-modal .modal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin: 0;
}
.about-stat-modal .modal-body {
    padding: 24px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
}
.about-stat-modal .close {
    font-size: 24px;
    opacity: 0.5;
    padding: 20px 24px;
    margin: 0;
}
.about-stat-modal .close:hover {
    opacity: 1;
}
.about-stat-modal {
    z-index: 1060 !important;
}
.modal-backdrop {
    z-index: 1050 !important;
}
/* ━━━ SERVICES STRIP ━━━ */
.services {
    background-color: var(--bg-strip);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.services .owl-stage {
    padding: 15px 0;
}
.services__bg {
    position: absolute;
    inset-inline-start: -100px;
    top: 0;
    bottom: 0;
    width: 350px;
    opacity: 0.15;
    background: url('../images/services-bg-pattern.png') center/cover no-repeat;
    pointer-events: none;
}

.services__title {
    color: var(--primary);
}

.service-card {
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 15px;
    padding: 28px 22px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: block;
    box-shadow: var(--shadow-card);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-card__icon {
    width: 71px;
    height: 71px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-card__icon img {
    max-width: 100%;
    max-height: 100%;
    z-index: 1;
}

.service-card__title {
    font-size: 19px;
    font-weight: 300;
    color: var(--black);
    margin-bottom: 14px;
}

.service-card__desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 25px;
    color: var(--gray);
    margin-bottom: 16px;
}

.service-card__dot {
    display: inline-block;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: rgba(100, 95, 89, 0.4);
    position: absolute;
    bottom: 0;
    text-align: start;
    right: 0;
}

/* ━━━ ABOUT-VIDEO SECTION ━━━ */
.about-video {
    position: relative;
    padding: 120px 0;
    color: var(--white);
    overflow: hidden;
}

.about-video__bg {
    position: absolute;
    inset: 0;
    background: url('../images/about-video-bg.png') center/cover no-repeat;
    z-index: 0;
}

.about-video__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(75, 75, 75, 0.65);
}

.about-video__inner {
    position: relative;
    z-index: 2;
}

.about-video__overline {
    font-size: 26px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--white);
    display: block;
    margin-bottom: 6px;
}

.about-video__title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 22px;
}

.about-video__desc {
    font-size: 17px;
    font-weight: 300;
    line-height: 31px;
    color: var(--white);
    max-width: 520px;
}

.about-video__poster {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 425px;
}

.about-video__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-video__play {
    position: absolute;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: transparent;
    display: inline-flex;
    border: 2px solid rgba(255, 255, 255, 0.32);
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--primary);
    font-size: 24px;
    animation: pulse-sof 2.4s ease-in-out infinite !important;
}

.about-video__play:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}
@keyframes pulse-sof {
    0%, 100% { transform:   translate(-50%, -50%); }
    50% { transform:   translate(-50%, -55%); }
}
/* ━━━ PROJECT TABS BAR ━━━ */
/* Reset Bootstrap nav defaults to keep original style */
/* ━━━ View All Projects Button ━━━ */
.projects__more {
    text-align: center;
    margin-top: 40px;
}

.projects__more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.projects__more-link:hover {
    color: var(--primary, #333);
    text-decoration: none;
}

.projects__more-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.projects__more-link:hover i {
    transform: rotate(45deg) translate(-3px, -3px);
}
[dir="ltr"] .projects__more-link i{
    transform: scalex(-1);
}
[dir="ltr"] .projects__more-link:hover i{
    transform: scalex(-1) rotate(-45deg) translate(-3px, -3px);
}
[dir="ltr"] .project-card__btn{
    transform: rotate(45deg);
}
[dir="ltr"] .project-card__btn:hover {
    transform: rotate(90deg);
}
[dir="ltr"] .hero__cta i{
    transform: scalex(-1) rotate(45deg) translate(-3px, -3px);
}
[dir="ltr"] .hero__cta:hover i{
    transform: scalex(-1) rotate(0deg) translate(0px, 0px);
}
#projectTab.project-tabs__bar {
    list-style: none;
    margin: 0;
}
#projectTab .nav-item {
    list-style: none;
}
#projectTab .project-tabs__item {
    /* Remove Bootstrap default tab styling */
    border: none;
    text-decoration: none;
}
#projectTab .project-tabs__item:hover,
#projectTab .project-tabs__item:focus {
    border: none;
    outline: none;
    text-decoration: none;
}
.project-tabs {
    position: relative;
    margin-top: -82px;
    z-index: 5;
    padding-bottom: 0;
}

.project-tabs__bar {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px 25px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 15px;
    flex-wrap: wrap;
}

.project-tabs__item {
    flex: 1 1 130px;
    text-align: center;
    cursor: pointer;
    padding: 12px 3px;
    border-radius: 10px;
    transition: var(--transition);
    color: var(--black);
    display: block;
}

.project-tabs__item:hover,
.project-tabs__item.is-active {
    background-color: var(--bg-strip);
}

.project-tabs__item.is-active {
    color: var(--primary);
}

.project-tabs__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-tabs__icon img {
    max-width: 100%;
    max-height: 100%;
}

.project-tabs__label {
    font-size: 17px;
    font-weight: 300;
    color: inherit;
}

/* ━━━ PROJECTS GRID ━━━ */
.projects {
    padding: 80px 0;
    position: relative;
}

.projects__title {
    color: var(--primary-dark);
}

.project-card {
    position: relative;
    border-radius: 19px;
    overflow: hidden;
    height: 444px;
    color: var(--white);
    cursor: pointer;
    margin-bottom: 25px;
    display: block;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover img {
    transform: scale(1.06);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.project-card__body {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px 15px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    height: 100%;
}

.project-card__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    color: var(--white);
    margin-bottom: 6px;
}

.project-card__sub {
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
    color: var(--white);
}

.project-card__btn {
    width: 53px;
    height: 53px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.20);
    color: #FFF;
    border: 1px solid rgba(255, 255, 255, 0.29);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: auto;
    transition: var(--transition);
    transform: rotate(-45deg);
}

.project-card__btn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: rotate(-90deg);
}

.projects__cta-wrap {
    text-align: center;
    margin-top: 36px;
}

.projects__cta {
    background-color: var(--white);
    color: var(--secondary);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}

.projects__cta i {
    transform: rotate(-45deg);
    font-size: 14px;
    margin-inline-start: 8px;
    transition: var(--transition);
}

.projects__cta:hover i {
    transform: rotate(0deg);
}

/* ━━━ STATS SECTION ━━━ */
.stats {
    position: relative;
    padding: 100px 0;
    color: var(--white);
    overflow: hidden;
}

.stats__bg {
    position: absolute;
    inset: 0;
    background: url('../images/about-video-bg.png') center/cover no-repeat;
    z-index: 0;
}

.stats__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(101, 93, 89, 0.92);
}

.stats__watermark {
    position: absolute;
    width: 318px;
    height: auto;
    opacity: 0.06;
    z-index: 1;
    pointer-events: none;
}

.stats__watermark--right {
    top: 30%;
    inset-inline-end: -40px;
    transform: rotate(-15deg);
}

.stats__watermark--left {
    bottom: 10%;
    inset-inline-start: -40px;
    transform: rotate(15deg);
}

.stats__inner {
    position: relative;
    z-index: 2;
}

.stat-card {
    border: 1px solid rgba(255, 255, 255, 0.21);
    border-radius: 18px;
    padding: 22px 28px;
    color: var(--white);
    margin-bottom: 22px;
    height: calc(100% - 22px);
    background-color: rgba(0, 0, 0, 0.05);
}

.stat-card__label {
    font-size: 22px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 12px;
}

.stat-card__num {
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
    margin-bottom: 10px;
}

.stat-card__divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.21);
    margin: 14px 0;
}

.stat-card__sub {
    font-size: 16px;
    font-weight: 300;
    color: var(--white);
}

.stats__logo {
}

.stats__logo img {
    max-width: 220px;
    height: auto;
}

/* ━━━ NEWS SECTION ━━━ */
.news {
    padding: 80px 0;
    background-color: var(--bg-page);
    position: relative;
}
.news:before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background-image: url("../images/n-1.png");
    width:191px;
    height: 299px;
    pointer-events: none;
}
.news:after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: url("../images/n-2.png");
    width:191px;
    height: 299px;
    pointer-events: none;
}
.news .container {position: relative}
.news__title {
    color: var(--primary-dark);
}

.news__row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: stretch;
}
/* الغلاف العام */
.slider-wrapper {
    max-width: 100%;
    overflow: hidden;
}

/* ارتفاع السلايدر */
.accordion-owl {
    height: 400px;
}

/* عنصر الـ slide جوه Owl */
@media (min-width: 992px) {
    .accordion-owl .owl-item {
        width: 230px !important;
    }
    .accordion-owl .owl-item:hover {
        width: 500px !important;
    }
    .accordion-owl .owl-item {
        height: 400px;
        transition: width 0.35s ease, filter 0.35s ease;
    }

}
.accordion-owl .owl-item {
    transition: width 0.35s ease, filter 0.35s ease;
}

/* غمّق كل العناصر لما الماوس يدخل على السلايدر */
.accordion-owl .owl-item {
    filter: brightness(0.5);
}

/* العنصر اللي عليه الماوس يكبر لــ 400px ويرجع لونه الطبيعي */
.accordion-owl .owl-item:hover {
    height: 400px;
    filter: brightness(1);
}
.item-gall {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block;
}
.news-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 409px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.item-gall img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.item-gall:hover img {
    transform: scale(1.06);
}

.news-card--small {
    grid-column: span 1;
}

.news-card--featured {
    grid-column: span 3;
}

.news-card--featured::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.news-card__body {
    position: absolute;
    bottom: 0;
    z-index: 2;
    opacity: 0;
    width: 100%;
    transition: all linear .3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 10px 25px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.70) 100%);
}
.accordion-owl .owl-item:hover .news-card__body{
    opacity: 1;
}
.news-card__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 22px;
    color: var(--white);
    margin-bottom: 8px;
}

.news-card__date {
    font-size: 13px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 14px;
    display: block;
}

.news__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 110%;
    right: -5%;
    direction: rtl;
}

.news__nav-btn {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.news__nav-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* ━━━ PARTNERS SECTION ━━━ */
.partners {
    position: relative;
    padding: 80px 0;
    color: var(--white);
    overflow: hidden;
    background-image: var(--white);
}

/*.partners__bg {
    position: absolute;
    inset: 0;
    background: url('../images/partners-bg.png') center/cover no-repeat;
    z-index: 0;
}

.partners__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(49, 49, 49, 0.85);
}*/

.partners__inner {
    position: relative;
    z-index: 2;
}

/*.partners__title {
    color: var(--white);
}

.partners__subtitle {
    color: rgba(255, 255, 255, 0.7);
}*/

.partner-card {
    background-color: var(--white);
    border-radius: 10px;
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.partner-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

/* ━━━ FOOTER ━━━ */
.site-footer {
    position: relative;
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
    background-image: url("../images/footer.png");
    background-repeat: no-repeat;
    background-size: cover;
}


.site-footer__inner {
    position: relative;
    z-index: 2;
}

.footer-col {
    margin-bottom: 36px;
}
.footer-col.center{
    border-inline-start: 1px solid rgba(255, 255, 255, 0.10);
    border-inline-end: 1px solid rgba(255, 255, 255, 0.10);
}
.footer-col__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 22px;
}

.footer-col__title--branch {
    font-size: 17px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.footer-col__title--branch:before {
    content: '';
    position: absolute;
    bottom: -21px;
    background-image: url("../images/footer-flag-1.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 35px;
    height: 35px;
    z-index: -1;
    opacity: 0.5;
    object-fit: cover;
}

.footer-col__title--muted {
    color: rgba(255, 255, 255, 0.49);
}

.form-card .footer-branch-tabs .footer-col__title--branch.is-active {
    color: #000;
}
.form-card .footer-col__title--muted {
    color: rgba(0, 0, 0, 0.49);
}
.form-card .footer-branch-tabs .footer-col__title--branch:hover,.form-card .footer-branch-tabs .footer-col__title--branch:focus {
    color: #000;
}
.footer-logo {
    max-width: 220px;
    margin-bottom: 22px;
}

.footer-about {
    font-size: 14px;
    font-weight: 300;
    line-height: 31px;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    position: relative;
    padding-inline-start: 18px;
    margin-bottom: 14px;
}

.footer-links li::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 13px;
    width: 6px;
    height: 5px;
    border-radius: 1px;
    background-color: var(--dot-inactive);
}

.footer-links a {
    font-size: 15px;
    font-weight: 300;
    color: var(--white);
    line-height: 22px;
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 300;
    color: var(--white);
    line-height: 1.4;
}

.footer-contact-item i {
    border-radius: 50%;
     display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.footer-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-map);
    margin: 20px 0 15px;
    height: 230px;
}
.footer-map iframe{
    display: block;
    width: 100%;
    height: 100%;
}
.footer-end{
    display: flex;
    align-items: center;
     flex-wrap: wrap;
    gap:12px 30px;
}
/* Branch Tabs Reset */
.footer-branch-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    gap: 20px;
}
.footer-branch-tabs .nav-item {
    list-style: none;
}
.footer-branch-tabs .footer-col__title--branch {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    margin-bottom: 0;
    margin-top: 0 !important;
    text-decoration: none;
}
.footer-branch-tabs .footer-col__title--branch:hover,
.footer-branch-tabs .footer-col__title--branch:focus {
    border: none;
    outline: none;
    text-decoration: none;
    color: var(--white);
}
.footer-branch-tabs .footer-col__title--branch.is-active {
    color: var(--white);
}
.footer-map img {
    width: 100%;
    height: 173px;
    object-fit: cover;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 22px 0;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top:80px;
}

.footer-social a {

    border-radius: 50%;
     color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--white);
}

.footer-copyright {
    font-size: 13px;
    font-weight: 300;
    color: var(--copyright);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.footer-copyright a{
    color: #FFF;
}
.icon-s-s{
    display: flex;
    align-items: center;
    gap:30px;
    margin-bottom: 30px;
}
/* ━━━ Back to top ━━━ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    inset-inline-start: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-4px);
}

.whatsapp-float{
       position: fixed;
    z-index: 9;
    bottom: 90px;
    inset-inline-start: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, .28);
    transition:var(--transition);
}
.whatsapp-float.is-visible {
    opacity: 1;
    visibility: visible;
}
.whatsapp-float:hover{
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(37, 211, 102, .35);
}

.whatsapp-float i{
    font-size: 22px;
    line-height: 1;
}


/* ━━━ Inner page hero ━━━ */
.page-hero {
    position: relative;
    padding: 200px 0 100px;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background: url('../images/about-video-bg.png') center/cover no-repeat;
    z-index: 0;
}

.page-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
}

.page-hero__inner {
    position: relative;
    z-index: 2;
}

.page-hero__title {
    font-size: 44px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.page-hero__breadcrumb {
    font-size: 16px;
    font-weight: 300;
    color: var(--white);
}

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

.page-hero__breadcrumb .sep {
    margin: 0 10px;
    opacity: 0.7;
}

/* ━━━ Forms ━━━ */
.form-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.form-control,
.form-card input,
.form-card textarea,
.form-card select {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 15px;
    font-family: inherit;
    color: var(--black);
    background-color: var(--bg-page);
    transition: var(--transition);
    margin-bottom: 16px;
}

.form-control:focus,
.form-card input:focus,
.form-card textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
}

.form-card textarea {
    min-height: 140px;
    resize: vertical;
}

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.form-card .btn-pill {
    background-color: var(--primary);
    color: var(--white);
    width: 100%;
    margin-top: 8px;
}

.form-card .btn-pill:hover {
    background-color: var(--secondary);
}

/* ━━━ Page-specific helpers ━━━ */
.contact-info-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 32px 28px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.contact-info-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: var(--bg-strip);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
}

.contact-info-card__title {
    font-size: 19px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.contact-info-card__text {
    font-size: 15px;
    font-weight: 300;
    color: var(--gray);
    line-height: 1.7;
}

.value-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    height: 100%;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
}

.value-card__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--bg-strip);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.value-card__title {
    font-size: 19px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.value-card__desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 25px;
    color: var(--gray);
}

/* utility */
.mt-section { margin-top: 80px; }
.has-overline { display: block; margin-bottom: 4px; }
.blog-archive-wrap{
    padding: 50px 0 70px;
    background: #fff;
}

.blog-archive-title{
    text-align: center;
    margin-bottom: 35px;
}

.blog-archive-title h1{
    font-size: 34px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.blog-archive-title p{
    margin: 0;
    font-size: 15px;
    color: #777;
}

.post-card{
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.05);
    transition: all .25s ease;
}

.post-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,.10);
}

.post-card-thumb{
    display: block;
    overflow: hidden;
    background: #f8f8f8;
}

.post-card-thumb img{
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform .4s ease;
}

.post-card:hover .post-card-thumb img{
    transform: scale(1.05);
}

.post-card-body{
    padding: 22px;
}

.post-meta{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #8a8a8a;
}

.post-meta a{
    color: var(--primary);
    text-decoration: none;
}

.post-meta a:hover{
    text-decoration: underline;
}

.post-card-title{
    font-size: 20px;
    line-height: 1.6;
    font-weight: 700;
    margin-bottom: 12px;
}

.post-card-title a{
    color: #222;
    text-decoration: none;
    transition: color .2s ease;
}

.post-card-title a:hover{
    color: var(--primary);
}

.post-card-excerpt{
    color: #666;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 18px;
}

.post-readmore{
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: all .2s ease;
}

.post-readmore:hover{
    color: var(--primary);
    opacity: .85;
    text-decoration: none;
}

/*.post-readmore::after{
    content: "←";
    margin-left: 8px;
    transition: transform .2s ease;
}

.post-readmore:hover::after{
    transform: translateX(-4px);
}*/

.blog-empty{
    text-align: center;
    padding: 50px 20px;
    background: #fafafa;
    border: 1px dashed #ddd;
    border-radius: 14px;
}

.blog-empty h3{
    font-size: 24px;
    color: #222;
    margin-bottom: 10px;
}

.blog-empty p{
    margin: 0;
    color: #777;
}

.blog-pagination{
    margin-top: 35px;
}

.blog-pagination .pagination{
    justify-content: center;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.blog-pagination .page-item{
    margin: 4px;
}

.blog-pagination .page-link{
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 10px !important;
    border: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    background: #fff;
    box-shadow: none;
    transition: all .2s ease;
}

.blog-pagination .page-link:hover{
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(0,0,0,.02);
    text-decoration: none;
}

.blog-pagination .page-item.active .page-link{
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.blog-pagination .page-item.disabled .page-link{
    color: #bcbcbc;
    pointer-events: none;
    background: #fff;
    border-color: #ececec;
}

@media (max-width: 991.98px){
    .post-card-thumb img{
        height: 210px;
    }

    .post-card-title{
        font-size: 18px;
    }
}

@media (max-width: 575.98px){
    .blog-archive-wrap{
        padding: 35px 0 55px;
    }

    .blog-archive-title h1{
        font-size: 28px;
    }

    .post-card-body{
        padding: 18px;
    }

    .post-card-thumb img{
        height: 190px;
    }

    .post-card-excerpt{
        font-size: 14px;
    }
}
