:root {
    --orange: #f26a21;
    --text: #1b1b1b;
    --muted: #777;
    --footer: #e6dcd3;
}

html,
body {
    height: 100%;
}
body {
    font-family:
        "Cairo",
        system-ui,
        -apple-system,
        "Segoe UI",
        Arial,
        sans-serif;
    color: var(--text);
    background: #fff;
}

/* Navbar */
.brand-orange {
    color: var(--orange) !important;
    font-weight: 800;
}
.nav-soft {
    color: #222 !important;
    font-weight: 600;
}
.nav-soft:hover {
    color: var(--orange) !important;
}
.btn-orange {
    background: var(--orange);
    color: #fff;
    border: 1px solid var(--orange);
    padding: 0.55rem 1.15rem;
    border-radius: 0.55rem;
    font-weight: 700;
}
.btn-orange:hover {
    filter: brightness(0.85);
    background: #f26a21d6;
    color: #fff;
}

/* Helpers: fixed image behavior */
.img-cover {
    width: 100%;
    height: 100%;
}
.img-contain {
    width: 100%;
    height: 100%;
    object-fit: contain; /* للوجوه/الشعارات/شاشات الموبايل */
}

/* Hero */
.hero {
    padding: 64px 0 28px;
}
.hero-title {
    color: var(--orange);
    font-weight: 800;
    line-height: 1.25;
    font-size: clamp(1.55rem, 2vw + 1rem, 3rem);
}
.hero-desc {
    color: var(--muted);
    line-height: 1.9;
    max-width: 560px;
    font-size: clamp(1rem, 1vw + 0.25rem, 1.25rem);
}

/* Left hero visual ring + fixed image box */
.hero-visual {
    position: relative;
    width: min(440px, 100%);
    aspect-ratio: 1/1;
    display: grid;
    place-items: center;
}

.hero-imgBox {
    width: 95%;
    border-radius: 22px;
    padding-bottom: 80px;
    padding-top: 20px;
    overflow: hidden;
}

/* Spark stars */
.spark {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--orange);
    clip-path: polygon(
        50% 0%,
        62% 38%,
        100% 50%,
        62% 62%,
        50% 100%,
        38% 62%,
        0% 50%,
        38% 38%
    );
    opacity: 0.9;
}
.s1 {
    top: 18%;
    left: 18%;
}
.s2 {
    top: 30%;
    right: 10%;
}
.s3 {
    bottom: 16%;
    left: 22%;
}
.s4 {
    bottom: 28%;
    right: 18%;
}

/* Store badges */
.store-badge img {
    height: 52px;
    width: auto;
    display: block;
}

/* Section titles */
.section-title {
    font-weight: 800;
    color: #1a1a1a;
}
.section-subtitle {
    color: var(--muted);
}

/* Partners fixed logo box */
.logoBox {
    width: 150px;
    height: 70px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    padding: 10px;
    overflow: hidden; /* مهم */
}

/* Features */
.feature-title {
    font-weight: 800;
    line-height: 1.6;
}
.phoneBox {
    width: min(380px, 100%);
    height: 520px; /* ثابت */
    border-radius: 22px;
    overflow: hidden;
}
.feature-list {
    border-top: 1px solid #eee;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}
.feature-ico {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--orange);
    background: rgba(242, 106, 33, 0.08);
    flex: 0 0 auto;
}
.feature-text {
    color: #333;
    font-weight: 600;
}

/* Team & Values image boxes ثابتة */
.teamImgBox {
    width: 100%;
    height: 210px; /* ثابت */
    border-radius: 14px;
    overflow: hidden;
}
.valueImgBox {
    width: 100%;
    height: 190px; /* ثابت */
    border-radius: 14px;
    overflow: hidden;
}
.teamCard,
.valueCard {
    background: #fff;
}

/* CTA phones overlap */
.cta {
    background: #fff;
}
.phonesStack {
    position: relative;
    height: 220px; /* ثابت */
    width: min(520px, 100%);
    margin: 0 auto;
}
.phoneMini {
    position: absolute;
    width: 180px;
    height: 220px; /* ثابت */
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.1);
}
.p1 {
    left: 0;
    bottom: 0;
    transform: rotate(-6deg);
}
.p2 {
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}
.p3 {
    right: 0;
    bottom: 0;
    transform: rotate(6deg);
}

