:root {
    --ink: #17211c;
    --muted: #5d675f;
    --cream: #f4f1ea;
    --paper: #fffcf7;
    --line: rgba(23, 33, 28, 0.1);
    --shadow: 0 22px 50px rgba(23, 33, 28, 0.08);
}

body {
    font-family: "Cairo", "myFont", sans-serif;
    color: var(--ink);
    background: var(--cream);
    font-size: 16px;
    line-height: 1.8;
}

body.o-auto {
    overflow-x: hidden;
}

.ym-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--main);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.ym-kicker:before {
    content: "";
    width: 18px;
    height: 2px;
    background: var(--main);
    border-radius: 99px;
}

.ym-btn,
.btn-main.ym-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 148px;
    height: 48px;
    margin: 0;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--main);
    color: #fff !important;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(23, 33, 28, 0.12);
}

.ym-btn-ghost {
    background: transparent;
    color: var(--ink) !important;
    border: 1px solid var(--line);
    box-shadow: none;
}

.ym-btn:hover,
.btn-main.ym-btn:hover {
    background: var(--hover);
    color: #fff !important;
}

.ym-btn-ghost:hover {
    background: #fff;
    color: var(--ink) !important;
}

header.ym-header {
    padding: 14px 0;
    background: rgba(255, 252, 247, 0.9);
    backdrop-filter: blur(16px);
    box-shadow: none;
    border-bottom: 1px solid var(--line);
}

.ym-brand {
    display: inline-flex;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 18px;
    background: #111;
    flex: 0 0 auto;
}

.the-logo {
    width: 64px;
    height: 64px;
    max-height: none;
    object-fit: cover;
}

.logo_footer {
    width: 72px;
    height: 72px;
    max-height: none;
    object-fit: cover;
    border-radius: 18px;
    background: #111;
}

.nav_bar {
    gap: 6px;
}

.nav_bar a {
    position: relative;
    padding: 8px 10px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
}

.nav_bar a.active,
.nav_bar a:hover {
    color: var(--main) !important;
}

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

.ym-lang {
    height: 40px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
}

.ym-lang:after {
    margin-inline-start: 8px;
}

.ym-header-cta {
    display: inline-flex;
    align-items: center;
    height: 40px;
    margin-inline-start: 10px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--main);
    color: #fff !important;
    font-weight: 700;
}

.ym-header-tools {
    gap: 8px;
}

.dropdown-menu {
    min-width: 140px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    top: 10px !important;
}

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

.dropdown-item {
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
}

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

.info_owl {
    height: auto;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: visible;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.8), transparent 32%),
        linear-gradient(180deg, #fffdf9 0%, var(--cream) 100%);
}

.ym-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    padding: 48px 0 72px;
}

.ads_wol {
    max-width: 620px;
    margin: 0;
}

.ads_wol h3 {
    margin: 0 0 16px;
    color: var(--ink);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.35;
}

.ads_wol p {
    max-width: 520px;
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 18px;
}

.ym-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.img_owl_index,
.img_owl_index:after {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    height: 460px !important;
    transform: none !important;
    border-radius: 36px !important;
    background: transparent;
}

.img_owl_index {
    overflow: hidden;
    box-shadow: var(--shadow);
}

.img_owl_index:after {
    display: none;
}

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

.owl-carousel,
.owl-stage-outer {
    overflow: hidden;
}

.owl-dots {
    bottom: 28px;
}

.owl-nav {
    display: none;
}

.owl-carousel .owl-dot {
    width: 9px;
    height: 9px;
    background: rgba(23, 33, 28, 0.18);
}

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

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

.ym-trust {
    position: relative;
    z-index: 2;
    margin-top: -36px;
}

.ym-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 252, 247, 0.94);
    box-shadow: var(--shadow);
}

.ym-trust-grid div {
    padding: 8px 14px;
}

.ym-trust-grid strong,
.ym-trust-grid span {
    display: block;
}

.ym-trust-grid strong {
    font-size: 17px;
}

.ym-trust-grid span {
    color: var(--muted);
    font-size: 14px;
}

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

.bacg_section,
.bacg_section2 {
    background: transparent;
}

.ym-services,
.ym-faq {
    background: #fffdf9;
}

.the_title {
    max-width: 680px;
    margin: 0 auto 42px;
    text-align: center;
}

.the_title h3,
.info_JM h4 {
    color: var(--ink);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.35;
}

.the_title p,
.info_JM p,
.grey-color {
    color: var(--muted) !important;
    font-size: 17px;
}

.ym-service-grid {
    counter-reset: service;
}

