* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    transition: all .25s ease;
    color: inherit;
}

a,
button,
input[type="button"] {
    cursor: pointer;
    transition: all .2s ease;
}

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

button {
    background: transparent;
    border: none;
}

button:focus {
    outline: none;
}

.list-inline-item:not(:last-child),
ul {
    margin-right: 0;
}

ul {
    padding-left: 0;
    padding-right: 0;
    margin: 0;
}

ul li {
    list-style-type: none;
}

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

p {
    margin: 0;
}

.text-center {
    text-align: center;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

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

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

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-2 {
    margin-top: .5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-2 {
    margin-bottom: .5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.p-md-3 {
    padding: 1rem;
}

.p-md-5 {
    padding: 3rem;
}

.p-5 {
    padding: 3rem;
}

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

.flex-grow-1 {
    flex-grow: 1;
}

.owl-carousel {
    direction: ltr;
}

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

.dropdown {
    display: inline-block;
}

.dropdown-menu {
    float: none;
    text-align: start;
}

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

textarea {
    resize: none;
}

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

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

.btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--btn);
    color: #0d192b !important;
    min-width: 160px;
    padding: 0 28px;
    border-radius: 999px;
    text-align: center;
    margin: 20px auto;
    height: 48px;
    line-height: 48px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(200, 169, 110, 0.28);
}

.btn-main:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

body {
    direction: rtl;
    text-align: right;
    font-family: "Cairo", sans-serif;
    color: var(--ink);
    font-size: 16px;
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

/* ========== Header ========== */
header {
    padding: 14px 0;
    background: rgba(13, 25, 43, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s ease, border-color .25s ease, padding .25s ease;
}

header.is-scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: rgba(200, 169, 110, 0.18);
    padding: 10px 0;
}

.the-logo {
    margin-inline-end: 24px;
    max-height: 56px;
}

.nav_bar {
    gap: 8px;
}

.nav_bar a {
    position: relative;
    padding: 8px 12px;
    font-weight: 500;
    color: var(--ink);
    font-size: 15px;
    border-radius: 8px;
}

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

.nav_bar a.active::after {
    content: "";
    position: absolute;
    bottom: 2px;
    right: 12px;
    left: 12px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

header .lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(200, 169, 110, 0.28);
    background: var(--sand);
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
}

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

.dropdown-menu {
    padding: 8px;
    border: 1px solid rgba(200, 169, 110, 0.2);
    border-radius: var(--radius-sm);
    top: 8px !important;
    box-shadow: var(--shadow-sm);
    min-width: 120px;
    background: var(--sand);
}

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

.dropdown-menu .dropdown-item:hover {
    background: rgba(200, 169, 110, 0.12);
    color: var(--accent);
}

.close-open-nav {
    width: 40px;
    height: 40px;
    margin-inline-start: 10px;
    position: relative;
    display: none;
    border-radius: 10px;
    background: var(--sand);
    border: 1px solid rgba(200, 169, 110, 0.2);
    align-items: center;
    justify-content: center;
}

.close-open-nav > div {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 18px;
    height: 14px;
    cursor: pointer;
}

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

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

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

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

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(13, 25, 43, 0.7);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

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

/* ========== Hero ========== */
.owl-index .item {
    background: var(--cream);
}

.hero-slide {
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 40px 0 60px;
}

.hero-content {
    max-width: 480px;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(200, 169, 110, 0.12);
    color: var(--accent);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-content h3 {
    color: var(--ink);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 16px;
}

.hero-content p {
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 0;
    max-width: 420px;
}

.hero-visual {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    height: 440px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(200, 169, 110, 0.2);
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(200, 169, 110, 0.28), rgba(13, 25, 43, 0.35));
    pointer-events: none;
}

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

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

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

.owl-nav > div {
    width: 42px;
    height: 42px;
    background: var(--sand);
    border: 1px solid rgba(200, 169, 110, 0.25);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.25s;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    color: var(--ink);
}

.owl-nav > div:hover {
    background: var(--accent);
    color: #0d192b;
    border-color: var(--accent);
}

.owl-carousel .owl-dot {
    width: 10px;
    height: 10px;
    background: rgba(200, 169, 110, 0.3);
    border-radius: 50px;
    margin: 0 4px;
    position: relative;
    transition: all .25s;
}

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

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

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

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

.the_title h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.4;
}

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

.bacg_section {
    background: var(--sand);
}

.bacg_section .the_title h3,
.bacg_section .the_title p {
    color: inherit;
}

.bacg_section .the_title h3 {
    color: var(--ink);
}

.bacg_section2 {
    background: var(--cream);
}

/* ========== About ========== */
.about-section .info_JM h4 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--ink) !important;
}

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

