* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #0b5ed7;
    --dark-blue: #062a5c;
    --navy: #061a35;
    --text: #142033;
    --muted: #6c7788;
    --bg: #f5f8fc;
    --white: #fff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Cairo", sans-serif;
    background: var(--bg);
    color: var(--text);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}


/* ================= HEADER ================= */

.main-header {
    height: 90px;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid #e8edf4;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand img {
    width: 68px;
    height: 68px;
    object-fit: contain;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-info strong {
    font-size: 16px;
    font-weight: 900;
    color: var(--navy);
}

.brand-info span {
    font-size: 10px;
    color: #7a8799;
}

nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

nav a {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #586578;
    transition: .2s;
}

nav a:hover,
nav a.active {
    background: #edf5ff;
    color: var(--blue);
}

.header-hotline {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #edf5ff;
    color: var(--blue);
    padding: 9px 14px;
    border-radius: 13px;
}

.header-hotline > i {
    font-size: 18px;
}

.header-hotline div {
    display: flex;
    flex-direction: column;
}

.header-hotline span {
    font-size: 8px;
    color: #6c7890;
}

.header-hotline strong {
    font-size: 18px;
    font-weight: 900;
    direction: ltr;
}


/* ================= HERO ================= */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 590px;
    color: white;

    background:
        radial-gradient(circle at 20% 20%, rgba(60,140,255,.20), transparent 30%),
        linear-gradient(125deg, #04152b 0%, #082d61 55%, #0b5ed7 140%);
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.08);
}

.circle-one {
    width: 500px;
    height: 500px;
    right: -250px;
    bottom: -300px;
}

.circle-two {
    width: 300px;
    height: 300px;
    left: 35%;
    top: -210px;
}

.hero-container {
    min-height: 590px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 70px;
    position: relative;
    z-index: 2;
}

.official-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 100px;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 20px;
}

.official-badge i {
    color: #5ee28c;
}

.hero-content h1 {
    font-size: clamp(43px, 5vw, 68px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -2px;
}

.hero-content h1 span {
    display: block;
    color: #77b6ff;
}

.hero-content > p {
    max-width: 650px;
    margin-top: 20px;
    font-size: 15px;
    line-height: 2;
    color: rgba(255,255,255,.70);
}

.hero-content p strong {
    color: white;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.find-btn,
.call-btn {
    min-height: 51px;
    padding: 0 22px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 800;
    transition: .25s;
}

.find-btn {
    background: white;
    color: #07459b;
}

.find-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,.2);
}

.call-btn {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.15);
}

.call-btn:hover {
    background: rgba(255,255,255,.13);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    font-size: 10px;
    color: rgba(255,255,255,.6);
}

.hero-trust i {
    color: #64e391;
    margin-left: 4px;
}


/* ================= BIG LOGO ================= */

.hero-logo-area {
    display: flex;
    justify-content: center;
    position: relative;
}

.logo-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(47,128,255,.28);
    border-radius: 50%;
    filter: blur(80px);
}

.logo-showcase {
    width: 390px;
    min-height: 420px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.14);
    background: linear-gradient(
        145deg,
        rgba(255,255,255,.12),
        rgba(255,255,255,.04)
    );

    backdrop-filter: blur(15px);
    border-radius: 35px;
    box-shadow: 0 35px 80px rgba(0,0,0,.18);
}

.logo-showcase img {
    width: 235px;
    height: 235px;
    object-fit: contain;
    filter: drop-shadow(0 15px 20px rgba(0,0,0,.2));
}

.logo-label {
    background: rgba(255,255,255,.09);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 9px;
    color: #9ccaff;
}

.logo-line {
    width: 45px;
    height: 3px;
    border-radius: 20px;
    background: #f4c64e;
    margin: 7px 0 10px;
}

.logo-showcase h2 {
    font-size: 17px;
    font-weight: 900;
}

.logo-showcase p {
    font-size: 9px;
    color: rgba(255,255,255,.5);
}


/* ================= HOW ================= */

