/*
------------------------------------------------------
Theme Name:
Author: Saint Hossam
PSD Designer: Bardess
------------------------------------------------------
*/

/*----------------------------------------------------
 Fonts
----------------------------------------------------*/
/*----------------------------------------------------
| Cairo Font Faces (All Weights)
----------------------------------------------------*/

/* Cairo ExtraLight */
@font-face {
    font-family: "Cairo";
    src: url("../webFonts/design_fonts/Cairo-ExtraLight.eot");
    src: url("../webFonts/design_fonts/Cairo-ExtraLight.eot?#iefix") format("embedded-opentype"),
        url("../webFonts/design_fonts/Cairo-ExtraLight.woff2") format("woff2"),
        url("../webFonts/design_fonts/Cairo-ExtraLight.woff") format("woff"),
        url("../webFonts/design_fonts/Cairo-ExtraLight.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

/* Cairo Light */
@font-face {
    font-family: "Cairo";
    src: url("../webFonts/design_fonts/Cairo-Light.eot");
    src: url("../webFonts/design_fonts/Cairo-Light.eot?#iefix") format("embedded-opentype"),
        url("../webFonts/design_fonts/Cairo-Light.woff2") format("woff2"),
        url("../webFonts/design_fonts/Cairo-Light.woff") format("woff"),
        url("../webFonts/design_fonts/Cairo-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Cairo Regular */
@font-face {
    font-family: "Cairo";
    src: url("../webFonts/design_fonts/Cairo-Regular.eot");
    src: url("../webFonts/design_fonts/Cairo-Regular.eot?#iefix") format("embedded-opentype"),
        url("../webFonts/design_fonts/Cairo-Regular.woff2") format("woff2"),
        url("../webFonts/design_fonts/Cairo-Regular.woff") format("woff"),
        url("../webFonts/design_fonts/Cairo-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Cairo Medium */
@font-face {
    font-family: "Cairo";
    src: url("../webFonts/design_fonts/Cairo-Medium.eot");
    src: url("../webFonts/design_fonts/Cairo-Medium.eot?#iefix") format("embedded-opentype"),
        url("../webFonts/design_fonts/Cairo-Medium.woff2") format("woff2"),
        url("../webFonts/design_fonts/Cairo-Medium.woff") format("woff"),
        url("../webFonts/design_fonts/Cairo-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Cairo SemiBold */
@font-face {
    font-family: "Cairo";
    src: url("../webFonts/design_fonts/Cairo-SemiBold.eot");
    src: url("../webFonts/design_fonts/Cairo-SemiBold.eot?#iefix") format("embedded-opentype"),
        url("../webFonts/design_fonts/Cairo-SemiBold.woff2") format("woff2"),
        url("../webFonts/design_fonts/Cairo-SemiBold.woff") format("woff"),
        url("../webFonts/design_fonts/Cairo-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Cairo Bold */
@font-face {
    font-family: "Cairo";
    src: url("../webFonts/design_fonts/Cairo-Bold.eot");
    src: url("../webFonts/design_fonts/Cairo-Bold.eot?#iefix") format("embedded-opentype"),
        url("../webFonts/design_fonts/Cairo-Bold.woff2") format("woff2"),
        url("../webFonts/design_fonts/Cairo-Bold.woff") format("woff"),
        url("../webFonts/design_fonts/Cairo-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Cairo ExtraBold */
@font-face {
    font-family: "Cairo";
    src: url("../webFonts/design_fonts/Cairo-ExtraBold.eot");
    src: url("../webFonts/design_fonts/Cairo-ExtraBold.eot?#iefix") format("embedded-opentype"),
        url("../webFonts/design_fonts/Cairo-ExtraBold.woff2") format("woff2"),
        url("../webFonts/design_fonts/Cairo-ExtraBold.woff") format("woff"),
        url("../webFonts/design_fonts/Cairo-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Cairo Black */
@font-face {
    font-family: "Cairo";
    src: url("../webFonts/design_fonts/Cairo-Black.eot");
    src: url("../webFonts/design_fonts/Cairo-Black.eot?#iefix") format("embedded-opentype"),
        url("../webFonts/design_fonts/Cairo-Black.woff2") format("woff2"),
        url("../webFonts/design_fonts/Cairo-Black.woff") format("woff"),
        url("../webFonts/design_fonts/Cairo-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/*----------------------------------------------------
 Root Variables (Colors)
----------------------------------------------------*/
:root {
    --brown-main: #78581b;
    --brown-dark: #4b3b1f;
    --brown-light: #a1864f;
    --beige: #d9c5a0;
    --gray: #8a7e6d;
    --offwhite: #f5f2eb;
    --white: #ffffff;
}

/*----------------------------------------------------
  CSS Reset and Base Styles
----------------------------------------------------*/
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    background: #F3F1E7;
    font-family: "Cairo", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

ul,
ol {
    margin-bottom: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

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

img:not(.brown-main-caption img) {
    object-fit: contain;
}

input,
textarea,
select,
.brown-main-btn {
    appearance: none;
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    outline: none;
}

input:focus,
textarea:focus,
select:focus,
.brown-main-btn:focus {
    outline: none;
}

.brown-main-btn:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

blockquote {
    margin: 0;
    padding: 0;
    quotes: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

h1 {
    font-family: "Cairo", Arial, sans-serif;
    font-weight: 800;
    margin: 0;
}

h2 {
    font-family: "Cairo", Arial, sans-serif;
    font-weight: 700;
    margin: 0;
}

h3 {
    font-family: "Cairo", Arial, sans-serif;
    font-weight: 600;
    margin: 0;
}

h4,
h5,
h6 {
    font-family: "Cairo", Arial, sans-serif;
    font-weight: 400;
    margin: 0;
}

p {
    margin: 0;
    color: var(--brown-dark);
    line-height: 37px;
}

code,
pre {
    font-family: "Courier New", monospace;
}

main.wrap {
    position: relative;
    overflow: hidden;
    left: 0;
    transition: 0.7s ease-in-out;
}

/*----------------------------------------------------
 Custom Scrollbar
----------------------------------------------------*/
body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: #fff;
}

body::-webkit-scrollbar-thumb {
    background: var(--brown-main);
    border-radius: 15px;
}

/*----------------------------------------------------
 brown-main Button Styles
----------------------------------------------------*/
.main-btn,
.withArrow {
    font-size: 18px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    font-weight: 400;
    padding: 10px 12px;
    border: 1px solid var(--brown-light) !important;
    background: transparent !important;

    position: relative;
    overflow: hidden;
    color: var(--brown-light) !important;
    text-decoration: none;
    transition: 0.3s ease all;
    z-index: 1;
}

html[dir='ltr'] .main-btn .contact-text {
    font-size: 15px;
}

html[dir='ltr'] .withArrow i,
html[dir='ltr'] .withArrow:after {
    rotate: 180deg;
}

html[dir='ltr'] form .row {
    direction: ltr;
}

.wpcf7-response-output {
    direction: initial;
}

.main-btn:before,
.withArrow:before {
    transition: 0.5s all ease;
    position: absolute;
    top: 0;
    left: 50%;
    right: 50%;
    bottom: 0;
    opacity: 0;
    content: "";
    background: var(--brown-light) !important;
    z-index: -1;
}

.main-btn:hover,
.main-btn:focus,
.main-btn.active,
.withArrow:hover,
.withArrow:focus,
.withArrow.active {
    color: white !important;
}

.main-btn:hover:before,
button:focus:before,
button:active:before,
.main-btn.active:before,
.withArrow:hover:before,
button:focus:before,
button:active:before,
.withArrow.active:before {
    transition: 0.5s all ease;
    left: 0;
    right: 0;
    opacity: 1;
}

.main-btn:active,
.withArrow:active {
    transform: scale(0.9);
}

.main-btn .text,
.withArrow .text {
    position: relative;
    display: inline-block;
    transition: 0.3s ease all;
}

.withArrow {
    gap: 10px;
    overflow: hidden;
}

.withArrow i {
    font-size: 25px;
}

.withArrow:after {
    content: "\f0d9";
    font-family: 'Font Awesome 6 Free';
    font-size: 25px;
    color: #FFF;
    font-weight: bold;
    position: absolute;
    margin-top: -80px;
    inset-inline-end: 12px;
    transition: .8s;
    transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

.withArrow:hover:after {
    margin-top: 2px;
    transition: .8s;
    transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

.withArrow:hover {
    transition: .8s;
    transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
    color: #FFF;
    background-color: transparent;
    border: unset;
    box-shadow: 0 0 13px rgb(0 0 0 / 16%);
}

.withArrow i {
    transition: .8s;
    transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

.withArrow:hover i {
    transition: .8s;
    transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
    margin-bottom: -80px;
}

/*----------------------------------------------------
 Section Titles
----------------------------------------------------*/
.head-tit {
    display: table;
    margin: 0 auto 60px;
    position: relative;
}

.head-tit::after {
    content: "";
    width: 100%;
    height: 2px;
    background: var(--brown-main);
    display: inline-block;
}

.sec-tit {
    color: var(--brown-main);
    font-weight: 800;
    font-size: 35px;
    text-align: center;
    padding: 0 20px;
}

/*----------------------------------------------------
 WhatsApp Floating Icon
----------------------------------------------------*/

/*----------------------------------------------------
 Header & Navigation
----------------------------------------------------*/
header {
    position: relative;
    z-index: 2;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(-40px);
}

.main-menu .nav-list li {
    opacity: 0;
    transform: translateY(-15px);
}

.main-menu .nav-list li:hover a {
    color: #FFF;
}

.header-logo {
    opacity: 0;
    transform: scale(0.7) rotate(-10deg);
    height: 85px;
}

header .btn-outline-secondary {
    border-color: var(--brown-light);
    color: var(--brown-light);
}

header .header-actions a {
    padding: 5px 10px;
    font-weight: 700;
    height: 38px;
}

header .header-actions a:last-of-type {
    font-weight: 400;
}

header .btn-outline-secondary:hover {
    background-color: var(--brown-light);
    font-weight: 700;
    font-size: 18px;
}

/* ((fixed header)) */
.fixed-header {
    position: fixed;
    top: -120px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    z-index: 999;
    opacity: 0;
    overflow: hidden;
    transition: top 0.6s ease, opacity 0.5s ease;
}

.fixed-header .main-btn {
    color: #fff !important;
}

.fixed-header .main-btn::before {
    transition: 0.5s all ease;
    left: 0;
    right: 0;
    opacity: 1;
}

.fixed-header.visible {
    top: 0;
    opacity: 1;
}

.curtain-left,
.curtain-right {
    position: absolute;
    top: 0;
    height: 100%;
    width: 0;
    background: #D9C5A0;
    z-index: 1;
    transition: width 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.curtain-left {
    left: 50%;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.curtain-right {
    right: 50%;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.fixed-header.visible .curtain-left,
.fixed-header.visible .curtain-right {
    width: 50%;
}

.fixed-header .header-logo,
.fixed-header .header-actions {
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.fixed-header nav {
    position: relative;
    z-index: 2;
    box-shadow: none;

}

.fixed-header.visible .header-logo,
.fixed-header.visible .header-actions {
    opacity: 1;
    transform: translateX(0);
}

.fixed-header.visible .header-actions {
    transition-delay: 0.15s;
}

/*----------------------------------------------------
 HomeBanner Section
----------------------------------------------------*/
.banner {
    position: relative;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.banner_img img {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: cover !important;
    animation: parallaxMove 18s ease-in-out infinite,
        smoothZoom 15s ease-in-out infinite alternate;
    transform-origin: center center;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

@keyframes parallaxMove {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(-15px, -10px) rotate(-0.3deg);
    }

    50% {
        transform: translate(0, -20px) rotate(0.2deg);
    }

    75% {
        transform: translate(15px, -10px) rotate(0.3deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes smoothZoom {
    0% {
        transform: scale(1);
    }

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

@keyframes overlayPulse {

    0%,
    100% {
        background: rgba(0, 0, 0, 0.35);
    }

    50% {
        background: rgba(0, 0, 0, 0.5);
    }
}

.banner h1 {
    font-family: "Cairo", sans-serif;
}

.banner h2 {
    font-family: "Cairo", sans-serif;
}

html[dir="ltr"] .banner h2 {
    font-size: 25px;
}

html[dir='ltr'] .banner_content p {
    font-size: 17px;
    line-height: 35px !important;
}

.banner_img {
    position: relative;
    min-height: 540px;
    overflow: hidden;
}

.mainItem {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.mainItem-overlay {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    color: #fff;
    background-color: rgba(44, 44, 44, 0.6);
}

.banner .withArrow {
    margin-top: 35px;
}

.banner .withArrow .text,
.banner .withArrow i {
    color: #fff;
}

.banner .withArrow::before {
    transition: 0.5s all ease;
    left: 0;
    right: 0;
    opacity: 1;
}

.banner_content p {
    color: #FFF;
}

.banner_content>* {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 1s ease-out forwards;
}

.banner_content h1 {
    font-size: 50px;
    animation-delay: 0.3s;
}

.banner_content h2 {
    font-size: 35px;
    animation-delay: 0.6s;
}

.banner_content p {
    font-size: 20px;
    animation-delay: 0.9s;
}

.banner_content a {
    animation-delay: 1.2s;
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/*----------------------------------------------------
 HomeStatics Section
----------------------------------------------------*/
.in_stats {
    position: relative;
    top: -78px;
    margin-inline: 100px;
    background-color: #8d7d6d;
    padding: 40px 0;
    text-align: center;
    color: white;
}

.stat-box {
    opacity: 0;
    transform: translateY(-100px) scale(0.8) rotate(-10deg);
    transition: 0.4s ease;
    will-change: transform;
}

.stat-box.animate {
    animation: fallIn 1s cubic-bezier(0.52, 1.64, 0.37, 0.66) forwards;
}

.stats-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 70px;
    margin: 0 auto;
}

.stat-box h2 {
    font-size: 45px;
    font-weight: 700;
    margin-bottom: 10px;
    direction: rtl;
}

.stat-box p {
    font-size: 20px;
    color: var(--beige);
    font-weight: 600;
}

@keyframes fallIn {
    0% {
        opacity: 0;
        transform: translateY(-100px) scale(0.8) rotate(-10deg);
    }

    70% {
        opacity: 1;
        transform: translateY(15px) scale(1.02) rotate(2deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .stat-box {
        min-width: 140px;
        padding: 15px;
    }

    .stat-box .counter {
        font-size: 30px;
    }
}

/*----------------------------------------------------
 HomeAbout Section
----------------------------------------------------*/
.in_about {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    font-family: "Cairo", sans-serif;
    position: relative;
    overflow: hidden;
}

.about_card {
    padding: 35px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.about-tit {
    font-size: 25px;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 35px;
    position: relative;
}

.about ul {
    list-style: none;
    padding: 0;
    margin-bottom: 50px;
}

.about ul li {
    position: relative;
    padding-inline-start: 20px;
    margin-bottom: 10px;
    color: var(--brown-dark);
    font-size: 20px;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-15px);
}

.about ul li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    background: var(--brown-main);
    border-radius: 50%;
}

.about_icons_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(15px);
}

.about_icons_card:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.about_icons_card img {
    transition: transform 0.4s ease;
}

.about_icons_card:hover img {
    transform: rotate(8deg) scale(1.1);
}

.about-icon-label {
    font-size: 20px;
    font-weight: 600;
    color: var(--brown-dark);
}

.about .main-btn {
    padding-inline: 35px;
    background-color: var(--brown-main);
    color: #fff;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.about .main-btn:hover {
    background-color: var(--brown-dark);
    transform: translateY(-3px);
}

.about.animate ul li,
.about.animate .about_icons_card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.about.animate ul li,
.about.animate .about_icons_card {
    transition-delay: var(--delay, 0s);
}


/*----------------------------------------------------
 HomeServices Section
----------------------------------------------------*/
.services {
    font-family: "Cairo", sans-serif;
}

.section-title {
    font-weight: 700;
    font-size: 2rem;
    color: #3b2f1d;
    position: relative;
}


.service-card::before {
    content: "";
    position: absolute;
    width: 273px;
    height: 315px;
    top: 28px;
    left: 0;
    inset-inline-start: 28px;
    bottom: 15px;
    border: 3px solid #c0a16b;
    transition: all 0.4s ease;
    z-index: 2;
    pointer-events: none;
    box-sizing: border-box;
}

.service-card:hover::before {
    top: 27px;
    left: 0;
    right: 27px;
    bottom: 0;
    transform: scale(1.15) rotate(2deg);
    width: 249px;
    height: 289px;
}

.service-card:hover .service-title {
    color: var(--brown-light);
}

.service-image {
    max-width: 273px;
    height: 315px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    border-bottom: 1px solid #eee;
}

.service-title {
    margin-top: 3rem;
    font-size: 16px;
    font-weight: 700;
    color: var(--brown-dark);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.service-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding-bottom: 1.5rem;
    cursor: pointer;
    transition: all 0.7s ease;
    transform: translateY(30px);
    opacity: 0;
}

.services.animate .service-card {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.7s ease, opacity 0.7s ease;
    transition-delay: calc(var(--card-index) * 0.2s);
}

.services.animate .service-card:nth-child(1) {
    transition-delay: 0.2s;
}

.services.animate .service-card:nth-child(2) {
    transition-delay: 0.4s;
}

.services.animate .service-card:nth-child(3) {
    transition-delay: 0.6s;
}

.services.animate .service-card:nth-child(4) {
    transition-delay: 0.8s;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-image {
    max-width: 273px;
    height: 315px;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 1;
}

.service-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(192, 161, 107, 0.35);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.service-title {
    margin-top: 3rem;
    font-size: 16px;
    font-weight: 700;
    color: var(--brown-dark);
    position: relative;
    z-index: 3;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.service-card:hover .service-image {
    transform: scale(1.15) rotate(2deg);
}

.service-card:hover .service-image::after {
    opacity: 1;
}

.service-card:hover .service-title {
    transform: translateY(-8px);
    opacity: 0.9;
}


/*----------------------------------------------------
 HomeProjects Section
----------------------------------------------------*/
.projects {
    padding: 60px 0;
    text-align: center;
}

.projects-item {
    transition: box-shadow 0.5s ease-in-out;
}

.owl-stage-outer {
    padding: 20px 0;
}

.projects .owl-item.active .projects-item {
    box-shadow: 0 5px 6px rgba(138 126 109 / 100%);
}

.projects .sec-tit {
    padding: 0;
    margin: 0 auto 0;
}

#projects-category-buttons {
    display: flex;
    justify-content: start;
    gap: 20px;
}

.hold-cat-projects {
    display: flex;
    overflow: auto hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
    margin-bottom: 40px;
}

.projects-item {
    position: relative;
    overflow: hidden;
    background-color: #000;
    opacity: 0;
    transform: perspective(800px) rotateY(60deg);
    transition: transform 0.8s ease, opacity 0.8s ease;
}

html[dir="rtl"] .projects-item {
    transform: perspective(800px) rotateY(-60deg);
}

html[dir="ltr"] .projects-item {
    transform: perspective(800px) rotateY(60deg);
}

.projects.visible .projects-item:nth-child(odd) {
    opacity: 1;
    transform: perspective(800px) rotateY(0deg);
    transition-delay: calc(0.2s * var(--card-index));
}

.projects.visible .projects-item:nth-child(even) {
    opacity: 1;
    transform: perspective(800px) rotateY(0deg);
    transition-delay: calc(0.3s * var(--card-index));
}

.projects-image-wrapper {
    position: relative;
    overflow: hidden;
}

.projects-image {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease-in-out;
}

.projects-content {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
    color: white;
    text-align: start;
    width: 100%;
    padding: 20px;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0;
    z-index: 2;
}

.project-tit {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 18px;
}

.projects-link {
    font-size: 15px;
    background-color: #c4a989;
    color: white;
    padding: 6px 12px;
    display: inline-block;
    transition: background 0.3s ease;
    text-decoration: none;
}

.projects-link:hover {
    background-color: #a07e63;
}

.projects-item:hover .projects-image {
    transform: scale(1.1);
}

.projects-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: background 0.5s ease-in-out;
    z-index: 1;
}

.projects .owl-item.active .projects-overlay,
.projects-item:hover .projects-overlay {
    background: linear-gradient(to bottom, rgba(75, 59, 31, 0) 0%, rgba(75, 59, 31, 0.45) 65%, rgba(75, 59, 31, 1) 90%);
}

.projects .owl-item.active .projects-content,
.projects-item:hover .projects-content {
    transform: translate(-50%, 0);
    opacity: 1;
}

/* Arrows */
.slider-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 15;
    width: 100%;
    box-sizing: border-box;
}

.slider-nav-btn {
    position: relative;
}

html[dir='ltr'] .slider-nav-btn i {
    rotate: 180deg;
}

html[dir='ltr'] .slider-nav-btn i {
    rotate: -180deg;
}

.prev-all-projects {
    right: -20px;
}

.next-all-projects {
    left: -20px;
}

.slider-navigation .slider-nav-btn {
    background-color: #C2A18A;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-navigation .slider-nav-btn:hover {
    background-color: #a07e63;
    transform: scale(1.05);
}

.slider-navigation .slider-nav-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
    color: white;
}

.slider-navigation .slider-nav-btn:hover i {
    transform: scale(1.2);
}


/* Pagination Dots */
.owl-dots {
    text-align: center;
    margin-top: 25px;
}

.owl-dot {
    width: 29px;
    height: 11px;
    background: var(--brown-light) !important;
    display: inline-block;
    margin: 0 6px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.owl-dot.active {
    width: 12px;
    height: 11px;
    background: var(--brown-dark) !important;
    border-radius: 6px;
}

.owl-dots button.owl-dot {
    display: none;
}

.owl-dots button.owl-dot:nth-child(-n+3) {
    display: inline-block;
}


.more-projects-btn {
    text-align: center;
    margin-top: 40px;
}

.more-projects-btn .main-btn {
    background-color: var(--brown-dark);
    color: #fff;
    padding: 12px 40px;
    font-size: 16px;
    border-radius: 4px;
    display: inline-block;
    transition: background 0.3s ease;
}

.more-projects-btn .main-btn:hover {
    background-color: #3d2f1e;
}

/* Projects Section Navigation */
.projects .slider-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 15;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.projects .slider-nav-btn {
    background-color: var(--beige);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.projects .slider-nav-btn:hover {
    background-color: var(--brown-dark);
    transform: scale(1.1);
}

.projects .slider-nav-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.projects .slider-nav-btn:hover i {
    transform: scale(1.2);
}

.projects .owl-item {
    transform: scale(0.92);
    transition: all 0.3s ease-in-out;
}

.projects .owl-item.active {
    transform: scale(1);
    z-index: 3;
}

/* Make slider containers relative for absolute positioning */
.projects .all-projects-slider-container,
.projects .category-slider {
    position: relative;
}

.project-address {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
    display: block;
}

/* Responsive - hide on mobile */
@media (max-width: 768px) {
    .projects .slider-navigation {
        display: none;
    }
}

/*----------------------------------------------------
 HomeBlog Section
----------------------------------------------------*/
.blog-section {
    padding: 60px 0;
    text-align: center;
}

.blog-section .sec-tit {
    padding: 0;
    margin: 0 auto 0;
}

#blog-category-buttons {
    display: flex;
    justify-content: start;
    gap: 20px;
}

.hold-cat-blog {
    margin-bottom: 40px;
}

.blog-item {
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.blog-image-wrapper {
    position: relative;
    overflow: hidden;
}

.blog-image {
    position: relative;
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease-in-out;
}

.blog-content-wrapper {
    padding: 20px;
    background-color: #fff;
    text-align: start;
}

.blog-content {
    position: relative;
    color: #000;
    width: 100%;
}

.blog-tit {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}

.blog-link {
    font-size: 15px;
    background-color: #c4a989;
    color: white;
    padding: 6px 12px;

    display: inline-block;
    transition: background 0.3s ease;
    text-decoration: none;
}

.blog-link:hover {
    background-color: #a07e63;
}

.blog-date {
    position: absolute;
    top: 20px;
    right: 0;
    background-color: #FFF;
    color: var(--brown-dark);
    padding: 5px 10px;
    border-radius: 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transform: translateX(200px);
    transition: all 0.4s ease-in-out;
    pointer-events: none;
    z-index: 2;
}

.blog-date img {
    height: 20px;
}

.blog-section .owl-item.active .blog-date,
.blog-item:hover .blog-date {
    opacity: 1;
    transform: translateX(0);
}


.blog-content {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
    color: white;
    text-align: start;
    width: 100%;
    padding: 20px;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0;
    z-index: 2;
}

.blog-tit {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 18px;
}

.blog-link {
    font-size: 15px;
    background-color: #c4a989;
    color: white;
    padding: 6px 12px;

    display: inline-block;
    transition: background 0.3s ease;
    text-decoration: none;
}

.blog-link:hover {
    background-color: #a07e63;
}

.blog-item:hover .blog-image {
    transform: scale(1.1);
}

.blog-section .owl-item {
    transform: scale(0.92);
    transition: all 0.3s ease-in-out;
}

.blog-section .owl-item.active {
    transform: scale(1);
    z-index: 3;
}

.blog-section .owl-item.active .blog-item {
    border-radius: 0;
    overflow: hidden;
}

.blog-section .owl-item.active .blog-image {
    transform: scale(1.1);
    border-radius: 0;
}

.blog-section .owl-item.active .blog-overlay,
.blog-item:hover .blog-overlay {
    background: linear-gradient(to bottom, rgba(75, 59, 31, 0) 0%, rgba(75, 59, 31, 0.45) 65%, rgba(75, 59, 31, 1) 90%);
    opacity: 1;
}

.blog-section .owl-item.active .blog-content,
.blog-item:hover .blog-content {
    transform: translate(-50%, 0);
    opacity: 1;
}

.blog-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: background 0.5s ease-in-out;
    z-index: 1;
}

.blog-section .slider-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 15;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}

.blog-section .slider-nav-btn {
    background-color: #C2A18A;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.blog-section .slider-nav-btn:hover {
    background-color: #a07e63;
    transform: scale(1.05);
}

.blog-section .slider-nav-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
    color: white;
}

.blog-section .slider-nav-btn:hover i {
    transform: scale(1.2);
}

.blog-section .all-blog-slider-container,
.blog-section .category-slider {
    position: relative;
}

@media (max-width: 768px) {
    .blog-section .slider-navigation {
        display: none;
    }
}

.blog-item {
    opacity: 0;
    transform: perspective(800px) rotateY(60deg) translateY(30px);
    transition: transform 0.9s ease, opacity 0.9s ease;
}

html[dir="ltr"] .blog-item {
    transform: perspective(800px) rotateY(-60deg) translateY(30px);
}

.blog-section.visible .blog-item:nth-child(odd) {
    opacity: 1;
    transform: perspective(800px) rotateY(0deg) translateY(0);
    transition-delay: calc(0.15s * var(--blog-index));
}

.blog-section.visible .blog-item:nth-child(even) {
    opacity: 1;
    transform: perspective(800px) rotateY(0deg) translateY(0);
    transition-delay: calc(0.25s * var(--blog-index));
}

.blog-image {
    transform: scale(1.05);
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.blog-section.visible .blog-item .blog-image {
    transform: scale(1);
}

.blog-item:hover {
    transform: perspective(800px) rotateY(5deg) translateY(-5px);
}

.blog-overlay {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.blog-section.visible .blog-item .blog-overlay {
    opacity: 1;
    transition-delay: 0.2s;
}


/*----------------------------------------------------
 HomeClients Section
----------------------------------------------------*/
.clients {
    padding: 50px 0;
    text-align: center;
}

.clients-carousel .client-logo {
    background: #fff;
    border-radius: 15px;
    transition: transform 0.4s ease, filter 0.4s ease;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 156px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
    margin: auto;

    /* ✨ Animation Base */
    opacity: 0;
    transform: scale(0.8);
}

.clients.visible .client-logo {
    opacity: 1;
    transform: scale(1);
    transition: transform 0.6s ease, opacity 0.6s ease;
    transition-delay: var(--delay, 0s);
}

.clients-carousel .client-logo img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
/*     filter: grayscale(100%); */
    transition: all 0.4s ease-in-out;
}

.clients-carousel .client-logo:hover img {
    transform: scale(1.1);
    filter:  drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.clients_intro {
    font-weight: 700;
    margin-bottom: 30px;
    font-size: 25px;
}

/*----------------------------------------------------
 HomeCeo Section
----------------------------------------------------*/
.ceo-section {
    overflow: hidden;
}

.ceo-image-wrapper {
    position: relative;
    display: inline-block;
    width: 413px;
    height: 303px;
    opacity: 0;
    transform: perspective(800px) rotateY(60deg) translateY(30px);
    transition: transform 0.9s ease, opacity 0.9s ease;
}

html[dir="rtl"] .ceo-image-wrapper {
    transform: perspective(800px) rotateY(-60deg) translateY(30px);
}

.ceo-section.visible .ceo-image-wrapper {
    opacity: 1;
    transform: perspective(800px) rotateY(0deg) translateY(0);
}

.ceo-image-wrapper::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 0;
    inset-inline-start: 28px;
    bottom: 15px;
    border: 3px solid #c0a16b;
    transition: transform 0.6s ease, top 0.4s ease, left 0.4s ease, right 0.4s ease, bottom 0.4s ease;
    z-index: 3;
    pointer-events: none;
    box-sizing: border-box;
}

.ceo-image-wrapper img {
    position: relative;
    z-index: 2;
    transition: transform 0.6s ease;
}

.ceo-image-wrapper:hover img {
    transform: scale(1.08) rotate(3deg) skew(-2deg, -2deg);
}

.ceo-image-wrapper:hover::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: rotate(3deg) skew(-2deg, -2deg);
}

.ceo-content {
    margin-inline-start: 47px;
    line-height: 37px;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.7s ease, opacity 0.7s ease;
}

.ceo-section.visible .ceo-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

/*----------------------------------------------------
 HomeContact Section
----------------------------------------------------*/
.contact-section {
    background: linear-gradient(to right, #A1864F -8%, #DED6C1 10%, #DED6C1 87%, #A1864F 120%);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper {
    text-align: start;
}

.contact-form-wrapper label {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--brown-dark);
}

.contact-form-wrapper {
    background: transparent !important;
    border-radius: 0;
    padding: 0 !important;
    border: none;
    box-shadow: none !important;
    transition: transform 0.8s ease, opacity 0.8s ease;
}


.contact-form-wrapper.revealed {
    transform: scale(1);
    opacity: 1;
}

iframe {
    height: 100% !important;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
    background-color: transparent;
    border-radius: 0;
    border: 1px solid #8A7E6D;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
    border-color: #c0a16b;
    box-shadow: 0 0 8px rgba(192, 161, 107, 0.3);
}

.contact-form-wrapper button {
    background-color: #c0a16b;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form-wrapper button:hover {
    background-color: #a78d5c;
    transform: scale(1.05);
}

@keyframes slideInContact {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-section .map-wrapper,
.contact-section .contact-form-wrapper .form-group,
.contact-section .contact-form-wrapper [type="submit"] {
    opacity: 0;
    transform: translateY(40px);
}

.contact-section.visible .map-wrapper {
    animation: slideInContact 0.8s ease forwards;
}

.contact-section.visible .contact-form-wrapper .form-group,
.contact-section.visible .contact-form-wrapper [type="submit"] {
    animation: slideInContact 0.8s ease forwards;
    animation-delay: calc(var(--form-index) * 0.2s);
}

.wpcf7-not-valid-tip {
    width: 100%;
    color: #fff;
    background-color: #e74c3c;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 10px;
    margin-top: 5px;
    border-radius: 6px;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.2);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wpcf7-form-control.wpcf7-not-valid {
    border-color: #e74c3c;
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.2);
}

.wpcf7-response-output {
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 15px 0;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.3s ease-in-out;
}

.wpcf7-form.sent .wpcf7-response-output {
    background-color: #2ecc71;
    color: #fff;
    border-left: 5px solid #27ae60;
}

.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output {
    background-color: #e74c3c;
    color: #fff;
    border-left: 5px solid #c0392b;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output {
    background-color: #f39c12;
    color: #fff;
    border-left: 5px solid #e67e22;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*----------------------------------------------------
 HomeModlife Section
----------------------------------------------------*/
.modern-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
}

html[dir='ltr'] .modern-box,
html[dir='ltr'] .modern-title {
    width: 100%;
}



html[dir='ltr'] .modern-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.modern-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modern-box {
    background-color: #f4f1e6;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transition: all 0.3s ease;
}

.modern-icon {
    height: 60px;
}

.modern-icon img {
    max-width: 60px;
    height: auto;
    transition: transform 0.3s ease;
}

.modern-box:hover .modern-icon img {
    transform: rotate(10deg) scale(1.1);
}

.modern-title {
    margin-top: 20px;
    padding: 5px 12px;
    border: 2px solid var(--brown-dark);
    color: var(--brown-dark);
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    background-color: transparent;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.modern-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--brown-dark);
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 0;
}

.modern-box:hover .modern-title::before {
    left: 0;
}

.modern-box:hover .modern-title {
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modern-title span {
    position: relative;
    z-index: 1;
    text-align: center;
    display: block;
}


@media (max-width: 1400px) {
    .modern-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 1200px) {
    .modern-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 992px) {
    .modern-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .modern-grid {
        grid-template-columns: repeat(3, 1fr);
    }


    .slider-navigation {
        display: none;
    }

    header {
        margin-bottom: 15px;

    }
}

@media (max-width: 576px) {
    .modern-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@keyframes fadeUpModern {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }

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

.modern-item {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
}

.mod-life.visible .modern-item {
    animation: fadeUpModern 0.7s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    animation-delay: calc(var(--modern-index) * 0.2s);
}

/*----------------------------------------------------
 Footer Section
----------------------------------------------------*/
footer {
    position: relative;
    background-image: url('../img/footer.webp');
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 200px 180px;
    background-color: var(--beige);
    margin-top: 120px;
}

.footer-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
    color: #78591a;
}

.footer-logo {
    height: 200px;
}

.footer-text {
    color: var(--brown-main);
    font-size: 14px;
    line-height: 26px;
}

.footer_content:not(:last-child) {
    margin-bottom: 12px;
}

.footer_content:has(a) {
    direction: ltr;
}

html[dir='rtl'] .footer_content:has(a) {
    text-align: end;
}

html[dir='ltr'] .footer_content:has(a) {
    text-align: start;
}

.footer-social {
    flex-direction: column;
}

.footer_content a {
    color: var(--brown-dark);
}

.footer-links a {
    font-size: 16px;
    color: var(--brown-dark);
    text-decoration: none;
    margin-bottom: 12px;
    padding: 5px 0;
    display: inline-block;
    transition: all 0.3s ease
}


.social-icon {
    width: 40px;
    height: 40px;
    border: 2px solid #4b3b1f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b3b1f;
    font-size: 18px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    animation: pulse-border 3s infinite;
}

.social-icon:hover {
    background-color: #4b3b1f;
    color: #fff;
    transform: scale(1.1) rotate(3deg);
}

@keyframes pulse-border {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(75, 59, 31, 0.4);
    }

    50% {
        box-shadow: 0 0 10px 5px rgba(75, 59, 31, 0.1);
    }
}

@media screen and (max-width:600px) {
    .footer-copyright {
        padding: 4px !important;
        background: #d9c5a0;
        margin: 130px -15px 0 !important;
 
    }

    .footer-social {
        flex-direction: row !important;

        .social-icon {
            background: #d9c5a0;
        }
    }
}

.footer-copyright p {
    color: var(--brown-main);
    font-size: 16px;
    color: #4B3B1F;
}

.footer-copyright p a {
    font-weight: 800;
    color: #78591a;
}

.footer .row>div {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.footer.animate .row>div {
    opacity: 1;
    transform: translateY(0);
}

/* Logo Animation */
.footer-logo img {
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.footer.animate .footer-logo img {
    transform: scale(1);
    opacity: 1;
}

/* Footer Titles */
.footer-title {
    position: relative;
    display: inline-block;
    padding: 5px 0;
}

.footer-title::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    background: var(--brown-dark);
    transition: width 0.6s ease;
}

.footer.animate .footer-title::after {
    width: 100%;
}

.footer-links li {
    line-height: 1;
}

.footer-links a {
    position: relative;
    overflow: hidden;
}

.footer-links a::before {
    content: "";
    position: absolute;
    inset-inline-start: -100%;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--brown-dark);
    transition: all 0.4s ease;
}

.footer-links a:hover::before {
    inset-inline-start: 0;
}

.social-icon {
    transition: all 0.4s ease;
}

.social-icon:hover {
    background-color: var(--brown-dark);
    color: #fff;
    transform: scale(1.15) rotate(3deg);
    box-shadow: 0 0 15px rgba(75, 59, 31, 0.4);
}

/* arrow */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    inset-inline-start: 30px;
    width: 42px;
    height: 43px;
    background-color: #C19A7F;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.scroll-top-btn:hover {
    background-color: #b58e73;
    transform: translateY(-3px);
}

.arrow-up {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 12px solid white;
}


/*----------------------------------------------------
 Pages (insides)
----------------------------------------------------*/

.singlePage-content {
    line-height: 1.8;
    font-size: 18px;
    color: #333;
}

.singlePage-content p {
    margin-bottom: 16px;
}

.singlePage-content h2,
.singlePage-content h3,
.singlePage-content h4 {
    font-weight: bold;
    color: var(--brown-dark);
    margin-top: 32px;
    margin-bottom: 30px;
}

.singlePage-content ul,
.singlePage-content ol {
    padding-right: 20px;
    margin-bottom: 0px;
}

.singlePage-content ul li,
.singlePage-content ol li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.singlePage-content p:empty {
    display: none;
}

.singlePage-content ul li h3 {
    display: inline;
    font-size: 22px;
    font-weight: bold;
    color: var(--brown-dark);
    margin: 0;
}


.singlePage .service-card,
.singlePage .projects-item,
.singlePage .blog-item,
html[dir="ltr"] .singlePage .blog-item,
.singlePage .ceo-image-wrapper,
.singlePage .ceo-content {
    transform: none !important;
    opacity: 1 !important;
}

/* about page */
.about-grid {
    gap: 40px;
    justify-content: center;
    margin-top: 120px;
}

.about-grid [class^="col-"] {
    max-width: 360px;
    margin-bottom: 20px;
}

.about-box-item {
    background: #EBE0CB;
    height: 100%;
    text-align: center;
    padding: 35px 20px 30px;
    position: relative;
    border: none;
    transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    animation: float-entry 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards, card-float 7s ease-in-out infinite;
}

.about-box-item:hover {
    transform: translateY(-14px) scale(1.05) rotateZ(-1deg);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.15);
}

@keyframes float-entry {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes card-float {
    0% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-6px);
    }

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

    75% {
        transform: translateY(-3px);
    }

    100% {
        transform: translateY(0);
    }
}

.about-box-icon {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
}

.icon-circle {
    background: #F3F1E7;
    border-radius: 50%;
    border: 2px solid #EBE0CB;
    padding: 10px;
    width: 114px;
    height: 114px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.about-box-item:hover .icon-circle {
    border-width: 4px;
    transform: scale(1.2) rotate(4deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.icon-circle img {
    max-width: 66px;
    height: auto;
    transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-box-item:hover .icon-circle img {
    transform: scale(1.2) rotate(10deg);
}

.about-box-title {
    font-size: 25px;
    font-weight: 600;
    color: var(--brown-dark);
    margin-top: 55px;
    line-height: 1.8;
}

/**** Pagination (WP Pagenavi) ****/
.wp-pagenavi {
    font-family: "TajawalM";
    margin: 15px 0 40px;
    text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
    background-color: #fff;
    border: 1px solid transparent !important;
    border-radius: 6px;
    color: #0d47a1;
    display: inline-block;
    font-weight: 500;
    margin: 0 2px !important;
    padding: 6px 12px !important;
    text-decoration: none;
    transition: all 0.2s;
}

.wp-pagenavi a:hover {
    background-color: #e3f2fd;
    border-color: #0d47a1;
    color: #0d47a1;
}

.wp-pagenavi span.current {
    background-color: #0d47a1;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
}

.wp-pagenavi .pages,
.wp-pagenavi .nextpostslink,
.wp-pagenavi .previouspostslink {
    font-weight: 600;
}

/* project page */
.property-data {
    margin-bottom: 40px;
}

.projectsPage-slider .item {
    position: relative;
    overflow: hidden;
    transform: scale(.97);
    transition: all 0.6s ease-in-out;
}

.projectsPage-slider .item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(3px);
    opacity: 1;
    transform: scale(1);
    transition: 0.6s ease;
    pointer-events: none;
    z-index: 2;
}

.projectsPage-slider .owl-item.active .item::before {
    opacity: 0;
    transform: scale(1.1);
}

.projectsPage-slider .owl-item:not(.center) img {
    filter: grayscale(40%) brightness(0.8);
    transition: all 0.6s ease-in-out;
}

.projectsPage-slider .owl-item.active img {
    filter: none;
    transition: all 0.6s ease-in-out;
}

.property-gallery .projectsPage-slider .item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: 0.4s ease-in-out;
}

.property-gallery .projectsPage-slider .owl-item.active {
    transform: scale(1.09);
    z-index: 9;
}

.projectThumb {
    margin-top: 15px;
    text-align: center;
}

.projectThumb .owl-thumb-item {
    display: inline-block;
    background: transparent;
    border: 2px solid transparent;
    padding: 4px;
    margin: 0 4px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease-in-out;
}

.projectThumb .owl-thumb-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.projectThumb .owl-thumb-item:hover,
.projectThumb .owl-thumb-item.active {
    opacity: 1;
    border-color: var(--primary-color, #c19a6b);
}

.owl-thumbs.projectThumb {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    gap: 10px;
    scrollbar-width: thin;
    /* Firefox */
}

.owl-thumbs.projectThumb::-webkit-scrollbar {
    height: 6px;
}

.owl-thumbs.projectThumb::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.owl-thumbs.projectThumb button.owl-thumb-item {
    flex: 0 0 auto;
    /* يمنع الأزرار من التمدد */
}


.property-gallery .projectsPage-slider .owl-stage-outer {
    position: relative;
    padding: 10px 0;
}

.property-gallery .projectsPage-slider::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    display: none;
}

.property-gallery.loading .projectsPage-slider::after {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .property-gallery .projectsPage-slider .item img {
        height: 300px;
    }

    .projectThumb .owl-thumb-item img {
        width: 60px;
        height: 60px;
    }
}

.singleProjects .projectsPage-slider .project-slide {
    position: relative;
    overflow: hidden;
}

.owl-carousel.owl-rtl .owl-item {
    transition: .4s;
}

.singleProjects .projectsPage-slider .project-image-wrapper img {
    width: 100%;
    height: auto;
    transition: 0.5s ease;
}

.singleProjects .projectsPage-slider .owl-item.active .project-image-wrapper img {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.singleProjects .project-title {
    font-size: 30px;
    font-weight: bold;
    color: var(--brown-light);
    margin-bottom: 10px;
}

.singleProjects .project-address {
    font-size: 18px;
    color: var(--brown-light);
    margin-bottom: 20px;
}

.singleProjects .project-address i {
    color: var(--brown-light);
    margin-inline-end: 5px;
}

.singleProjects .project-grid {
    gap: 40px;
    justify-content: center;
    margin-top: 120px;
}

.project-grid [class^="col-"] {
    max-width: 360px;
}

.singleProjects .project-box-item {
    background: #EBE0CB;
    height: 100%;
    text-align: center;
    padding: 35px 20px 30px;
    position: relative;
    border: none;
    transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    animation: float-entry 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards, card-float 7s ease-in-out infinite;
}

.singleProjects .project-box-item:hover {
    transform: translateY(-14px) scale(1.05) rotateZ(-1deg);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.15);
}

.singleProjects .project-box-icon {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
}

.singleProjects .project-icon-circle {
    background: #F3F1E7;
    border-radius: 50%;
    border: 2px solid #EBE0CB;
    padding: 10px;
    width: 114px;
    height: 114px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.singleProjects .project-box-item:hover .project-icon-circle {
    border-width: 4px;
    transform: scale(1.2) rotate(4deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.singleProjects .project-icon-circle img {
    max-width: 66px;
    height: auto;
    transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.singleProjects .project-box-item:hover .project-icon-circle img {
    transform: scale(1.2) rotate(10deg);
}

.singleProjects .project-box-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--brown-dark);
    margin-top: 0;
    line-height: 1.8;
}

.singleProjects .icon-circle img {
    max-width: 90px;
    height: auto;
}

.project-box-item {
    background: #EBE0CB;
    height: 100%;
    text-align: center;
    padding: 35px 20px 30px;
    position: relative;
    border: none;
    transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    animation: float-entry 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards, card-float 7s ease-in-out infinite;
}

.project-box-icon {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
}

.project-box-item:hover .icon-circle {
    border-width: 4px;
    transform: scale(1.2) rotate(4deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


.project-box-item:hover .icon-circle img {
    transform: scale(1.2) rotate(10deg);
}


.hold-specs-box {
    margin-top: 35px;
}

.singleProjects .project-box-number {
    display: block;
    font-size: 25px;
    font-weight: 700;
    color: var(--brown-dark);
}


.singleProjects .project-video .video-wrapper iframe,
.singleProjects .project-video .video-player {
    width: 100%;
    max-width: 800px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.singleProjects .property-map iframe {
    width: 100%;
    height: 400px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-weight: 700;
    font-size: 26px;
    color: var(--brown-light);
    position: relative;
    margin-bottom: 40px;
}

.video-wrapper {
    display: inline-block;
}

.video-wrapper video {
    width: 500px;
    height: 281px;
}

.plan-box {
    background: #EBE0CB;
    border-radius: 10px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.plan-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.plan-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.plan-image-wrapper img {
    width: 100%;
    height: 250px;
    object-fit: cover !important;
    transition: transform 0.4s ease;
}

.plan-box:hover .plan-image-wrapper img {
    transform: scale(1.08);
}

.plan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 2rem;
    transition: opacity 0.4s ease;
}

.plan-box:hover .plan-overlay {
    opacity: 1;
}

.plan-title {
    font-size: 1.3rem;
    color: var(--brown-dark, #5c3d2e);
    margin-top: 15px;
    font-weight: 700;
}

.plan-description {
    font-size: 0.95rem;
    color: var(--brown-dark);
}

/********* single page *********/

.singlePage-img {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    max-height: 550px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    animation: floatImage 6s ease-in-out infinite;
}

.singlePage-img img.project-main-img {
    width: 100%;
    height: 100%;
    max-height: 550px;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.5s ease;
}

/* Hover Zoom Effect */
.singlePage-img:hover img.project-main-img {
    transform: scale(1.05);
}

/* Overlay Glow */
.singlePage-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.singlePage-img:hover::after {
    opacity: 1;
}

/* Floating animation */
@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .singlePage-img {
        max-height: 350px;
    }
}


/*----------------------------------------------------
 Media Queries
----------------------------------------------------*/
/* Large Screens (>=992px) */
@media (min-width: 992px) {
    footer [class*="col-"]:not(:last-child) {
        border-inline-end: 2px solid var(--brown-main);
        margin-inline-end: 30px;
    }

    .sidebar,
    .menu-icons {
        display: none;
    }

    nav.main-menu {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #d9c5a0;
        padding: 26px 35px;
    }

    .main-menu li a {
        color: var(--brown-dark);
        font-weight: 400;
        padding: 5px 10px;
        transition: 0.3s ease;
    }

    .main-menu li.active a {
        color: #fff;
        background-color: var(--brown-dark);
        font-weight: 700;
    }


    .nav-list>.menu-item>a {
        display: flex;
        align-items: center;
        transition: all 0.3s ease-in-out;
    }

    .nav-list>.menu-item-has-children>a:after {
        display: inline-block;
        content: "\f078";
        font-family: "FontAwesome";
        font-weight: 400;
        margin-inline-start: 5px;
        color: var(--brown-dark);
        transition: all .5s ease-in-out;
    }

    .nav-list>li.menu-item {
        position: relative;
    }

    .nav-list>.menu-item-has-children:hover a:after {
        transform: rotateX(-180deg);
        color: #FFF;
    }

    .sub-menu {
        position: absolute;
        top: 100%;
        inset-inline-start: 0;
        z-index: 4;
        min-width: 250px;
        padding: 10px 0;
        background-color: var(--brown-dark);
        opacity: 0;
        visibility: hidden;
        transform-origin: 0 0 0;
        transform: scaleY(0);
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
        transition: all 0.6s ease-in-out;
        list-style: none;
    }

    .nav-list .sub-menu li {
        position: relative;
        padding: 0 20px;
        text-align: start;
    }

    .nav-list .sub-menu li:not(:last-of-type) a {
        margin-bottom: 10px;
    }

    .nav-list .sub-menu li a {
        display: block;
        width: 100%;
        font-weight: 400;
        position: relative;
        color: #838383;
        transition: all 0.5s ease-in-out;
    }

    html[dir="rtl"] .nav-list .sub-menu>li.menu-item-has-children>a:after {
        content: "\f053";
    }

    html[dir="ltr"] .nav-list .sub-menu>li.menu-item-has-children>a:after {
        content: "\f054";
    }

    .nav-list .sub-menu>li.menu-item-has-children>a:after {
        font-family: "fontAwesome";
        font-weight: 900;
        color: #FFF;
        position: absolute;
        inset-inline-end: 0;
        transition: all 0.5s ease-in-out;
    }

    .nav-list .sub-menu li:hover>a {
        color: var(--brown-light);
    }

    .nav-list .sub-menu>li.menu-item-has-children:hover>a:after {
        color: var(--brown-light);
    }

    .menu-item-has-children:hover>.sub-menu {
        opacity: 1;
        visibility: visible;
        top: 100%;
        transform: scaleY(1);
    }

    .sub-menu .menu-item-has-children .sub-menu {
        top: 0 !important;
        inset-inline-start: 100%;
    }

    .sub-menu .menu-item-has-children:hover>.sub-menu {
        inset-inline-start: 100%;
    }

    .ceo-image-wrapper::before {
        width: 413px;
        height: 303px;
    }

}

/* Medium Screens (<=992px) */
@media (max-width: 992px) {

    /* sidebar */
    /* sidebar */
    /* side menu*/
    .sidebar:before {
        position: absolute;
        content: '';
        opacity: 0.4;
        inset: 0;
    }

    html[dir='rtl'] .sidebar:before {
        background-position: top right;
    }

    html[dir='ltr'] .sidebar:before {
        background-position: top left;
    }

    .menu-icons label {
        display: flex;
        flex-direction: column;
        width: 40px;
        cursor: pointer;
        margin-bottom: 0;
        margin-inline-start: 5px;
    }

    .menu-icons label span {
        background: var(--brown-light);
        border-radius: 10px;
        height: 3px;
        margin: 3px 0;
        transition: 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    }

    .close-me img {
        height: 35px;
        filter: brightness(0) saturate(100%) invert(100%) sepia(6%) saturate(7470%) hue-rotate(187deg) brightness(109%) contrast(104%);
    }

    .menu-icons span:nth-of-type(1) {
        width: 50%;
    }

    .menu-icons span:nth-of-type(2) {
        width: 100%;
    }

    .menu-icons span:nth-of-type(3) {
        width: 55%;
    }

    .close-me input[type="checkbox"]:checked~span:nth-of-type(1) {
        transform-origin: bottom;
        transform: rotatez(45deg) translate(-10px, 12px);
    }

    .close-me input[type="checkbox"]:checked~span:nth-of-type(2) {
        transform-origin: top;
        transform: rotatez(-45deg);
    }

    .close-me input[type="checkbox"]:checked~span:nth-of-type(3) {
        transform-origin: bottom;
        width: 50%;
        transform: translate(-2px, -5px) rotatez(45deg);
    }

    .sidebar_pagebody {
        width: 100%;
        overflow: hidden;
    }

    html[dir='rtl'] .sidebar_pagebody {
        float: right;
        clear: right;
    }

    /*html[dir='ltr'] .sidebar_pagebody {*/
    /*    float: left;*/
    /*    clear: left;*/
    /*}*/
    .sidebar .menu-icons {
        display: table;
        position: absolute;
        top: 20px;
        margin-inline-start: 0;
        cursor: pointer;
    }

    html[dir='rtl'] .sidebar .menu-icons {
        left: 20px;
    }

    html[dir='ltr'] .sidebar .menu-icons {
        right: 20px;
    }

    .sidebar {
        position: relative;
        height: 100%;
        width: 400px;
        position: fixed;
        top: 0;
        z-index: 99999;
        background: var(--brown-light);
        transition: .7s ease-in-out;
    }

    html[dir='rtl'] .sidebar {
        right: -400px;
    }

    html[dir='ltr'] .sidebar {
        left: -400px;
    }

    html[dir='rtl'] .sidebar.noo {
        right: 0;
    }

    html[dir='ltr'] .sidebar.noo {
        left: 0;
    }

    .sidebar .nav-right {
        position: fixed;
        right: 40px;
        top: 20px;
    }

    .sidebar .menu-icons label span {
        background: #FFF;
    }

    .sidebar .menu-icons input~span:nth-of-type(1) {
        transform-origin: bottom;
    }

    html[dir='rtl'] .sidebar .menu-icons input~span:nth-of-type(1) {
        transform: rotatez(45deg) translate(-10px, 12px);
    }

    html[dir='ltr'] .sidebar .menu-icons input~span:nth-of-type(1) {
        transform: rotatez(45deg) translate(4px, -2px);
    }

    .sidebar .menu-icons input~span:nth-of-type(2) {
        transform-origin: top;
    }

    .sidebar .menu-icons input~span:nth-of-type(2) {
        transform: rotatez(-45deg);
    }

    .sidebar .menu-icons input~span:nth-of-type(3) {
        transform-origin: bottom;
        width: 50%;
    }

    html[dir='rtl'] .sidebar .menu-icons input~span:nth-of-type(3) {
        transform: translate(-2px, -5px) rotatez(45deg);
    }

    html[dir='ltr'] .sidebar .menu-icons input~span:nth-of-type(3) {
        transform: translate(18px, -5px) rotatez(45deg);
    }

    main.helpMoveRTL {
        left: -400px;
    }

    main.helpMoveLTR {
        left: 400px;
    }

    .sidebar nav {
        padding-top: 30px;
    }

    .sidebar .nav-list {
        padding: 0 50px;
        list-style: none;
        position: relative;
        margin-top: 85px;
        text-align: start;
    }

    .sidebar>ul>.menu-item {
        margin: 23px 0;
        opacity: 0;
        -webkit-transform: translateY(-20px);
        -moz-transform: translateY(-20px);
        -ms-transform: translateY(-20px);
        -o-transform: translateY(-20px);
        transform: translateY(-20px);
    }

    .sidebar .menu-item:first-child {
        -webkit-transition: all 0.7s 0.2s ease-in-out;
        -moz-transition: all 0.7s 0.2s ease-in-out;
        -ms-transition: all 0.7s 0.2s ease-in-out;
        -o-transition: all 0.7s 0.2s ease-in-out;
        transition: all 0.7s 0.2s ease-in-out;
    }

    .sidebar .menu-item {
        -webkit-transition: all 0.7s 0.4s ease-in-out;
        -moz-transition: all 0.7s 0.4s ease-in-out;
        -ms-transition: all 0.7s 0.4s ease-in-out;
        -o-transition: all 0.7s 0.4s ease-in-out;
        transition: all 0.7s 0.4s ease-in-out;
    }

    .sidebar .menu-item:nth-child(3) {
        -webkit-transition: all 0.7s 0.6s ease-in-out;
        -moz-transition: all 0.7s 0.6s ease-in-out;
        -ms-transition: all 0.7s 0.6s ease-in-out;
        -o-transition: all 0.7s 0.6s ease-in-out;
        transition: all 0.7s 0.6s ease-in-out;
    }

    .sidebar .menu-item:last-child {
        -webkit-transition: all 0.7s 0.8s ease-in-out;
        -moz-transition: all 0.7s 0.8s ease-in-out;
        -ms-transition: all 0.7s 0.8s ease-in-out;
        -o-transition: all 0.7s 0.8s ease-in-out;
        transition: all 0.7s 0.6s ease-in-out;
    }

    .sidebar .nav-list>.linkMenu:not(:last-of-type) {
        margin-inline-end: 0;
    }

    .sidebar .menu-item.special {
        opacity: 1;
        -webkit-transform: translateY(0px);
        -moz-transform: translateY(0px);
        -ms-transform: translateY(0px);
        -o-transform: translateY(0px);
        transform: translateY(0px);
    }

    .sidebar .menu-item a {
        position: relative;
        color: #FFF;
        text-decoration: none;
        font-size: 23px;
        padding-bottom: 7px;
        font-weight: 500;
        transition: .4s ease-in-out;
    }

    .sidebar .menu-item.active>a,
    .sidebar .menu-item.active>i {
        color: var(--brown-dark);
    }

    .sidebar .menu-item.active>a:before {
        background: var(--brown-dark);
    }

    .sidebar .menu-item-has-children>.sub-menu {
        background: var(--brown-dark);
        padding: 8px 20px;
    }

    /*.sidebar .menu-item-has-children > .sub-menu a {*/
    /*    color: #000;*/
    /*}*/
    /*.sidebar .menu-item > a:before {*/
    /*    content: "";*/
    /*    width: 0;*/
    /*    height: 2px;*/
    /*    position: absolute;*/
    /*    bottom: 0;*/
    /*    inset-inline-start: 0;*/
    /*    background: #fff;*/
    /*    transition: width 0.7s ease-in-out;*/
    /*}*/
    .sidebar .menu-item:hover>a:before,
    .sidebar .menu-item.active>a:before {
        width: 100%;
    }

    #bodyWrap>div.greatest-background>div {
        bottom: -73px;
    }

    .dd-trigger {
        position: absolute;
        top: 6px;
        font-size: 21px;
        display: inline-block;
        inset-inline-end: 0;
        color: #FFF;
        margin-inline-start: 20px;
        cursor: pointer;
        transition: all .4s ease-in-out;
    }

    .dd-trigger.rotated {
        transform: rotate(180deg);
    }


    .sidebar .sub-menu {
        position: relative;
        margin-top: 10px;
        background: var(--brown-light);
        padding: 10px 0;
    }

    body>div.sidebar_pagebody>div>ul>li.linkMenu.menu-item.menu-item-has-children.special>ul a {
        color: #FFF;
    }

    .sidebar .sub-menu .menu-item a {
        font-size: 16px;
    }

    .sidebar .sub-menu {
        display: none;
    }

    .sidebar .sub-menu li:not(:last-child) {
        margin-bottom: 5px;
    }

    .menu-icons input[type=checkbox] {
        display: none;
    }

    /* // Side menu */
    /*   header  */
    #main-header .col-6.col-lg-3:first-child {
        order: 1;
    }

    #main-header .col-6.col-lg-3:last-child {
        order: 2;
    }

    #main-header .main-menu {
        order: 3;
        width: 100%;
        margin-top: 10px;
        display: block !important;
        text-align: center;
    }

    #main-header .row {
        justify-content: space-between;
    }

    .fixed-header .main-menu li a {
        padding: 5px 9px;
    }

    /* // header   */
    .banner_content h1 {
        font-size: 32px;
    }

    .banner_content h2 {
        font-size: 25px;
        margin-top: 26px;
    }

    .banner_img img {
        min-height: 540px;
    }

    .service-card {
        overflow: visible;
    }

    .service-card:hover::before {
        transform: scale(1.15) rotate(7deg);
    }

    .service-card:hover::before {
        top: 3px;
        width: 249px;
        height: 311px;
    }

    .ceo-content {
        margin-inline-start: 0;
    }

    .ceo-image-wrapper::before {
        width: 400px;
        height: 280px;
    }

    .ceo-image-wrapper:hover::before {
        width: 452px;
        height: 332px;
    }

    .modern-grid {
        gap: 30px;
    }

    footer [class*="col-"]:not(:last-child) {
        border: none;
    }

    .projects-image,
    .blog-image {
        height: 395px;
    }

}

@media (max-width: 991.96px) {
    .stats-wrapper {
        gap: 40px;
    }

    .project-grid [class^="col-"] {
        max-width: 280px;
    }

    .project-grid [class^="col-"] {
        margin-bottom: 80px !important;
    }

    .in_stats {
        margin-inline: 30px;
    }

    .stat-box h2 {
        font-size: 32px;
    }

    .ceo-image-wrapper::before {
        width: 411px;
        height: 303px;
    }

    .ceo-image-wrapper:hover::before {
        width: 415px;
        height: 304px;
    }

    .ceo-image-wrapper {
        display: flex;
        margin: 0 auto 30px;
    }

    .map-wrapper {
        margin-top: 30px;
        height: 320px !important;
    }

    .contact-section .container>.row {
        flex-direction: column-reverse;
    }

    .modern-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    #main-header .main-menu {
        display: none !important;
    }

    .about-box-title {
        font-size: 19px;
        ;
        margin-top: 32px;
    }
}


/* Small Screens (<=768px) */
@media (max-width: 768px) {
    .banner_content p {
        font-size: 16px;
    }

    .in_stats {
        margin-inline: 55px;
    }

    .about_card {
        background: rgb(255 255 255 / 77%) !important;
    }
}

@media (max-width: 767.96px) {
    .singleProjects .project-grid {
        gap: 0;
    }
}

/* Extra Small Screens (<=576px) */
@media (max-width: 576px) {
    .sidebar {
        width: 320px;
    }

    .video-wrapper video {
        width: 100%;
        height: 100%;
    }


    .sidebar .menu-item a {
        font-size: 19px;
    }

    html[dir='rtl'] main.helpMoveRTL {
        left: -320px;
    }

    html[dir='ltr'] main.helpMoveLTR {
        left: 320px;
    }


    html[dir='rtl'] .sidebar {
        right: -320px;
    }


    html[dir='rtl'] .sidebar .menu-icons {
        left: 15px;

    }

    html[dir='ltr'] .sidebar .menu-icons {
        right: 15px;

    }

    .close-me img {
        height: 35px;
    }

    .main-btn,
    .withArrow {
        font-size: 16px;
    }

}

@media (max-width: 576px) {
    .header-logo {
        width: fit-content;
		display: flex;
        height: auto;
        align-items: center;
    }

    html[dir='ltr'] .banner .withArrow .text {
        font-size: 12px;
    }

    .singleProjects .project-title {
        font-size: 24px;
    }

    html[dir='ltr'] .in_stats {
        top: -20px;
        margin-bottom: 30px;
    }

    .service-card {
        transform: none;
        opacity: 1;
		  width: 270px;
        margin: auto;
		position:relative;
    }

    .service-card::before {
        inset: 18px 18px 0 0;
    }
	html:not([dir=rtl]){
		.service-card::before {
        inset: 18px 0 0 18px;
    }
	}

    .services [class*='col-'] a {
        display: flex;
        justify-content: center;
    }

    .service-image {
        width: 100%;
        margin: auto;
    }

    .service-card:hover::before {
      transform: scale(1.10) rotate(3deg);
        right: 8px;
    }

    .ceo-image-wrapper {
        width: 314px;
        height: 243px;
    }
	.header-logo {
		img{
			width:55px;
		}
	}

    .ceo-image-wrapper::before {
        width: 314px;
        height: 228px;
    }

    .ceo-image-wrapper:hover::before {
        width: 312px;
        height: 228px;
    }

    .sec-tit {
        font-size: 26px;
    }
}

@media (max-width: 575.96px) {
    .banner_content {
        padding: 0 15px;
    }

    .scroll-top-btn {
        inset-inline-start: 10px;
    }

    .stat-box {
        padding: 0;
    }

    .stats-wrapper {
        gap: 25px;
    }

    .stat-box p {
        font-size: 17px;
    }

}

@media (max-width: 480px) {
    .banner_content h1 {
        font-size: 24px;
    }

    .banner_content h2 {
        margin-top: 20px;
        font-size: 18px;
    }

    .banner_content p {
        font-size: 14px;
        line-height: 27px;
        margin-top: 19px;
    }

}

@media (max-width: 371px) {
    .header-logo {
/*         width: 74px; */
        height: 74px;
    }

    #fixed-header {
        display: none;
    }

    .singleProjects .project-title {
        font-size: 24px;
        margin-bottom: 15px !important;
    }

    .singleProjects .project-address {
        font-size: 15px;
    }


    .singleProjects .project-box-title {
        font-size: 15px;
    }

    .icon-circle {
        width: 85px;
        height: 85px;
    }

    .singleProjects .project-box-icon {
        top: -40px;
    }

    .singleProjects .project-box-item {
        padding-inline: 5px;
    }

    .section-title {
        font-size: 23px;
        margin-bottom: 24px;
    }


}

/*----------------------------------------------------
End of CSS
----------------------------------------------------*/