* {
    box-sizing: border-box;
}

@font-face {
    font-family: "myFont";
    src: url(../fonts/JF-Flat-regular.ttf);
}

:root {
    --text-main: #272727;
    --text-soft: #7a7a7a;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --border-soft: rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 12px 35px rgba(16, 24, 40, 0.08);
    --shadow-strong: 0 18px 45px rgba(16, 24, 40, 0.14);
}

html {
    scroll-behavior: smooth;
}

body {
    direction: rtl;
    text-align: right;
    font-family: "myFont";
    word-spacing: 1px;
    color: var(--text-main);
    font-size: 15px;
    background: #fff;
    margin: 0;
}

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

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

ul {
    margin: 0;
    padding: 0;
}

ul li {
    list-style: none;
}

p {
    margin: 0;
}

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

.sec-padd {
    padding: 90px 0;
}

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

.grey-color {
    color: var(--text-soft);
}

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

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

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

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

.owl-carousel {
    direction: ltr;
}

/* Header */
header {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, calc(100% - 24px));
    z-index: 40;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.09);
    border-radius: 18px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 0;
}

.the-logo {
    max-height: 64px;
    margin-inline-end: 14px;
}

.nav_bar {
    gap: 8px;
}

.nav_bar li a {
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
}

.nav_bar li a:not(.active):hover {
    color: var(--hover);
    background: rgba(255, 255, 255, 0.7);
}

.nav_bar a.active {
    color: var(--main);
    background: rgba(255, 255, 255, 0.7);
}

.dropdown-toggle {
    border: 1px solid var(--border-soft);
    background: #fff;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
}

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

.dropdown-menu {
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    padding: 6px;
}

.dropdown-menu .dropdown-item {
    border-radius: 10px;
    font-size: 14px;
}

.dropdown-menu .dropdown-item:hover {
    background: color-mix(in srgb, var(--main) 12%, transparent);
    color: var(--hover);
}

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

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

.close-open-nav > div span {
    height: 3px;
    width: 100%;
    background: var(--main);
    border-radius: 999px;
    transition: 0.25s ease;
}

.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(-10px) rotate(-45deg);
}

/* Shared title */
.the_title {
    max-width: 650px;
    margin: 0 auto 32px;
    text-align: center;
}

.the_title h3 {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    margin-bottom: 12px;
}

.the_title p {
    font-size: 16px;
    line-height: 1.8;
}

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

.info_owl {
    width: 100%;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 34px 34px;
    isolation: isolate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(120deg, rgba(10, 10, 10, 0.72) 20%, rgba(10, 10, 10, 0.4) 58%, rgba(10, 10, 10, 0.05) 100%);
}

.img_owl_index {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.img_owl_index::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.08));
}

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

.ads_wol {
    position: relative;
    z-index: 3;
    max-width: 620px;
    margin: 0;
    animation: fadeUp 0.7s ease both;
}

.ads_wol h3 {
    color: #fff;
    font-size: clamp(30px, 4.1vw, 52px);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
}

.ads_wol p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.9;
    max-width: 560px;
}

.owl-dots {
    position: absolute;
    z-index: 10;
    left: 50%;
    transform: translateX(-50%);
    bottom: 24px;
    display: flex;
    gap: 7px;
}

.owl-carousel .owl-dot {
    width: 26px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    transition: 0.25s ease;
}

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

.owl-carousel .owl-dot.active {
    width: 40px;
    background: #fff;
}

/* About */
.info_JM {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-badge {
    display: inline-flex;
    padding: 8px 18px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--main) 14%, transparent);
    color: var(--main);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    width: fit-content;
}

.info_JM h4 {
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.4;
    font-weight: 800;
}

.info_JM p {
    font-size: 16px;
    line-height: 1.95;
}

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

.about-decoration {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0));
    top: 10px;
    right: 10px;
}

.img_info_JM img {
    object-fit: cover;
    border-radius: 22px;
    box-shadow: var(--shadow-strong);
}

.img_info_JM img:first-of-type {
    width: 290px;
    height: 560px;
    position: relative;
    z-index: 3;
}

.img_info_JM img:last-of-type {
    width: 230px;
    height: 430px;
    position: absolute;
    left: 20px;
    bottom: 35px;
    z-index: 4;
}

/* Services */
.bacg_section {
    background: linear-gradient(150deg, rgba(0, 0, 0, 0.07), rgba(255, 255, 255, 0.07)), var(--main2);
}

.bacg_section .the_title {
    color: #fff;
}

.box-servess {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-top: 4px solid var(--main);
    padding: 30px 22px;
    margin: 10px 0;
    min-height: calc(100% - 20px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.box-servess:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.14);
}

.service-icon-wrapper {
    width: 74px;
    height: 74px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--main) 12%, var(--surface-soft));
    margin-bottom: 18px;
}

.box-servess img {
    width: 44px;
    height: 44px;
    margin: 0;
}

.box-servess h6 {
    font-size: 20px;
    margin-bottom: 10px;
}

.box-servess p {
    line-height: 1.85;
}

/* How work */
#how_work .the_title p {
    max-width: 650px;
    margin: 0 auto;
}

.how_work {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    margin-top: 30px;
    margin-bottom: 0;
}