/* Footer */
.footer {
    background: var(--footer);
}
.footer-links a {
    color: #333;
    text-decoration: none;
    display: inline-block;
    padding: 6px 0;
}
.footer-links a:hover {
    color: var(--orange);
}
.socialBtn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #333;
    display: grid;
    place-items: center;
    color: var(--orange);
    text-decoration: none;
}
.socialBtn:hover {
    color: var(--orange);
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
    .hero {
        padding: 40px 0 10px;
    }
    .hero-desc {
        margin: 0 auto;
        text-align: center;
    }
    .phoneBox {
        height: 460px;
    }
    .phonesStack {
        height: 210px;
    }
    .phoneMini {
        width: 160px;
        height: 210px;
    }
}

/* ===== Partners Swiper ===== */
.partnersSwiper {
    padding: 10px 0;
}

.partnersSwiper .swiper-wrapper {
    align-items: center;
}

/* مهم: حتى slidesPerView:auto يشتغل */
.partnersSwiper .swiper-slide {
    width: auto !important;
}

/* البوكس مثل الصورة */
.logoSlide {
    width: 120px; /* عدّلها لو بدك أكبر: 130 */
    height: 120px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
    background: transparent;
}

/* الصورة تملأ البوكس بالكامل بدون أي حواف */
.logoSlide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* يملأ بالكامل */
    display: block;
}
/* ===== Team Slider (3 slides + center 3D) ===== */
.teamSwiperWrap {
    max-width: 980px;
    margin: 0 auto;
}

.teamSwiper {
    padding: 12px 0 8px;
}

.teamSwiper .swiper-wrapper {
    align-items: center;
}

.teamSwiper .swiper-slide {
    transition:
        transform 0.35s ease,
        filter 0.35s ease,
        opacity 0.35s ease;
    transform: scale(0.92);
    opacity: 0.7;
    filter: blur(0.2px);
}

.teamSlide {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

/* slide active (center) */
.teamSwiper .swiper-slide.swiper-slide-active {
    transform: scale(1.05) translateY(-6px);
    opacity: 1;
    filter: none;
}

/* “3D pop” زيادة لمسة */
.teamSwiper .swiper-slide.swiper-slide-active .teamSlide {
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.18);
}

/* sides slightly tilted (3D) */
.teamSwiper .swiper-slide.swiper-slide-prev {
    transform: perspective(900px) rotateY(10deg) scale(0.92);
    opacity: 0.8;
}
.teamSwiper .swiper-slide.swiper-slide-next {
    transform: perspective(900px) rotateY(-10deg) scale(0.92);
    opacity: 0.8;
}

/* Mobile */
@media (max-width: 575.98px) {
    .teamSlide {
        height: 320px;
    }
}

.footer-wrap {
    position: relative;
}

/* خلي الفوتر ينزل تحت عشان ما يغطي الصور */
.footer-wrap .footer {
    padding-top: 220px; /* زودناها */
}

/* phones layer */
.footer-phones {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 520px; /* ثابت مثل المثال */
    height: 340px; /* أكبر */
    z-index: -1;
    pointer-events: none;
}

/* reset images */
.footer-phones img {
    position: absolute;
    display: block;
    height: auto;
    max-width: none;
}

/* الخلفية (هاتفين) */
.footer-phones .phone-bottom {
    width: 420px;
    left: 50%;
    transform: translateX(-50%);
    top: 90px;
    z-index: 1;
}

/* الأمامية (هاتف واحد) */
.footer-phones .phone-top {
    width: 216px;
    left: 50%;
    transform: translateX(-50%);
    top: 40px;
    z-index: 2;
}

/* موبايل */
@media (max-width: 576px) {
    .footer-wrap .footer {
        padding-top: 190px;
    }

    .footer-phones {
        width: 92%;
        height: 300px;
        top: -145px;
    }

    .footer-phones .phone-bottom {
        width: 340px;
        top: 85px;
    }
    .footer-phones .phone-top {
        width: 270px;
        top: 0;
    }
}

/* =========================
   Pricing Page
   ========================= */
.pricing-hero {
    padding-top: 42px;
    padding-bottom: 28px;
}

