/* ==========================================================================
   Dr. Omar Medical Website - Global Typography Standard
   Typography: Thmanyah Font Family (Serif Text, Serif Display, Sans)
   Standardized as per FONT_FAMILY_REPORT.md
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Thmanyah Serif Text (Default Body & Long-form Narrative)
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'Thmanyah Serif Text';
    src: url('../fonts/thmanyahseriftext-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Thmanyah Serif Text';
    src: url('../fonts/thmanyahseriftext-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Thmanyah Serif Text';
    src: url('../fonts/thmanyahseriftext-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Thmanyah Serif Text';
    src: url('../fonts/thmanyahseriftext-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Thmanyah Serif Text';
    src: url('../fonts/thmanyahseriftext-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Thmanyah Serif Display (Page Headers, Section Titles & Brand Logos)
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'Thmanyah Serif Display';
    src: url('../fonts/thmanyahserifdisplay-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Thmanyah Serif Display';
    src: url('../fonts/thmanyahserifdisplay-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Thmanyah Serif Display';
    src: url('../fonts/thmanyahserifdisplay-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Thmanyah Serif Display';
    src: url('../fonts/thmanyahserifdisplay-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Thmanyah Serif Display';
    src: url('../fonts/thmanyahserifdisplay-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   3. Thmanyah Sans (Interactive Controls, Navigation, Buttons, Badges & Forms)
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'Thmanyah Sans';
    src: url('../fonts/thmanyahsans-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Thmanyah Sans';
    src: url('../fonts/thmanyahsans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Thmanyah Sans';
    src: url('../fonts/thmanyahsans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Thmanyah Sans';
    src: url('../fonts/thmanyahsans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Thmanyah Sans';
    src: url('../fonts/thmanyahsans-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   Global Variables & Font Role Mapping
   -------------------------------------------------------------------------- */
:root {
    --font-thmanyah-serif-text: 'Thmanyah Serif Text', serif;
    --font-thmanyah-serif-display: 'Thmanyah Serif Display', serif;
    --font-thmanyah-sans: 'Thmanyah Sans', sans-serif;

    /* Semantic Role Mapping */
    --font-arabic-primary: var(--font-thmanyah-serif-text);
    --font-arabic-heading: var(--font-thmanyah-serif-display);
    --font-arabic-ui: var(--font-thmanyah-sans);
}

/* ==========================================================================
   Base Typography & RTL Direction
   ========================================================================== */
html[dir="rtl"],
body {
    direction: rtl;
    text-align: right;
    font-family: var(--font-arabic-primary);
    font-feature-settings: "ss01", "cv11";
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: normal !important;
}

/* Headers & Display Typography: Thmanyah Serif Display */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.site-logo,
.section-heading,
.footer-title,
.service-card h2,
.timeline-content h2,
.modal-title,
.pricing-title {
    font-family: var(--font-arabic-heading) !important;
    font-feature-settings: "ss01", "cv11";
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: normal !important;
    line-height: 1.35;
}

/* UI Elements, Navigation, Buttons & Form Controls: Thmanyah Sans */
button,
input,
select,
textarea,
.btn,
.btn-style1,
.btn-style2,
.mainmenu,
.mainmenu a,
.nav-link,
.badge,
.tag,
.specialty-tag,
.meta-value,
.meta-label,
.pricing-price,
.stat-number,
.calendar-table th,
.timeline-tabs button,
.widget-title {
    font-family: var(--font-arabic-ui) !important;
    font-feature-settings: "ss01", "cv11";
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Standard Paragraphs & Body Copy: Thmanyah Serif Text */
p,
li,
blockquote,
.about-text,
.hero-subtitle,
.service-desc,
.timeline-item p {
    font-family: var(--font-arabic-primary);
    font-feature-settings: "ss01", "cv11";
}

/* ==========================================================================
   Enforce Normal (Non-Italic) Typography Globally for Arabic
   ========================================================================== */
em,
i:not([class*="fa"]):not([class*="icon"]),
cite,
dfn,
address,
blockquote,
q,
var,
.section-heading em,
.quote-block p,
.comment-info a,
.fst-italic {
    font-style: normal !important;
}

/* ==========================================================================
   Header & Navigation RTL
   ========================================================================== */
.site-logo img {
    margin-right: 0;
    margin-left: 15px;
}

.mainmenu {
    margin: 0 !important;
}

@media (min-width: 992px) {
    .header-inn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }
    .header-left {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .header-inn .site-logo,
    .header-left .site-logo {
        flex-shrink: 0;
    }
    .mainmenu {
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
        margin: 0 !important;
    }
    .menu-list {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 24px;
        margin: 0 auto;
        padding: 0;
    }
    .menu-list > li > a {
        font-size: 15.5px;
        font-weight: 600;
        padding: 8px 6px;
    }
    .header-right {
        flex-shrink: 0;
    }
}

.menu-list > li > a {
    text-align: right;
}

.mainmenu ul li.has-submenu > a:before {
    right: auto;
    left: -2px;
}

.mainmenu ul li.has-submenu > a {
    padding-left: 14px;
    padding-right: 6px;
}

.menu-list > li > ul {
    right: 0;
    left: auto;
    text-align: right;
}

.menu-list > li > ul li a {
    text-align: right;
}

.header-right .phone-call {
    display: none !important;
}

.btn i, .btn em {
    margin-left: 6px;
    margin-right: 0;
}

/* Icon flips for RTL arrows */
.fa-arrow-right,
.fa-chevron-right,
.fa-angle-right {
    transform: scaleX(-1);
    display: inline-block;
}

/* Mobile Offcanvas Drawer RTL */
@media (max-width: 991px) {
    #menu {
        left: auto !important;
        right: -100% !important;
        text-align: right;
        transition: right 0.4s ease;
    }
    #menu.active {
        right: 0 !important;
        left: auto !important;
    }
    .mainmenu {
        margin-right: 0;
    }
    .mainmenu ul li a {
        text-align: right;
    }
}

/* ==========================================================================
   Hero Section RTL
   ========================================================================== */
.hero-area {
    text-align: right;
    position: relative;
}

/* The Green/Teal Hero Panel on the LEFT in Arabic RTL with Subtle Laser Device Glass Reflection */
.header-background {
    left: 0% !important;
    right: auto !important;
    background-color: #004d5a !important;
    background-image: none !important;
    z-index: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
}

/* Faded, glassy laser device reflection in the background */
.header-background::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../img/laser-clinic-bg.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    opacity: 0.25;
    mix-blend-mode: luminosity;
    filter: brightness(1.22) contrast(1.18);
    pointer-events: none;
}

