/* ═══════════════════════════════
   cro.css — CRO Enhancements
   الادهم لنقل العفش
   ═══════════════════════════════ */

/* ── Cairo font override ── */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&display=swap');

:root {
    --font: 'Cairo', sans-serif;
    --dark: #08172E;
    --mid: #1A4080;
    --gold: #E8A020
}

*,
*::before,
*::after {
    font-family: var(--font) !important;
    box-sizing: border-box
}

/* ── Brand / Logo ── */
.brand-hdr {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none
}

.brand-logo-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #E8A020, #C17F00);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(232, 160, 32, .35)
}

.brand-text {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap
}

/* Default: white text (header is transparent on hero background) */
.brand-name-main {
    font-size: 19px;
    font-weight: 900;
    color: white;
    letter-spacing: -.01em;
    line-height: 1
}

.brand-sep {
    font-size: 14px;
    color: rgba(255, 255, 255, .30);
    font-weight: 400;
    line-height: 1
}

.brand-name-sub {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .55);
    line-height: 1
}

/* When header becomes solid/scrolled — switch to dark */
.site-header.is-solid .brand-name-main,
.site-header:not(.is-transparent) .brand-name-main {
    color: #08172E
}

.site-header.is-solid .brand-sep,
.site-header:not(.is-transparent) .brand-sep {
    color: #C4CAD6
}

.site-header.is-solid .brand-name-sub,
.site-header:not(.is-transparent) .brand-name-sub {
    color: #7A8FA6
}


/* ── Call Bar ── */
.call-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    height: 50px
}

.call-bar-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gold);
    color: #08172E;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s;
    border: none;
    cursor: pointer;
    padding: 0 16px
}

.call-bar-btn:first-child {
    border-left: 1px solid rgba(0, 0, 0, .12)
}

.call-bar-btn:hover {
    background: #d49010;
    color: #08172E
}

.call-bar-wa {
    background: #25D366;
    color: white
}

.call-bar-wa:hover {
    background: #1EBD58;
    color: white
}

.call-bar-icon {
    font-size: 17px;
    animation: ring 4s ease-in-out infinite
}

@keyframes ring {

    0%,
    80%,
    100% {
        transform: rotate(0)
    }

    83% {
        transform: rotate(-15deg)
    }

    87% {
        transform: rotate(15deg)
    }

    91% {
        transform: rotate(-8deg)
    }
}

body {
    padding-top: 50px
}

/* ── Header override ── */
.site-header {
    position: sticky;
    top: 50px;
    z-index: 900;
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .08)
}

.site-header.is-transparent {
    background: transparent;
    box-shadow: none
}

.site-header.is-solid,
.site-header.scrolled {
    background: white !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .10) !important
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--dark);
    color: white;
    padding: 9px 18px;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    transition: all .25s;
    white-space: nowrap
}

.header-phone:hover {
    background: var(--gold);
    color: var(--dark)
}

.header-phone-num {
    color: var(--gold);
    font-size: 15px;
    letter-spacing: .02em
}

.header-phone:hover .header-phone-num {
    color: var(--dark)
}

@media(max-width:768px) {
    .header-phone-text {
        display: none
    }

    .header-phone-num {
        font-size: 13px
    }
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #08172E;
    overflow: hidden
}

.hero-bg-1 {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 25% 50%, rgba(26, 64, 128, .55) 0%, transparent 70%), radial-gradient(ellipse 40% 40% at 80% 80%, rgba(232, 160, 32, .08) 0%, transparent 60%);
    pointer-events: none
}

.hero-bg-2 {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none
}

.hero-wrap {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 56px;
    align-items: center;
    padding: 80px 24px 60px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto
}

.hero-content {
    display: flex;
    flex-direction: column
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 9999px;
    margin-bottom: 24px;
    width: fit-content
}

.badge-dot,
.hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
    animation: blink 2s ease-in-out infinite
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    color: white;
    line-height: 1.15;
    letter-spacing: -.03em;
    margin-bottom: 20px
}

.hero-accent {
    color: var(--gold)
}

.hero-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, .75);
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 28px
}

.hero-feats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px
}

.hero-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, .85);
    font-weight: 500
}

.feat-chk {
    width: 20px;
    height: 20px;
    background: rgba(232, 160, 32, .15);
    border: 1px solid rgba(232, 160, 32, .40);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    color: var(--gold);
    flex-shrink: 0
}

.hero-stats {
    display: flex;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .10)
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
    text-align: center
}

.hero-stat:first-child {
    padding-right: 0
}

.stat-n {
    font-size: 30px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -.02em
}

.stat-plus {
    font-size: 16px;
    color: var(--gold);
    font-weight: 900;
    display: inline
}

