/* ============================================
   LEVANTINE DENTAL CLINIC - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --gold: #DE9232;
    --gold-grad: linear-gradient(275deg, #FCB656 50%, #B97C32 100%);
    --gold-grad-hover: linear-gradient(275deg, #FFC46E 50%, #C98A3C 100%);
    --gold-light: #E09D40;
    --dark: #1A1A1A;
    --dark-bg: #222222;
    --dark-card: #2A2A2A;
    --dark-lighter: #333333;
    --white: #FFFFFF;
    --gray: #999999;
    --gray-light: #F5F5F5;
    --text-light: #E9E8E6;
    --font-heading: 'Cairo', sans-serif;
    --font-body: 'Cairo', sans-serif;
    --font-slide: 'Montserrat', sans-serif;
    --container: 1200px;
    --header-height: 80px;
    --transition: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Anchor links land just below the sticky header (desktop: header only; mobile: top bar + header) */
section[id], div[id].page-section, [id="booking"] {
    scroll-margin-top: calc(var(--header-height) + 20px);
}
@media (max-width: 768px) {
    section[id], div[id].page-section, [id="booking"] { scroll-margin-top: calc(var(--header-height) + 65px); }
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--white);
    background-color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.gold {
    background: linear-gradient(135deg, #EEAB3D 0%, #DE9232 40%, #C87A28 70%, #DE9232 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.light {
    color: var(--text-light);
}

/* Section Styles */
.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    background: linear-gradient(135deg, #EEAB3D 0%, #DE9232 40%, #C87A28 70%, #DE9232 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title.center {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #F5F5F5;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.125rem;
    font-weight: 400;
}

.section-label {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--gold);
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background: transparent;
    color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-grad);
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold-grad);
    color: var(--dark);
}

.btn-dark {
    background: var(--dark-card);
    color: var(--white);
    border: 1px solid var(--dark-lighter);
}

.btn-dark:hover {
    background: var(--dark-lighter);
}

.btn-lg {
    padding: 18px 48px;
    font-size: 1rem;
}

/* ==================
   TOP BAR
   ================== */
.top-bar {
    background: #6B6B6B;
    padding: 8px 0;
    font-size: 0.8rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left a,
.top-bar-left span {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left a:hover {
    color: var(--gold);
}

.top-bar-right {
    display: flex;
    gap: 12px;
}

.top-bar-right a {
    color: var(--white);
    font-size: 1rem;
}

.top-bar-right a:hover {
    color: var(--gold);
}

/* ==================
   HEADER / NAV
   ================== */
.header {
    background: var(--dark-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    height: var(--header-height);
    gap: 30px;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 55px;
    width: auto;
}

.nav-top {
    flex: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color var(--transition);
}

/* 10-item menu: tighten spacing on narrower desktops so nothing wraps or clips */
@media (min-width: 993px) and (max-width: 1440px) {
    .nav-menu > li > a { padding: 10px 8px; font-size: 0.78rem; }
    .header-inner { gap: 18px; }
    .header-cta { padding: 8px 14px; font-size: 0.78rem; }
    .header-sep { margin: 0 2px 0 8px; }
    .header-lang { font-size: 0.88rem; gap: 6px; }
}
@media (min-width: 993px) and (max-width: 1100px) {
    .nav-menu > li > a { padding: 10px 5px; font-size: 0.72rem; }
    .nav-menu > li > a .fa-chevron-down { font-size: 0.5rem; }
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--gold);
}

.nav-menu > li > a .fa-chevron-down {
    font-size: 0.6rem;
    transition: transform var(--transition);
}

.nav-arabic {
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* Dropdowns */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--dark-card);
    border: 1px solid var(--dark-lighter);
    border-radius: 4px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.nav-top .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 8px 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.dropdown li a:hover {
    color: var(--gold);
    background: rgba(212, 160, 60, 0.05);
}

/* Menu Toggle (always visible) */
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 9px 18px;
    border-radius: 30px;
    background: var(--gold-grad);
    color: #1a1a1a;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all var(--transition);
}
.header-cta:hover { background: var(--gold-light); color: #1a1a1a; transform: translateY(-1px); }
.header-cta i { font-size: 0.9rem; }
@media (min-width: 993px) and (max-width: 1280px) { .header-cta { padding: 8px 14px; font-size: 0.78rem; }
}
@media (max-width: 576px) { .header-cta { display: none; }
}
html[dir="rtl"] .header-cta { margin-left: auto; }

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin-left: 14px;
    flex-shrink: 0;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Side Menu */
.nav-side {
    position: fixed;
    top: var(--header-height);
    right: -300px;
    width: 300px;
    height: calc(100vh - var(--header-height));
    background: var(--dark-bg);
    border-left: 1px solid var(--dark-lighter);
    overflow-y: auto;
    z-index: 999;
    transition: right 0.3s ease;
}

.nav-side.open {
    right: 0;
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--header-height);
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}

.side-menu {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.side-menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 24px;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color var(--transition);
}

.side-menu > li > a:hover {
    color: var(--gold);
}

.side-menu > li > a .fa-chevron-down {
    font-size: 0.6rem;
    transition: transform var(--transition);
    margin-left: auto;
}

.side-menu .has-dropdown.open > a .fa-chevron-down {
    transform: rotate(180deg);
}

.side-menu .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    min-width: 0;
    background: rgba(0, 0, 0, 0.2);
    display: none;
    padding: 4px 0;
}