/* Glassy specular sheen and teal depth gradient */
.header-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(0, 77, 90, 0.4) 30%,
        rgba(0, 48, 56, 0.85) 70%,
        rgba(0, 32, 38, 0.95) 100%
    );
    pointer-events: none;
}

.hero-img {
    position: relative;
    z-index: 2;
}

@media (max-width: 1200px) {
    .header-background {
        left: 0% !important;
        right: auto !important;
        width: 45% !important;
    }
}

@media (max-width: 991px) {
    .header-background {
        left: 0% !important;
        right: auto !important;
        width: 50% !important;
        top: -80px !important;
    }
}

@media (max-width: 767px) {
    .header-background {
        display: none !important;
    }
}

.hero-text {
    text-align: right;
}

.hero-text h1 {
    font-size: clamp(32px, 3.1vw, 46px) !important;
    line-height: 1.35 !important;
    margin-top: 18px !important;
    margin-bottom: 22px !important;
    font-weight: 800 !important;
    color: #006578 !important;
}

.hero-text h1 em {
    font-style: normal !important;
    color: #c97532 !important; /* Refined warm amber/terracotta accent, no glows */
    font-weight: inherit !important;
}

/* ==========================================================================
   Hero Minimalist Specialty Title (Frameless, Clean Typography)
   ========================================================================== */
.hero-specialty-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.specialty-title-text {
    font-size: 0.96rem;
    font-weight: 700;
    color: #c97532;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.specialty-title-text::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 2.5px;
    background: #c97532;
    border-radius: 4px;
    flex-shrink: 0;
}

/* ==========================================================================
   Hero Clinical Achievements Card (Editorial UX & Balanced Metrics)
   ========================================================================== */
.hero-stats-card {
    margin-top: 36px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 12px 35px -10px rgba(0, 101, 120, 0.08);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    max-width: 580px;
}

.hero-stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: right;
    min-width: 0;
}

.hero-stat-sep {
    width: 1px;
    height: 48px;
    background: #e2e8f0;
    flex-shrink: 0;
}

.stat-number-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.stat-val {
    font-size: 2.1rem;
    font-weight: 800;
    color: #006578;
    line-height: 1;
    letter-spacing: -0.5px;
}

.stat-percent {
    font-size: 1.3rem;
    font-weight: 700;
    color: #006578;
}

.stat-val-text {
    font-size: 1.55rem;
    font-weight: 800;
    color: #006578;
    line-height: 1;
}

.stat-unit-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: #006578;
    background: rgba(0, 101, 120, 0.08);
    padding: 2px 7px;
    border-radius: 6px;
    white-space: nowrap;
}

.stat-unit-success {
    color: #0d833a;
    background: rgba(37, 211, 102, 0.12);
}

.stat-country-pill {
    font-size: 0.7rem;
    font-weight: 700;
    color: #c97532;
    background: rgba(201, 117, 50, 0.1);
    padding: 2px 7px;
    border-radius: 6px;
    white-space: nowrap;
}

.stat-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-sub {
    font-size: 0.74rem;
    color: #64748b;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

/* ==========================================================================
   Home Hero Mobile & Tablet Perfection (Luxury Clinical Standards)
   ========================================================================== */
@media (max-width: 991px) {
    .hero-area {
        padding-top: 105px !important;
        padding-bottom: 30px !important;
        background: #f8fafc;
        overflow: hidden;
    }

    .header-background {
        display: none !important;
    }

    .hero-text {
        text-align: right;
        padding: 0 4px;
    }

    .hero-specialty-subtitle {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 6px 14px !important;
        background: rgba(0, 101, 120, 0.08) !important;
        border: 1px solid rgba(0, 101, 120, 0.16) !important;
        border-radius: 50px !important;
        margin-bottom: 14px !important;
    }

    .specialty-title-text {
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        color: #006578 !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .specialty-title-text::before {
        display: none !important;
    }

    .hero-text h1 {
        font-size: clamp(23px, 6vw, 30px) !important;
        font-weight: 800 !important;
        line-height: 1.34 !important;
        color: #00222a !important;
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }

    .hero-text h1 em {
        color: #c97532 !important;
        font-style: normal;
    }

    .hero-text p {
        font-size: 0.92rem !important;
        line-height: 1.72 !important;
        color: #475569 !important;
        text-align: right !important;
        text-justify: auto !important;
        margin-bottom: 16px !important;
    }

    .hero-bar-cta {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin-top: 0 !important;
        margin-bottom: 20px !important;
        width: 100% !important;
    }

    .hero-bar-cta .btn {
        flex: 1 !important;
        padding: 11px 10px !important;
        font-size: 0.88rem !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 12px !important;
        white-space: nowrap !important;
        text-align: center !important;
    }

    /* Elegant, Compact 3-Column Stats Grid */
    .hero-stats-card {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
        padding: 12px 8px !important;
        margin: 0 0 20px 0 !important;
        max-width: 100% !important;
        background: #ffffff !important;
        border: 1px solid rgba(0, 101, 120, 0.12) !important;
        border-radius: 16px !important;
        box-shadow: 0 6px 20px -4px rgba(0, 101, 120, 0.08) !important;
        text-align: center !important;
    }

    .hero-stat-sep {
        display: none !important;
    }

    .hero-stat-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 2px !important;
    }

    .stat-number-row {
        display: flex !important;
        align-items: baseline !important;
        justify-content: center !important;
        gap: 3px !important;
        margin-bottom: 2px !important;
    }

    .stat-val {
        font-size: 1.4rem !important;
        font-weight: 800 !important;
        color: #006578 !important;
        line-height: 1 !important;
    }

    .stat-percent {
        font-size: 0.9rem !important;
        color: #006578 !important;
    }

    .stat-val-text {
        font-size: 1.15rem !important;
        font-weight: 800 !important;
        color: #006578 !important;
        line-height: 1 !important;
    }

    .stat-unit-badge {
        font-size: 0.62rem !important;
        padding: 1px 5px !important;
        border-radius: 4px !important;
    }

    .stat-country-pill {
        font-size: 0.6rem !important;
        padding: 1px 5px !important;
        border-radius: 4px !important;
    }

    .stat-title {
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        color: #1e293b !important;
        line-height: 1.25 !important;
        white-space: normal !important;
        text-align: center !important;
        margin-top: 1px !important;
    }

    .stat-sub {
        font-size: 0.63rem !important;
        color: #64748b !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        text-align: center !important;
        margin-top: 1px !important;
    }

    /* Doctor Image Area on Mobile */
    .hero-img {
        position: relative !important;
        margin: 10px auto 0 !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 360px !important;
    }

    .hero-img::before {
        content: "";
        position: absolute;
        top: 35%;
        left: 50%;
        transform: translate(-50%, -35%);
        width: 270px;
        height: 270px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(0, 101, 120, 0.16) 0%, rgba(201, 117, 50, 0.08) 50%, transparent 75%);
        filter: blur(28px);
        z-index: 0;
        pointer-events: none;
    }

    .hero-img img {
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        margin: 0 auto !important;
        max-width: 290px !important;
        width: 82% !important;
        height: auto !important;
        display: block !important;
        filter: drop-shadow(0 14px 28px rgba(0, 48, 56, 0.18)) !important;
        z-index: 1 !important;
    }

    /* Floating Availability Card on Mobile */
    .hero-bar {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 350px !important;
        margin: -24px auto 0 !important;
        z-index: 10 !important;
        background: rgba(255, 255, 255, 0.96) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        border: 1px solid rgba(0, 101, 120, 0.15) !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 28px rgba(0, 48, 56, 0.12) !important;
        padding: 10px 14px !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        box-sizing: border-box !important;
    }

    .hero-info {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        text-align: right !important;
        flex: 1 !important;
        min-width: 0 !important;
    }

    .hero-icon {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        border-radius: 10px !important;
        background: rgba(0, 101, 120, 0.1) !important;
        color: #006578 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.05rem !important;
        margin: 0 !important;
        position: relative !important;
    }

    .hero-icon::after {
        content: "";
        position: absolute;
        top: -1px;
        right: -1px;
        width: 9px;
        height: 9px;
        background: #25d366;
        border: 2px solid #ffffff;
        border-radius: 50%;
        animation: pulseDot 2s infinite;
    }

    .hero-info .text {
        min-width: 0 !important;
    }

    .hero-info .text h2 {
        font-size: 0.88rem !important;
        font-weight: 700 !important;
        color: #1e293b !important;
        margin: 0 0 2px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .hero-info .text p {
        font-size: 0.7rem !important;
        color: #64748b !important;
        margin: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .hero-bar .btn {
        font-size: 0.82rem !important;
        padding: 9px 14px !important;
        border-radius: 10px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==========================================================================
   Home Hero 100vh Viewport-Fit & Frosted Glass Header Overlay
   ========================================================================== */
.header-home-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.90) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 101, 120, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 48, 56, 0.04) !important;
    padding: 14px 0;
    transition: background-color 250ms ease, box-shadow 250ms ease, padding 200ms ease;
}