.how_work::before {
    content: "";
    position: absolute;
    top: 62px;
    right: 72px;
    left: 72px;
    height: 2px;
    border-top: 2px dashed rgba(0, 0, 0, 0.16);
}

.how_work li {
    width: 170px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--main);
    color: #fff;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
}

.how_work img {
    width: 124px;
    height: 124px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: var(--shadow-soft);
    margin-bottom: 12px;
}

.how_work li div {
    font-weight: 700;
    line-height: 1.5;
}

/* FAQ */
.bacg_section2 {
    background: #f7fafc;
}

.nav-link {
    border-radius: 12px !important;
    padding: 11px 20px;
    line-height: normal;
    height: auto;
    margin: 6px;
    width: auto;
    min-width: 140px;
    border: 1px solid var(--border-soft);
    background: #fff;
    font-weight: 700;
}

.nav-link:not(.active):hover {
    border-color: color-mix(in srgb, var(--main) 35%, var(--border-soft));
    color: var(--hover);
}

.nav-link.active {
    background-image: var(--main2);
    color: #fff !important;
    border-color: transparent;
}

.accordion .card {
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.accordion .card-header {
    padding: 0;
    background: #fff;
    border: 0;
}

.accordion .card-header button {
    width: 100%;
    padding: 16px 20px;
    text-align: start;
    font-size: 16px;
    font-weight: 700;
}

.accordion .card-header button[aria-expanded="true"] {
    color: var(--main);
    background: rgba(0, 0, 0, 0.02);
}

.card-body {
    padding: 0 20px 18px;
    color: var(--text-soft);
    line-height: 1.9;
}

/* Partners */
.owl-brands .item {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    transition: 0.25s ease;
}

.owl-brands .item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

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

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

/* Contact */
.contact-card {
    border-radius: 22px;
    background: #fff;
    padding: 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.form-group {
    margin-bottom: 14px;
}

.form-control {
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 12px;
    min-height: 50px;
    font-size: 14px;
    background: #fff;
    padding: 12px 14px;
    transition: 0.25s ease;
}

.form-control:focus {
    border-color: var(--main);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--main) 22%, transparent) !important;
}

textarea.form-control {
    min-height: 170px;
    resize: none;
}

.btn-main {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-image: var(--main2);
    color: #fff !important;
    border-radius: 999px;
    height: 48px;
    min-width: 155px;
    padding: 0 24px;
    font-weight: 700;
    margin-top: 14px;
}

.btn-main:hover {
    transform: translateY(-2px);
    background-image: none;
    background-color: var(--hover);
    box-shadow: 0 9px 22px color-mix(in srgb, var(--hover) 45%, transparent);
}

/* Footer */
footer {
    background: linear-gradient(130deg, #121212, #2a2a2a);
    color: #fff;
    padding-top: 50px;
}

.logo_footer {
    max-width: 120px;
    margin: 0 0 24px;
}

.Tfooter {
    margin-bottom: 18px;
    font-size: 19px;
    font-weight: 800;
}

.link-footer li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.85);
}

.link-footer li a:hover {
    color: var(--hover);
    text-decoration: underline;
}

.social-m li a {
    margin-inline-end: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
}

.social-m li a:hover {
    background: var(--hover);
    transform: translateY(-3px);
}

.under_footer {
    margin-top: 34px;
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.06);
    text-align: center;
}

/* Loader */
.loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader img {
    width: 95px;
    animation: logoeffect2 1.1s linear infinite;
}

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

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile nav */
@media (max-width: 991.98px) {
    header {
        top: 8px;
    }

    .close-open-nav {
        display: block;
    }

    .nav_bar {
        display: block !important;
        position: fixed;
        top: 0;
        right: 0;
        width: 290px;
        height: 100%;
        background: #111;
        color: #fff;
        padding: 95px 18px 20px;
        transform: translateX(110%);
        transition: 0.3s ease;
        z-index: 50;
        overflow: auto;
    }

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

    .nav_bar li {
        margin-bottom: 8px;
    }

    .nav_bar li a {
        display: block;
        border-radius: 10px;
    }

    .nav_bar a.active {
        background: rgba(255, 255, 255, 0.15);
        color: var(--main);
    }

    .nav_bar li a:not(.active):hover {
        background: rgba(255, 255, 255, 0.15);
        color: var(--hover);
    }

    .dropdown-toggle {
        padding: 8px 10px;
    }
}

@media (max-width: 767.98px) {
    .body-content {
        margin-top: 86px;
    }

    .sec-padd {
        padding: 60px 0;
    }

    .the-logo {
        max-height: 50px;
    }

    .info_owl {
        min-height: 420px;
        border-radius: 0 0 24px 24px;
    }

    .ads_wol h3 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .ads_wol p {
        font-size: 15px;
    }

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

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

    .img_info_JM img:last-of-type {
        width: 170px;
        height: 320px;
        left: 0;
    }

    .how_work {
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .how_work::before {
        display: none;
    }

    .how_work li {
        min-width: 150px;
    }

    .contact-card {
        padding: 20px;
    }
}

@media (max-width: 575.98px) {
    .the_title h3 {
        font-size: 25px;
    }

    .the_title p {
        font-size: 14px;
    }

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

    .form-control {
        min-height: 46px;
    }
}