.how-section {
    padding: 85px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title > span,
.small-title {
    color: var(--blue);
    font-size: 10px;
    font-weight: 900;
}

.section-title h2 {
    color: var(--navy);
    font-size: 30px;
    font-weight: 900;
    margin: 5px 0;
}

.section-title p {
    color: var(--muted);
    font-size: 11px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.step {
    position: relative;
    background: white;
    border: 1px solid #e5ebf3;
    border-radius: 22px;
    padding: 30px;
    transition: .25s;
    box-shadow: 0 8px 30px rgba(10,42,80,.045);
}

.step:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(10,42,80,.1);
}

.step-number {
    position: absolute;
    left: 22px;
    top: 17px;
    font-size: 31px;
    font-weight: 900;
    color: #edf2f8;
}

.step-icon {
    width: 57px;
    height: 57px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf3ff;
    color: var(--blue);
    font-size: 21px;
    margin-bottom: 20px;
}

.step h3 {
    color: var(--navy);
    font-size: 16px;
    font-weight: 900;
}

.step p {
    color: var(--muted);
    font-size: 11px;
    margin-top: 6px;
}


/* ================= LOCATION CTA ================= */

.location-section {
    padding-bottom: 80px;
}

.location-card {
    min-height: 180px;
    display: flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(120deg,#0b5ed7,#062d64);
    border-radius: 27px;
    padding: 35px 45px;
    color: white;
    box-shadow: 0 20px 55px rgba(8,62,133,.2);
}

.location-icon {
    width: 75px;
    height: 75px;
    flex-shrink: 0;
    border-radius: 20px;
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 29px;
}

.location-content {
    flex: 1;
}

.location-content span {
    color: #8ec2ff;
    font-size: 10px;
    font-weight: 800;
}

.location-content h2 {
    font-size: 24px;
    font-weight: 900;
}

.location-content p {
    font-size: 11px;
    color: rgba(255,255,255,.6);
}

.location-card > a {
    background: white;
    color: var(--blue);
    border-radius: 12px;
    padding: 13px 20px;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}


/* ================= CONTACT ================= */

.contact-section {
    background: white;
    border-top: 1px solid #e8edf3;
    padding: 55px 0;
}

.contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-container h2 {
    color: var(--navy);
    font-size: 27px;
    font-weight: 900;
}

.contact-container p {
    color: var(--muted);
    font-size: 11px;
}

.big-hotline {
    min-width: 230px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #edf5ff;
    color: var(--blue);
    border-radius: 18px;
    padding: 13px 20px;
}

.big-hotline div {
    display: flex;
    flex-direction: column;
}

.big-hotline span {
    font-size: 9px;
    color: #6f7c8e;
}

.big-hotline strong {
    font-size: 28px;
    font-weight: 900;
    direction: ltr;
}

.big-hotline > i {
    font-size: 23px;
}


/* ================= FOOTER ================= */

footer {
    background: #041326;
    color: white;
    padding-top: 35px;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-brand div {
    display: flex;
    flex-direction: column;
}

.footer-brand strong {
    font-size: 12px;
}

.footer-brand span {
    font-size: 9px;
    color: rgba(255,255,255,.4);
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(255,255,255,.07);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}

.footer-social a:hover {
    transform: translateY(-4px);
    background: white;
}

.footer-social img {
    width: 23px;
    height: 23px;
    object-fit: contain;
}

.google-play {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 13px;
    padding: 9px 14px;
    background: rgba(255,255,255,.05);
}

.google-play img {
    width: 33px;
    height: 33px;
    object-fit: contain;
}

.google-play div {
    display: flex;
    flex-direction: column;
}

.google-play span {
    font-size: 8px;
    color: rgba(255,255,255,.5);
}

.google-play strong {
    font-size: 12px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 20px 0;
    font-size: 9px;
    color: rgba(255,255,255,.35);
}


/* ================= FLOATING HOTLINE ================= */

.floating-hotline {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 10px;

    background: linear-gradient(135deg,#0b5ed7,#064493);
    color: white;

    border-radius: 17px;
    padding: 9px 13px;

    box-shadow: 0 15px 40px rgba(4,48,110,.35);
}

.float-phone {
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: rgba(255,255,255,.14);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-hotline > div:last-child {
    display: flex;
    flex-direction: column;
}

.floating-hotline span {
    font-size: 8px;
    color: rgba(255,255,255,.65);
}

.floating-hotline strong {
    font-size: 19px;
    font-weight: 900;
    direction: ltr;
}


/* ================= MOBILE ================= */

@media (max-width: 800px) {

    nav {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding: 60px 0;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content > p {
        margin-inline: auto;
    }

    .hero-buttons,
    .hero-trust {
        justify-content: center;
    }

    .hero-logo-area {
        display: none;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .location-card {
        flex-direction: column;
        text-align: center;
    }

    .location-card > a {
        width: 100%;
        text-align: center;
    }

    .contact-container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .footer-main {
        flex-direction: column;
    }

}


@media (max-width: 500px) {

    .container {
        width: calc(100% - 26px);
    }

    .main-header {
        height: 73px;
    }

    .brand img {
        width: 50px;
        height: 50px;
    }

    .brand-info strong {
        font-size: 11px;
    }

    .header-hotline {
        padding: 8px 10px;
    }

    .header-hotline span {
        display: none;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .find-btn,
    .call-btn {
        width: 100%;
    }

    .hero-trust {
        gap: 10px;
    }

    .location-card {
        padding: 28px 20px;
    }

    .floating-hotline {
        left: 13px;
        bottom: 13px;
        padding: 6px;
        border-radius: 50%;
    }

    .floating-hotline > div:last-child {
        display: none;
    }

    .float-phone {
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }

}
/* =========================
   شاشة التحميل
========================= */

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: none;
    align-items: center;
    justify-content: center;

    background: #061a35;
}

.page-loader.show {
    display: flex;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.loader-content img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

.loader-ring {
    width: 42px;
    height: 42px;

    border: 3px solid rgba(255,255,255,.2);
    border-top-color: white;

    border-radius: 50%;

    margin-bottom: 15px;

    animation: loadingSpin .8s linear infinite;
}

.loader-content strong {
    font-size: 15px;
    font-weight: 900;
}

.loader-content span {
    margin-top: 5px;
    font-size: 10px;
    opacity: .6;
}

@keyframes loadingSpin {
    to {
        transform: rotate(360deg);
    }
}
/* =========================================
   Doctor Background - Home Page
========================================= */

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            90deg,
            rgba(3, 18, 39, 0.96) 0%,
            rgba(4, 31, 65, 0.88) 42%,
            rgba(4, 31, 65, 0.35) 70%,
            rgba(4, 31, 65, 0.08) 100%
        ),
        url("../icon/1.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: -1;
}

.hero .container {
    position: relative;
    z-index: 2;
}


/* الموبايل */

@media (max-width: 768px) {

    .hero::before {

        background-image:
            linear-gradient(
                180deg,
                rgba(3, 18, 39, 0.30) 0%,
                rgba(3, 18, 39, 0.65) 48%,
                rgba(3, 18, 39, 0.96) 100%
            ),
            url("../icon/1.png");

        background-position: center top;
    }

}

/* خط تقدم النزول في الصفحة */

#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;

    width: 0%;
    height: 5px;

background: #1670e8;

    z-index: 999999;

    border-radius: 0 5px 5px 0;

box-shadow: 0 0 8px rgba(22, 112, 232, 0.6);}
/* =========================================
   BACK TO TOP
========================================= */

#backToTop {
    position: fixed;
    bottom: 22px;
    left: 18px;

    width: 48px;
    height: 48px;

    border: 0;
    border-radius: 50%;

    background: #1670e8;
    color: #fff;

    font-size: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 99990;

    box-shadow: 0 8px 25px rgba(22,112,232,.30);

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);

    transition: .25s ease;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:active {
    transform: scale(.92);
}
/* =========================================
   CLEAR SEARCH BUTTON
========================================= */

.search-input {
    position: relative;
}

.clear-search {
    position: absolute;

    left: 14px;
    top: 50%;

    transform: translateY(-50%) scale(.8);

    width: 32px;
    height: 32px;

    border: none;
    border-radius: 50%;

    background: #eef5ff;
    color: #1670e8;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition: .2s ease;
}

.clear-search.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(-50%) scale(1);
}

.clear-search:active {
    background: #dcecff;
}
/* =========================================
   PREMIUM MOBILE NAV
========================================= */

@media (max-width: 800px) {

    .main-header {
        height: auto;
        background: rgba(255,255,255,.98);
    }

    .header-container {
        height: auto;
        min-height: 73px;

        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;

        gap: 0;

        padding-top: 5px;
        padding-bottom: 9px;
    }

    /* الشريط */
    nav {
        order: 3;

        display: flex;
        width: 100%;

        margin-top: 5px;
        padding: 4px;

        gap: 3px;

        background: #f4f7fb;
        border: 1px solid #e8eef6;
        border-radius: 13px;
    }

    /* الأزرار */
    nav a {
        flex: 1;

        display: flex;
        align-items: center;
        justify-content: center;

        min-height: 36px;
        padding: 5px 3px;

        border-radius: 9px;

        font-size: 10px;
        font-weight: 800;

        color: #647187;

        white-space: nowrap;
    }

    /* الصفحة الحالية */
    nav a.active {
        background: #ffffff;
        color: #0b5ed7;

        box-shadow:
            0 3px 12px rgba(11,94,215,.10);
    }

    nav a:active {
        transform: scale(.97);
    }
}
/* =========================================
   MOBILE HERO COMPACT
========================================= */

@media (max-width: 500px) {

    .hero {
        min-height: auto;
    }

    .hero-container {
        min-height: auto;
        padding: 38px 0 42px;
    }

    .official-badge {
        margin-bottom: 14px;
    }

    .hero-content > p {
        margin-top: 14px;
    }

    .hero-buttons {
        margin-top: 20px;
    }

    .hero-trust {
        margin-top: 22px;
    }
}
@media (max-width: 500px) {

    /* خلي صورة الدكتور أهدى خلف الكلام */
    .hero::before {
        background-size: auto 100%;
        background-position: center top;
    }

    /* العنوان */
    .hero-content h1 {
        font-size: 34px;
        line-height: 1.3;
        letter-spacing: -1px;
    }

    /* السطر الأزرق */
    .hero-content h1 span {
        line-height: 1.35;
    }
}