/* When scrolled, smoothly morph into a sleek glassmorphic sticky header */
.header-home-overlay.header-scrolled {
    position: fixed;
    top: 0;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 25px rgba(0, 101, 120, 0.1) !important;
    border-bottom: 1px solid rgba(0, 101, 120, 0.1) !important;
    padding: 10px 0;
    animation: headerSlideDown 250ms cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.hero-img img {
    right: auto;
}

.hero-bar {
    text-align: right;
}

.hero-bar a {
    margin-right: 0;
    margin-left: 10px;
}

.hero-info {
    text-align: right;
    gap: 12px;
}

.hero-icon {
    margin-right: 0;
    margin-left: 10px;
}

/* Full 100vh Desktop Hero (992px+) */
@media (min-width: 992px) {
    .hero-area {
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        padding-top: 80px !important;
        padding-bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .hero-area > .container {
        position: relative;
        z-index: 2;
        width: 100%;
    }

    .hero-area .row {
        align-items: center !important;
    }

    /* Left Green/Teal Panel: fills 100% of viewport from the top edge */
    .header-background {
        top: 0 !important;
        bottom: 0 !important;
        height: 100% !important;
        width: 44% !important;
        left: 0 !important;
        right: auto !important;
    }

    /* Doctor Image: Scaled to fit 100% of the viewport height with zero crop */
    .hero-img {
        position: relative;
        height: 100%;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }

    .hero-img img {
        max-height: calc(100vh - 85px) !important;
        width: auto !important;
        object-fit: contain !important;
        top: 0 !important;
        left: -20px !important;
        right: auto !important;
        margin-bottom: 0 !important;
        display: block !important;
        filter: drop-shadow(0 15px 35px rgba(0, 48, 56, 0.3));
    }

    /* Floating "متاح للمواعيد اليوم" badge */
    .hero-bar {
        bottom: 25px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(8px);
    }

    /* Right Hero Text Column: Proportional & Breathable for 100vh */
    .hero-text {
        padding-left: 20px;
    }

    .hero-text h1 {
        font-size: clamp(28px, 2.4vw, 40px) !important;
        line-height: 1.32 !important;
        margin-top: 12px !important;
        margin-bottom: 14px !important;
    }

    .hero-text p {
        font-size: 0.95rem !important;
        line-height: 1.76 !important;
        margin-bottom: 18px !important;
        max-width: 530px;
        text-align: justify !important;
        text-justify: inter-word !important;
    }

    .hero-bar-cta {
        margin-top: 18px !important;
    }

    .hero-stats-card {
        margin-top: 22px !important;
        padding: 12px 18px !important;
        max-width: 540px;
    }

    .stat-val {
        font-size: 1.9rem;
    }

    .stat-val-text {
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   Editorial Arabic Typography: Justified Long Paragraphs & Clean Flow
   ========================================================================== */
.hero-text p,
.about-content p,
.footer-box p,
.service-details-content p,
.about-details p,
.highlight-box p,
.about-story-text p {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.hero-text p {
    line-height: 1.76 !important;
}

@media (max-width: 991px) {
    .hero-text p {
        text-align: right !important;
        text-justify: auto !important;
    }
}

.about-content p {
    line-height: 1.88 !important;
    font-size: 1.02rem;
    color: #475569;
    margin-bottom: 16px;
}

.footer-box p {
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.72) !important;
}

/* ==========================================================================
   About Section RTL
   ========================================================================== */
.about-section {
    text-align: right;
    margin-top: 0 !important;
    padding-top: 90px !important;
}

.about-content {
    text-align: right;
}

.about-image-accent {
    right: auto;
    left: 20px;
}

.about-experience-badge {
    right: auto;
    left: 20px;
}

.highlight-box {
    border-left: none;
    border-right: 3px solid #006578;
    text-align: right;
}

.about-meta {
    text-align: right;
}

.about-specialties {
    justify-content: flex-start;
}

/* ==========================================================================
   Testimonials Section — Equal-Height Cards & Text Clamping
   ========================================================================== */

/*
 * Make each testimonial card a vertical flex column so the
 * author block always sticks to the bottom, giving every card
 * the same perceived height regardless of review length.
 */
.testimonial-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/*
 * Clamp the review text to a fixed number of lines (4 lines ≈ ~85 chars
 * in Arabic at 16 px / 1.6 line-height). A subtle ellipsis (…) indicates
 * truncation without breaking the reading experience.
 */
.testimonial-desc {
    flex: 1 1 auto;       /* stretch to fill available vertical space */
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4; /* maximum 4 visible lines */
    line-clamp: 4;
    text-overflow: ellipsis;
    min-height: 6.4em;    /* 4 lines × 1.6 line-height — locks the height */
    max-height: 6.4em;
    line-height: 1.6;
}

/*
 * Push the author block firmly to the bottom so it never floats upward
 * when the review text is shorter than the clamped maximum.
 */
.testimonial-author {
    margin-top: auto !important;
}

/* ==========================================================================
   Services Section RTL
   ========================================================================== */
.service-area {
    text-align: right;
}

.service-card {
    text-align: right;
}

.service-card h2 {
    text-align: right;
}

.service-card p {
    text-align: right;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   Education & Career Timeline Tabs RTL
   ========================================================================== */
.education-area {
    text-align: right;
}

.timeline-tabs button {
    font-family: var(--font-arabic-ui) !important;
}

.timeline {
    text-align: right;
}

.timeline:before {
    left: auto !important;
    right: 24px !important;
}

.timeline-item {
    text-align: right;
}

.timeline-content {
    text-align: right;
}

.timeline-period {
    text-align: right;
}

.timeline-institution {
    text-align: right;
}

/* ==========================================================================
   Testimonials Section RTL
   ========================================================================== */
.testimonials-section {
    text-align: right;
}

.testimonial-card,
.testimonial-item {
    text-align: right;
}

.testimonial-author {
    text-align: right;
}

.author-image,
.author-img {
    margin-right: 0;
    margin-left: 15px;
    flex-shrink: 0;
}

.author-image img,
.author-img img {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    border: 2px solid #e2edf0;
    box-shadow: 0 4px 10px rgba(0, 101, 120, 0.12);
}

/* Slick slider RTL fixes */
.slick-slider {
    direction: rtl;
}

.slick-prev {
    right: -40px;
    left: auto;
}

.slick-next {
    left: -40px;
    right: auto;
}

/* ==========================================================================
   Footer RTL
   ========================================================================== */
.footer {
    text-align: right;
}

.footer-title {
    text-align: right;
}

.footer-links ul {
    list-style: none;
    padding-right: 0;
    padding-left: 0;
    margin: 0;
    text-align: right;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-links ul li a {
    display: inline-flex;
    align-items: center;
    padding-right: 18px !important;
    padding-left: 0 !important;
    position: relative;
    text-align: right;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:before,
.footer-links ul li a:before {
    content: "";
    width: 6px;
    height: 6px;
    background: #00879e;
    border-radius: 50%;
    position: absolute;
    right: 0 !important;
    left: auto !important;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: background-color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.footer-links a:hover,
.footer-links ul li a:hover {
    color: #ffffff;
    transform: translateX(-4px);
}

.footer-links a:hover:before,
.footer-links ul li a:hover:before {
    background: #d4a457;
    opacity: 1;
    transform: translateY(-50%) scale(1.35);
}

/* ==========================================================================
   Footer Top Action Hub (Newsletter + Direct Clinic Contact)
   ========================================================================== */
.footer-top {
    padding: 55px 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-top-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 101, 120, 0.25);
    border: 1px solid rgba(0, 164, 189, 0.35);
    color: #2dd4bf;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 12px;
    width: fit-content;
}

.footer-top-heading {
    font-size: 1.38rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.45;
    font-family: var(--font-arabic-heading, inherit);
}

.footer-top-heading em {
    font-style: normal;
    color: #00a4bd;
}

.footer-top-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 44px;
}

/* Newsletter Input & Submit */
.footer-newsletter-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.footer-newsletter-wrap input {
    flex: 1;
    height: 52px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.25s ease;
    font-family: inherit;
}

.footer-newsletter-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.footer-newsletter-wrap input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00a4bd;
    box-shadow: 0 0 0 3px rgba(0, 101, 120, 0.3);
}

.btn-footer-subscribe {
    height: 52px;
    padding: 0 28px;
    background: #006578;
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 101, 120, 0.3);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-footer-subscribe:hover {
    background: #004d5c;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 101, 120, 0.45);
}

/* Contact Action Buttons (Exact Same Height 52px) */
.footer-cta-buttons-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-footer-contact-main {
    height: 52px;
    padding: 0 28px;
    background: #006578;
    color: #ffffff !important;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 101, 120, 0.3);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-footer-contact-main:hover {
    background: #004d5c;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 101, 120, 0.45);
    color: #ffffff !important;
}

.btn-footer-phone-cta {
    height: 52px;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-footer-phone-cta:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #00a4bd;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   Footer Contact Info (Icons matching button teal)
   ========================================================================== */
.footer-contact {
    padding-right: 0;
    margin: 0;
    text-align: right;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14.5px;
    margin-bottom: 14px;
}

.footer-contact li i,
.footer-contact li .text-primary,
.footer-contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0, 101, 120, 0.25);
    color: #00a4bd !important;
    border: 1px solid rgba(0, 164, 189, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    margin: 0 !important;
    transition: all 0.25s ease;
}

.footer-contact li:hover i,
.footer-contact li:hover .text-primary,
.footer-contact li:hover .footer-contact-icon {
    background: #006578;
    color: #ffffff !important;
    border-color: #006578;
    transform: scale(1.08);
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.footer-contact li a:hover {
    color: #00a4bd;
}

/* ==========================================================================
   Footer Recent Posts (أحدث المقالات) High Contrast & Visual Polish
   ========================================================================== */
.footer-post {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    transition: transform 0.2s ease;
}

.footer-post:hover {
    transform: translateX(-4px);
}

.footer-post img {
    width: 64px !important;
    height: 64px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    flex-shrink: 0;
    margin-right: 0 !important;
    margin-left: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.footer-post span,
.footer-post .text-muted,
.footer-post-date {
    color: #38bdf8 !important; /* Soft luminous medical cyan for date */
    font-family: var(--font-arabic-ui) !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    display: block;
    margin-bottom: 4px;
}

.footer-post a,
.footer-post a.text-dark,
.footer-post-title {
    color: #f8fafc !important; /* Crisp pure light white for titles on dark background */
    font-family: var(--font-arabic-heading) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
    display: block;
}

.footer-post:hover a,
.footer-post a:hover,
.footer-post a.text-dark:hover {
    color: #7dd3fc !important;
}

.footer-newsletter .newsletter-form {
    flex-direction: row;
}

.footer-newsletter .newsletter-form input {
    text-align: right;
    border-radius: 0 10px 10px 0;
}

.footer-newsletter .newsletter-form button {
    border-radius: 10px 0 0 10px;
}

.hospital-info {
    text-align: right;
}

.hospital-divider {
    margin-right: 20px;
    margin-left: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

/* ==========================================================================
   Forms & Controls RTL
   ========================================================================== */
input, textarea, select {
    text-align: right;
    direction: rtl;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-right: -1px;
    margin-left: 0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* ==========================================================================
   Page Header & Breadcrumbs RTL
   ========================================================================== */
.page-header-inner {
    text-align: right;
}

.thm-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 0;
}

/* ==========================================================================
   Instructor / Team Section RTL
   ========================================================================== */
.instructor-item {
    text-align: center;
}

.tsocial-links {
    right: auto !important;
    left: 20px !important;
    padding-left: 0;
}

.tsocial-links li {
    transform: translateX(-30px) !important;
}

.instructor-item:hover .tsocial-links li {
    transform: translateX(0) !important;
}

/* ==========================================================================
   Service Details Page RTL
   ========================================================================== */
.service-hero-text {
    text-align: right;
}

.service-meta {
    justify-content: flex-start;
}

.content-main {
    text-align: right;
}

.content-heading:after {
    margin-right: 0;
    margin-left: auto;
}

.condition-item {
    text-align: right;
    justify-content: flex-start;
}

.condition-item:hover {
    transform: translateX(-3px);
}

.procedure-card {
    text-align: right;
}

.expect-timeline {
    padding-left: 0 !important;
    padding-right: 55px !important;
}

.expect-timeline:before {
    left: auto !important;
    right: 21px !important;
}

.expect-dot {
    left: auto !important;
    right: -55px !important;
}

.expect-text {
    text-align: right;
}

.content-sidebar {
    text-align: right;
}

.service-card-1 {
    text-align: right;
}

.service-card-1:before {
    left: auto !important;
    right: 0 !important;
}

.sidebar-card {
    text-align: right;
}

.sidebar-contact {
    padding-right: 0;
    list-style: none;
}

.sidebar-contact li a {
    margin-left: 0;
    margin-right: 5px;
    direction: ltr;
    display: inline-block;
}

.related-card a {
    display: block;
    text-align: right;
    padding: 8px 12px;
    margin-bottom: 8px;
    background: #f8fafc;
    border-radius: 6px;
    color: #006578;
    font-weight: 600;
    transition: all 0.3s ease;
}

.related-card a:hover {
    background: #006578;
    color: #ffffff;
    padding-right: 18px;
}

/* ==========================================================================
   Master Appointment Booking Section RTL
   (Aligned with Neocare luxury medical aesthetic & Emil Kowalski design principles)
   ========================================================================== */
.appointment-section {
    padding: 60px 0 40px;
    background: #fbfcfc;
    position: relative;
}

.master-appointment-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #006578;
    box-shadow: 0 20px 45px -12px rgba(0, 101, 120, 0.08);
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.master-appointment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0, 101, 120, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* Header badge pill */
.appointment-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 101, 120, 0.08);
    border: 1px solid rgba(0, 101, 120, 0.2);
    color: #006578;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.appointment-pulse-dot {
    width: 8px;
    height: 8px;
    background: #006578;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(0, 101, 120, 0.6);
    animation: apDotPulse 2s infinite;
}

@keyframes apDotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 101, 120, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(0, 101, 120, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 101, 120, 0);
    }
}

.appointment-title-main {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.4;
    color: #1e293b;
    margin-bottom: 14px;
    font-family: var(--font-arabic-heading, inherit);
}

.appointment-title-main em {
    font-style: normal;
    color: #006578;
}

.appointment-lead-text {
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Modern Form Fields */
.ap-field-wrap {
    margin-bottom: 12px;
    text-align: right;
}

.ap-field-wrap label,
.field-group-label {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
    font-family: var(--font-arabic-ui, inherit);
}

.ap-field-wrap label i,
.field-group-label i {
    color: #006578;
    margin-left: 6px;
}

.ap-field-wrap input,
.ap-field-wrap select,
.ap-field-wrap textarea {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    font-family: inherit;
}

.ap-field-wrap input:hover,
.ap-field-wrap select:hover,
.ap-field-wrap textarea:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.ap-field-wrap input:focus,
.ap-field-wrap select:focus,
.ap-field-wrap textarea:focus {
    border-color: #006578;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 101, 120, 0.12);
}

.ap-field-wrap select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23006578' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 40px;
}

/* Gender Pills */
.ap-gender-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.ap-gender-pill {
    cursor: pointer;
    margin: 0;
}

.ap-gender-pill input {
    display: none;
}

.ap-gender-pill .pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 100px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    user-select: none;
}

.ap-gender-pill .pill-btn:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.ap-gender-pill input:checked + .pill-btn {
    background: #006578;
    border-color: #006578;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 101, 120, 0.25);
}

/* Submit & Privacy */
.btn-appointment-submit {
    background: #006578;
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 14px 34px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 101, 120, 0.25);
    transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 180ms cubic-bezier(0.23, 1, 0.32, 1), background-color 150ms ease-out;
    cursor: pointer;
}

.btn-appointment-submit:hover {
    background: #004d5c;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 101, 120, 0.35);
}

.btn-appointment-submit:active {
    transform: translateY(0);
}

.ap-privacy-guarantee {
    font-size: 0.85rem;
    color: #64748b;
    display: inline-flex;
    align-items: center;
}

/* Showcase / Visual Suite */
.appointment-visual-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
}

.appointment-photo-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 35px -8px rgba(0, 101, 120, 0.14);
    border: 1px solid rgba(0, 101, 120, 0.12);
    position: relative;
    background: #006578;
}