.side-menu .has-dropdown.open .dropdown {
    display: block;
}

.side-menu .dropdown li a {
    padding: 10px 24px 10px 40px;
    font-size: 0.88rem;
    color: var(--text-light);
}

.side-menu .dropdown li a:hover {
    color: var(--gold);
    background: rgba(212, 160, 60, 0.05);
}

/* ==================
   HERO SLIDER
   ================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: calc(100vh - 130px);
    min-height: 500px;
    overflow: hidden;
    background-color: #1A1A1A;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slides.animated .slide {
    transition: opacity 0.8s ease;
}

/* Slide background image - use <img> for Safari compat */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Dark gradient overlay */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.5) 55%, rgba(0,0,0,0.8) 75%, rgba(0,0,0,0.85) 100%);
}

.slide.text-left .slide-overlay {
    background: linear-gradient(270deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.5) 55%, rgba(0,0,0,0.8) 75%, rgba(0,0,0,0.85) 100%);
}

/* Text content - absolutely positioned */
.slide-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    box-sizing: border-box;
}

.slide.text-left .slide-content {
    right: auto;
    left: 0;
    padding: 40px 50px;
}

.slide.text-right .slide-content {
    right: 0;
    left: auto;
    width: 38%;
    padding: 40px 60px 40px 40px;
    padding-top: 160px;
}

.slide-sleep-apnea .slide-overlay {
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.3) 55%, rgba(0,0,0,0.6) 75%, rgba(0,0,0,0.7) 100%);
}

.slide-sleep-apnea .slide-title.sleep-apnea-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1.4;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.slide-sleep-apnea .slide-title.sleep-apnea-title strong {
    font-weight: 800;
}