.about-eyebrow {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 12px;
}

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

.img_info_JM img {
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(200, 169, 110, 0.18);
}

.img_info_JM img:first-of-type {
    width: 58%;
    height: 420px;
    position: relative;
    z-index: 2;
}

.img_info_JM img:last-of-type {
    width: 42%;
    height: 320px;
    margin-bottom: 40px;
}

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

/* ========== Services ========== */
.box-servess {
    background: var(--sand);
    border-radius: var(--radius);
    padding: 32px 28px;
    margin: 12px 0;
    min-height: calc(100% - 24px);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(200, 169, 110, 0.18);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.box-servess:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(200, 169, 110, 0.4);
}

.service-badge {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(200, 169, 110, 0.14);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 20px;
}

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

.box-servess p {
    font-size: 15px;
    line-height: 1.75;
}

/* ========== How it works ========== */
.how_work {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: center;
    gap: 16px;
    position: relative;
    margin-bottom: 20px;
    padding: 20px 0;
}

.how_work::before {
    content: "";
    position: absolute;
    top: 86px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(200, 169, 110, 0.4), transparent);
    z-index: 0;
}

.how_work li {
    width: 160px;
    flex: 1;
    max-width: 200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: var(--sand);
    border-radius: var(--radius);
    padding: 24px 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(200, 169, 110, 0.18);
}

.how_work .step-num {
    position: absolute;
    top: -12px;
    right: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    color: #0d192b;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how_work img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin: 8px auto 14px;
    object-fit: cover;
    border: 3px solid rgba(200, 169, 110, 0.35);
}

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

/* ========== FAQ ========== */
.nav-pills {
    flex-wrap: wrap;
    gap: 8px;
}

.nav-link {
    background: var(--sand);
    min-width: 120px;
    width: auto;
    padding: 0 20px;
    border-radius: 999px !important;
    text-align: center;
    margin: 4px;
    height: 44px;
    line-height: 44px;
    border: 1px solid rgba(200, 169, 110, 0.2);
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
}

.nav-link.active {
    background: var(--accent) !important;
    color: #0d192b !important;
    border-color: var(--accent);
}

.accordion .card {
    margin: 14px 0;
    border-radius: var(--radius-sm);
    box-shadow: none;
    overflow: hidden;
    border: 1px solid rgba(200, 169, 110, 0.18);
    background: var(--sand);
}

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

.accordion .card-header button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: start;
    padding: 18px 22px;
    font-weight: 600;
    font-size: 15px;
    color: var(--ink);
}

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

.accordion .card-header button::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    color: var(--muted);
    transition: transform .25s;
}

.accordion .card-header button[aria-expanded="true"]::after {
    transform: rotate(180deg);
    color: var(--accent);
}

.card-body {
    padding: 0 22px 20px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

/* ========== Partners ========== */
.owl-brands .item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    padding: 16px;
    background: var(--sand);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(200, 169, 110, 0.18);
    margin: 4px;
}

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

.owl-brands .item:hover img {
    filter: grayscale(0) brightness(1);
    opacity: 1;
}

/* ========== Contact ========== */
.form-content {
    background: var(--sand);
    border-radius: var(--radius);
    padding: 40px 36px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(200, 169, 110, 0.2);
}

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

.form-control {
    border: 1px solid rgba(200, 169, 110, 0.22);
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--cream);
    font-size: 15px;
    color: var(--ink);
    height: auto;
}

.form-control::placeholder {
    color: rgba(200, 169, 110, 0.5);
}

.form-control:focus {
    border-color: var(--accent);
    background: #111f35;
}

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

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

.error_meassages {
    margin-top: 6px;
    font-size: 13px;
}