.photo-card-media {
    position: relative;
    overflow: hidden;
}

.photo-card-media img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-card-media:hover img {
    transform: scale(1.04);
}

.photo-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 18px 14px;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    z-index: 2;
}

.photo-badge {
    background: rgba(0, 101, 120, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
}

.photo-location {
    font-size: 0.8rem;
    color: #f1f5f9;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Reassurance Perks */
.appointment-perks-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.appointment-perk-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 14px 16px;
    transition: all 0.25s ease;
}

.appointment-perk-item:hover {
    background: #ffffff;
    border-color: rgba(0, 101, 120, 0.2);
    box-shadow: 0 8px 20px -6px rgba(0, 101, 120, 0.08);
    transform: translateX(-4px);
}

.perk-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(0, 101, 120, 0.08);
    color: #006578;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.appointment-perk-item:hover .perk-icon-wrap {
    background: #006578;
    color: #ffffff;
}

.perk-content h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3px;
}

.perk-content p {
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Direct Help */
.appointment-direct-help {
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
    border: 1.5px dashed rgba(0, 101, 120, 0.25);
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.direct-help-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.direct-help-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #006578;
}

.direct-help-phone {
    display: inline-flex;
    align-items: center;
    background: #006578;
    color: #ffffff !important;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 101, 120, 0.2);
    transition: all 0.2s ease;
}

.direct-help-phone:hover {
    background: #004d5c;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.direct-help-timing {
    font-size: 0.8rem;
    color: #64748b;
}

@media (max-width: 991px) {
    .master-appointment-card {
        padding: 30px 20px;
        border-radius: 18px;
    }
    .appointment-title-main {
        font-size: 1.6rem;
    }
    .appointment-visual-panel {
        margin-top: 20px;
    }
}

/* Compatibility fallbacks */
.appointment-box {
    text-align: right;
}

.ap-field {
    text-align: right;
}

.gender-group {
    justify-content: flex-start;
}

.gender-group input {
    margin-right: 0 !important;
    margin-left: 8px !important;
}

.calendar-header {
    text-align: center;
}

.calendar-table th,
.calendar-table td {
    text-align: center;
}

.calendar-table thead th {
    font-family: var(--font-arabic-ui) !important;
}

.calendar-table h2 {
    font-family: var(--font-arabic-heading);
}

/* ==========================================================================
   Contact Page RTL
   ========================================================================== */
.contact-info {
    text-align: right;
}

.contact-card {
    text-align: right;
}

.contact-card:hover {
    transform: translateX(-3px);
}

.contact-card-text {
    text-align: right;
}

.contact-form-wrap {
    text-align: right;
}

.form-label {
    text-align: right;
}

/* ==========================================================================
   Coming Soon Page RTL
   ========================================================================== */
.comsoon-wrap {
    text-align: right;
}

.news-cosoon input {
    padding-right: 20px !important;
    padding-left: 70px !important;
    text-align: right;
}

.sb-btn {
    right: auto !important;
    left: 6px !important;
}

/* ==========================================================================
   Modern Service Cards with Dedicated Images & Badges
   ========================================================================== */
.service-card-modern {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e7e5df;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.service-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 101, 120, 0.12);
    border-color: #006578;
}