.slide-subtitle {
    font-family: var(--font-slide);
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.slide-title {
    font-family: var(--font-slide);
    font-size: 4.5rem;
    font-weight: 500;
    color: #E09D40;
    margin-bottom: 20px;
    line-height: 1.05;
    text-transform: uppercase;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.slide-text {
    font-family: var(--font-slide);
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.8;
    text-align: justify;
    text-transform: none;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

a.slide-cta {
    display: inline-block;
    font-family: var(--font-slide);
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    background: var(--gold-grad);
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    text-transform: none;
    letter-spacing: normal;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    white-space: nowrap;
    align-self: center;
}

.slide-cta:hover {
    background: var(--gold-hover);
    color: #fff;
}

.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0;
}

.slider-dot {
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-dot::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transition: all var(--transition);
}

.slider-dot.active::before {
    background: var(--gold-grad);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.4);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--gold-grad);
    color: var(--dark);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* ==================
   ABOUT SECTION
   ================== */
.about-section {
    padding: 80px 0;
    background: var(--dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border: 3px solid var(--gold);
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #EEAB3D 0%, #DE9232 40%, #C87A28 70%, #DE9232 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.about-role {
    color: rgb(147, 156, 167);
    font-weight: 700;
    font-size: 19px;
    font-style: italic;
    margin-bottom: 25px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: justify;
}

.about-signature {
    margin-top: 25px;
    max-width: 300px;
    height: auto;
    opacity: 0.9;
}

/* ==================
   SERVICES SECTION
   ================== */
.services-section {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(rgba(204, 204, 204, 0.69) 30%, rgb(255, 255, 255) 100%);
    overflow: hidden;
}

.services-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/services/services-bg.webp') center/cover no-repeat;
    opacity: 0.2;
    z-index: 0;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

.services-section .section-title,
.services-section .section-subtitle {
    color: var(--dark);
}

.services-title {
    font-family: 'Cairo', sans-serif;
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(275deg, #FCB656 50%, #B97C32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-section .section-subtitle {
    font-family: 'Cairo', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #26262F;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.service-card {
    background: var(--dark-card);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: all var(--transition);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    background: var(--dark-lighter);
}

.service-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.service-card h3 {
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #E9E8E6;
}

.services-cta {
    text-align: center;
    margin-top: 30px;
}

/* Scroll animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================
   INSURANCE SECTION
   ================== */
.insurance-section {
    padding: 80px 0;
    background: var(--white);
}

.insurance-title {
    font-family: 'Cairo', sans-serif;
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(275deg, #FCB656 50%, #B97C32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.insurance-swiper {
    margin-top: 40px;
    padding-bottom: 50px;
}

.insurance-logo {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 135px;
}

.insurance-logo img {
    width: auto;
    height: auto;
    max-height: 120px;
    max-width: 100%;
    object-fit: contain;
}

.insurance-swiper .swiper-pagination-bullet-active {
    background: var(--dark);
}

/* ==================
   PARTNERS IN CARE DEALS
   ================== */
.partners-section {
    padding: 80px 0;
    background: var(--white);
}

.partners-title {
    font-family: 'Cairo', sans-serif;
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(275deg, #FCB656 50%, #B97C32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partners-swiper {
    margin-top: 40px;
    padding-bottom: 50px;
}

.partner-logo {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
}

.partner-logo img {
    max-height: 240px;
    max-width: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.partners-swiper .swiper-pagination-bullet-active {
    background: var(--dark);
}

/* ==================
   WHY CHOOSE US
   ================== */
.why-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number,
.stat-number-text {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.stat-line {
    width: 40px;
    height: 3px;
    background: var(--gold-grad);
    margin: 0 auto;
    border-radius: 2px;
}

/* ==================
   CTA SECTION
   ================== */
.cta-section {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: calc(100% + 100px);
    background: url('../images/cta-brighten.webp') center/cover no-repeat;
    transform: translateY(var(--parallax-y, 0));
    will-change: transform;
    z-index: 0;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.cta-content .btn-cta {
    display: inline-block;
    background: linear-gradient(275deg, #FCB656 50%, #B97C32 100%);
    color: var(--white);
    font-size: 22px;
    font-weight: 600;
    padding: 20px 40px;
    border-radius: 30px;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-content .btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(252, 182, 86, 0.4);
}

/* ==================
   GOOGLE REVIEWS
   ================== */
.reviews-section {
    padding: 60px 0 80px;
    background: var(--dark-bg);
}

.reviews-header {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-subtitle {
    font-family: 'Cairo', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 15px;
}

.reviews-badge {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--white);
    margin-bottom: 10px;
}

.reviews-stars {
    margin-bottom: 10px;
}

.reviews-stars i {
    color: var(--gold); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
    margin: 0 2px;
}

.reviews-count {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1rem;
}

.google-logo {
    font-size: 2rem;
    font-weight: 500;
    font-family: 'Product Sans', Arial, sans-serif;
}

.g-blue { color: #4285F4; }
.g-red { color: #EA4335; }
.g-yellow { color: #FBBC05; }
.g-green { color: #34A853; }

.reviews-swiper {
    padding-bottom: 50px;
}

.review-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-lighter);
    border-radius: 12px;
    padding: 24px;
    height: 100%;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    overflow: hidden;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-meta {
    flex: 1;
}

.review-meta strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
}

.review-meta span {
    color: #999;
    font-size: 0.8rem;
}

.review-g-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.review-stars {
    margin-bottom: 12px;
}

.review-stars i {
    color: var(--gold); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    font-size: 0.9rem;
}

.review-stars .verified {
    color: #4285F4; background: none; -webkit-text-fill-color: #4285F4;
    font-size: 0.85rem;
    margin-left: 4px;
}

.review-text {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.reviews-swiper .swiper-pagination-bullet {
    background: #666;
}

.reviews-swiper .swiper-pagination-bullet-active {
    background: var(--gold-grad);
}

.reviews-more {
    text-align: center;
    color: #E9E8E6;
    font-size: 1rem;
    margin-top: 10px;
}

.reviews-more a {
    color: var(--gold); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-decoration-color: #FCB656;
    font-weight: 700;
    text-decoration: underline;
}

.reviews-more a:hover {
    background: var(--gold-grad-hover);
}

/* ==================
   GOOGLE MAP
   ================== */
.map-section {
    position: relative;
    padding: 80px 0;
    background: url('../images/dubai-skyline.webp') center/cover no-repeat;
    background-attachment: fixed;
}

.map-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(240, 235, 228, 0.75);
    z-index: 0;
}

.map-section .container {
    position: relative;
    z-index: 1;
}

.map-title {
    font-family: 'Cairo', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--dark);
}

.map-section .section-subtitle {
    color: #555;
    margin-bottom: 30px;
}

.map-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1050px;
    margin: 0 auto;
    background: rgba(230, 230, 230, 0.8);
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    line-height: 0;
}

.map-wrapper iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 6px;
    display: block;
}

/* Contact Info Bar (inside map frame) */
.ct-info-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 30px 10px;
    line-height: 1.6;
}
.ct-info-item {
    text-align: center;
    padding: 15px 20px;
    border-right: 1px solid rgba(100, 100, 100, 0.3);
}
.ct-info-item:last-child { border-right: none; }
.ct-info-item h4 {
    color: #54595f;
    font-family: 'Cairo', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.ct-info-item p,
.ct-info-item a {
    color: #1a1a1a;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
}
.ct-info-item a { text-decoration: underline; }
.ct-info-item a:hover { opacity: 0.8; }

@media (max-width: 768px) {
    .ct-info-bar { grid-template-columns: 1fr 1fr; }
    .ct-info-item { border-bottom: 1px solid rgba(100, 100, 100, 0.3); }
    .ct-info-item:nth-child(even) { border-right: none; }
    .ct-info-item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 480px) {
    .ct-info-bar { grid-template-columns: 1fr; }
    .ct-info-item { border-right: none !important; }
    .ct-info-item:last-child { border-bottom: none; }
}

/* ==================
   TESTIMONIALS
   ================== */
.testimonials-section {
    padding: 80px 0;
    background: var(--dark);
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    margin: 40px 0;
}

.testimonial-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex-shrink: 0;
    width: calc(33.333% - 14px);
    background: var(--dark-card);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--dark-lighter);
}

.testimonial-stars {
    margin-bottom: 12px;
}

.testimonial-stars i {
    color: var(--gold); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    font-size: 0.9rem;
}

.testimonial-card h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--gold);
}

.testimonial-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gold-grad);
    border: none;
    color: var(--dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    z-index: 5;
}

.carousel-arrow:hover {
    background: var(--gold-light);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.testimonials-more {
    text-align: center;
}

/* ==================
   ARTICLES SECTION
   ================== */
.articles-section {
    padding: 80px 0;
    background: #dcdcdc;
}

.articles-section .section-title {
    color: var(--gold);
    -webkit-text-fill-color: var(--gold);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.article-card {
    display: flex;
    flex-direction: column;
    background: #797874;
    border-radius: 10px;
    padding: 10px;
    padding-bottom: 0;
    box-shadow: 5px 4px 10px rgba(98, 98, 98, 0.18);
}

.article-card-link {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
}

.article-card-link img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card-link:hover img {
    transform: scale(1.03);
}

.article-caption {
    color: var(--white);
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.5;
    padding: 14px 8px 16px;
    margin: 0;
}

/* ==================
   FOOTER
   ================== */
.footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #222222 50%, #1a1a1a 100%);
    padding: 80px 0 0;
    border-top: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr 1fr;
    gap: 0;
    align-items: center;
}

.footer-col {
    text-align: center;
    padding: 0 30px;
    position: relative;
}

.footer-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(255, 255, 255, 0.5);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.footer-heading.gold {
    color: var(--gold);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-logo-col {
    text-align: center;
    padding: 0 20px;
}

.footer-logo-img {
    max-width: 260px;
    margin: 0 auto;
    display: block;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    justify-content: center;
}

.footer-social a {
    color: var(--white);
    font-size: 1.6rem;
    transition: all var(--transition);
    width: auto;
    height: auto;
    border: none;
    border-radius: 0;
    display: inline-block;
}

.footer-social a:hover {
    color: var(--gold);
    background: transparent;
}

.tabby-footer {
    max-width: 100px;
    display: block;
    margin: 0 auto;
}

.footer-bottom {
    margin-top: 60px;
    padding: 25px 0;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.8;
}

/* ==================
   WHATSAPP FLOAT
   ================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ==================
   COOKIE CONSENT
   ================== */
.cookie-consent {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(20px);
    width: min(560px, calc(100% - 32px));
    background: rgba(26, 26, 26, 0.97);
    border: 1px solid rgba(222, 146, 50, 0.35);
    border-radius: 12px;
    padding: 22px 24px 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.cookie-consent.is-visible { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.cookie-consent h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gold);
    margin: 0 0 8px;
}
.cookie-consent p {
    font-family: 'Cairo', sans-serif;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #d8d8d8;
    margin: 0 0 16px;
}
.cookie-consent p a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn {
    flex: 1 1 140px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 11px 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition);
}
.cookie-btn.accept { background: var(--gold-grad); color: #1a1a1a; font-weight: 600; border: 1px solid var(--gold); }
.cookie-btn.accept:hover { background: var(--gold-hover, #c98c2d); }
.cookie-btn.decline { background: transparent; color: #e9e8e6; border: 1px solid rgba(255,255,255,0.35); }
.cookie-btn.decline:hover { border-color: var(--gold); color: var(--gold); }
html[dir="rtl"] .cookie-consent { direction: rtl; text-align: right; }
@media (max-width: 768px) {
    .cookie-consent {
        left: 0; right: 0; transform: translateY(20px);
        width: auto;
        bottom: calc(100px + env(safe-area-inset-bottom, 0px));   /* above the quick-contact bar */
        border-radius: 12px 12px 0 0;
        border-left: none; border-right: none; border-bottom: none;
        padding: 20px 20px 18px;
    }
    .cookie-consent.is-visible { transform: translateY(0); }
}

/* ==================
   MOBILE QUICK-CONTACT BAR (phones only)
   ================== */
.mobile-bar {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1000;
    padding: 20px 14px calc(22px + env(safe-area-inset-bottom, 0px));   /* tall strip on scroll up / at rest */
    background: rgba(20, 20, 20, 0.4);   /* 60% transparent */
    justify-content: space-around;
    align-items: center;
    pointer-events: none;           /* strip itself lets taps through; only the circles catch them */
    transition: padding 0.25s ease;
}
/* Thin strip while scrolling down — icons keep their size, only the band shrinks */
.mobile-bar.is-compact { padding: 6px 14px calc(8px + env(safe-area-inset-bottom, 0px)); }
.mobile-bar a {
    pointer-events: auto;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: rgba(243, 236, 223, 0.96);
    color: #c98c2d;
    font-size: 1.5rem;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.45);
    transition: transform 0.2s ease, background var(--transition);
}
.mobile-bar a:active { transform: scale(0.94); background: #fff; }
@media (max-width: 768px) {
    .mobile-bar { display: flex; }
    body { padding-bottom: 104px; }
    .whatsapp-float { display: none !important; }
    .back-to-top { bottom: 100px; right: 16px; }
}

/* ==================
   BACK TO TOP
   ================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--gold-grad);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 1rem;
    border: none;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
}

/* ==================
   SUBPAGE STYLES
   ================== */

/* Page Hero Banner */
.page-hero {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--dark-bg);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.8));
    z-index: 1;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.page-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(275deg, #FCB656 50%, #B97C32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-content h1 span {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--white);
    -webkit-text-fill-color: var(--white);
    margin-bottom: 8px;
}

.page-hero-content p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Page Content Sections */
.page-section {
    padding: 80px 0;
}

.page-section:nth-child(even) {
    background: var(--dark-bg);
}

.page-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 15px;
}

.page-section-header p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Two-column content layout */
.content-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-two-col.reverse {
    direction: rtl;
}

.content-two-col.reverse > * {
    direction: ltr;
}

.content-text h2 {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 700;
}

.content-text h3 {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.content-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.content-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.content-text ul li {
    color: var(--text-light);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
}

.content-text ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--gold);
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

.content-image {
    border-radius: 8px;
    overflow: hidden;
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Goals / Vision / Mission cards */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.goal-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-lighter);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform var(--transition), border-color var(--transition);
}

.goal-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.goal-card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.goal-card h3 {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.goal-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Feature cards (3-col icons with text) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* FAQ Accordion */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--dark-lighter);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--dark-card);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--white);
    padding: 18px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-family: var(--font-body);
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--gold);
}