.stat-l {
    font-size: 11px;
    color: rgba(255, 255, 255, .50);
    font-weight: 600;
    margin-top: 4px;
    display: block
}

.stat-div {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, .10);
    flex-shrink: 0
}

/* ── Quick Contact Card ── */
.quick-contact {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(20px)
}

.qc-title {
    font-size: 18px;
    font-weight: 800;
    color: white;
    margin-bottom: 6px;
    text-align: center
}

.qc-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, .65);
    text-align: center;
    margin-bottom: 20px
}

.qc-btns {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.qc-call {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--gold);
    color: var(--dark);
    border-radius: 14px;
    padding: 16px 20px;
    text-decoration: none;
    transition: all .25s;
    font-weight: 700
}

.qc-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 160, 32, .50);
    color: var(--dark)
}

.qc-call-ico {
    font-size: 28px;
    flex-shrink: 0;
    animation: ring 4s ease-in-out infinite
}

.qc-call strong {
    display: block;
    font-size: 16px;
    font-weight: 900;
    color: var(--dark)
}

.qc-call span {
    font-size: 13px;
    color: rgba(8, 23, 46, .70);
    font-weight: 600;
    display: block
}

.qc-wa {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #25D366;
    color: white;
    border-radius: 14px;
    padding: 14px 20px;
    text-decoration: none;
    transition: all .25s;
    font-weight: 700
}

.qc-wa:hover {
    background: #1EBD58;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
    color: white
}

.qc-wa-ico {
    font-size: 24px;
    flex-shrink: 0
}

.qc-wa strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: white
}

.qc-wa span {
    font-size: 12px;
    opacity: .85;
    display: block;
    color: white
}

.qc-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    flex-wrap: wrap
}

.qc-trust span {
    font-size: 12px;
    color: rgba(255, 255, 255, .60);
    font-weight: 600
}

/* ── Mid CTA Bar ── */
.mid-cta-bar {
    background: var(--gold);
    padding: 18px 0
}

.mid-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap
}

.mid-cta-text strong {
    display: block;
    font-size: 20px;
    font-weight: 900;
    color: var(--dark)
}

.mid-cta-text span {
    font-size: 14px;
    color: rgba(8, 23, 46, .70)
}

.mid-cta-btns {
    display: flex;
    gap: 12px;
    flex-shrink: 0
}

.mid-cta-call,
.mid-cta-wa {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 9999px;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    transition: all .25s
}

.mid-cta-call {
    background: var(--dark);
    color: white
}

.mid-cta-call:hover {
    background: #0F2B52;
    transform: translateY(-2px);
    color: white
}

.mid-cta-wa {
    background: #25D366;
    color: white
}

.mid-cta-wa:hover {
    background: #1EBD58;
    transform: translateY(-2px);
    color: white
}

/* ── Cities Section ── */
.cities-section {
    padding: 96px 0;
    background: #F5F8FF
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.city-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 280px;
    cursor: pointer;
    transition: transform .35s, box-shadow .35s
}

.city-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(8, 23, 46, .20)
}

.city-bg {
    position: absolute;
    inset: 0;
    transition: transform .5s
}

.city-card:hover .city-bg {
    transform: scale(1.04)
}

.city-riyadh {
    background: linear-gradient(145deg, #08172E 0%, #1A4080 60%, #2E6AB0 100%)
}

.city-jeddah {
    background: linear-gradient(145deg, #0D2233 0%, #0E5C6E 60%, #1A8FA0 100%)
}

.city-dammam {
    background: linear-gradient(145deg, #1A1A2E 0%, #4A1A6E 60%, #7B2FB5 100%)
}

.city-mecca {
    background: linear-gradient(145deg, #1A0A00 0%, #6B2800 60%, #C44B00 100%)
}

.city-madinah {
    background: linear-gradient(145deg, #001A0D 0%, #006633 60%, #00A855 100%)
}

.city-khobar {
    background: linear-gradient(145deg, #0A0A1A 0%, #1A3A6E 60%, #1E5BAA 100%)
}

.city-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .06) 0%, transparent 50%), repeating-linear-gradient(-45deg, transparent 0px, transparent 20px, rgba(255, 255, 255, .02) 20px, rgba(255, 255, 255, .02) 21px);
    pointer-events: none
}

.city-icon-bg {
    position: absolute;
    bottom: -10px;
    left: -10px;
    font-size: 120px;
    opacity: .08;
    line-height: 1;
    pointer-events: none;
    transition: opacity .35s, transform .35s;
    filter: grayscale(1)
}

.city-card:hover .city-icon-bg {
    opacity: .14;
    transform: scale(1.1) rotate(-5deg)
}

.city-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.city-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between
}

.city-icon-main {
    font-size: 38px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4));
    transition: transform .35s
}