.service-card-thumb {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f1f5f9;
}

.service-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-modern:hover .service-card-thumb img {
    transform: scale(1.06);
}

.service-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0, 101, 120, 0.92);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.service-card-icon-badge {
    position: absolute;
    bottom: -18px;
    left: 20px;
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 2px solid #006578;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #006578;
    font-size: 1.25rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    z-index: 3;
    transition: all 0.3s ease;
}

.service-card-modern:hover .service-card-icon-badge {
    background: #006578;
    color: #ffffff;
    transform: scale(1.08);
}

.service-card-body {
    padding: 26px 22px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: right;
}

.service-card-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.45;
}

.service-card-body h3 a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-card-body h3 a:hover {
    color: #006578;
}

.service-card-body p {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 18px;
    flex-grow: 1;
}

.service-card-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-card-footer .service-link {
    color: #006578;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease, color 0.2s ease;
}

.service-card-footer .service-link:hover {
    color: #0891b2;
    gap: 10px;
}

.service-card-footer .service-duration {
    font-size: 0.8rem;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Sidebar Services Group Styling */
.sidebar-service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    border-radius: 10px;
    color: #334155;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.sidebar-service-item:hover {
    background: rgba(0, 101, 120, 0.05);
    color: #006578;
    padding-right: 18px;
}