.box-servess {
    position: relative;
    height: calc(100% - 18px);
    margin-bottom: 18px;
    padding: 28px 24px 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--paper);
    box-shadow: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.box-servess:before {
    content: counter(service, decimal-leading-zero);
    counter-increment: service;
    display: block;
    margin-bottom: 18px;
    color: var(--main);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.box-servess:after {
    content: none !important;
    display: none !important;
}

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

.box-servess:hover:after {
    height: auto;
}

.box-servess img {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    object-fit: contain;
}

.box-servess h6 {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 800;
}

.img_info_JM {
    min-height: 460px;
}

.img_info_JM img {
    border-radius: 32px;
    box-shadow: var(--shadow);
}

.img_info_JM img:first-of-type {
    width: min(100%, 340px);
    height: 460px;
}

.img_info_JM img:last-of-type {
    width: 210px;
    height: 280px;
    border: 8px solid var(--paper);
    left: 8%;
}

.how_work {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    background: none !important;
    counter-reset: step;
}

.how_work li {
    margin: 0;
    padding: 22px 18px 26px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
    text-align: center;
}

.how_work li:before {
    content: counter(step, decimal-leading-zero);
    counter-increment: step;
    display: block;
    margin-bottom: 14px;
    color: var(--main);
    font-weight: 800;
}

.how_work img {
    width: 88px;
    height: 88px;
    margin: 0 auto 14px;
    object-fit: cover;
    border-radius: 50%;
}

.how_work li div {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.6;
}

.ym-faq .nav-pills {
    gap: 8px;
    margin-bottom: 28px !important;
}

.ym-faq .nav-link {
    width: auto;
    margin: 0;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
}

.ym-faq .nav-link.active {
    border-color: transparent;
    background: var(--main);
    color: #fff;
}

.ym-faq .card {
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.ym-faq .card-header {
    padding: 0;
    border: 0;
    background: transparent;
}

.ym-faq .card-header button {
    width: 100%;
    padding: 18px 20px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 800;
    text-align: inherit;
}

.ym-faq .card-body {
    padding: 0 20px 18px;
    color: var(--muted);
}

.ym-slider {
    display: grid;
}

.ym-slider > .item {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.ym-slider > .item:first-child,
.ym-slider.is-running > .item.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.ym-slider.is-running > .item:first-child:not(.is-active) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
}

.ym-marquee {
    overflow: hidden;
    margin-top: 8px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ym-marquee-track {
    display: flex;
    width: max-content;
    animation: ymMarquee 36s linear infinite;
}

.ym-marquee:hover .ym-marquee-track {
    animation-play-state: paused;
}

.ym-marquee-group {
    display: flex;
    gap: 14px;
    padding-inline-end: 14px;
}

.ym-marquee .item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 110px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    flex: 0 0 auto;
}

.ym-marquee img {
    max-width: 120px;
    max-height: 64px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.8;
}

.owl-brands .item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    margin: 6px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
}

.owl-brands img {
    max-width: 120px;
    max-height: 64px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.8;
}

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

.ym-contact-card {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    overflow: hidden;
    border-radius: 32px;
    background: #fff;
    box-shadow: var(--shadow);
}

.ym-contact-aside {
    padding: 42px 36px;
    background: var(--ink);
    color: #fff;
}

.ym-contact-aside h4 {
    margin-bottom: 24px;
    font-size: 28px;
    font-weight: 800;
}

.ym-contact-aside ul {
    display: grid;
    gap: 18px;
}

.ym-contact-aside span,
.ym-contact-aside strong,
.ym-contact-aside a {
    display: block;
}

.ym-contact-aside span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
}

.ym-contact-aside a,
.ym-contact-aside strong {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.form-content {
    padding: 42px 36px;
}

.form-control {
    height: 52px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--cream);
    box-shadow: none;
}

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

.form-control:focus {
    border-color: var(--main);
    background: #fff;
    box-shadow: none;
}

.ym-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

footer.ym-footer {
    margin-top: 0;
    padding: 64px 0 0;
    background: #101713;
    color: rgba(255, 255, 255, 0.78);
}

footer.ym-footer .row > div {
    margin-bottom: 24px;
}

.ym-footer-about {
    max-width: 320px;
    margin: 16px 0 20px;
}

.Tfooter {
    margin-bottom: 16px;
    color: #fff;
    font-weight: 800;
}

.link-footer li {
    margin-bottom: 10px;
}

.link-footer a,
.ym-footer .social-m a {
    color: rgba(255, 255, 255, 0.78);
}

.link-footer a:hover,
.ym-footer .social-m a:hover {
    color: #fff;
}

.social-m li a,
.ym-footer .social-m a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.under_footer {
    margin-top: 36px;
    padding: 16px 0;
    background: #0b100e;
    color: rgba(255, 255, 255, 0.7);
}

