/* =========================================================
   Alemdad Waltamween — Modern Blue Intro Theme
   Brand palette aligned with product Figma (#0E3B64)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

:root {
    --brand: #0E3B64;
    --brand-deep: #0A2C4A;
    --brand-light: #1A5A8A;
    --brand-mid: #3D7AB0;
    --brand-soft: #E8F1F8;
    --brand-mist: #F4F8FC;
    --accent: #25A07C;
    --accent-soft: #E6F5F0;
    --text: #1F2937;
    --text-muted: #6B7280;
    --surface: #FFFFFF;
    --line: rgba(14, 59, 100, 0.08);
    --shadow-sm: 0 8px 24px rgba(14, 59, 100, 0.06);
    --shadow-md: 0 18px 48px rgba(14, 59, 100, 0.12);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --main: var(--brand);
    --hover: var(--brand-deep);
    --main2: linear-gradient(135deg, #0E3B64 0%, #1A5A8A 55%, #3D7AB0 100%);
    --white: #ffffff;
    --gray: var(--text-muted);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans Arabic', 'myFont', sans-serif !important;
    color: var(--text) !important;
    background: var(--brand-mist) !important;
    font-size: 16px !important;
    line-height: 1.7;
    overflow-x: hidden;
}

.body-content {
    margin-top: 0 !important;
}

/* ---------- Header / Nav ---------- */
header {
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.86) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--line) !important;
    border-bottom: 1px solid var(--line);
}

header .container {
    min-height: 78px;
    display: flex;
    align-items: center;
}

header .the-logo {
    max-height: 52px !important;
    width: auto;
    margin-inline-end: 28px !important;
}

.nav_bar {
    gap: 8px;
}

.nav_bar a {
    position: relative;
    padding: 8px 14px !important;
    border-radius: 999px;
    font-weight: 500;
    color: var(--text-muted) !important;
    font-size: 14px !important;
}

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

header .dropdown-toggle {
    background: var(--brand-soft) !important;
    color: var(--brand) !important;
    border-radius: 999px !important;
    padding: 10px 16px !important;
    font-weight: 600;
    border: none;
}

header .btn-main,
.btn-main {
    background-image: var(--main2) !important;
    color: #fff !important;
    width: auto !important;
    min-width: 160px;
    height: 48px !important;
    line-height: 48px !important;
    padding: 0 28px !important;
    border-radius: 999px !important;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(14, 59, 100, 0.25);
    margin: 0 !important;
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(14, 59, 100, 0.32);
    color: #fff !important;
}

.close-open-nav span {
    background: var(--brand) !important;
}

/* ---------- Hero ---------- */
.owl-index {
    margin-top: 78px;
}