.sidebar-service-item.active {
    background: #006578;
    color: #ffffff !important;
    border-color: #006578;
    box-shadow: 0 4px 12px rgba(0, 101, 120, 0.25);
}

.sidebar-service-item.active i {
    color: #ffffff !important;
}

.service-faq-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.service-faq-item:hover {
    border-color: #006578;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.service-faq-question {
    font-weight: 700;
    color: #0f172a;
    font-size: 1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-faq-question i {
    color: #006578;
}

.service-faq-answer {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 0;
    padding-right: 26px;
}

/* ==========================================================================
   WhatsApp Direct Consultation Concierge Section RTL
   (Cohesive with site theme & Emil Kowalski design engineering principles)
   ========================================================================== */
.whatsapp-concierge-area {
    padding: 80px 0;
    background: #fbfcfc;
    position: relative;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

/* Master Concierge Card */
.whatsapp-concierge-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #006578;
    box-shadow: 0 20px 45px -12px rgba(0, 101, 120, 0.08);
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.whatsapp-concierge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 101, 120, 0.035) 0%, transparent 70%);
    pointer-events: none;
}

/* Availability pill */
.whatsapp-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #0d833a;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.whatsapp-status-dot {
    width: 8px;
    height: 8px;
    background: #25d366;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    animation: waPulse 2s infinite;
}

@keyframes waPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-concierge-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.4;
    color: #1e293b;
    margin-bottom: 16px;
}

.whatsapp-concierge-title em {
    font-style: normal;
    color: #006578;
}

.whatsapp-concierge-desc {
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

/* Buttons */
.whatsapp-btn-luxury {
    background: #25d366;
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.28);
    transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 180ms cubic-bezier(0.23, 1, 0.32, 1), background-color 150ms ease-out;
    border: none;
}

.whatsapp-btn-luxury:hover {
    background: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
    color: #ffffff !important;
}

.whatsapp-btn-luxury:active {
    transform: scale(0.97);
}

.whatsapp-btn-luxury i {
    font-size: 1.35rem;
}

.dir-ltr {
    direction: ltr !important;
    display: inline-block;
    unicode-bidi: isolate;
}

.btn-concierge-call {
    color: #006578;
    background: rgba(0, 101, 120, 0.05);
    border: 1.5px solid #006578;
    font-size: 1.02rem;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    direction: ltr;
    gap: 10px;
    text-decoration: none;
    transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1), background-color 150ms ease-out, color 150ms ease-out;
}

.btn-concierge-call:hover {
    background: #006578;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-concierge-call:active {
    transform: scale(0.97);
}