.ym-under {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.under_footer a {
    color: #fff;
}

.body-content > .container,
.body-content .container.p-md-5 {
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 36px;
    border-radius: 28px;
    background: #fff;
}

@media (max-width: 991.98px) {
    .ym-header-cta {
        display: none;
    }

    .nav_bar {
        width: min(86vw, 340px);
        padding: 88px 24px 24px;
        background: #101713 !important;
        color: #fff;
    }

    .nav_bar a {
        display: block;
        padding: 14px 0;
        color: #fff;
        font-size: 18px;
    }

    .nav_bar a.active,
    .nav_bar a:hover {
        color: #fff !important;
    }

    .close-open-nav {
        z-index: 50;
    }

    .ym-hero,
    .ym-contact-card,
    .how_work,
    .ym-trust-grid {
        grid-template-columns: 1fr;
    }

    .info_owl {
        min-height: 0;
    }

    .ads_wol h3 {
        color: var(--ink) !important;
        font-size: 36px;
    }

    .ads_wol p {
        color: var(--muted) !important;
    }

    .img_owl_index,
    .img_owl_index img {
        width: 100% !important;
        height: 280px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        border-radius: 28px !important;
    }

    .img_info_JM img:first-of-type,
    .img_info_JM img:last-of-type {
        position: relative;
        top: auto;
        left: auto !important;
        right: auto !important;
        width: 100%;
        height: 240px;
        transform: none;
    }

    .img_info_JM {
        display: grid;
        gap: 12px;
        min-height: 0;
    }

    .ym-form-row,
    .ym-under {
        grid-template-columns: 1fr;
        display: grid;
    }

    .the_title h3,
    .info_JM h4 {
        font-size: 30px;
    }

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

.ads_wol,
.box-servess,
.how_work li,
.accordion .card,
.owl-brands .item {
    animation: none !important;
}

#connect_us .form-content,
#connect_us .form-content.ym-reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    visibility: visible !important;
}

header.ym-header {
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

header.ym-header.is-scrolled {
    background: rgba(255, 252, 247, 0.96);
    box-shadow: 0 12px 30px rgba(12, 15, 14, 0.08);
}

.ym-slider {
    position: relative;
}

.ym-slider-dots {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 46px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.ym-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(23, 33, 28, 0.18);
    cursor: pointer;
    overflow: hidden;
}

.ym-dot.is-on {
    width: 36px;
    background: rgba(23, 33, 28, 0.12);
}

.ym-trust-grid strong:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-inline-end: 8px;
    border-radius: 50%;
    background: #14967c;
    vertical-align: middle;
}

.ym-trust-grid div:nth-child(even) strong:before {
    background: #e0b400;
}

.box-servess,
.how_work li,
.ym-marquee .item {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.how_work li:hover,
.ym-marquee .item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.ym-marquee .item:hover img {
    filter: none;
    opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
    .ym-dot.is-on:after {
        content: "";
        display: block;
        height: 100%;
        width: 0;
        background: var(--main, #14967c);
        animation: ymDot 5s linear;
    }

    .ym-slider:hover .ym-dot.is-on:after {
        animation-play-state: paused;
    }

    .ym-slider.is-running > .item.is-active .ads_wol > * {
        animation: ymRise 0.7s cubic-bezier(0.22, 0.8, 0.24, 1) both;
    }

    .ym-slider.is-running > .item.is-active .ads_wol > *:nth-child(2) { animation-delay: 0.08s; }
    .ym-slider.is-running > .item.is-active .ads_wol > *:nth-child(3) { animation-delay: 0.16s; }
    .ym-slider.is-running > .item.is-active .ads_wol > *:nth-child(4) { animation-delay: 0.24s; }

    .ym-slider.is-running > .item.is-active .img_owl_index img {
        animation: ymSoftIn 0.8s ease both;
    }

    .ym-reveal {
        opacity: 0;
        transform: translateY(18px);
    }

    .ym-reveal.is-in {
        animation: ymRise 0.7s cubic-bezier(0.22, 0.8, 0.24, 1) both !important;
    }

    .box-servess.ym-reveal,
    .how_work > li.ym-reveal {
        transform: none;
    }

    .box-servess.ym-reveal.is-in,
    .how_work > li.ym-reveal.is-in {
        animation-name: ymFade !important;
    }
}

@keyframes ymRise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@keyframes ymFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ymSoftIn {
    from { opacity: 0.4; transform: scale(1.045); }
    to { opacity: 1; transform: none; }
}

@keyframes ymDot {
    to { width: 100%; }
}

@keyframes ymMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ym-marquee-track {
        animation: none;
    }
}