.info_owl {
    height: min(88vh, 720px) !important;
    background: radial-gradient(1200px 500px at 80% 20%, rgba(61, 122, 176, 0.28), transparent 60%),
                linear-gradient(135deg, #0A2C4A 0%, #0E3B64 45%, #1A5A8A 100%) !important;
    color: #fff;
    padding: 40px 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}

.hero-media {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    aspect-ratio: 1 / 1.05;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img_owl_index {
    display: none !important;
}

.ads_wol {
    max-width: 520px !important;
    margin: 0 !important;
    position: relative;
    z-index: 2;
}

.ads_wol h3 {
    color: #fff !important;
    font-size: clamp(2rem, 4vw, 3.25rem) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em;
    margin-bottom: 18px !important;
}

.ads_wol p {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 1.05rem !important;
    max-width: 440px;
    margin-bottom: 28px !important;
}

.owl-carousel .owl-dot {
    background: rgba(255, 255, 255, 0.35) !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 999px !important;
}

.owl-carousel .owl-dot.active {
    background: #fff !important;
    width: 28px !important;
}

/* ---------- Sections ---------- */
.sec-padd {
    padding-top: 96px !important;
    padding-bottom: 96px !important;
}

.section-surface {
    background: var(--surface);
}

.section-soft {
    background: var(--brand-mist);
}

.section-brand {
    background: linear-gradient(160deg, #0E3B64 0%, #1A5A8A 100%);
    color: #fff;
}

.the_title {
    max-width: 640px !important;
    margin: 0 auto 48px !important;
    text-align: center !important;
}

.the_title h3 {
    font-size: clamp(1.75rem, 3vw, 2.35rem) !important;
    font-weight: 700 !important;
    color: var(--brand) !important;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-brand .the_title h3,
.section-brand .the_title p,
.bacg_section .the_title,
.bacg_section .the_title h3,
.bacg_section .the_title p {
    color: #fff !important;
}

.the_title p,
.grey-color {
    color: var(--text-muted) !important;
    font-size: 1rem !important;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.section-brand .section-eyebrow {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

/* ---------- About ---------- */
#who_we .info_JM h4,
.main-color {
    color: var(--brand) !important;
    font-size: clamp(1.6rem, 2.5vw, 2.1rem) !important;
    font-weight: 700 !important;
    line-height: 1.35;
}

.img_info_JM {
    gap: 16px;
}

.img_info_JM img {
    border-radius: 28px !important;
    box-shadow: var(--shadow-md);
    border: 4px solid #fff;
}

.img_info_JM img:first-of-type {
    width: 280px !important;
    height: 420px !important;
}

.img_info_JM img:last-of-type {
    width: 210px !important;
    height: 320px !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin-top: 64px;
}

/* ---------- Services cards ---------- */
.bacg_section {
    background: linear-gradient(160deg, #0E3B64 0%, #1A5A8A 100%) !important;
}

.services-grid .col-md-4 {
    margin-bottom: 24px;
}

.box-servess {
    background: rgba(255, 255, 255, 0.96) !important;
    border-radius: 28px !important;
    padding: 36px 28px !important;
    margin: 0 !important;
    min-height: 280px !important;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.box-servess:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(10, 44, 74, 0.28);
}

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: var(--brand-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.box-servess img {
    max-width: 40px !important;
    margin: 0 !important;
}

.box-servess h6 {
    color: var(--brand) !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px;
}

.box-servess p {
    color: var(--text-muted) !important;
    margin: 0;
}

/* ---------- How it works ---------- */
.how_work {
    background-image: none !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    overflow: visible !important;
    margin-bottom: 0 !important;
}

.how_work li {
    width: 100% !important;
    margin: 0 !important;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    position: relative;
    transition: transform 0.3s ease;
}

.how_work li:hover {
    transform: translateY(-6px);
}

.how_work li .step-num {
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how_work img {
    width: 96px !important;
    height: 96px !important;
    border-radius: 24px !important;
    margin-bottom: 16px !important;
    object-fit: cover;
    border: 3px solid var(--brand-soft);
}

.how_work li div {
    color: var(--brand);
    font-weight: 600;
    font-size: 0.98rem;
}

/* ---------- FAQ ---------- */
.bacg_section2 {
    background: var(--brand-mist) !important;
}

#FAQ .nav-pills {
    gap: 10px;
    margin-bottom: 28px !important;
}

#FAQ .nav-link {
    background: #fff !important;
    color: var(--brand) !important;
    width: auto !important;
    min-width: 140px;
    padding: 0 22px !important;
    border-radius: 999px !important;
    height: 46px !important;
    line-height: 46px !important;
    margin: 0 !important;
    border: 1px solid var(--line) !important;
    font-weight: 600;
    box-shadow: none;
}

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

.accordion .card {
    border: 1px solid var(--line) !important;
    border-radius: 18px !important;
    margin-bottom: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

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

.accordion .card-header button {
    width: 100%;
    text-align: start;
    padding: 18px 22px !important;
    color: var(--brand) !important;
    font-weight: 600;
    font-size: 1rem;
}

.accordion .card-header button[aria-expanded="true"] {
    background: var(--brand-soft) !important;
    color: var(--brand) !important;
}

.accordion .card-body {
    color: var(--text-muted);
    padding: 18px 22px 22px !important;
}

/* ---------- Partners ---------- */
.owl-brands .item {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--line);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.owl-brands .item img {
    max-height: 56px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.75;
    transition: 0.3s ease;
}

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

/* ---------- Contact ---------- */
#connect_us .form-content {
    background: #fff;
    border-radius: 28px;
    padding: 40px 36px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
}

#connect_us .form-control {
    border: 1px solid var(--line) !important;
    border-radius: 14px !important;
    min-height: 52px;
    background: var(--brand-mist) !important;
    color: var(--text);
    padding: 12px 16px;
}

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

#connect_us .form-control:focus {
    border-color: var(--brand-mid) !important;
    box-shadow: 0 0 0 4px rgba(26, 90, 138, 0.15);
    background: #fff !important;
}

#connect_us .btn-main {
    margin-top: 20px !important;
    width: 100% !important;
}

/* ---------- Footer ---------- */
footer {
    background: linear-gradient(180deg, #0A2C4A 0%, #071F35 100%) !important;
    color: rgba(255, 255, 255, 0.82) !important;
    padding-top: 72px !important;
}

footer .logo_footer {
    max-height: 56px;
    margin-bottom: 20px;
}

footer .Tfooter {
    color: #fff !important;
    font-weight: 700;
    margin-bottom: 18px;
    font-size: 1.05rem;
}

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

footer .link-footer a,
footer .link-footer li {
    color: rgba(255, 255, 255, 0.75) !important;
}

footer .link-footer i {
    color: var(--brand-mid);
    margin-inline-end: 8px;
}

footer .link-footer a:hover {
    color: #fff !important;
}

footer .social-m {
    gap: 8px;
}

footer .social-m a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline-end: 0;
    color: #fff !important;
}

footer .social-m a:hover {
    background: var(--brand-mid);
}

.under_footer {
    background: rgba(0, 0, 0, 0.22) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-top: 48px;
    padding: 18px 0;
}

.under_footer a {
    color: #fff !important;
}

.loader {
    background: var(--brand-deep) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .info_owl {
        height: auto !important;
        min-height: 0;
        padding: 48px 0 64px !important;
    }

    .hero-media {
        max-width: 360px;
        aspect-ratio: 4 / 3;
        margin-bottom: 8px;
    }

    .ads_wol {
        text-align: center;
        margin-inline: auto !important;
    }

    .ads_wol p {
        margin-inline: auto;
    }

    .how_work {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .img_info_JM {
        flex-direction: column;
        margin-top: 32px;
    }

    .img_info_JM img:first-of-type,
    .img_info_JM img:last-of-type {
        width: 100% !important;
        height: 280px !important;
        margin: 0 !important;
    }
}

@media (max-width: 575px) {
    .how_work {
        grid-template-columns: 1fr !important;
    }

    .box-servess {
        min-height: auto !important;
    }

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