.city-card:hover .city-icon-main {
    transform: scale(1.15) rotate(-5deg)
}

.city-bdg {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(232, 160, 32, .20);
    border: 1px solid rgba(232, 160, 32, .40);
    border-radius: 9999px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #E8A020
}

.city-bdg-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #E8A020;
    animation: blink 2s ease-in-out infinite
}

.city-name {
    font-size: 26px;
    font-weight: 900;
    color: white;
    letter-spacing: -.02em;
    margin-bottom: 6px;
    line-height: 1
}

.city-sub2 {
    font-size: 13px;
    color: rgba(255, 255, 255, .60);
    font-weight: 500;
    margin-bottom: 14px
}

.city-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 14px
}

.city-stat {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.city-stat-val {
    font-size: 18px;
    font-weight: 900;
    color: #E8A020;
    line-height: 1
}

.city-stat-lbl {
    font-size: 10px;
    color: rgba(255, 255, 255, .50);
    font-weight: 600
}

.city-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 9999px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: all .25s;
    backdrop-filter: blur(8px);
    width: fit-content
}

.city-card:hover .city-cta-btn {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark)
}

/* ── Services image box (CRO version) ── */
.svc-img {
    position: relative;
    overflow: hidden;
    background: #eef2f8;
    aspect-ratio: 16/9;
    border-radius: 12px;
    margin-bottom: 16px
}

.svc-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s
}

.svc-img:hover img {
    transform: scale(1.05)
}

/* ── btn-whatsapp ── */
.btn-whatsapp {
    background: #25D366;
    color: white;
    border-color: transparent
}

.btn-whatsapp:hover {
    background: #1EBD58;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, .45)
}

/* ── Floating Buttons ── */
.float-wrap {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start
}

.float-call-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: var(--dark);
    border-radius: 9999px;
    padding: 13px 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(232, 160, 32, .45);
    transition: all .25s;
    white-space: nowrap
}

.float-call-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 28px rgba(232, 160, 32, .60);
    color: var(--dark)
}

.float-wa-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
    transition: all .25s;
    position: relative
}

.float-wa-btn::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: rgba(37, 211, 102, .25);
    animation: wa-pulse 2.5s ease-out infinite
}

@keyframes wa-pulse {
    0% {
        transform: scale(.85);
        opacity: 1
    }

    100% {
        transform: scale(1.6);
        opacity: 0
    }
}

.float-wa-btn:hover {
    transform: scale(1.1);
    color: white
}

.float-top-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(8, 23, 46, .85);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .10);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
    opacity: 0;
    transform: translateY(10px);
    transition: all .25s;
    pointer-events: none
}

.float-top-btn.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all
}

.float-top-btn:hover {
    background: var(--gold);
    color: var(--dark)
}

/* ── Reveal Animation ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease, transform .55s ease
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0)
}

.reveal.d1 {
    transition-delay: .1s
}

.reveal.d2 {
    transition-delay: .2s
}

.reveal.d3 {
    transition-delay: .3s
}

.reveal.d4 {
    transition-delay: .4s
}

/* ── Responsive ── */
@media(max-width:1024px) {
    .hero-wrap {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .hero-content {
        text-align: center
    }

    .hero-badge {
        margin: 0 auto 24px
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto
    }

    .hero-feats {
        align-items: center
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap
    }

    .hero-stat {
        padding: 8px 20px
    }

    .quick-contact {
        max-width: 520px;
        margin: 0 auto;
        width: 100%
    }

    .cities-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:768px) {
    .call-bar {
        height: 56px
    }

    body {
        padding-top: 56px
    }

    .site-header {
        top: 56px
    }

    .main-nav {
        display: none
    }

    .hero-wrap {
        padding: 48px 16px 40px
    }

    .stat-div {
        display: none
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center
    }

    .hero-stat {
        padding: 0
    }

    .cities-grid {
        grid-template-columns: 1fr
    }

    .mid-cta-inner {
        flex-direction: column;
        text-align: center
    }

    .mid-cta-btns {
        width: 100%;
        justify-content: center
    }

    .float-wrap {
        bottom: 16px;
        left: 16px;
        right: 16px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between
    }

    .float-call-btn {
        flex: 1;
        justify-content: center
    }

    .float-top-btn {
        margin-right: auto
    }
}

@media(max-width:480px) {
    .call-bar-btn span:last-child {
        font-size: 12px
    }

    .hero-title {
        font-size: 30px
    }

    .city-card {
        min-height: 240px
    }
}