*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    transition: color .2s ease, background .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease;
    color: inherit;
}

a:focus,
a:hover {
    text-decoration: none;
    color: inherit;
}

button {
    background: transparent;
    border: none;
    cursor: pointer;
}

button:focus {
    outline: none;
}

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

:focus {
    outline: none;
    box-shadow: none !important;
}

p {
    margin: 0;
}

textarea {
    resize: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.owl-carousel {
    direction: ltr;
}

.owl-carousel .owl-item {
    direction: rtl;
}

html[lang="en"] .owl-carousel .owl-item {
    direction: ltr;
}

.dropdown-toggle::after {
    display: none;
}

/* ---------- Tokens ---------- */
:root {
    --forest: #153e35;
    --forest-mid: #1b4d3e;
    --gold: #c4a35a;
    --sage: #d7e6e1;
    --mist: #f4f7f6;
    --mist-alt: #f7faf8;
    --ink: #1a1a1a;
    --muted: #5b6b66;
    --border: #d5ddd9;
    --white: #ffffff;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow: 0 8px 28px rgba(21, 62, 53, 0.08);
    --shadow-sm: 0 2px 12px rgba(21, 62, 53, 0.06);
}

body {
    direction: rtl;
    text-align: start;
    font-family: "Cairo", sans-serif;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.7;
    background: var(--white);
    word-spacing: 0;
    text-shadow: none;
}

.body-content {
    margin-top: 90px;
}

.sec-padd {
    padding-top: 72px;
    padding-bottom: 72px;
}

.mb-20 {
    margin-bottom: 20px;
}

.main-color {
    color: var(--forest) !important;
}

.grey-color {
    color: var(--muted);
}

.f-b {
    font-weight: 700;
}

/* ---------- Buttons ---------- */
.btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--forest);
    color: var(--white) !important;
    min-width: 160px;
    padding: 0 24px;
    border-radius: 10px;
    text-align: center;
    height: 48px;
    line-height: 1;
    font-weight: 600;
    border: 1px solid var(--forest);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.btn-main:hover {
    background: var(--forest-mid);
    border-color: var(--forest-mid);
    transform: translateY(-1px);
}

.btn-main-outline {
    background: transparent;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-main-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--gold);
}

/* ---------- Header / Nav ---------- */
header {
    padding: 10px 0;
    background: var(--mist-alt);
    box-shadow: var(--shadow-sm);
    width: 100%;
    position: fixed;
    inset-inline-start: 0;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid var(--border);
}

header::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 2px;
    background: var(--gold);
    opacity: 0.85;
}

.the-logo {
    margin-inline-end: 20px;
    max-height: 56px;
    width: auto;
}

.nav_bar {
    gap: 4px;
}

.nav_bar a {
    position: relative;
    padding: 8px 12px;
    color: var(--forest);
    font-weight: 600;
    font-size: 14px;
}

.nav_bar a::after {
    content: "";
    position: absolute;
    inset-inline: 12px;
    bottom: 2px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .2s ease;
}

.nav_bar a:hover,
.nav_bar a.active {
    color: var(--forest-mid);
}

.nav_bar a:hover::after,
.nav_bar a.active::after {
    transform: scaleX(1);
}

.close-open-nav {
    width: 28px;
    height: 22px;
    margin-inline-start: 12px;
    position: relative;
    display: none;
}

.close-open-nav > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.close-open-nav > div span {
    width: 100%;
    height: 2.5px;
    background: var(--forest);
    border-radius: 20px;
    display: block;
    transition: all 0.3s linear 0s;
}

.close-open-nav.active span:first-of-type {
    transform: translateY(9px) rotate(45deg);
}

.close-open-nav.active span:nth-child(2) {
    opacity: 0;
}

.close-open-nav.active span:last-of-type {
    transform: translateY(-9px) rotate(-45deg);
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--forest);
    font-weight: 600;
    font-size: 13px;
}

.lang-toggle:hover {
    border-color: var(--gold);
}

.dropdown-menu {
    float: none;
    text-align: start;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 12px;
    top: 10px !important;
    box-shadow: var(--shadow);
}

.dropdown-menu .dropdown-item {
    border-radius: 8px;
    color: var(--forest);
    font-weight: 600;
    padding: 8px 12px;
}

.dropdown-menu .dropdown-item:hover {
    background: var(--mist);
}

/* ---------- Section titles ---------- */
.the_title {
    max-width: 560px;
    margin: 0 auto 36px;
    text-align: center;
}

.the_title .eyebrow {
    display: inline-block;
    color: var(--gold);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.the_title h3 {
    color: var(--forest);
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 10px;
    line-height: 1.35;
}

.the_title p {
    color: var(--muted);
    font-size: 15px;
}

.section-mist {
    background: var(--mist);
}

.section-cream {
    background: var(--mist-alt);
}

/* ---------- Hero / Slider ---------- */
.owl-index .item {
    position: relative;
}

.info_owl {
    width: 100%;
    min-height: 520px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.img_owl_index {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    transform: none;
    left: 0;
    bottom: 0;
}

.img_owl_index::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(21, 62, 53, 0.92) 0%,
        rgba(21, 62, 53, 0.72) 45%,
        rgba(21, 62, 53, 0.35) 100%
    );
}

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

