/**
 * FLYDOC — Polyclinic T1 — style.css
 * Upload to: /public_html/app/website/themes/polyclinic-t1/style.css
 * Primary colour, fonts & radii are injected via CSS variables in head.php
 */

/* ── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--p-font, 'Inter'), sans-serif; color: var(--h-color, #1A202C); background: #fff; line-height: 1.6; font-size: 15px; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; transition: .2s; }
ul   { list-style: none; }

/* ── CONTAINER ──────────────────────────────────────────────────── */
.fd-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── TOP BAR ────────────────────────────────────────────────────── */
.fd-topbar { background: var(--brand-dark, #122F54); padding: 8px 0; }
.fd-topbar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.fd-topbar-left  { display: flex; gap: 20px; flex-wrap: wrap; }
.fd-topbar-right { display: flex; gap: 8px; align-items: center; }
.fd-topbar-left a, .fd-topbar-left span { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(255,255,255,.65); font-weight: 400; }
.fd-topbar-left i { color: rgba(255,255,255,.35); font-size: 10px; }
.fd-topbar-right a { width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.15); border-radius: 5px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); font-size: 10px; }
.fd-topbar-right a:hover { border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.85); }

/* ── NAVBAR ─────────────────────────────────────────────────────── */
.fd-navbar { background: #fff; border-bottom: 2px solid var(--brand, #1B4F8A); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 16px rgba(0,0,0,.05); }
.fd-nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0; height: 68px; }
.fd-nav-logo img { height: 48px; width: auto; object-fit: contain; }
.fd-nav-logo-fallback { display: flex; align-items: center; gap: 10px; }
.fd-nav-logo-icon { width: 40px; height: 40px; background: var(--brand); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fd-nav-logo-icon i { font-size: 17px; color: #fff; }
.fd-nav-logo-name { font-size: 15px; font-weight: 700; color: var(--brand); line-height: 1.2; }
.fd-nav-logo-sub  { font-size: 9px; color: #718096; letter-spacing: .8px; text-transform: uppercase; }
.nav-links { display: flex; gap: 0; margin: 0; }
.nav-links li a { display: flex; align-items: center; height: 68px; padding: 0 14px; font-size: 13px; font-weight: 500; color: #4A5568; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: .15s; white-space: nowrap; }
.nav-links li a:hover, .nav-links li a.active { color: var(--brand); border-bottom-color: var(--brand); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.btn-wa-nav { display: flex; align-items: center; gap: 6px; background: #25D366; color: #fff; font-size: 12px; font-weight: 600; padding: 8px 14px; border-radius: var(--btn-radius, 6px); }
.btn-appt   { display: flex; align-items: center; gap: 6px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; padding: 8px 16px; border-radius: var(--btn-radius, 6px); }
.btn-wa-nav:hover { background: #1da851; }
.btn-appt:hover   { background: var(--brand-dark); }

/* ── SECTION COMMON ─────────────────────────────────────────────── */
.fd-section-wrap { }
.fd-section-header { margin-bottom: 44px; }
.fd-section-header.center { text-align: center; }
.fd-section-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.fd-section-tag::after { content: ''; display: inline-block; width: 40px; height: 1px; background: var(--brand); opacity: .3; margin-left: 4px; }
.fd-section-header.center .fd-section-tag::after { display: none; }
.fd-section-title { font-size: 28px; font-weight: 700; color: var(--h-color, #1A202C); line-height: 1.25; margin-bottom: 10px; }
.fd-section-sub   { font-size: 14px; color: var(--p-color, #4A5568); line-height: 1.7; max-width: 580px; }
.fd-section-header.center .fd-section-sub { margin: 0 auto; }

/* ── BUTTONS ────────────────────────────────────────────────────── */
.fd-btn { display: inline-flex; align-items: center; gap: 7px; padding: 11px 22px; border-radius: var(--btn-radius, 6px); font-size: 13.5px; font-weight: 600; transition: .2s; cursor: pointer; border: none; }
.fd-btn-primary { background: var(--brand); color: #fff; }
.fd-btn-primary:hover { background: var(--brand-dark); color: #fff; }
.fd-btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.fd-btn-outline:hover { background: var(--brand); color: #fff; }

/* ── HERO ───────────────────────────────────────────────────────── */
.fd-hero { position: relative; background: var(--brand); overflow: hidden; }
.fd-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.28); }
.fd-hero-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding: 56px 0 52px; position: relative; z-index: 2; align-items: center; }
.fd-hero-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.fd-hero-title { font-size: 38px; font-weight: 700; color: #fff; line-height: 1.18; margin-bottom: 12px; }
.fd-hero-sub   { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.8; margin-bottom: 26px; max-width: 420px; }
.fd-hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; overflow: hidden; margin-bottom: 26px; }
.fd-hero-stat  { padding: 14px 8px; text-align: center; position: relative; }
.fd-hero-stat:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 20%; height: 60%; width: 1px; background: rgba(255,255,255,.1); }
.fd-hero-stat-num { font-size: 22px; font-weight: 700; color: #fff; line-height: 1; }
.fd-hero-stat-num sup { font-size: 12px; color: #90C4FF; vertical-align: super; }
.fd-hero-stat-lbl { font-size: 9px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .7px; margin-top: 4px; }
.fd-hero-stat-div { /* separator handled by ::after */ }
.fd-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.fd-btn-hero-wa   { display: flex; align-items: center; gap: 7px; background: #25D366; color: #fff; font-size: 13px; font-weight: 600; padding: 11px 20px; border-radius: var(--btn-radius, 6px); }
.fd-btn-hero-call { display: flex; align-items: center; gap: 7px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 13px; font-weight: 500; padding: 11px 20px; border-radius: var(--btn-radius, 6px); }
.fd-btn-hero-wa:hover   { background: #1da851; }
.fd-btn-hero-call:hover { background: rgba(255,255,255,.18); }

/* BOOKING CARD */
.fd-hero-card-wrap { display: flex; align-items: center; justify-content: center; }
.fd-hero-card { background: #fff; border-radius: 14px; padding: 24px; box-shadow: 0 24px 80px rgba(0,0,0,.3); width: 100%; }
.fd-hero-card-head { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid #E2E8F0; }
.fd-hero-card-title { font-size: 14px; font-weight: 700; color: var(--brand); display: flex; align-items: center; gap: 7px; margin-bottom: 3px; }
.fd-hero-card-sub   { font-size: 10px; color: #718096; }
.fd-form-label { font-size: 9.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #718096; margin-bottom: 4px; margin-top: 10px; }
.fd-form-label:first-child { margin-top: 0; }
.fd-form-group input,
.fd-form-group select { width: 100%; border: 1px solid #E2E8F0; border-radius: var(--btn-radius, 6px); padding: 9px 12px; font-size: 12.5px; color: var(--h-color); font-family: var(--p-font, 'Inter'), sans-serif; background: #F7F9FC; transition: .15s; }
.fd-form-group input:focus,
.fd-form-group select:focus { outline: 2px solid var(--brand); background: #fff; }
.fd-form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fd-form-submit { width: 100%; background: var(--brand); color: #fff; font-size: 13px; font-weight: 600; padding: 11px; border-radius: var(--btn-radius, 6px); border: none; cursor: pointer; font-family: var(--p-font), sans-serif; margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 7px; transition: .2s; }
.fd-form-submit:hover { background: var(--brand-dark); }
.fd-form-wa-alt { text-align: center; font-size: 11px; color: #718096; margin-top: 10px; }
.fd-form-wa-alt a { color: #25D366; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.fd-form-alert-ok  { background: #F0FDF4; color: #16A34A; border-radius: 7px; padding: 9px 12px; font-size: 11px; font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.fd-form-alert-err { background: #FEF2F2; color: #DC2626; border-radius: 7px; padding: 9px 12px; font-size: 11px; font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }

/* ── ABOUT ──────────────────────────────────────────────────────── */
.fd-about-section, .fd-about-page-section { padding: 80px 0; background: #fff; }
.fd-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.fd-about-img-wrap { position: relative; border-radius: 14px; overflow: visible; }
.fd-about-img-wrap img { width: 100%; border-radius: 14px; object-fit: cover; aspect-ratio: 4/3; display: block; }
.fd-about-img-placeholder { width: 100%; aspect-ratio: 4/3; background: var(--brand-light, #EBF2FF); border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.fd-about-img-placeholder i { font-size: 56px; color: var(--brand); opacity: .15; }
.fd-about-exp-badge { position: absolute; bottom: -20px; right: -20px; background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; padding: 14px 18px; box-shadow: 0 8px 28px rgba(0,0,0,.12); text-align: center; }
.fd-about-exp-num { font-size: 28px; font-weight: 700; color: var(--brand); line-height: 1; }
.fd-about-exp-num sup { font-size: 14px; }
.fd-about-exp-lbl { font-size: 10px; color: #718096; line-height: 1.4; margin-top: 3px; }
.fd-about-text { padding-left: 8px; }
.fd-about-body { font-size: 14px; color: var(--p-color, #4A5568); line-height: 1.85; margin-bottom: 20px; }
.fd-about-long { font-size: 13.5px; color: var(--p-color, #4A5568); line-height: 1.8; margin-bottom: 20px; }
.fd-about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.fd-about-feat { display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; border: 1px solid #E2E8F0; border-radius: 8px; background: #F7F9FC; }
.fd-about-feat-icon { width: 30px; height: 30px; border-radius: 7px; background: var(--brand-light, #EBF2FF); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.fd-about-feat-icon i { font-size: 13px; color: var(--brand); }
.fd-about-feat-title { font-size: 12px; font-weight: 600; color: var(--h-color); line-height: 1.3; }
.fd-about-feat-text  { font-size: 10.5px; color: var(--p-color, #4A5568); line-height: 1.5; }
.fd-about-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ── SERVICES ───────────────────────────────────────────────────── */
.fd-services-section { padding: 80px 0; background: #F7F9FC; }
.fd-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.fd-svc-card { border: 1px solid #E2E8F0; border-radius: 10px; overflow: hidden; background: #fff; display: block; transition: .2s; }
.fd-svc-card:hover { box-shadow: 0 8px 28px rgba(27,79,138,.1); border-color: var(--brand); transform: translateY(-2px); }
.fd-svc-thumb { position: relative; aspect-ratio: 16/10; background: #EBF2FF; overflow: hidden; }
.fd-svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fd-svc-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.fd-svc-thumb-placeholder i { font-size: 36px; color: var(--brand); opacity: .15; }
.fd-svc-thumb-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(14,42,92,.75)); padding: 8px 12px 6px; }
.fd-svc-thumb-overlay span { font-size: 9px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: rgba(255,255,255,.9); }
.fd-svc-body { padding: 14px; }
.fd-svc-name { font-size: 13px; font-weight: 700; color: var(--h-color); margin-bottom: 5px; }
.fd-svc-desc { font-size: 11px; color: var(--p-color, #4A5568); line-height: 1.6; }
.fd-svc-link { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--brand); margin-top: 10px; }
.fd-services-footer { text-align: center; margin-top: 36px; }

/* ── DOCTORS ────────────────────────────────────────────────────── */
.fd-doctors-section { padding: 80px 0; background: #fff; }
.fd-doctors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.fd-doctor-card { border: 1px solid #E2E8F0; border-radius: 10px; overflow: hidden; background: #fff; transition: .2s; }
.fd-doctor-card:hover { box-shadow: 0 8px 28px rgba(27,79,138,.1); border-color: var(--brand); transform: translateY(-2px); }
.fd-doctor-photo { position: relative; aspect-ratio: 4/4; background: #EBF2FF; overflow: hidden; max-height: 220px; width:200px; }
.fd-doctor-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fd-doctor-photo-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--brand-light, #EBF2FF); }
.fd-doctor-photo-placeholder i { font-size: 52px; color: var(--brand); opacity: .15; }
.fd-doctor-spec-bar { position: absolute; bottom: 0; left: 0; right: 0; background: var(--brand); padding: 6px 12px; }
.fd-doctor-spec-bar { font-size: 9px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: rgba(255,255,255,.88); }
.fd-doctor-body  { padding: 14px; }
.fd-doctor-name  { font-size: 13px; font-weight: 700; color: var(--h-color); margin-bottom: 3px; }
.fd-doctor-deg   { font-size: 10.5px; color: var(--p-color, #4A5568); line-height: 1.4; margin-bottom: 8px; }
.fd-doctor-exp   { font-size: 10.5px; color: var(--brand); font-weight: 600; display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.fd-doctor-actions { display: flex; gap: 6px; }
.fd-doctor-btn-profile { flex: 1; background: var(--brand-light, #EBF2FF); color: var(--brand); font-size: 10.5px; font-weight: 600; padding: 7px; border-radius: 6px; text-align: center; }
.fd-doctor-btn-book    { flex: 1; background: var(--brand); color: #fff; font-size: 10.5px; font-weight: 600; padding: 7px; border-radius: 6px; text-align: center; }
.fd-doctor-btn-profile:hover { background: var(--brand); color: #fff; }
.fd-doctor-btn-book:hover    { background: var(--brand-dark); color: #fff; }


/* ── STATS ──────────────────────────────────────────────────────── */
.fd-stats-section { background: var(--brand); padding: 60px 0; }
.fd-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; overflow: hidden; }
.fd-stat-item { padding: 30px 16px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); position: relative; }
.fd-stat-item:last-child { border-right: none; }
.fd-stat-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.fd-stat-icon i { font-size: 18px; color: rgba(255,255,255,.65); }
.fd-stat-num { font-size: 36px; font-weight: 700; color: #fff; line-height: 1; display: inline; }
.fd-stat-sup { font-size: 18px; font-weight: 700; color: #90C4FF; display: inline; vertical-align: super; }
.fd-stat-lbl { font-size: 9.5px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .8px; margin-top: 6px; }

/* ── TESTIMONIALS ───────────────────────────────────────────────── */
.fd-testi-section { padding: 80px 0; background: #F7F9FC; }
.fd-testi-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; padding: 24px; height: 270px; display: flex; flex-direction: column; overflow: hidden; }
.fd-testi-quote { font-size: 3rem; color: var(--brand); opacity: .1; line-height: 1; margin-bottom: 6px; font-family: Georgia, serif; }
.fd-testi-stars { color: #C9860A; font-size: 12px; margin-bottom: 10px; letter-spacing: 1px; }
.fd-testi-text  { flex: 1; font-size: 12.5px; color: var(--p-color, #4A5568); line-height: 1.75; font-style: italic; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; margin-bottom: 14px; }
.fd-testi-author { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid #E2E8F0; margin-top: auto; }
.fd-testi-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.fd-testi-name   { font-size: 12.5px; font-weight: 700; color: var(--h-color); }
.fd-testi-role   { font-size: 10px; color: #718096; }
/* Dots */
#fd-testi-owl .owl-nav, #fd-video-testi-owl .owl-nav { display: none !important; }
#fd-testi-owl .owl-dots, #fd-video-testi-owl .owl-dots { text-align: center; margin-top: 24px; }
#fd-testi-owl .owl-dot span, #fd-video-testi-owl .owl-dot span { width: 7px; height: 7px; border-radius: 50%; background: #CBD5E0; margin: 0 3px; display: inline-block; transition: .3s; }
#fd-testi-owl .owl-dot.active span, #fd-video-testi-owl .owl-dot.active span { background: var(--brand); width: 18px; border-radius: 4px; }
/* Video testi */
.fd-video-testi-wrap    { margin-top: 52px; }
.fd-video-testi-heading { font-size: 20px; font-weight: 700; color: var(--h-color); text-align: center; margin-bottom: 28px; }
.fd-video-ratio { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; background: #000; }
.fd-video-ratio iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.fd-video-testi-name { text-align: center; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--brand); }

/* ── FAQ ────────────────────────────────────────────────────────── */
.fd-faq-section { padding: 100px 0; background: #fff; }
.fd-faq-list { }
.fd-faq-item { border-bottom: 1px solid #E2E8F0; padding: 0px 5px; }
.fd-faq-q { width: 100%; background: none; border: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--h-color); text-align: left; font-family: var(--p-font), sans-serif; }
.fd-faq-icon { font-size: 11px; color: var(--brand); flex-shrink: 0; transition: transform .2s; }
.fd-faq-item.open .fd-faq-icon { transform: rotate(180deg); }
.fd-faq-a { display: none; padding: 0 0 16px; font-size: 13px; color: var(--p-color, #4A5568); line-height: 1.75; }
.fd-faq-item.open .fd-faq-a { display: block; }


/* ── CTA BANNER ─────────────────────────────────────────────────── */
.fd-cta-banner { background: var(--brand); padding: 52px 0; }
.fd-cta-inner  { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.fd-cta-text h2 { font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.fd-cta-text p  { font-size: 13.5px; color: rgba(255,255,255,.7); }
.fd-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.fd-cta-btn-wa   { display: flex; align-items: center; gap: 7px; background: #25D366; color: #fff; font-size: 13px; font-weight: 600; padding: 12px 22px; border-radius: var(--btn-radius, 6px); }
.fd-cta-btn-call { display: flex; align-items: center; gap: 7px; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.3); color: #fff; font-size: 13px; font-weight: 600; padding: 12px 22px; border-radius: var(--btn-radius, 6px); }
.fd-cta-btn-wa:hover   { background: #1da851; }
.fd-cta-btn-call:hover { background: rgba(255,255,255,.2); }

/* ── CONTACT PAGE ───────────────────────────────────────────────── */
.fd-page-title { background: var(--brand); padding: 56px 0; }
.fd-page-title h1 { font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.fd-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.6); }
.fd-breadcrumb a { color: rgba(255,255,255,.75); }
.fd-breadcrumb span { color: rgba(255,255,255,.35); }
.fd-contact-section { padding: 80px 0; background: #fff; }
.fd-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.fd-contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.fd-contact-info-icon { width: 40px; height: 40px; background: var(--brand-light, #EBF2FF); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fd-contact-info-icon i { font-size: 15px; color: var(--brand); }
.fd-contact-info-label { font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #718096; margin-bottom: 3px; }
.fd-contact-info-val { font-size: 14px; color: var(--h-color); font-weight: 500; }
.fd-contact-info-val a { color: var(--brand); }
.fd-map-wrap { border-radius: 14px; overflow: hidden; border: 1px solid #E2E8F0; height: 420px; }
.fd-map-wrap iframe { width: 100%; height: 100%; display: block; }
.fd-map-placeholder { height: 420px; background: #F7F9FC; border: 1px solid #E2E8F0; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #718096; gap: 12px; }
.fd-map-placeholder i { font-size: 36px; color: var(--brand); opacity: .25; }

/* ── FOOTER ─────────────────────────────────────────────────────── -------*/
.fd-footer { padding: 52px 0 18px; background: var(--brand) !important;}
.fd-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 36px; }
.fd-footer-brand { }
.fd-footer-logo  { height: 52px; width: auto; margin-bottom: 16px; filter: brightness(1.05); }
.fd-footer-logo-text { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 14px; font-family: var(--h-font), sans-serif; }
.fd-footer-tagline { font-size: 12px; color: rgba(255,255,255,.32); line-height: 1.7; margin-bottom: 18px; }
.fd-footer-socials { display: flex; gap: 7px; }
.fd-footer-socials a { width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.12); border-radius: 7px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); font-size: 11.5px; transition: .15s; }
.fd-footer-socials a:hover { border-color: rgba(255,255,255,.3); color: #fff; }
.fd-footer-col h5 { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.06); }
.fd-footer-col ul li a { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(255,255,255,.35); margin-bottom: 9px; transition: .15s; }
.fd-footer-col ul li a i { font-size: 9px; color: rgba(255,255,255,.2); }
.fd-footer-col ul li a:hover { color: rgba(255,255,255,.75); }
.fd-footer-contacts { display: flex; flex-direction: column; gap: 12px; }
.fd-footer-contact-item { display: flex; align-items: flex-start; gap: 10px; }
.fd-footer-contact-item i { font-size: 12px; color: rgba(255,255,255,.3); margin-top: 2px; flex-shrink: 0; }
.fd-footer-contact-item span, .fd-footer-contact-item a { font-size: 12px; color: rgba(255,255,255,.35); line-height: 1.55; }
.fd-footer-contact-item a:hover { color: rgba(255,255,255,.7); }
.fd-footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 16px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.fd-footer-bottom span { font-size: 11px; color: rgba(255,255,255,.22); }
.fd-footer-bottom a { color: rgba(255,255,255,.4); font-weight: 600; }
.fd-footer-bottom a:hover { color: rgba(255,255,255,.8); }


/* ── CONTENT ROW ────────────────────────────────────────────────── */
.fd-content-row { padding: 80px 0; background: #fff; }
.fd-content-row-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.fd-content-row-grid.img-right { direction: rtl; }
.fd-content-row-grid.img-right > * { direction: ltr; }
.fd-content-row-img img { width: 100%; border-radius: 12px; object-fit: cover; }
.fd-content-row-img-placeholder { aspect-ratio: 4/3; background: var(--brand-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.fd-content-row-img-placeholder i { font-size: 40px; color: var(--brand); opacity: .2; }
.fd-content-row-text p { font-size: 14px; color: var(--p-color, #4A5568); line-height: 1.8; }

/* ── DOCTORS PAGE GRID ──────────────────────────────────────────── */
.doctors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.doctor-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 10px; overflow: hidden; transition: .2s; }
.doctor-card:hover { box-shadow: 0 8px 28px rgba(27,79,138,.1); }
.doctor-img-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; max-height: 240px; background: var(--brand-light); }
.doctor-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.doctor-dept-badge { position: absolute; bottom: 0; left: 0; right: 0; background: var(--brand); padding: 7px 12px; font-size: 9.5px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: rgba(255,255,255,.9); }
.doctor-body { padding: 16px; }
.doctor-body h4 { font-size: 14px; font-weight: 700; color: var(--h-color); margin-bottom: 4px; }
.doctor-body p  { font-size: 11.5px; color: var(--p-color, #4A5568); line-height: 1.4; }
.doctor-actions { display: flex; gap: 7px; margin-top: 12px; }
.btn-doc-profile, .btn-doc-book { flex: 1; font-size: 11px; font-weight: 600; padding: 8px; border-radius: 6px; text-align: center; }
.btn-doc-profile { background: var(--brand-light); color: var(--brand); }
.btn-doc-book    { background: var(--brand); color: #fff; }

/* ── SERVICE + BLOG DETAIL ──────────────────────────────────────── */
.fd-detail-hero { background: var(--brand); padding: 60px 0; }
.fd-detail-hero h1 { font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 8px; }

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .fd-services-grid { grid-template-columns: repeat(2, 1fr); }
    .fd-doctors-grid  { grid-template-columns: repeat(2, 1fr); }
    .fd-stats-grid    { grid-template-columns: repeat(2, 1fr); }
    .doctors-grid     { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .fd-hero-grid     { grid-template-columns: 1fr; padding: 40px 0 36px; }
    .fd-hero-title    { font-size: 28px; }
    .fd-hero-card-wrap{ display: flex !important; width: 100%; margin-top: 12px; }
    .fd-hero-card     { max-width: 100%; padding: 20px; }
    .fd-about-grid    { grid-template-columns: 1fr; gap: 40px; }
    .fd-about-exp-badge { right: 0; bottom: -16px; }
    .fd-services-grid { grid-template-columns: repeat(2, 1fr); }
    .fd-doctors-grid  { grid-template-columns: repeat(2, 1fr); }
    .fd-stats-grid    { grid-template-columns: repeat(2, 1fr); border-radius: 8px; }
    .fd-footer-grid   { grid-template-columns: 1fr 1fr; }
    .fd-contact-grid  { grid-template-columns: 1fr; }
    .fd-cta-inner     { flex-direction: column; text-align: center; }
    .fd-hero-stats    { grid-template-columns: repeat(2, 1fr); }
    .fd-content-row-grid { grid-template-columns: 1fr; }
    .fd-section-title { font-size: 22px; }
    .fd-form-row-2    { grid-template-columns: 1fr; }
    .doctors-grid     { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .fd-services-grid { grid-template-columns: 1fr; }
    .fd-doctors-grid  { grid-template-columns: 1fr; }
    .fd-footer-grid   { grid-template-columns: 1fr; }
    .fd-hero-card-wrap{ display: flex !important; padding: 0; }
}