.whatsapp-trust-note {
    font-size: 0.88rem;
    color: #64748b;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Chat Preview Card (Left Side) */
.whatsapp-chat-preview {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.whatsapp-chat-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.whatsapp-chat-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #006578;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(0, 101, 120, 0.2);
    flex-shrink: 0;
}

.whatsapp-chat-info h4 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.whatsapp-chat-info span {
    font-size: 0.8rem;
    color: #10b981;
    font-weight: 600;
}

.whatsapp-chat-bubble {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px 16px 4px 16px;
    padding: 14px 18px;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #334155;
    margin-bottom: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.whatsapp-chips-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whatsapp-chips-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-inquiry-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #d8d4c8;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1), border-color 150ms ease-out, background-color 150ms ease-out, color 150ms ease-out;
}

.quick-inquiry-chip:hover {
    background: rgba(0, 101, 120, 0.05);
    border-color: #006578;
    color: #006578;
    transform: translateX(-4px);
}

.quick-inquiry-chip:active {
    transform: scale(0.97);
}

.quick-inquiry-chip i.chip-send-icon {
    font-size: 0.85rem;
    color: #006578;
    transition: transform 180ms ease-out;
}

.quick-inquiry-chip:hover i.chip-send-icon {
    transform: translateX(-3px);
}

/* 3 Clinical Trust Cards */
.whatsapp-trust-row {
    margin-top: 40px;
}

.concierge-feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 20px;
    height: 100%;
    position: relative;
    transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms cubic-bezier(0.23, 1, 0.32, 1), border-color 150ms ease-out;
}

.concierge-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 101, 120, 0.06);
    border-color: #006578;
}

.concierge-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 101, 120, 0.08);
    color: #006578;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
    transition: background-color 150ms ease-out, color 150ms ease-out;
}

.concierge-feature-card:hover .concierge-feature-icon {
    background: #006578;
    color: #ffffff;
}

.concierge-feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.concierge-feature-text {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .whatsapp-concierge-card {
        padding: 32px 20px;
    }
    .whatsapp-concierge-title {
        font-size: 1.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-status-dot {
        animation: none;
    }
    .whatsapp-btn-luxury,
    .btn-concierge-call,
    .quick-inquiry-chip,
    .concierge-feature-card {
        transition: none !important;
        transform: none !important;
    }
}

/* ==========================================================================
   About Page Ultra-Premium Elevation (Apple & Microsoft Fluent Standards)
   ========================================================================== */

/* 1. Bespoke Editorial Page Header & Ambient Lighting (Shared across pages) */
.about-page-header,
.editorial-page-header {
    position: relative;
    padding: 85px 0 75px;
    background: radial-gradient(circle at 85% 30%, rgba(0, 101, 120, 0.45) 0%, transparent 65%),
                radial-gradient(circle at 15% 70%, rgba(201, 117, 50, 0.15) 0%, transparent 55%),
                linear-gradient(135deg, #001f26 0%, #00333d 50%, #004d5a 100%);
    overflow: hidden;
    color: #ffffff;
    text-align: right;
    border-bottom: 1px solid rgba(212, 164, 87, 0.18);
}

.about-page-header::before,
.editorial-page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.35;
    pointer-events: none;
}

.about-page-header .container,
.editorial-page-header .container {
    position: relative;
    z-index: 2;
}

.about-hero-label,
.editorial-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #d4a457;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.about-hero-label::before,
.editorial-hero-label::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 2px;
    background: #d4a457;
    border-radius: 2px;
}

.about-page-header h1,
.editorial-page-header h1 {
    font-size: clamp(30px, 3.2vw, 46px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 14px;
}

.about-page-header h1 em,
.editorial-page-header h1 em {
    color: #d4a457;
    font-style: normal;
}

.about-hero-sub,
.editorial-hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    max-width: 720px;
    margin-bottom: 22px;
}

.about-breadcrumb,
.editorial-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    list-style: none;
}

.about-breadcrumb a,
.editorial-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 150ms ease;
}

.about-breadcrumb a:hover,
.editorial-breadcrumb a:hover {
    color: #d4a457;
}

@media (max-width: 767px) {
    .about-page-header,
    .editorial-page-header {
        padding: 65px 0 55px;
    }
    .about-page-header h1,
    .editorial-page-header h1 {
        font-size: 26px;
    }
    .about-hero-sub,
    .editorial-hero-sub {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   Editorial Page Header - Floating Watermark Visual Hub
   ========================================================================== */
.editorial-hero-watermark-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* In RTL, flex-end pushes to the left empty space */
    width: 100%;
    min-height: 230px;
    perspective: 1000px;
}

/* Ambient Radial Glow Behind Watermark */
.hero-watermark-glow {
    position: absolute;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 164, 189, 0.42) 0%, rgba(212, 164, 87, 0.22) 48%, transparent 72%);
    filter: blur(34px);
    z-index: 1;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    animation: heroGlowBreath 6s ease-in-out infinite alternate;
    pointer-events: none;
}

/* Main Floating Watermark */
.hero-watermark-main {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: heroFloatPrimary 5.5s ease-in-out infinite alternate;
    cursor: default;
}

.hero-watermark-img.main-watermark {
    max-width: 215px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.5)) 
            drop-shadow(0 0 22px rgba(0, 164, 189, 0.3));
    opacity: 0.88;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.35s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.editorial-hero-watermark-wrap:hover .hero-watermark-img.main-watermark,
.hero-watermark-main:hover .hero-watermark-img.main-watermark {
    transform: scale(1.06) rotate(-2deg);
    opacity: 1;
    filter: drop-shadow(0 24px 38px rgba(0, 0, 0, 0.6)) 
            drop-shadow(0 0 32px rgba(212, 164, 87, 0.45));
}

/* Secondary Floating Accent */
.hero-watermark-sub {
    position: absolute;
    bottom: -10px;
    right: 25px;
    z-index: 3;
    animation: heroFloatSecondary 6.8s ease-in-out infinite alternate-reverse;
}

.hero-watermark-img.sub-watermark {
    width: 85px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.5)) 
            drop-shadow(0 0 16px rgba(212, 164, 87, 0.35));
    opacity: 0.85;
    transition: transform 0.35s ease, opacity 0.3s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.hero-watermark-sub:hover .hero-watermark-img.sub-watermark {
    transform: scale(1.15) rotate(10deg);
    opacity: 1;
}

/* Floating Animations */
@keyframes heroFloatPrimary {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-13px) rotate(1.8deg);
    }
    100% {
        transform: translateY(-3px) rotate(-1.2deg);
    }
}

@keyframes heroFloatSecondary {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(12px) rotate(-3deg);
    }
    100% {
        transform: translateY(-5px) rotate(2deg);
    }
}

@keyframes heroGlowBreath {
    0% {
        opacity: 0.35;
        transform: translateY(-50%) scale(0.9);
    }
    100% {
        opacity: 0.75;
        transform: translateY(-50%) scale(1.12);
    }
}