.info_owl > .container {
    position: relative;
    z-index: 5;
    width: 100%;
}

.ads_wol {
    position: relative;
    z-index: 5;
    max-width: 560px;
    padding-block: 40px;
    margin-inline-end: auto;
    text-align: start;
}

.ads_wol .hero-accent {
    width: 56px;
    height: 3px;
    background: var(--gold);
    margin-bottom: 18px;
    border-radius: 2px;
}

.ads_wol h3 {
    color: var(--white);
    line-height: 1.45;
    margin-bottom: 14px;
    font-size: 36px;
    font-weight: 700;
}

.ads_wol p {
    color: var(--sage);
    margin-bottom: 28px;
    font-size: 16px;
    max-width: 480px;
}

.owl-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
}

.owl-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 14px;
    display: flex;
    justify-content: space-between;
    z-index: 6;
}

.owl-nav > div {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--white);
    transition: background .2s ease;
    border-radius: 50%;
}

.owl-nav > div:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--forest);
}

.owl-carousel .owl-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    margin: 0 5px;
    position: relative;
}

.owl-carousel .owl-dot::after {
    display: none;
}

.owl-carousel .owl-dot.active {
    background: var(--gold);
    width: 28px;
}

/* ---------- About ---------- */
.about-section .info_JM h4 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
}

.about-section .info_JM .eyebrow {
    display: inline-block;
    color: var(--gold);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 10px;
}

.about-section .info_JM p {
    font-size: 15px;
    line-height: 1.85;
}

.img_info_JM {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.img_info_JM img {
    max-width: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.img_info_JM img:first-of-type {
    width: 280px;
    height: 420px;
    position: relative;
    z-index: 3;
    border: 3px solid var(--white);
}

.img_info_JM img:last-of-type {
    width: 220px;
    height: 300px;
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    transform: translateY(-50%);
    border: 3px solid var(--gold);
}

.info_JM {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-inline-end: 12px;
}

/* ---------- Services ---------- */
.box-servess {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 22px 24px;
    margin: 12px 0;
    min-height: calc(100% - 24px);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform .2s ease, box-shadow .2s ease;
}

.box-servess::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 3px;
    background: var(--gold);
}

.box-servess:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.box-servess .service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--mist);
    color: var(--forest);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.box-servess h6 {
    color: var(--forest);
    font-size: 17px;
    margin-bottom: 10px;
}

.box-servess p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

/* ---------- How it works ---------- */
.how_work {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 8px;
    text-align: center;
    position: relative;
    margin-bottom: 20px;
    background-image: none;
}

.how_work li {
    width: 160px;
    margin: 10px;
    position: relative;
}

.how_work li .step-num {
    position: absolute;
    top: -4px;
    inset-inline-end: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--forest);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border: 2px solid var(--white);
}

.how_work img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 12px;
    object-fit: cover;
    border: 3px solid var(--sage);
    box-shadow: var(--shadow-sm);
}

.how_work li div {
    color: var(--forest);
    font-weight: 600;
    font-size: 14px;
}

/* ---------- FAQ ---------- */
.faq-tabs .nav-link {
    background: var(--white);
    min-width: 120px;
    width: auto;
    padding: 0 18px;
    border-radius: 999px !important;
    text-align: center;
    margin: 6px;
    height: 42px;
    line-height: 42px;
    color: var(--forest);
    font-weight: 600;
    border: 1px solid var(--border);
}

.faq-tabs .nav-link.active {
    background: var(--forest) !important;
    color: var(--white) !important;
    border-color: var(--forest);
    box-shadow: 0 4px 12px rgba(21, 62, 53, 0.2);
}

.accordion .card {
    margin: 12px 0;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: none;
    overflow: hidden;
    background: var(--white);
}

.accordion .card-header {
    padding: 0;
    background: var(--white);
    border-bottom: none;
}

.accordion .card-header button {
    display: block;
    width: 100%;
    text-align: start;
    padding: 16px 18px;
    color: var(--ink);
    font-weight: 600;
    font-size: 15px;
}

.accordion .card-header button[aria-expanded="true"] {
    color: var(--forest);
    background: var(--mist-alt);
}

.card-body {
    padding: 8px 18px 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

/* ---------- Partners ---------- */
.owl-brands .item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    min-height: 100px;
    margin: 4px;
}

.owl-brands .item img {
    max-height: 56px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: filter .2s ease, opacity .2s ease;
}

.owl-brands .item:hover img {
    filter: none;
    opacity: 1;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;
}

.contact-info-card,
.form-content {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 28px 24px;
}

.contact-info-card h5 {
    color: var(--forest);
    font-weight: 700;
    margin-bottom: 18px;
}