/* ========== Footer ========== */
footer {
    color: #FFFFFF;
    padding-top: 48px;
    background: var(--main);
    border-top: 1px solid rgba(200, 169, 110, 0.2);
}

.Tfooter {
    margin: 0 0 18px;
    font-weight: 700;
    font-size: 17px;
    position: relative;
    color: var(--accent);
}

.link-footer li {
    margin-bottom: 12px;
    opacity: 0.88;
}

.link-footer li:hover {
    opacity: 1;
    color: var(--accent);
}

.link-footer i {
    margin-inline-end: 8px;
    opacity: 0.7;
}

.logo_footer {
    max-width: 120px;
    margin: 0 0 20px;
    background: rgba(200, 169, 110, 0.1);
    border-radius: 12px;
    padding: 8px;
    border: 1px solid rgba(200, 169, 110, 0.2);
}

.social-m {
    gap: 10px;
}

.social-m li a {
    margin-inline-end: 0;
    width: 40px;
    height: 40px;
    background: rgba(200, 169, 110, 0.12);
    display: flex;
    font-size: 17px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background .25s;
    border: 1px solid rgba(200, 169, 110, 0.2);
}

.social-m li a:hover {
    background: var(--accent);
    color: #0d192b;
}

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

.under_footer {
    padding: 18px 0;
    background: rgba(0, 0, 0, 0.28);
    text-align: center;
    margin-top: 36px;
    font-size: 14px;
}

.under_footer a {
    text-decoration: underline;
    color: var(--accent);
}

/* ========== Article pages ========== */
.article-card {
    background: var(--sand);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(200, 169, 110, 0.18);
}

.article-card h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--ink);
}

.article-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
}

.delete-actions .btn {
    min-width: 120px;
    height: 48px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
}

.delete-actions .btn-success {
    background: var(--accent);
    color: #0d192b;
}

.delete-actions .btn-danger {
    background: rgba(200, 169, 110, 0.2);
    color: var(--ink);
}

/* ========== Loader ========== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999999;
    background: var(--cream);
    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);
    }
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(200, 169, 110, 0.4);
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(200, 169, 110, 0.6);
}

/* ========== Responsive ========== */
@media (max-width: 991.98px) {
    .close-open-nav {
        display: flex;
    }

    .nav_bar {
        display: block !important;
        position: fixed;
        width: min(300px, 85vw);
        height: 100%;
        background: #111f35;
        top: 0;
        right: 0;
        transform: translateX(100%);
        transition: all 0.3s ease;
        z-index: 110;
        color: #FFFFFF;
        padding: 80px 24px 24px;
        box-shadow: var(--shadow);
        border-left: 1px solid rgba(200, 169, 110, 0.2);
    }

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

    .nav_bar a {
        color: rgba(243, 230, 208, 0.9);
        display: block;
        padding: 12px 8px;
    }

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

    .nav_bar a.active::after {
        background: var(--accent);
        right: 8px;
        left: 8px;
    }

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

    .nav_bar li {
        margin: 4px 0;
    }

    .how_work::before {
        display: none;
    }

    .how_work {
        flex-wrap: wrap;
        justify-content: center;
    }

    .how_work li {
        width: calc(50% - 16px);
        max-width: none;
        margin: 8px;
    }

    .hero-content h3 {
        font-size: 30px;
    }

    .hero-visual {
        height: 320px;
        margin-top: 28px;
    }

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

@media (max-width: 767.98px) {
    .hero-slide {
        min-height: auto;
        padding: 24px 0 48px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-content p {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-visual {
        height: 260px;
    }

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

    .img_info_JM img:first-of-type {
        height: 280px;
    }

    .img_info_JM img:last-of-type {
        height: 200px;
        margin-bottom: 20px;
    }

    .info_JM {
        padding-inline-end: 0;
        text-align: center;
    }

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

    .form-content {
        padding: 28px 20px;
    }

    .article-card {
        padding: 24px 18px;
    }

    .how_work li {
        width: 100%;
        max-width: 280px;
    }

    .owl-index .owl-nav {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero-content h3 {
        font-size: 26px;
    }

    .box-servess {
        padding: 24px 20px;
    }
}