.faq-question i {
    font-size: 0.8rem;
    transition: transform var(--transition);
    flex-shrink: 0;
}

.faq-item.open .faq-question {
    color: var(--gold);
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    padding: 0 24px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.8;
}

/* Service Detail Page */
.service-content {
    padding: 60px 0;
}

.service-content h2 {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-content h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-content ol {
    color: var(--text-light);
    padding-left: 20px;
    margin-bottom: 20px;
}

.service-content ol li {
    padding: 5px 0;
    line-height: 1.7;
}

/* Service sub-features (3 cards) */
.service-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.service-feature-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-lighter);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: border-color var(--transition);
}

.service-feature-card:hover {
    border-color: var(--gold);
}

.service-feature-card i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.service-feature-card h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 10px;
}

.service-feature-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Before/After Gallery */
.ba-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.ba-item {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--dark-lighter);
    transition: border-color var(--transition);
}

.ba-item:hover {
    border-color: var(--gold);
}

.ba-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.contact-info-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-lighter);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.contact-info-card i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 15px;
    display: block;
}

.contact-info-card h3 {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 8px;
}

.contact-info-card p, .contact-info-card a {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-info-card a:hover {
    color: var(--gold);
}

/* Google Map embed */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin: 40px 0;
    border: 2px solid var(--dark-lighter);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Gallery Grid (Smiles, Clinic, Cases) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition), transform var(--transition);
}