.contact-info-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
    color: var(--muted);
}

.contact-info-list li i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--mist);
    color: var(--forest);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-list a {
    color: var(--ink);
    font-weight: 500;
}

.form-group {
    margin-bottom: 1rem;
    position: relative;
}

.form-control {
    border: 1px solid var(--border);
    padding: 13px 14px;
    border-radius: 10px;
    background: var(--mist-alt);
    font-size: 14px;
    color: var(--ink);
    height: auto;
}

.form-control:focus {
    border-color: var(--forest);
    background: var(--white);
}

textarea.form-control {
    height: 140px;
}

.form-content .btn-main {
    margin: 8px 0 0;
    width: 100%;
}

/* ---------- Footer ---------- */
footer {
    color: var(--white);
    padding-top: 0;
    background: var(--forest);
    position: relative;
}

footer::before {
    content: "";
    display: block;
    height: 4px;
    background: var(--gold);
}

footer .container {
    padding-top: 36px;
}

.Tfooter {
    margin: 0 0 16px;
    position: relative;
    font-weight: 700;
    font-size: 16px;
}

.Tfooter::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    background: var(--gold);
    margin-top: 8px;
}

.link-footer li {
    margin-bottom: 10px;
    color: var(--sage);
}

.link-footer li i {
    margin-inline-end: 8px;
    color: var(--gold);
    font-size: 12px;
}

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

.logo_footer {
    max-width: 120px;
    margin-bottom: 18px;
    filter: brightness(1.05);
}

.social-m li a {
    margin-inline-end: 10px;
    width: 38px;
    height: 38px;
    background: var(--forest-mid);
    display: flex;
    font-size: 16px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 1px solid rgba(196, 163, 90, 0.35);
}

.social-m li a:hover {
    background: var(--gold);
}

.social-m li a img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.under_footer {
    padding: 16px 0;
    background: #0f2e28;
    text-align: center;
    margin-top: 28px;
    color: var(--sage);
    font-size: 13px;
}

.under_footer a {
    color: var(--gold);
    font-weight: 600;
}

/* ---------- Subpages ---------- */
.page-article {
    max-width: 820px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 40px 36px;
}

.page-article h1 {
    color: var(--forest);
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--gold);
}

.page-article .article-body {
    color: var(--muted);
    line-height: 1.85;
}

.delete-actions .btn {
    min-width: 120px;
    border-radius: 10px;
    font-weight: 600;
}

.delete-actions .btn-success {
    background: var(--forest);
    border-color: var(--forest);
}

.delete-actions .btn-danger {
    background: #b91c1c;
    border-color: #b91c1c;
}

/* ---------- Loader ---------- */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999999;
    background: var(--forest);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader img {
    animation: logoeffect2 0.9s linear 0s infinite;
    position: relative;
    width: 100px;
}

@keyframes logoeffect2 {
    100% {
        transform: rotateY(360deg);
    }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(21, 62, 53, 0.35);
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(21, 62, 53, 0.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
    .sec-padd {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .info_owl {
        min-height: 440px;
    }

    .ads_wol h3 {
        font-size: 24px;
        line-height: 1.4;
    }

    .ads_wol p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .img_info_JM {
        min-height: 320px;
        margin-top: 28px;
    }

    .img_info_JM img:first-of-type {
        width: 220px;
        height: 320px;
    }

    .img_info_JM img:last-of-type {
        width: 150px;
        height: 210px;
    }

    .the_title h3 {
        font-size: 22px;
    }

    .page-article {
        padding: 28px 20px;
    }

    .how_work li {
        width: 130px;
        margin: 8px;
    }

    .how_work img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 991.98px) {
    .close-open-nav {
        display: block;
    }

    .nav_bar {
        display: block !important;
        position: fixed;
        width: min(300px, 85vw);
        height: 100%;
        background: var(--forest);
        top: 0;
        inset-inline-end: 0;
        transform: translateX(100%);
        transition: transform 0.3s linear 0s;
        z-index: 40;
        color: var(--white);
        padding: 72px 0 24px;
        box-shadow: var(--shadow);
    }

    html[lang="en"] .nav_bar,
    body.ltr .nav_bar {
        transform: translateX(-100%);
        inset-inline-end: auto;
        inset-inline-start: 0;
    }

    .nav_bar.active {
        transform: translateX(0) !important;
    }

    .nav_bar li {
        margin: 4px 16px;
    }

    .nav_bar a {
        display: block;
        color: var(--sage);
        padding: 12px 14px;
        border-radius: 8px;
    }

    .nav_bar a::after {
        display: none;
    }

    .nav_bar a:hover,
    .nav_bar a.active {
        color: var(--white);
        background: rgba(196, 163, 90, 0.18);
    }

    .the-logo {
        margin-inline-end: 0;
        max-height: 48px;
    }

    .img_info_JM img:last-of-type {
        z-index: 5;
    }
}