@media (max-width: 991px) {
    .editorial-hero-watermark-wrap {
        min-height: 180px;
    }
    .hero-watermark-img.main-watermark {
        max-width: 170px;
    }
    .hero-watermark-img.sub-watermark {
        width: 70px;
    }
}

@media (max-width: 767px) {
    .editorial-hero-watermark-wrap {
        margin-top: 25px;
        min-height: 140px;
        justify-content: center;
    }
    .hero-watermark-img.main-watermark {
        max-width: 130px;
    }
    .hero-watermark-img.sub-watermark {
        width: 60px;
        right: 15%;
    }
}

/* 2. Institutional Accreditations Trust Strip */
.about-trust-strip {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 101, 120, 0.08);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
    padding: 24px 0;
}

.trust-strip-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: center;
}

.trust-strip-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid rgba(0, 101, 120, 0.06);
    transition: all 180ms ease;
}

.trust-strip-item:hover {
    background: #ffffff;
    border-color: rgba(0, 101, 120, 0.2);
    box-shadow: 0 6px 16px rgba(0, 101, 120, 0.06);
    transform: translateY(-2px);
}

.trust-strip-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 101, 120, 0.08);
    color: #006578;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.trust-strip-info {
    text-align: right;
    overflow: hidden;
}

.trust-strip-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.trust-strip-subtitle {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 2px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* 3. Luxury Floating Photo Experience Badge */
.about-image-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 32, 38, 0.12);
}

.about-image-wrap img {
    border-radius: 24px;
    width: 100%;
    display: block;
}

.about-experience-badge-luxury {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(0, 37, 44, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 16px 36px rgba(0, 20, 25, 0.35);
    border-radius: 20px;
    padding: 16px 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: right;
    z-index: 3;
}

.badge-luxury-num {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    color: #d4a457;
    font-family: var(--font-arabic-ui);
}

.badge-luxury-text {
    line-height: 1.35;
}

.badge-luxury-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.badge-luxury-text span {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.75);
}

/* 4. Bento Profile Grid */
.bento-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 22px 0;
}

.bento-profile-tile {
    background: #f8fafc;
    border: 1px solid rgba(0, 101, 120, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    transition: all 180ms ease;
    text-align: right;
}

.bento-profile-tile:hover {
    background: #ffffff;
    border-color: #006578;
    box-shadow: 0 6px 18px rgba(0, 101, 120, 0.08);
    transform: translateY(-2px);
}

.bento-tile-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 4px;
}

.bento-tile-header i {
    color: #006578;
    font-size: 0.85rem;
}

.bento-tile-value {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
}

/* 5. Interactive Clinical Scope Matrix (Tabs & Micro Bento) */
.clinical-scope-hub {
    margin: 24px 0 28px;
    background: #ffffff;
    border: 1px solid rgba(0, 101, 120, 0.1);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.scope-hub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.scope-hub-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scope-hub-title i {
    color: #c97532;
}

.scope-hub-hint {
    font-size: 0.78rem;
    color: #64748b;
}

.scope-segmented-nav {
    display: flex;
    gap: 6px;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.scope-tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 160ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.scope-tab-btn.active {
    background: #006578;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 101, 120, 0.25);
}

.scope-panel {
    display: none;
}

.scope-panel.active {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    animation: scopeFade 200ms ease;
}

@keyframes scopeFade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scope-item-card {
    background: #f8fafc;
    border: 1px solid rgba(0, 101, 120, 0.06);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: all 160ms ease;
    text-align: right;
}

.scope-item-card:hover {
    background: #ffffff;
    border-color: #006578;
    box-shadow: 0 4px 14px rgba(0, 101, 120, 0.08);
}

.scope-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0, 101, 120, 0.08);
    color: #006578;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.scope-item-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 2px;
}

.scope-item-desc {
    font-size: 0.74rem;
    color: #64748b;
    line-height: 1.35;
    margin: 0;
}

/* 6. Why Choose Us Apple / Fluent Cards */
.why-choose-luxury {
    padding: 90px 0;
    background: #fcfbf9;
    position: relative;
}

.why-card-fluent {
    background: #ffffff;
    border: 1px solid rgba(0, 101, 120, 0.08);
    border-radius: 20px;
    padding: 34px 28px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 220ms cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
    text-align: right;
    display: flex;
    flex-direction: column;
}

.why-card-fluent:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 101, 120, 0.25);
    box-shadow: 0 16px 36px rgba(0, 101, 120, 0.09);
}

.why-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.why-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(0, 101, 120, 0.07);
    color: #006578;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 200ms ease;
}

.why-card-fluent:hover .why-card-icon {
    background: #006578;
    color: #ffffff;
    transform: scale(1.05);
}

.why-card-index {
    font-size: 1.8rem;
    font-weight: 800;
    color: rgba(0, 101, 120, 0.12);
    font-family: var(--font-arabic-ui);
    line-height: 1;
}

.why-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.35;
}

.why-card-text {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.75;
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 0;
}

/* 7. macOS Segmented Control for Timeline */
.timeline-segmented-wrap {
    display: inline-flex;
    background: #e2e8f0;
    padding: 6px;
    border-radius: 100px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
    margin-bottom: 36px;
}

.timeline-segmented-btn {
    border: none;
    background: transparent;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 180ms ease;
    font-family: var(--font-arabic-ui);
}

.timeline-segmented-btn.active {
    background: #006578;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0, 101, 120, 0.28);
}

.timeline-card-luxury {
    background: #ffffff;
    border: 1px solid rgba(0, 101, 120, 0.1);
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.03);
    transition: all 180ms ease;
    text-align: right;
    position: relative;
}

.timeline-card-luxury:hover {
    border-color: #006578;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 101, 120, 0.08);
}

.timeline-badge-pill {
    background: rgba(201, 117, 50, 0.12);
    color: #c97532;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .trust-strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-profile-grid {
        grid-template-columns: 1fr;
    }
    .scope-panel.active {
        grid-template-columns: 1fr;
    }
    .about-experience-badge-luxury {
        position: static;
        margin-top: 16px;
    }
}

@media (max-width: 576px) {
    .trust-strip-grid {
        grid-template-columns: 1fr;
    }
    .scope-segmented-nav {
        flex-direction: column;
    }
}

/* ===============================
   APPOINTMENT IMAGE POLISH
================================ */
.appointment-image img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0, 101, 120, 0.14);
    border: 1px solid rgba(0, 101, 120, 0.10);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.appointment-image:hover img {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(0, 101, 120, 0.18);
}