.gallery-item:hover {
    border-color: var(--gold);
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    background: none;
    border: none;
    z-index: 2001;
}

/* Doctor Profile Page */
.doctor-profile {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    align-items: start;
    padding: 60px 0;
}

.doctor-profile-photo {
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid var(--gold);
}

.doctor-profile-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.doctor-profile-info h1 {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 5px;
}

.doctor-profile-info h2 {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: 25px;
    font-style: italic;
}

.doctor-profile-info p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.doctor-profile-info ul {
    list-style: none;
    padding: 0;
}

.doctor-profile-info ul li {
    color: var(--text-light);
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--dark-lighter);
}

.doctor-profile-info ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--gold);
    position: absolute;
    left: 0;
}

/* Blog listing */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-lighter);
    border-radius: 8px;
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.blog-card-img {
    height: 200px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-body {
    padding: 20px;
}

.blog-card-body h3 {
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-body h3 a:hover {
    color: var(--gold);
}

.blog-card-body p {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Blog post single */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.blog-post h1 {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-post-meta {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--dark-lighter);
}

.blog-post-content h2 {
    color: var(--gold);
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.blog-post-content h3 {
    color: var(--gold-light);
    font-size: 1.2rem;
    margin: 25px 0 12px;
}

.blog-post-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.blog-post-content ul, .blog-post-content ol {
    color: var(--text-light);
    padding-left: 20px;
    margin-bottom: 20px;
}

.blog-post-content li {
    padding: 4px 0;
    line-height: 1.7;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Exclusive Offers form */
.offers-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--dark-card);
    border: 1px solid var(--dark-lighter);
    border-radius: 8px;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--dark);
    border: 1px solid var(--dark-lighter);
    border-radius: 6px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

.form-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(275deg, #FCB656 50%, #B97C32 100%);
    color: var(--dark);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-body);
    transition: opacity var(--transition);
}

.form-submit:hover {
    opacity: 0.9;
}

/* Services grid on subpages (larger with descriptions) */
.services-grid-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card-full {
    background: #27272b;
    border: none;
    border-radius: 20px;
    padding: 20px 0;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 230px;
    transition: transform var(--transition);
}

.service-card-full:hover {
    transform: translateY(-5px);
}

.service-card-full img {
    width: auto;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Insurance partners grid (page) */
.insurance-partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.insurance-partner-card {
    background: var(--white);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    transition: transform var(--transition);
}

.insurance-partner-card:hover {
    transform: translateY(-5px);
}

.insurance-partner-card img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

/* Tabby features */
.tabby-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.tabby-badge-large {
    max-width: 300px;
    display: block;
    margin: 30px auto;
}

@media (max-width: 768px) {
    .insurance-partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tabby-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .insurance-partners-grid {
        grid-template-columns: 1fr;
    }
}

.service-card-full h3 {
    font-family: 'Cairo', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #e9e8e6;
    text-transform: uppercase;
    margin-bottom: 0;
}

.service-card-full h3 a:hover {
    color: var(--gold);
}

/* Careers page */
.careers-content {
    text-align: center;
    padding: 80px 20px;
}

.careers-content h2 {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.careers-content p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

/* Video grid for Happy Patients */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.video-item {
    border-radius: 8px;
    overflow: hidden;
    background: var(--dark-card);
    border: 1px solid var(--dark-lighter);
}

.video-item iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

/* ==================
   SUBPAGE RESPONSIVE
   ================== */
@media (max-width: 1024px) {
    .services-grid-full {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 250px;
    }

    .page-hero-content h1 {
        font-size: 1.8rem;
    }

    .content-two-col {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .content-two-col.reverse {
        direction: ltr;
    }

    .doctor-profile {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .doctor-profile-photo {
        max-width: 300px;
        margin: 0 auto;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .goals-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .services-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .services-grid-full {
        grid-template-columns: 1fr;
    }
}

/* ==================
   ANIMATIONS
   ================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================
   RESPONSIVE DESIGN
   ================== */
@media (max-width: 1024px) {
    .nav-menu > li > a {
        padding: 10px 8px;
        font-size: 0.8rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 65px;
    }

    /* Top Bar: stays pinned above the header on phones; icons in logo gold */
    .top-bar {
        position: sticky;
        top: 0;
        z-index: 1001;
    }
    .top-bar { height: 45px; padding: 0; display: flex; align-items: center; }
    .header {
        top: 45px;   /* sits under the pinned 45px top bar */
    }
    .top-bar-left {
        display: none;
    }

    .top-bar-right {
        margin: 0 auto;
        gap: 22px;
    }
    .top-bar-right a {
        color: var(--gold);
        font-size: 1.27rem;   /* +10% */
        line-height: 1;
    }

    /* Hide top nav on mobile - side menu takes over */
    .nav-top {
        display: none;
    }

    /* Hero */
    .hero-slider {
        height: calc(100vh - 100px);
    }

    .slide-content {
        width: 50%;
        padding: 30px;
    }

    .slide-title {
        font-size: 3.5rem;
    }

    .slide-text {
        font-size: 0.85rem;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-content .section-title {
        font-size: 2rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Testimonials */
    .testimonial-card {
        width: calc(100% - 14px);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-col:not(:last-child)::after {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }

    .slide-content {
        width: 100%;
        right: 0;
        left: 0;
        padding: 20px;
        background: rgba(0,0,0,0.6);
        text-align: center;
        align-items: center;
    }

    .slide-title {
        font-size: 2rem;
    }

    .slide-subtitle {
        font-size: 1rem;
    }

    .slide-text {
        font-size: 0.75rem;
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.8rem;
    }
}

/* ==================
   RTL / ARABIC SUPPORT
   ================== */
html[dir="rtl"] .header { direction: ltr; }
html[dir="rtl"] .header-inner { direction: ltr; }
html[dir="rtl"] .nav-top { direction: ltr; }
html[dir="rtl"] .nav-menu { flex-direction: row-reverse !important; }
html[dir="rtl"] .nav-menu .dropdown { text-align: right; left: auto; right: 0; }
html[dir="rtl"] .has-dropdown > a .fa-chevron-down { margin-left: 0; margin-right: 5px; }
html[dir="rtl"] .nav-side { left: auto; right: -320px; }
html[dir="rtl"] .nav-side.open { right: 0; left: auto; }
html[dir="rtl"] .side-menu { text-align: right; }
html[dir="rtl"] .side-menu .dropdown { padding-left: 0; padding-right: 20px; }
html[dir="rtl"] .whatsapp-float { right: auto; left: 25px; }
html[dir="rtl"] .back-to-top { right: auto; left: 25px; }
html[dir="rtl"] .footer-grid { direction: rtl; }
html[dir="rtl"] .footer-col { text-align: center; }
/* Visit-us column keeps the right-aligned list with icons (only the hours/other columns are centered) */
html[dir="rtl"] .footer-col:has(a[href*="maps"]) { text-align: right; }
html[dir="rtl"] .footer-col:has(a[href*="maps"]) .fas { float: right; margin-top: 4px; }
/* Arabic address on one line: the visit-us column sizes to its content on wide screens */
@media (min-width: 1200px) {
    html[dir="rtl"] .footer-grid { grid-template-columns: auto 1fr 1.2fr 1fr; }
    html[dir="rtl"] .footer-col:has(a[href*="maps"]) { padding: 0 24px 0 40px; }
    html[dir="rtl"] .footer-col a[href*="maps"] { white-space: nowrap; }
}
html[dir="rtl"] .footer-col a[href^="tel:"],
html[dir="rtl"] .footer-col a[href^="mailto:"] { direction: ltr; unicode-bidi: embed; display: inline-block; }
html[dir="rtl"] .footer-col .fa-map-marker-alt,
html[dir="rtl"] .footer-col .fa-phone,
html[dir="rtl"] .footer-col .fa-envelope {
    margin-right: 0 !important;
    margin-left: 10px !important;
    
    margin-top: 4px;
}
html[dir="rtl"] .footer-bottom { direction: ltr; text-align: center; }

/* ==================
   APPOINTMENTS HERO
   ================== */
.appt-hero { display: grid; grid-template-columns: 1fr 1fr; background: #1c1c1c; color: #fff; min-height: 560px; }
.appt-hero-text { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 70px 8%; }
.appt-kicker { font-family: 'Montserrat', sans-serif; font-size: 1.05rem; font-weight: 500; letter-spacing: 6px; text-transform: capitalize; color: #e8e8e8; margin-bottom: 28px; }
.appt-with { font-family: 'Cairo', sans-serif; font-size: 2.6rem; font-weight: 700; letter-spacing: 10px; text-transform: uppercase; color: var(--gold); line-height: 1.1; margin: 0 0 10px; }
.appt-title { font-family: 'Cairo', sans-serif; font-size: 2.6rem; font-weight: 700; letter-spacing: 6px; text-transform: uppercase; color: var(--gold); line-height: 1.15; margin: 0 0 26px; }
.appt-desc { font-size: 1rem; line-height: 1.9; color: #d6d6d6; max-width: 480px; margin-bottom: 34px; }
.appt-hero-img { position: relative; min-height: 360px; }
.appt-hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
html[dir="rtl"] .appt-kicker, html[dir="rtl"] .appt-with, html[dir="rtl"] .appt-title { letter-spacing: 0; }
html[dir="rtl"] .appt-with { font-size: 2.2rem; }
html[dir="rtl"] .appt-hero-text, html[dir="rtl"] .appt-hero-text p, html[dir="rtl"] .appt-hero-text h1, html[dir="rtl"] .appt-hero-text h2 { text-align: center; }
html[dir="rtl"] .appt-kicker { font-size: 1.3rem; }
@media (max-width: 992px) {
    .appt-with, .appt-title { font-size: 2.1rem; letter-spacing: 4px; }
}
@media (max-width: 768px) {
    .appt-hero { grid-template-columns: 1fr; min-height: 0; }
    .appt-hero-text { order: 2; padding: 50px 24px 56px; }
    .appt-hero-img { order: 1; min-height: 0; aspect-ratio: 4 / 3; }
    .appt-kicker { letter-spacing: 3px; font-size: 0.9rem; margin-bottom: 18px; }
    .appt-with { font-size: 1.8rem; letter-spacing: 6px; }
    .appt-title { font-size: 1.7rem; letter-spacing: 3px; }
}

/* ==================
   FAQ PAGE (matches original)
   ================== */
.faq-hero { position: relative; min-height: 380px; display: flex; align-items: center; overflow: hidden; background: #ececec; }
.faq-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
html[dir="rtl"] .faq-hero-bg { object-position: left center; transform: scaleX(-1); }
.faq-hero-inner { position: relative; z-index: 2; padding: 60px 0; }
.faq-hero-kicker, .faq-hero-title { font-family: 'Cairo', sans-serif; font-size: 2.8rem; font-weight: 700; color: var(--gold); line-height: 1.25; margin: 0; text-align: left; }
.faq-section { background: #f0f0f0; padding: 60px 0; }
.faq-section .faq-list { max-width: 1140px; }
.faq-section .faq-item { border: none; border-radius: 0; background: transparent; box-shadow: 0 0 6px rgba(0,0,0,0.1); margin-bottom: 18px; }
.faq-section .faq-question { background: #54595f; color: #fff; padding: 20px; font-size: 1rem; font-weight: 500; }
.faq-section .faq-question:hover, .faq-section .faq-item.open .faq-question { color: var(--gold); }
.faq-section .faq-answer { background: #424242; padding: 0 28px; }
.faq-section .faq-item.open .faq-answer { padding: 20px 28px 30px; max-height: 900px; }
.faq-section .faq-answer p { color: #fff; font-size: 1.05rem; line-height: 1.8; }
html[dir="rtl"] .faq-hero-kicker, html[dir="rtl"] .faq-hero-title { text-align: right; }
html[dir="rtl"] .faq-section .faq-question { text-align: right; }
@media (max-width: 768px) {
    .faq-hero { min-height: 260px; }
    .faq-hero-kicker, .faq-hero-title { font-size: 1.9rem; }
    .faq-section { padding: 40px 0; }
    .faq-section .faq-question { padding: 16px; font-size: 0.95rem; }
    .faq-section .faq-answer p { font-size: 0.95rem; }
}

/* RTL layout: two-column image + text blocks keep the English column order (photo stays put);
   only the text inside flows right-to-left. Applies to every *-layout / *-grid / *-inner / two-col container. */
html[dir="rtl"] :is([class*="-layout"], [class*="-grid"], [class*="-inner"], [class*="two-col"], .faq-columns, .dc-type-block, .os-tmj-intro):not(.footer-grid, .header-inner, .top-bar-inner, .nav-menu, .side-menu) { direction: ltr; }
html[dir="rtl"] :is([class*="-layout"], [class*="-grid"], [class*="-inner"], [class*="two-col"], .faq-columns, .dc-type-block, .os-tmj-intro):not(.footer-grid, .header-inner, .top-bar-inner, .nav-menu, .side-menu) > * { direction: rtl; }

/* Phones: the top bar (45px) is sticky above the header, so the side menu + overlay start below both */
@media (max-width: 768px) {
    .nav-side { top: calc(var(--header-height) + 45px); height: calc(100vh - var(--header-height) - 45px); }
    .nav-overlay { top: calc(var(--header-height) + 45px); }
}
/* About hero on phones: less side padding, smaller spaced title so "L E V A N T I N E" stays on one line */
@media (max-width: 768px) {
    .about-hero > div { padding: 40px 20px !important; }
}
@media (max-width: 480px) {
    .about-hero h1 { font-size: 2rem !important; }
    .about-hero h1 span:first-child { letter-spacing: 4px !important; white-space: nowrap; }
}
@media (max-width: 992px) {
}
@media (max-width: 576px) {
}
/* Side menu: the chevron is the expand/collapse tap target, the label navigates */
.side-menu .has-dropdown > a .fa-chevron-down { padding: 10px 14px; margin: -10px -14px -10px auto; }

/* "Book an Appointment" — one look everywhere (class added to every such button; overrides per-page styles) */
a.btn-book {
    display: inline-block !important;
    box-sizing: border-box;
    width: auto !important;
    min-width: 0 !important;
    padding: 14px 32px !important;
    border: none !important;
    border-radius: 30px !important;
    background: var(--gold) !important;
    background-image: none !important;
    color: #1a1a1a !important;
    font-family: var(--font-heading) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    text-align: center !important;
    white-space: nowrap;
    max-width: 100%;
    box-shadow: none !important;
    transition: background var(--transition), transform var(--transition) !important;
}
a.btn-book:hover { background: var(--gold-light) !important; color: #1a1a1a !important; transform: translateY(-2px); }
html[dir="rtl"] a.btn-book { letter-spacing: 0 !important; }
@media (max-width: 768px) {
    a.btn-book { padding: 12px 24px !important; font-size: 14px !important; white-space: normal; }
}

/* "Other Services" slider on phones: two compact cards per view */
@media (max-width: 576px) {
    .other-services-swiper .other-service-card, .xr-other-services-swiper .xr-other-service-card { min-height: 160px; padding: 18px 10px; border-radius: 14px; }
    .other-services-swiper .other-service-card img, .xr-other-services-swiper .xr-other-service-card img { height: 72px; margin-bottom: 10px; }
    .other-services-swiper .other-service-card h4, .xr-other-services-swiper .xr-other-service-card h4 { font-size: 12px; line-height: 1.3; }
}

/* Brand gold gradient — every primary button on the site */
:root { --gold-grad: linear-gradient(275deg, #FCB656 50%, #B97C32 100%); --gold-grad-hover: linear-gradient(275deg, #FFC46E 50%, #C98A3C 100%); }

/* Phones/tablets: nav is hidden, so push the hamburger to the right edge */
@media (max-width: 768px) {
    .header-inner { justify-content: space-between; }
    .menu-toggle { margin-left: auto; }
}

/* Brand gradient on gold headline text (solid gold stays for icons, links and hover states) */
.gold, .section-title .gold, .stat-number, .stat-number-text, .page-section-header h2, .content-text h2, .content-text h3,
.service-content h2, .service-content h3, .doctor-profile-info h1, .blog-post h1, .blog-post-content h2, .blog-post-content h3,
.careers-content h2, .articles-section .section-title, .appt-with, .appt-title, .faq-hero-title, .goal-card h3, .contact-info-card h3,
.testimonial-card h4, .cookie-consent h3, .footer-heading.gold, .about-title {
    background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--gold); text-shadow: none;
}
.section-title .gold, span.gold { display: inline-block; }
h1.gold, h2.gold, h3.gold, h4.gold { display: block; }
@media (min-width: 769px) {
    .slide-title { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; display: inline-block; }
}

/* Agapetec credit: always LTR + English, centred, regardless of page language */
.footer-credit, html[dir="rtl"] .footer-credit { direction: ltr; text-align: center; unicode-bidi: isolate; }
.footer-credit a { direction: ltr; unicode-bidi: isolate; display: inline-flex; align-items: center; gap: 6px; }

/* Header language switch: separator + globe + language (same spot in EN and AR; header is LTR) */
.header-sep { width: 1px; height: 32px; background: rgba(255,255,255,0.3); margin: 0 4px 0 14px; flex-shrink: 0; }
.header-lang { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; line-height: 1; padding: 6px 4px; white-space: nowrap; flex-shrink: 0; transition: color var(--transition); }
.header-lang:hover { color: var(--gold); }
.header-lang .lp-globe { flex-shrink: 0; }
html[dir="rtl"] .header-lang { font-family: 'Montserrat', sans-serif; }
@media (max-width: 768px) { .header-sep { display: none; } .header-lang { margin-left: auto; font-size: 0.88rem; } .menu-toggle { margin-left: 14px; } }

/* Wide screens: give the header room for nav + Book + language (content width 1200 is too tight) */
@media (min-width: 1441px) { .header .container { max-width: 1400px; } }
/* Arabic footer address keeps RTL word order (grid column is forced LTR) */
html[dir="rtl"] .footer-col a[href*="maps"]{direction:rtl;unicode-bidi:isolate}