.pricing-title {
    font-weight: 800;
    color: #1a1a1a;
    font-size: clamp(1.6rem, 1.6vw + 1.1rem, 2.4rem);
}

.pricing-subtitle {
    color: var(--muted);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.9;
}

/* Billing toggle pill group */
.billing-toggle {
    background: #f3f3f3;
    border-radius: 999px;
    padding: 10px;
    display: flex;
    gap: 10px;
    width: min(540px, 100%);
    justify-content: space-between;
    align-items: center;

    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.billing-toggle::-webkit-scrollbar {
    display: none;
}

.billing-pill {
    border: 0;
    background: transparent;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 800;
    color: #7b7b7b;
    position: relative;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .billing-toggle {
        gap: 0;
    }

    .billing-pill {
        padding: 4px 8px;
        gap: 4px;
    }
}

.billing-pill .billing-off {
    font-size: 0.75rem;
    font-weight: 800;
    color: #ff3b30;
}

.billing-pill.is-active {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 10px 22px rgba(242, 106, 33, 0.22);
}

/* Cards layout */
.planCard {
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 16px;
    padding: 22px 22px 18px;
    height: 100%;
}

.planCard--featured {
    border: 2px solid #e9e9e9;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    transform: translateY(-10px);
}

.planTag {
    background: #111;
    color: #fff;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 10px;
    position: absolute;
}

.planHead {
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #efefef;
}

.planName {
    font-weight: 800;
    color: #111;
    margin-bottom: 10px;
}

.planPrice {
    font-weight: 900;
    font-size: 2rem;
    color: #111;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    justify-content: center;
}

.planPrice .currency {
    font-size: 1rem;
    color: #333;
    font-weight: 800;
}

.planDesc {
    margin-top: 8px;

    font-weight: 700;
}

.customTitle {
    font-size: 1.4rem;
    font-weight: 900;
    color: #111;
    margin-top: 8px;
}

.planList {
    list-style: none;
    padding: 18px 0 0;
    margin: 0;
    display: grid;
    gap: 10px;
    text-align: right;
}

.planList li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #444;
    font-weight: 700;
    line-height: 1.6;
    text-align: start;
}

.planList i {
    color: #20c997; /* green */
    margin-top: 2px;
}

/* FAQ */
.faqSection {
    padding-top: 10px;
}

.faqAcc .accordion-item {
    border: 0;
    border-top: 1px solid #efefef;
    border-radius: 0;
}

.faqAcc .accordion-item:last-child {
    border-bottom: 1px solid #efefef;
}

.faqAcc .accordion-button {
    font-weight: 900;
    padding: 18px 6px;
    color: #111;
    background: transparent;
    box-shadow: none;
}

.faqAcc .accordion-button:not(.collapsed) {
    color: #111;
}

.faqAcc .accordion-button::after {
    margin-right: 0;
    margin-left: auto;
    transform: rotate(0);
}

.faqAcc .accordion-body {
    color: #777;
    line-height: 1.9;
    padding: 0 6px 18px;
}

/* Floating help button */
/* Back to Top Button */
.backToTopBtn {
    position: fixed;
    left: 18px;
    bottom: -80px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: #f26a21ad;
    color: #fff;
    border: none;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    font-size: 1.25rem;
}
.backToTopBtn:hover {
    background: var(--orange);
    filter: brightness(0.92);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(242, 106, 33, 0.3);
}
.backToTopBtn.show {
    bottom: 18px;
}

.helpFab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: var(--orange);
    color: #fff;
    display: grid;
    place-items: center;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 16px 32px rgba(242, 106, 33, 0.3);
}
.helpFab:hover {
    color: #fff;
    filter: brightness(0.96);
}

@media (max-width: 991.98px) {
    .planCard--featured {
        transform: none;
    }
}

html[lang="en"] ul.navbar-nav {
    margin-left: unset !important;
    margin-right: auto !important;
}

@media (max-width: 575.98px) {
    .teamSwiper .swiper-slide {
        filter: blur(0px) !important;
        opacity: 1 !important;
    }

    .teamSwiper .swiper-slide.swiper-slide-prev {
        opacity: 1 !important;
    }
    .teamSwiper .swiper-slide.swiper-slide-next {
        opacity: 1 !important;
    }
}
