/* The original "Doctor" template look, in one stylesheet for both directions (logical properties only). */

@font-face { font-family: "Droid Arabic Kufi"; src: url("../fonts/DroidKufi-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Droid Arabic Kufi"; src: url("../fonts/DroidKufi-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "FontAwesome"; src: url("../fonts/fontawesome-webfont.woff2") format("woff2"); font-display: block; }

:root {
    --cyan: #00d2eb;
    --cyan-card: #01d1ea;
    --blue: #0f85c0;
    --font: Poppins, Arial, Helvetica, sans-serif;
    --font-head: Poppins, Arial, Helvetica, sans-serif;
    --font-brand: Quattrocento, Georgia, "Times New Roman", serif;
    --ink: #17333f;
    --muted: #5d7079;
    --line: #e4ecef;
    --shadow-sm: 0 4px 14px rgba(15, 60, 75, .08);
    --shadow-md: 0 14px 34px rgba(15, 60, 75, .13);
    --cyan-deep: #079bb5;
}

html[lang="ar"] {
    --font: "Droid Arabic Kufi", Poppins, Arial, sans-serif;
    --font-head: "Droid Arabic Kufi", Poppins, Arial, sans-serif;
    --font-brand: "Droid Arabic Kufi", Poppins, Arial, sans-serif;
}

/* Language switching: show only the text of the active language. */
html[lang="ar"] [data-l="en"],
html[lang="en"] [data-l="ar"] { display: none; }

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    background: #fff;
    color: #000;
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.43;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
p { margin: 0 0 10px; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.3; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
bdi { font-family: Poppins, Arial, Helvetica, sans-serif; }

.container { width: min(1200px, 100%); margin-inline: auto; padding-inline: 15px; }

.fa { display: inline-block; font: normal normal normal 14px/1 FontAwesome; font-size: inherit; -webkit-font-smoothing: antialiased; }
.fa-phone-square::before { content: "\f098"; }
.fa-phone::before { content: "\f095"; }
.fa-envelope::before { content: "\f0e0"; }
.fa-map-marker::before { content: "\f041"; }
.fa-clock-o::before { content: "\f017"; }
.fa-stethoscope::before { content: "\f0f1"; }
.fa-expand::before { content: "\f065"; }
.fa-times::before { content: "\f00d"; }
.fa-angle-left::before { content: "\f104"; }
.fa-angle-right::before { content: "\f105"; }

/* Header */
.default-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 16px; padding-block: 16px; color: var(--ink); text-decoration: none; }
.brand-mark {
    flex: none; width: 68px; height: 68px; border-radius: 50%;
    box-shadow: 0 8px 18px rgba(7, 155, 181, .3);
    transition: transform .5s ease;
}
.brand:hover .brand-mark { transform: scale(1.06); }
.brand-text { display: grid; gap: 3px; }
.brand-doctor { font-family: var(--font-brand); font-size: clamp(21px, 2.3vw, 30px); font-weight: 700; line-height: 1.2; letter-spacing: .2px; }
.brand-center { color: var(--cyan-deep); font-size: clamp(11px, 1vw, 14px); font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; }
html[lang="ar"] .brand-center { font-size: clamp(13px, 1.1vw, 16px); font-weight: 400; letter-spacing: 0; }

.phone-call {
    flex: none; padding: 11px 15px;
    border: 2px solid #34d7ed; border-block-end: 0; border-radius: 10px 10px 0 0;
    color: #4c4c4c; font-size: 16px; text-decoration: none; transition: background-color .4s, color .4s;
}
.phone-call i { color: #34d7ed; font-size: 22px; padding-inline-end: 8px; vertical-align: -2px; transition: color .4s; }
.phone-call:hover { background: var(--cyan); color: #fff; }
.phone-call:hover i { color: #fff; }

.ownavigation { position: relative; z-index: 5; }
.navbar-toggle { display: none; }

@media (min-width: 992px) {
    .ownavigation { position: absolute; inset-inline: 0; border-block-start: 10px solid rgba(25, 25, 25, .2); }
    .menubar {
        display: flex; flex-wrap: wrap; justify-content: center;
        padding-inline: 30px;
        background: rgba(25, 25, 25, .42); /* a little darker than the template so links stay readable over light photos */
        border-radius: 0 0 40px 40px;
    }
    .menubar > li { margin-inline: 10px; }
    .menubar a, .menubar button {
        display: block; margin-block: 17px; padding: 8px 0;
        background: none; border: 0;
        color: #fff; font-size: 15px; letter-spacing: .56px; text-decoration: none; text-transform: uppercase;
        transition: color .4s;
    }
    .menubar a::after { content: "|"; color: #0a4e74; padding-inline-start: 20px; }
    .menubar .active a, .menubar a:hover, .menubar button:hover { color: var(--cyan); }
}

/* Home slider */
.slider-section {
    --gw: 1920; --fs: 48; --lh: 60; --x: 375; --y: 530; --w: 561; --h: 221; --pad-y: 55; --pad-x: 45;
    --bx: 425; --by: 725; --bw: 224; --bh: 86; --bfs: 18; --ic: 55;
    --u: calc(100cqw / var(--gw));
    position: relative;
    container-type: inline-size;
}
.slides { position: relative; aspect-ratio: 1920 / 989; overflow: hidden; background: #eef1f2; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.5s ease, visibility 1.5s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 2s ease; }
.slide.is-active > img { transform: scale(1); }

.caption-block {
    position: absolute; left: calc(var(--u) * var(--x)); top: calc(var(--u) * var(--y));
    width: calc(var(--u) * var(--w)); height: calc(var(--u) * var(--h));
    padding: calc(var(--u) * var(--pad-y)) calc(var(--u) * var(--pad-x));
    background: url("../images/slide-txt-bg.png") left top / cover no-repeat;
    color: #4c4c4c; font-size: calc(var(--u) * var(--fs)); line-height: calc(var(--u) * var(--lh)); font-weight: 300; text-transform: uppercase; white-space: nowrap;
    opacity: 0;
}
.caption-block .title-txt { color: var(--cyan); font-weight: 700; }
.caption-block b { font-weight: 700; }
.caption-btn {
    position: absolute; left: calc(var(--u) * var(--bx)); top: calc(var(--u) * var(--by));
    width: calc(var(--u) * var(--bw)); height: calc(var(--u) * var(--bh));
    display: flex; align-items: center; gap: calc(var(--u) * 10); padding-inline: calc(var(--u) * 12);
    background: url("../images/slide-btn-bg.png") left top / 100% 100% no-repeat;
    color: #fff; font-size: calc(var(--u) * var(--bfs)); letter-spacing: .8px; text-decoration: none; white-space: nowrap;
    opacity: 0;
}
.caption-btn i {
    flex: none; display: grid; place-items: center;
    width: calc(var(--u) * var(--ic)); height: calc(var(--u) * var(--ic));
    background: #fff; color: var(--cyan); border: calc(var(--u) * 5) solid #00bbd1; border-radius: 50%;
    font-size: calc(var(--u) * 24); box-shadow: inset 0 5px 5px rgba(0, 0, 0, .06);
}
.slide.is-active .caption-block { animation: caption-in 1.4s .6s cubic-bezier(.2, .7, .2, 1) forwards; }
.slide.is-active .caption-btn { animation: caption-in 1s 1.6s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes caption-in { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }

.slider-arrow {
    position: absolute; top: calc(50% - 38px); width: 76px; height: 76px;
    background: rgba(255, 255, 255, .1); border: 0; border-radius: 50%; color: #fff; font-size: 34px;
    transition: background-color .3s;
}
.slider-arrow:hover { background: #4c4c4c; }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-bullets { position: absolute; left: 0; right: 0; bottom: -45px; display: flex; justify-content: center; gap: 10px; direction: ltr; }
.slider-bullets button { width: 18px; height: 18px; padding: 0; background: transparent; border: 1px solid #bababa; border-radius: 50%; }
.slider-bullets button.is-active { background: #bababa; }

@media (max-width: 1024px) { .slides { aspect-ratio: 1024 / 800; } .slider-section { --gw: 1024; --x: 140; --y: 340; --bx: 190; --by: 535; } }
@media (max-width: 768px) { .slides { aspect-ratio: 768 / 700; } .slider-section { --gw: 768; --fs: 40; --lh: 52; --x: 70; --y: 280; --bx: 110; --by: 475; } .slider-arrow { width: 50px; height: 50px; top: calc(50% - 25px); font-size: 26px; } .slider-prev { left: 8px; } .slider-next { right: 8px; } }
@media (max-width: 480px) { .slides { aspect-ratio: 1 / 1; } .slider-section { --gw: 480; --fs: 32; --lh: 46; --x: 40; --y: 90; --w: 400; --h: 180; --pad-y: 40; --pad-x: 40; --bx: 130; --by: 300; --bw: 220; --bh: 70; --bfs: 17; --ic: 46; } }

/* Section header (tab with a line either side) */
.section-header { overflow: hidden; margin-block-end: 40px; text-align: center; }
.section-header > h3 {
    position: relative; display: inline-block;
    padding: 12px 30px 5px;
    border: 2px solid #f1f1f1; border-block-end: 0; border-radius: 10px 10px 0 0;
    color: #333; font-family: var(--font-head); font-size: 21px; font-weight: 700; line-height: 30px; text-transform: uppercase;
}
.section-header > h3::before, .section-header > h3::after { content: ""; position: absolute; bottom: 0; width: 1170px; height: 1px; background: #f1f1f1; }
.section-header > h3::before { inset-inline-end: 100%; }
.section-header > h3::after { inset-inline-start: 100%; }

/* Page banner */
.page-banner { position: relative; min-height: 329px; background: url("../images/banner-bg.jpg") center / cover no-repeat; text-align: center; }
.page-banner .container { position: relative; }
.page-banner-content { padding: 127px 0; }
.page-banner h1 { margin-block-start: 48px; color: #fff; font-family: var(--font-head); font-size: 36px; font-weight: 700; line-height: 30px; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.banner-content { position: absolute; inset-inline: 0; bottom: -25px; z-index: 1; }
.breadcrumb { display: inline-flex; padding: 10px 22px; background: #fff; border-radius: 25px; }
.breadcrumb li { color: #304454; font-size: 18px; letter-spacing: .72px; }
.breadcrumb a { color: #304454; text-decoration: none; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb li + li::before { content: "\f07e"; font-family: FontAwesome; padding-inline: 10px; }

/* Welcome section */
.welcome-section { padding-block: 115px 60px; }
.page-banner + .welcome-section { padding-block-start: 85px; }
.welcome-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 30px; padding-inline: 15px; align-items: start; }
.responsibilities-list h3 { margin-block: 20px 10px; font-size: 24px; }
.responsibilities-list li { display: flex; align-items: center; padding-block: 10px; border-block-end: 1px solid var(--cyan); color: var(--blue); font-weight: 700; }
html[lang="ar"] .responsibilities-list li { font-size: 15px; }
.responsibilities-list li::before { content: "\f1db"; flex: none; padding-inline-end: 16px; color: var(--cyan); font-family: FontAwesome; font-size: 30px; font-weight: 400; line-height: 1.3; }

.widget { padding-block-start: 15px; }
.widget-title { margin-block-end: 30px; color: #333; font-family: var(--font-head); font-size: 24px; line-height: 30px; }
.widget p { display: flex; align-items: center; margin-block-end: 30px; color: #333; font-size: 17px; letter-spacing: .7px; line-height: 24px; }
.widget p a { color: #333; text-decoration: none; overflow-wrap: anywhere; }
.widget p a:hover { color: var(--cyan); }
.widget p > i { flex: none; width: 42px; height: 42px; margin-inline-end: 20px; background: #fff; color: var(--cyan-card); border: 2px solid var(--cyan-card); border-radius: 50%; line-height: 38px; text-align: center; font-size: 16px; }

.widget_workinghours { margin-block-start: 50px; padding: 0 35px 35px; background: var(--cyan-card); border-radius: 50px 50px 0 0; text-align: center; }
.hours-icon { display: inline-block; width: 100px; height: 100px; margin-block: -50px 20px; background: #fff; color: var(--cyan-card); border: 10px solid var(--cyan-card); border-radius: 50%; font-size: 52px; line-height: 78px; }
.widget_workinghours ul + h3 { margin-block-start: 18px; }
.widget_workinghours li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 10px 0 16px; border-block-end: 1px solid #02bdd3; text-align: start; }
.widget_workinghours li > span { font-size: 16px; }
.widget_workinghours li > b { font-size: 14px; }
.is-open > span, .is-open > b { color: #075c30; }
.is-closed > span, .is-closed > b { color: #b40012; }

/* About */
.about-section { padding-block: 85px 60px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 30px; align-items: start; }
.about-content h2 { position: relative; margin-block-end: 30px; padding-block-end: 30px; color: #232323; font-family: var(--font-head); font-size: 36px; font-weight: 700; line-height: 44px; }
.about-content h2::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 61px; height: 3px; background: var(--cyan); }
.about-content p { margin-block-end: 24px; color: var(--blue); font-size: 17px; font-weight: 700; line-height: 30px; }
.about-content ul { padding-inline-start: 40px; list-style: disc; color: var(--blue); font-weight: 700; font-size: 16px; }
.about-content li { margin-block-end: 5px; line-height: 28px; }
.about-img img { width: 100%; border-radius: 10px; }

/* Services */
.offer-section { padding-block: 80px 50px; }
.offer-section .section-header > h3 { border-color: #b5b7bc; color: #000; }
.offer-section .section-header > h3::before, .offer-section .section-header > h3::after { background: #b5b7bc; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.offer-box { display: grid; place-items: center; min-height: 176px; padding: 42px 35px; background: #02d2eb; border-radius: 10px; text-align: center; transition: transform .6s ease; }
.offer-box:hover { transform: scale(1.05); }
.offer-box h2 { color: #fff; font-size: 19px; line-height: 1.4; letter-spacing: .76px; }

/* Gallery */
.gallery-section { padding-block: 80px 68px; background: #f1f1f1; }
.gallery-section .section-header { margin-block-end: 45px; }
.gallery-section .section-header > h3 { border-color: #e5e5e5; }
.gallery-section .section-header > h3::before, .gallery-section .section-header > h3::after { background: #e5e5e5; }
.portfolio-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.content-image-block { position: relative; display: block; overflow: hidden; }
.content-image-block img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.content-image-block::before { content: ""; position: absolute; inset: 0; background: rgba(14, 204, 227, .9); opacity: 0; transition: opacity .5s; }
.content-block-hover { position: absolute; inset-inline: 0; top: 0; color: #fff; font-size: 26px; text-align: center; opacity: 0; transition: top .5s, opacity .5s; }
.content-image-block:hover::before { opacity: 1; }
.content-image-block:hover .content-block-hover { top: calc(50% - 15px); opacity: 1; }

.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .9); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 64px 72px; pointer-events: none; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; pointer-events: auto; }
.lightbox-btn { position: absolute; z-index: 1; width: 50px; height: 50px; background: rgba(255, 255, 255, .15); color: #fff; border: 0; border-radius: 50%; font-size: 26px; }
.lightbox-btn:hover { background: var(--cyan); }
.lightbox-close { top: 12px; inset-inline-end: 12px; }
.lightbox-prev { top: calc(50% - 25px); inset-inline-start: 12px; }
.lightbox-next { top: calc(50% - 25px); inset-inline-end: 12px; }
[dir="rtl"] .lightbox-prev i, [dir="rtl"] .lightbox-next i { transform: scaleX(-1); }

/* Contact and Ask */
.contact-us { padding-block: 80px 60px; }
.contact-header { margin-block-end: 30px; text-align: center; }
.contact-header h2 { margin-block-end: 15px; color: #4a4a4a; font-family: var(--font-head); font-size: 36px; line-height: 1.3; }
.contact-header p { margin: 0; color: #000; font-size: 17px; }
.contact-header a { color: var(--blue); }
.contact-form { padding: 25px 42px 30px; border: 3px solid var(--cyan); border-radius: 35px; }
.contact-form h2 { margin-block-end: 20px; color: #4a4a4a; font-size: 18px; line-height: 27px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-block-end: 35px; }
.form-control { display: block; width: 100%; padding: 15px 20px; font: inherit; font-size: 14px; color: #555; background: #fff; border: 1px solid #e0e0e0; }
.form-control:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 6px rgba(0, 210, 235, .45); }
input[type="tel"] { direction: ltr; }
[dir="rtl"] input[type="tel"] { text-align: right; }
[dir="rtl"] input[type="tel"]::placeholder { direction: rtl; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-block-start: 35px; }
.form-note { flex: 1 1 260px; margin: 0; color: #777; font-size: 13px; }
.form-foot button { padding: 12px 35px; background: var(--cyan); border: 1px solid var(--cyan); color: #fff; font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; transition: background-color .4s, color .4s; }
.form-foot button:hover { background: transparent; color: var(--cyan); }
.form-done { margin: 16px 0 0; color: #1a7a43; font-weight: 700; }
.form-done[hidden] { display: none; }

.contact-us2 .contact-form { position: relative; padding-block-start: 90px; border-width: 1px; border-radius: 0; border-color: #e5e5e5; }
.contact-us2 .contact-form::before { content: ""; position: absolute; inset-inline: 0; top: 30px; height: 40px; background: url("../images/contact-sep-bg.png") repeat-x left center; }
.contact-deatil { margin-block-start: 50px; }
.call-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.contact-call-box { padding: 50px 15px; border: 1px solid #e5e5e5; color: #777; font-size: 16px; line-height: 24px; text-align: center; transition: background-color .6s, border-color .6s, color .6s; }
.contact-call-box > i { display: block; width: 99px; height: 99px; margin: 0 auto 25px; border: 3px solid var(--cyan); border-radius: 50%; color: var(--cyan); font-size: 30px; line-height: 93px; transition: transform .8s, color .6s, border-color .6s; }
.contact-call-box a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.contact-call-box:hover { background: var(--cyan-card); border-color: var(--cyan-card); color: #fff; }
.contact-call-box:hover > i { border-color: #fff; color: #fff; transform: rotate(360deg); }

/* Footer */
.footer-main { padding-block: 60px; background: #666; border-block-start: 3px solid var(--cyan); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-main .widget { padding: 0; }
.footer-main .widget-title { color: #f9f9f9; }
.footer-main .widget p { color: #fff; }
.footer-main .widget p a { color: #fff; }
.footer-main .widget p > i { background: rgba(0, 0, 0, .2); border: 1px solid #78797b; color: #fff; line-height: 40px; }
.footer-main iframe { display: block; width: 100%; height: 340px; border: 0; }
.footer-bottom { padding-block: 32px; background: var(--cyan); text-align: center; }
.footer-bottom p { margin: 0; color: #fff; }
.footer-bottom a { color: #fff; font-weight: 700; }

/* Responsive */
@media (max-width: 991px) {
    .default-top { flex-direction: column; align-items: center; text-align: center; gap: 0; }
    .ownavigation { background: #f1f1f1; }
    .ownavigation .container { display: flex; flex-direction: column; align-items: center; }
    .navbar-toggle { display: flex; flex-direction: column; gap: 4px; margin-block: 12px; padding: 8px 7px; background: var(--cyan); border: 0; }
    .navbar-toggle span { width: 22px; height: 2px; background: #fff; }
    .menubar { display: none; width: 100%; padding-block: 8px 12px; border-block-start: 1px solid #4c4c4c; text-align: center; }
    .menubar.is-open { display: block; }
    .menubar a, .menubar button { display: inline-block; padding: 8px 12px; background: none; border: 0; color: #222; font-size: 15px; text-decoration: none; text-transform: uppercase; }
    .menubar .active a, .menubar a:hover, .menubar button:hover { color: var(--cyan); }
    .welcome-grid, .about-grid, .footer-grid { grid-template-columns: 1fr; }
    .welcome-grid { padding-inline: 0; }
    .welcome-section { padding-block-start: 90px; }
    .widget_workinghours { margin-block-start: 60px; }
    .offer-grid, .portfolio-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .call-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; gap: 20px; margin-block-end: 20px; }
    .contact-form { padding-inline: 18px; }
    .page-banner { min-height: 240px; }
    .page-banner-content { padding: 80px 0; }
    .page-banner h1 { margin-block-start: 0; font-size: 30px; line-height: 1.2; }
    .section-header > h3 { font-size: 18px; line-height: 1.5; padding-inline: 16px; }
    .widget_workinghours { padding-inline: 20px; }
}

@media (max-width: 479px) {
    .offer-grid, .portfolio-list { grid-template-columns: 1fr; }
    .breadcrumb li { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation-duration: .01s !important; animation-delay: 0s !important; }
}

/* Premium finish: refines the template without changing its identity. */
body { color: var(--ink); -webkit-font-smoothing: antialiased; }
html[lang="en"] body { font-size: 15px; line-height: 1.65; }
html[lang="ar"] body { font-size: 15px; line-height: 1.8; }
::selection { background: var(--cyan); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan-deep); outline-offset: 3px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.offer-box.reveal.is-visible:hover { transform: translateY(-6px); }

/* Header */
.site-header { background: #fff; }
.phone-call { padding: 10px 18px; border-color: var(--cyan-deep); border-radius: 14px 14px 0 0; color: var(--ink); font-weight: 600; font-size: 16px; }
.phone-call i { color: var(--cyan-deep); }
.phone-call:hover { background: var(--cyan-deep); border-color: var(--cyan-deep); }
@media (min-width: 992px) {
    .ownavigation { border-block-start: 3px solid var(--cyan-deep); transition: background-color .35s ease, box-shadow .35s ease; }
    .menubar { backdrop-filter: blur(6px); }
    .menubar > li { margin-inline: 4px; }
    .menubar a, .menubar button { position: relative; padding: 8px 12px; font-size: 13.5px; font-weight: 500; letter-spacing: .6px; }
    html[lang="ar"] .menubar a, html[lang="ar"] .menubar button { font-size: 14.5px; font-weight: 400; letter-spacing: 0; }
    .menubar a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; padding: 0; height: 2px; background: var(--cyan); border-radius: 2px; transform: scaleX(0); transition: transform .3s ease; }
    .menubar a:hover::after, .menubar .active a::after { transform: scaleX(1); }
    .menubar .active a { color: #fff; }
    .menubar a:hover { color: #fff; }
    .menubar button { margin-inline-start: 8px; padding-inline: 16px; background: rgba(255, 255, 255, .14); border-radius: 30px; transition: background-color .3s; }
    .menubar button:hover { background: var(--cyan); color: #fff; }
    .ownavigation.is-stuck { position: fixed; top: 0; z-index: 30; background: rgba(13, 37, 47, .95); border-block-start: 0; box-shadow: 0 8px 26px rgba(0, 0, 0, .22); }
    .is-stuck .menubar { background: transparent; backdrop-filter: none; }
    .is-stuck .menubar a, .is-stuck .menubar button { margin-block: 9px; }
}

/* Slider */
.slide.is-active > img { transition: transform 7s ease-out; }
.slide > img { transform: scale(1.09); filter: saturate(1.06) contrast(1.03); }
/* The outgoing photo stays solid under the incoming one, so the fade never shows the background. */
.slide.is-active { z-index: 1; }
.slide.is-prev { opacity: 1; visibility: visible; transition: none; }
.slide.is-prev > img { transform: scale(1); transition: none; }
/* Short desktop screens: keep the hero inside the window and the caption above the fold. */
@media (min-width: 1025px) {
    .slides { aspect-ratio: auto; height: min(calc(100cqw * 989 / 1920), calc(100svh - 104px)); min-height: 460px; }
    .caption-block { top: auto; bottom: calc(var(--u) * 238); }
    .caption-btn { top: auto; bottom: calc(var(--u) * 178); }
}
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 30, 40, .28), transparent 28%, transparent 62%, rgba(10, 30, 40, .28)); pointer-events: none; }
.caption-block, .caption-btn { z-index: 1; filter: drop-shadow(0 12px 22px rgba(10, 30, 40, .22)); }
.caption-block { color: var(--ink); }
.caption-btn { font-weight: 600; transition: filter .3s; }
.caption-btn:hover { filter: drop-shadow(0 12px 22px rgba(10, 30, 40, .22)) brightness(1.06); }
.slider-arrow { z-index: 2; background: rgba(15, 45, 60, .55); backdrop-filter: blur(4px); transition: background-color .3s, transform .3s; }
.slider-arrow:hover { background: var(--cyan); opacity: 1; transform: scale(1.05); }
.slider-bullets { z-index: 2; bottom: 20px; }
.slider-bullets button { background: rgba(255, 255, 255, .35); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(10, 30, 40, .35); transition: background-color .3s, border-color .3s, transform .3s; }
.slider-bullets button:hover { border-color: var(--cyan); }
.slider-bullets button.is-active { background: var(--cyan); border-color: var(--cyan); transform: scale(1.1); }

/* Section titles */
.section-header > h3 { color: var(--ink); letter-spacing: .4px; font-weight: 600; }
.section-header > h3, .section-header > h3::before, .section-header > h3::after { border-color: var(--line); }
.section-header > h3::before, .section-header > h3::after { background: var(--line); }
.section-header > h3 { border-block-start: 3px solid var(--cyan); }
.page-banner { background-position: center 30%; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 35, 45, .35), rgba(10, 35, 45, .62)); }
.page-banner h1 { font-weight: 600; letter-spacing: .8px; }
.breadcrumb { box-shadow: var(--shadow-sm); }
.breadcrumb li { font-size: 15px; letter-spacing: .2px; }

/* Lists and cards */
.responsibilities-list h3, .widget-title { color: var(--ink); font-weight: 600; font-size: 22px; }
.responsibilities-list li { border-block-end-color: var(--line); color: var(--ink); font-weight: 500; font-size: 15px; transition: padding-inline-start .3s, color .3s; }
.responsibilities-list li:hover { padding-inline-start: 6px; color: var(--cyan-deep); }
.responsibilities-list li::before { content: "\f00c"; display: grid; place-items: center; width: 30px; height: 30px; margin-inline-end: 16px; padding: 0; background: #e3f9fc; color: var(--cyan-deep); border-radius: 50%; font-size: 13px; line-height: 1; }
.widget p { font-size: 15px; letter-spacing: .2px; }
.widget p > i { transition: background-color .3s, color .3s; }
.widget p:hover > i { background: var(--cyan-card); color: #fff; }

.widget_workinghours { background: linear-gradient(165deg, #06d4ec, #05a9c3); box-shadow: var(--shadow-md); border-radius: 50px 50px 14px 14px; }
.hours-icon { box-shadow: 0 8px 18px rgba(7, 155, 181, .3); }
.widget_workinghours .widget-title { color: #fff; font-size: 20px; }
.widget_workinghours li { margin-block-end: 8px; padding: 11px 14px; background: rgba(255, 255, 255, .94); border: 0; border-radius: 10px; }
.widget_workinghours li > span { font-size: 14px; font-weight: 500; }
.widget_workinghours li > b { font-size: 13.5px; font-weight: 600; }
.widget_workinghours ul + h3 { margin-block-start: 26px; }
.is-open > span { color: var(--ink); }
.is-open > b { color: #0b7a43; }

.about-content h2, .contact-header h2 { color: var(--ink); font-weight: 600; }
.about-content p { color: var(--ink); font-size: 16px; font-weight: 400; }
.about-content ul { padding-inline-start: 0; list-style: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.about-content li { display: flex; gap: 12px; margin-block-end: 8px; }
.about-content li::before { content: "\f00c"; flex: none; color: var(--cyan-deep); font-family: FontAwesome; font-size: 13px; line-height: 28px; }
.about-img img { border-radius: 16px; box-shadow: var(--shadow-md); }

.offer-box { background: linear-gradient(150deg, #06c8e0, #0793ad); border-radius: 16px; box-shadow: var(--shadow-sm); transition: transform .45s ease, box-shadow .45s ease, opacity .8s ease; }
.offer-box:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.offer-box { position: relative; overflow: hidden; min-height: 190px; }
.offer-box::before { content: ""; position: absolute; top: -70px; inset-inline-end: -50px; width: 190px; height: 190px; background: rgba(255, 255, 255, .1); border-radius: 50%; }
.offer-box h2 { position: relative; font-size: 18px; font-weight: 600; letter-spacing: .2px; line-height: 1.6; }
.offer-grid .offer-box:last-child:nth-child(3n + 1) { grid-column: 2; }

.portfolio-list { gap: 18px; }
.gallery-section { background: #f4f8f9; }
.content-image-block { background: #e3ecef; border-radius: 14px; box-shadow: var(--shadow-sm); transition: box-shadow .4s; }
.content-image-block:hover { box-shadow: var(--shadow-md); }
.content-image-block img { transition: transform .7s ease; }
.content-image-block:hover img { transform: scale(1.06); }
.content-image-block::before { background: linear-gradient(160deg, rgba(0, 210, 235, .78), rgba(7, 120, 145, .88)); }

/* Forms */
.contact-header h2 { font-size: 32px; }
.contact-header p { color: var(--muted); font-size: 16px; }
.contact-form { background: #fff; border-color: var(--line); border-width: 1px; border-radius: 18px; box-shadow: var(--shadow-md); }
.contact-us2 .contact-form { padding-block-start: 42px; border-radius: 18px; overflow: hidden; }
.contact-us2 .contact-form::before { top: 0; height: 5px; background: linear-gradient(90deg, var(--cyan), var(--cyan-deep)); }
.contact-form h2 { color: var(--ink); font-weight: 600; }
.form-control { border-color: #d7e2e6; border-radius: 10px; background: #fbfdfd; transition: border-color .25s, box-shadow .25s, background-color .25s; }
.form-control:focus { background: #fff; border-color: var(--cyan-deep); box-shadow: 0 0 0 4px rgba(0, 210, 235, .15); }
.form-control::placeholder { color: #6a7d85; opacity: 1; }
.form-foot button { padding-inline: 44px; background: linear-gradient(145deg, #06c8e0, #0793ad); border: 0; border-radius: 30px; font-weight: 500; letter-spacing: .8px; box-shadow: 0 8px 18px rgba(7, 155, 181, .28); transition: transform .25s, box-shadow .25s; }
.form-foot button:hover { background: linear-gradient(145deg, #06c8e0, #0793ad); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(7, 155, 181, .36); }
.form-note { color: var(--muted); }
.contact-call-box { border-color: var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); color: var(--muted); }

/* Footer */
.footer-main { position: relative; padding-block: 70px; background: url("../images/banner-bg.jpg") center / cover no-repeat; }
.footer-main::before { content: ""; position: absolute; inset: 0; background: rgba(12, 32, 41, .9); }
.footer-main > .container { position: relative; }
.footer-main .widget-title { color: #fff; }
.footer-main .widget p, .footer-main .widget p a { color: #d9e4e8; }
.footer-main .widget p a:hover { color: var(--cyan); }
.footer-main .widget p > i { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); }
.footer-main iframe { border-radius: 14px; }
.footer-bottom { padding-block: 20px; background: #0a1c24; border-block-start: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom p { color: #a9bcc4; font-size: 13.5px; }
.footer-bottom a { color: var(--cyan); font-weight: 500; }

@media (max-width: 991px) {
    .brand { padding-block: 14px; gap: 12px; text-align: start; }
    .brand-mark { width: 54px; height: 54px; }
    .phone-call { margin-block-start: 2px; }
    .offer-grid .offer-box:last-child:nth-child(3n + 1) { grid-column: auto; }
    .ownavigation { background: #12303c; }
    .navbar-toggle { padding: 10px 9px; background: transparent; border: 1px solid rgba(255, 255, 255, .35); border-radius: 8px; }
    .menubar { border-block-start: 1px solid rgba(255, 255, 255, .14); }
    .menubar a, .menubar button { display: block; width: 100%; padding: 12px; color: #fff; }
    .menubar .active a { color: var(--cyan); }
    .welcome-section { padding-block-start: 60px; }
}

@media (max-width: 480px) {
    .brand-mark { width: 48px; height: 48px; }
    .brand-doctor { font-size: 17px; }
    html[lang="ar"] .brand-center { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
}