/* =========================================
   Blooming - Medical Tourism Website
   RTL Arabic - Saudi Arabia Audience
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
  --primary:       #1B3F7A;
  --primary-dark:  #0E2652;
  --primary-light: #2A5BAD;
  --gold:          #C9A552;
  --gold-light:    #E2C37A;
  --gold-dark:     #A07D2E;
  --bg-light:      #F5F8FD;
  --bg-section:    #EEF3FB;
  --text-dark:     #111827;
  --text-mid:      #374151;
  --text-gray:     #6B7280;
  --text-light:    #9CA3AF;
  --white:         #FFFFFF;
  --border:        #D1DCF0;
  --shadow-sm:     0 1px 3px rgba(27,63,122,.08);
  --shadow-md:     0 4px 16px rgba(27,63,122,.12);
  --shadow-lg:     0 12px 40px rgba(27,63,122,.18);
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     36px;
  --transition:    all .3s cubic-bezier(.4,0,.2,1);
}

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

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

body {
  direction: rtl;
  font-family: 'Tajawal', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

/* ── BADGES ── */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,165,82,.12); color: var(--gold-dark);
  border: 1px solid rgba(201,165,82,.3);
  padding: 6px 16px; border-radius: 50px;
  font-size: .8rem; font-weight: 700; letter-spacing: .05em;
  margin-bottom: 16px;
}
.badge-blue {
  background: rgba(27,63,122,.08); color: var(--primary);
  border-color: rgba(27,63,122,.2);
}
.badge svg { width: 14px; height: 14px; }

/* ── HEADINGS ── */
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800; color: var(--text-dark); line-height: 1.25;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem; color: var(--text-gray);
  max-width: 600px; margin: 0 auto 48px;
  line-height: 1.8;
}
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-primary { color: var(--primary); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-family: 'Tajawal', sans-serif;
  font-size: 1rem; font-weight: 700; cursor: pointer; border: 2px solid transparent;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--gold); color: var(--primary-dark);
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(201,165,82,.35);
}
.btn-primary:hover {
  background: var(--gold-dark); border-color: var(--gold-dark);
  transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,165,82,.45);
}
.btn-outline-white {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1); border-color: var(--white);
}
.btn-outline-primary {
  background: transparent; color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary); color: var(--white);
}
.btn-sm { padding: 10px 22px; font-size: .9rem; }

/* ──────────────────────────────────────────
   NAVBAR
────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  transition: var(--transition);
  padding: 0;
}
#navbar.transparent { background: transparent; }
#navbar.scrolled {
  background: rgba(14,38,82,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo .logo-icon {
  width: 42px; height: 42px; background: var(--gold);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.nav-logo .logo-icon svg { width: 24px; height: 24px; color: var(--primary-dark); }
.nav-logo .logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo .logo-en { font-size: 1.2rem; font-weight: 800; color: var(--white); letter-spacing: .02em; }
.nav-logo .logo-ar { font-size: .7rem; font-weight: 500; color: var(--gold); letter-spacing: .04em; }
.nav-logo-img { height: 50px; width: auto; display: block; }
.footer-logo-img { height: 60px; width: auto; margin-bottom: 18px; display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: rgba(255,255,255,.85); font-weight: 500; font-size: .95rem;
  padding: 8px 14px; border-radius: var(--radius-sm);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { color: var(--gold); font-weight: 700; font-size: .9rem; display: flex; align-items: center; gap: 6px; direction: ltr; }
.nav-phone svg { width: 16px; height: 16px; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: var(--transition); }

/* ──────────────────────────────────────────
   HERO
────────────────────────────────────────── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #0E2652 0%, #1B3F7A 50%, #24538F 100%);
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg-shapes {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.hero-circle {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.hero-circle-1 { width: 600px; height: 600px; top: -200px; left: -200px; }
.hero-circle-2 { width: 400px; height: 400px; bottom: -100px; right: 10%; background: rgba(201,165,82,.06); }
.hero-circle-3 { width: 200px; height: 200px; top: 30%; right: 30%; background: rgba(201,165,82,.04); }

.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,165,82,.15); border: 1px solid rgba(201,165,82,.4);
  color: var(--gold-light); padding: 8px 20px; border-radius: 50px;
  font-size: .85rem; font-weight: 700; margin-bottom: 28px;
  letter-spacing: .04em;
}
.hero-badge .dot {
  width: 8px; height: 8px; background: var(--gold);
  border-radius: 50%; animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.8); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900; color: var(--white); line-height: 1.2;
  margin-bottom: 20px;
}
.hero-title .highlight {
  color: var(--gold);
  position: relative; display: inline-block;
}
.hero-subtitle {
  font-size: 1.1rem; color: rgba(255,255,255,.75);
  max-width: 560px; line-height: 1.85; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-trust {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.7); font-size: .85rem;
}
.trust-item svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

.hero-visual {
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 45%; max-width: 500px;
  display: flex; align-items: center; justify-content: center;
}
.hero-medical-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 32px; width: 100%;
}
.hero-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.hero-stat-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 24px 20px; text-align: center;
}
.hero-stat-card .stat-num {
  font-size: 2.2rem; font-weight: 900; color: var(--gold);
  line-height: 1; display: block; margin-bottom: 6px;
}
.hero-stat-card .stat-label {
  font-size: .8rem; color: rgba(255,255,255,.65); font-weight: 500;
}
.hero-stat-card .stat-icon {
  width: 36px; height: 36px; background: rgba(201,165,82,.15);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 12px;
}
.hero-stat-card .stat-icon svg { width: 20px; height: 20px; color: var(--gold); }

/* ──────────────────────────────────────────
   STATS BAR
────────────────────────────────────────── */
#stats-bar {
  background: var(--primary-dark);
  padding: 32px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; text-align: center;
}
.stat-item {
  padding: 20px; border-left: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-left: none; }
.stat-number {
  font-size: 2.4rem; font-weight: 900; color: var(--gold);
  line-height: 1; display: block; margin-bottom: 4px;
}
.stat-label { font-size: .85rem; color: rgba(255,255,255,.65); font-weight: 500; }

/* ──────────────────────────────────────────
   SERVICES
────────────────────────────────────────── */
#services { background: var(--bg-light); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 36px 28px; border: 1px solid var(--border);
  transition: var(--transition); cursor: default;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(201,165,82,.1) 0%, transparent 70%);
  border-radius: 0 var(--radius-md) 0 100%;
}
.service-card:hover {
  border-color: var(--gold); transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 60px; height: 60px; border-radius: var(--radius-sm);
  background: var(--bg-section); display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px; transition: var(--transition);
}
.service-icon svg { width: 30px; height: 30px; color: var(--primary); }
.service-card:hover .service-icon { background: var(--gold); }
.service-card:hover .service-icon svg { color: var(--white); }
.service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.service-card p { font-size: .9rem; color: var(--text-gray); line-height: 1.75; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 700; font-size: .88rem;
  margin-top: 16px; transition: var(--transition);
}
.service-link svg { width: 16px; height: 16px; transition: var(--transition); }
.service-card:hover .service-link { color: var(--gold-dark); }
.service-card:hover .service-link svg { transform: translateX(-4px); }

/* ──────────────────────────────────────────
   WHY US
────────────────────────────────────────── */
#why-us { background: var(--white); }
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-visual {
  position: relative; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-xl); padding: 48px 40px; overflow: hidden;
}
.why-visual-bg {
  position: absolute; inset: 0; overflow: hidden;
}
.why-circle {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,.05);
}
.why-circle-1 { width: 300px; height: 300px; top: -100px; right: -100px; }
.why-circle-2 { width: 200px; height: 200px; bottom: -50px; left: -50px; }
.why-features-list { position: relative; z-index: 2; }
.why-feature-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; border-radius: var(--radius-md);
  background: rgba(255,255,255,.08); margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.1); transition: var(--transition);
}
.why-feature-item:hover { background: rgba(255,255,255,.12); }
.why-feature-item:last-child { margin-bottom: 0; }
.why-feat-icon {
  width: 44px; height: 44px; background: var(--gold);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.why-feat-icon svg { width: 22px; height: 22px; color: var(--primary-dark); }
.why-feature-item h4 { font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.why-feature-item p { font-size: .82rem; color: rgba(255,255,255,.65); line-height: 1.6; }

.why-content .section-subtitle { margin: 0 0 40px; text-align: right; }
.why-points { display: flex; flex-direction: column; gap: 20px; }
.why-point {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px; border-radius: var(--radius-md);
  border: 1px solid var(--border); transition: var(--transition);
}
.why-point:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.why-point-icon {
  width: 40px; height: 40px; background: rgba(27,63,122,.08);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.why-point-icon svg { width: 20px; height: 20px; color: var(--primary); }
.why-point h4 { font-size: .95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.why-point p { font-size: .85rem; color: var(--text-gray); line-height: 1.65; }

/* ──────────────────────────────────────────
   HOW IT WORKS
────────────────────────────────────────── */
#how-it-works { background: var(--bg-section); }
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; position: relative;
}
.steps-grid::before {
  content: ''; position: absolute;
  top: 40px; right: 12.5%; left: 12.5%;
  height: 2px;
  background: linear-gradient(to left, var(--primary) 0%, var(--gold) 100%);
  z-index: 0;
}
.step-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 32px 24px; text-align: center; position: relative; z-index: 1;
  border: 1px solid var(--border); transition: var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  font-size: 1.3rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; position: relative; z-index: 2;
  box-shadow: 0 0 0 8px var(--white), 0 0 0 10px var(--bg-section);
}
.step-icon { margin: 0 auto 16px; }
.step-icon svg { width: 32px; height: 32px; color: var(--gold); }
.step-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.step-card p { font-size: .85rem; color: var(--text-gray); line-height: 1.7; }

/* ──────────────────────────────────────────
   SPECIALTIES
────────────────────────────────────────── */
#specialties { background: var(--white); }
.specialties-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.specialty-card {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 28px 20px; text-align: center;
  transition: var(--transition); cursor: pointer;
  display: block; text-decoration: none; color: inherit;
}
.specialty-card:hover {
  border-color: var(--primary); background: var(--bg-section);
  transform: translateY(-3px); box-shadow: var(--shadow-md);
}
.specialty-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--bg-section); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 14px; transition: var(--transition);
}
.specialty-icon svg { width: 28px; height: 28px; color: var(--primary); }
.specialty-card:hover .specialty-icon { background: var(--primary); }
.specialty-card:hover .specialty-icon svg { color: var(--white); }
.specialty-card h4 { font-size: .95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.specialty-card p { font-size: .8rem; color: var(--text-gray); }

/* ──────────────────────────────────────────
   TESTIMONIALS
────────────────────────────────────────── */
#testimonials { background: var(--primary-dark); overflow: hidden; }
#testimonials .section-title { color: var(--white); }
#testimonials .section-subtitle { color: rgba(255,255,255,.65); }
.testimonials-track-wrapper { overflow: hidden; }
.testimonials-track {
  display: flex; gap: 24px;
  animation: scroll-testimonials 30s linear infinite;
  width: max-content;
}
.testimonials-track:hover { animation-play-state: paused; }
@keyframes scroll-testimonials {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.testimonial-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 28px; width: 320px; flex-shrink: 0;
}
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 16px; }
.testimonial-stars svg { width: 16px; height: 16px; color: var(--gold); }
.testimonial-text {
  font-size: .9rem; color: rgba(255,255,255,.8); line-height: 1.8;
  margin-bottom: 20px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); display: flex; align-items: center;
  justify-content: center; font-weight: 800; color: var(--primary-dark);
  font-size: 1rem; flex-shrink: 0;
}
.author-name { font-weight: 700; color: var(--white); font-size: .9rem; }
.author-city { font-size: .78rem; color: rgba(255,255,255,.5); }

/* ──────────────────────────────────────────
   BLOG
────────────────────────────────────────── */
#blog { background: var(--bg-light); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--white); border-radius: var(--radius-md);
  overflow: hidden; border: 1px solid var(--border);
  transition: var(--transition); display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-img {
  height: 200px; overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.blog-img-icon { width: 64px; height: 64px; opacity: .3; }
.blog-img-icon svg { width: 100%; height: 100%; color: var(--white); }
.blog-img-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 20px 20px;
}
.blog-category {
  position: absolute; top: 16px; right: 16px;
  background: var(--gold); color: var(--primary-dark);
  padding: 4px 12px; border-radius: 50px; font-size: .75rem; font-weight: 700;
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: .78rem; color: var(--text-light); margin-bottom: 12px;
}
.blog-meta svg { width: 13px; height: 13px; }
.blog-card h3 {
  font-size: 1rem; font-weight: 700; color: var(--text-dark);
  line-height: 1.5; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card p {
  font-size: .85rem; color: var(--text-gray); line-height: 1.7;
  flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-footer {
  padding: 16px 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.read-more {
  color: var(--primary); font-weight: 700; font-size: .85rem;
  display: flex; align-items: center; gap: 6px;
}
.read-more svg { width: 14px; height: 14px; transition: var(--transition); }
.blog-card:hover .read-more svg { transform: translateX(-4px); }
.read-time { font-size: .78rem; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
.read-time svg { width: 13px; height: 13px; }

.blog-cta { text-align: center; margin-top: 48px; }

/* ──────────────────────────────────────────
   FAQ
────────────────────────────────────────── */
#faq { background: var(--white); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--bg-light); overflow: hidden; transition: var(--transition);
}
.faq-item[open] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  font-size: 1rem; font-weight: 700; color: var(--text-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.faq-item summary .faq-icon svg { width: 16px; height: 16px; }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); background: var(--gold); }
.faq-item .faq-answer {
  padding: 0 24px 22px; color: var(--text-gray); font-size: .92rem; line-height: 1.85;
}

/* ──────────────────────────────────────────
   CONTACT
────────────────────────────────────────── */
#contact { background: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 1.8rem; font-weight: 800; color: var(--text-dark); margin-bottom: 12px; }
.contact-info > p { font-size: .95rem; color: var(--text-gray); line-height: 1.8; margin-bottom: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; background: var(--bg-light);
  border-radius: var(--radius-md); border: 1px solid var(--border);
}
.contact-item-icon {
  width: 44px; height: 44px; background: var(--primary);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.contact-item-icon svg { width: 22px; height: 22px; color: var(--white); }
.contact-item-text strong { display: block; font-size: .85rem; color: var(--text-mid); margin-bottom: 4px; }
.contact-item-text a, .contact-item-text span {
  font-size: .95rem; font-weight: 700; color: var(--primary);
}
.contact-item-text a:hover { color: var(--gold-dark); }
.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: white; padding: 14px 28px;
  border-radius: 50px; font-weight: 700; font-size: .95rem;
  transition: var(--transition); margin-top: 28px;
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
}
.whatsapp-btn:hover { background: #1DA851; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.45); }
.whatsapp-btn svg { width: 22px; height: 22px; }

/* Form */
.contact-form-wrapper {
  background: var(--bg-light); border-radius: var(--radius-lg);
  padding: 40px; border: 1px solid var(--border);
}
.contact-form-wrapper h3 { font-size: 1.3rem; font-weight: 700; color: var(--text-dark); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--text-mid); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Tajawal', sans-serif;
  font-size: .95rem; color: var(--text-dark);
  background: var(--white); transition: var(--transition);
  outline: none; direction: rtl;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,63,122,.08);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { cursor: pointer; }
.form-submit {
  width: 100%; margin-top: 8px; font-size: 1rem;
  padding: 16px; border-radius: var(--radius-sm);
}
.form-note { font-size: .78rem; color: var(--text-light); margin-top: 12px; text-align: center; }
.form-success {
  display: none; background: #ECFDF5; border: 1px solid #6EE7B7;
  border-radius: var(--radius-sm); padding: 16px; text-align: center;
  color: #065F46; font-weight: 600; margin-top: 16px;
}
.form-success.show { display: block; }

/* ──────────────────────────────────────────
   CTA SECTION
────────────────────────────────────────── */
#cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
#cta::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 30px 30px;
}
#cta .section-title { color: var(--white); margin-bottom: 12px; }
#cta p { color: rgba(255,255,255,.7); max-width: 500px; margin: 0 auto 36px; font-size: 1rem; }
#cta .btn-primary { font-size: 1.05rem; padding: 16px 40px; }

/* ──────────────────────────────────────────
   FOOTER
────────────────────────────────────────── */
#footer {
  background: #070F1D; color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo-en { font-size: 1.4rem; font-weight: 800; color: var(--white); }
.footer-brand .logo-ar { font-size: .75rem; color: var(--gold); letter-spacing: .06em; }
.footer-brand p { font-size: .88rem; line-height: 1.8; margin-top: 14px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.social-link:hover { background: var(--gold); border-color: var(--gold); }
.social-link svg { width: 18px; height: 18px; color: rgba(255,255,255,.7); }
.social-link:hover svg { color: var(--primary-dark); }
.footer-col h5 { font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .85rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-right: 4px; }
.footer-bottom {
  padding: 20px 0; display: flex; justify-content: space-between;
  align-items: center; font-size: .82rem;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ──────────────────────────────────────────
   BLOG PAGE
────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 140px 0 80px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 25px 25px;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--white); margin-bottom: 12px; position: relative; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1rem; max-width: 500px; margin: 0 auto; position: relative; }

.blog-filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.filter-btn {
  padding: 9px 22px; border-radius: 50px; font-size: .88rem; font-weight: 600;
  border: 2px solid var(--border); background: var(--white); color: var(--text-gray);
  cursor: pointer; transition: var(--transition); font-family: 'Tajawal', sans-serif;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary); color: var(--white); border-color: var(--primary);
}
.blog-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.blog-featured .blog-card-img { height: 280px; }
.pagination {
  display: flex; justify-content: center; gap: 8px; margin-top: 52px;
}
.page-btn {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); background: var(--white);
  font-family: 'Tajawal', sans-serif; font-weight: 600; font-size: .9rem;
  cursor: pointer; transition: var(--transition); color: var(--text-mid);
}
.page-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.page-btn:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

/* ──────────────────────────────────────────
   BLOG POST PAGE
────────────────────────────────────────── */
.post-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; padding: 64px 0; }
.post-article {}
.post-header { margin-bottom: 32px; }
.post-category-tag {
  display: inline-block; background: rgba(27,63,122,.08); color: var(--primary);
  padding: 6px 16px; border-radius: 50px; font-size: .8rem; font-weight: 700;
  margin-bottom: 16px;
}
.post-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; color: var(--text-dark); line-height: 1.3; margin-bottom: 16px; }
.post-meta-bar {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  font-size: .85rem; color: var(--text-gray);
}
.post-meta-bar span { display: flex; align-items: center; gap: 6px; }
.post-meta-bar svg { width: 15px; height: 15px; }
.post-hero-img {
  width: 100%; height: 380px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 36px; overflow: hidden;
}
.post-body { font-size: 1rem; color: var(--text-mid); line-height: 1.95; }
.post-body h2 { font-size: 1.4rem; font-weight: 800; color: var(--text-dark); margin: 32px 0 12px; }
.post-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-dark); margin: 24px 0 10px; }
.post-body p { margin-bottom: 18px; }
.post-body ul, .post-body ol { padding-right: 20px; margin-bottom: 18px; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin-bottom: 8px; }
.post-body blockquote {
  border-right: 4px solid var(--gold); padding: 16px 20px;
  background: var(--bg-section); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0; font-style: italic; color: var(--text-mid);
}
.info-box {
  background: rgba(27,63,122,.06); border: 1px solid rgba(27,63,122,.15);
  border-radius: var(--radius-md); padding: 24px; margin: 24px 0;
}
.info-box h4 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.info-box ul { list-style: none; padding: 0; }
.info-box ul li {
  padding: 6px 0; font-size: .9rem; color: var(--text-mid);
  display: flex; align-items: center; gap: 8px;
}
.info-box ul li::before {
  content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0;
}
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.tag {
  padding: 6px 14px; background: var(--bg-section); color: var(--text-mid);
  border-radius: 50px; font-size: .8rem; font-weight: 600;
  border: 1px solid var(--border); transition: var(--transition);
}
.tag:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Sidebar */
.post-sidebar {}
.sidebar-widget {
  background: var(--bg-light); border-radius: var(--radius-md);
  padding: 28px; border: 1px solid var(--border); margin-bottom: 24px;
}
.sidebar-widget h4 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.sidebar-post { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.sidebar-post:last-child { margin-bottom: 0; }
.sidebar-post-thumb {
  width: 64px; height: 64px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center;
}
.sidebar-post-thumb svg { width: 28px; height: 28px; color: rgba(255,255,255,.5); }
.sidebar-post-title { font-size: .85rem; font-weight: 600; color: var(--text-dark); line-height: 1.4; margin-bottom: 6px; }
.sidebar-post-date { font-size: .75rem; color: var(--text-light); }
.sidebar-categories { display: flex; flex-direction: column; gap: 4px; }
.sidebar-cat {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; border-radius: 6px; transition: var(--transition);
  font-size: .88rem; color: var(--text-mid); cursor: pointer;
}
.sidebar-cat:hover { background: var(--bg-section); color: var(--primary); }
.sidebar-cat .count {
  background: var(--bg-section); color: var(--text-gray);
  padding: 2px 8px; border-radius: 50px; font-size: .75rem; font-weight: 700;
}
.cta-widget {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-md); padding: 28px; text-align: center;
  margin-bottom: 24px;
}
.cta-widget h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.cta-widget p { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 20px; line-height: 1.6; }
.cta-widget .btn-primary { width: 100%; justify-content: center; }

/* ──────────────────────────────────────────
   FLOATING ACTION BUTTONS
────────────────────────────────────────── */
.floating-actions {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  display: flex; flex-direction: column; gap: 14px;
}
.float-btn {
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(0,0,0,.22);
  transition: var(--transition); position: relative; cursor: pointer;
}
.float-btn svg { width: 28px; height: 28px; }
.float-whatsapp { background: #25D366; color: #fff; }
.float-whatsapp:hover { background: #1DA851; transform: scale(1.08); }
.float-contact { background: var(--gold); color: var(--primary-dark); }
.float-contact:hover { background: var(--gold-dark); color: #fff; transform: scale(1.08); }
.float-whatsapp::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; z-index: -1; animation: float-pulse 2.2s infinite;
}
@keyframes float-pulse {
  0%   { transform: scale(1); opacity: .55; }
  80%, 100% { transform: scale(1.7); opacity: 0; }
}
.float-tooltip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--primary-dark); color: #fff;
  padding: 7px 14px; border-radius: 8px; font-size: .82rem; font-weight: 700;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: var(--transition);
  box-shadow: var(--shadow-md);
}
.float-tooltip::after {
  content: ''; position: absolute; left: -5px; top: 50%; transform: translateY(-50%);
  border-width: 5px 0 5px 6px; border-style: solid;
  border-color: transparent transparent transparent var(--primary-dark);
}
.float-btn:hover .float-tooltip { opacity: 1; right: 74px; }

/* ──────────────────────────────────────────
   SCROLL TO TOP
────────────────────────────────────────── */
#scroll-top {
  position: fixed; bottom: 28px; left: 28px; z-index: 999;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: var(--transition);
  opacity: 0; transform: translateY(10px); pointer-events: none;
}
#scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
#scroll-top:hover { background: var(--gold); transform: translateY(-2px); }
#scroll-top svg { width: 20px; height: 20px; }

/* ── Floating phone button ── */
#float-phone {
  position: fixed; bottom: 88px; left: 28px; z-index: 999;
  width: 46px; height: 46px; border-radius: 50%;
  background: #1e6feb; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(30,111,235,.4);
  transition: var(--transition); cursor: pointer; text-decoration: none;
}
#float-phone svg { width: 20px; height: 20px; }
#float-phone:hover { background: #1558c7; transform: translateY(-3px); }
#float-phone::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #1e6feb; z-index: -1; animation: float-pulse 2.5s infinite;
}
.phone-tooltip {
  position: absolute; left: 56px; top: 50%; transform: translateY(-50%);
  background: var(--primary-dark); color: #fff;
  padding: 6px 12px; border-radius: 8px; font-size: .82rem; font-weight: 700;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: var(--transition);
  box-shadow: var(--shadow-md);
}
#float-phone:hover .phone-tooltip { opacity: 1; }

/* ── Contact card phone link style ── */
.contact-phone-link {
  color: var(--gold); font-weight: 700; font-size: 1rem;
  direction: ltr; display: inline-flex; align-items: center; gap: 5px;
  text-decoration: none;
}
.contact-phone-link:hover { color: var(--gold-dark); }

/* ──────────────────────────────────────────
   MOBILE NAV
────────────────────────────────────────── */
.mobile-menu {
  display: none; position: fixed; top: 0; right: 0; bottom: 0;
  width: 280px; background: var(--primary-dark);
  z-index: 2000; padding: 80px 24px 32px;
  flex-direction: column; gap: 8px;
  box-shadow: -8px 0 40px rgba(0,0,0,.4);
  transform: translateX(100%); transition: transform .35s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  color: rgba(255,255,255,.85); font-size: 1.05rem; font-weight: 600;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  display: block;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 1999;
}
.mobile-overlay.open { display: block; }
.close-menu {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.close-menu svg { width: 24px; height: 24px; color: var(--white); }

/* Hero grid (responsive) */
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* ──────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-layout { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  .section-pad { padding: 56px 0; }
  .section-pad-sm { padding: 40px 0; }
  .container { padding: 0 18px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  .mobile-menu { display: flex; }
  #hero { min-height: auto; padding-top: 110px; padding-bottom: 56px; }
  .hero-grid { gap: 32px; }
  .hero-actions { gap: 12px; }
  .hero-trust { gap: 16px; }
  .hero-medical-card { padding: 22px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-left: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-page-grid { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .travel-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .post-layout { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .why-layout { gap: 40px; }
  .why-visual { padding: 32px 22px; }
  .specialties-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-wrapper { padding: 26px 20px; }
  .nav-logo-img { height: 40px; }
  .footer-logo-img { height: 48px; }
  .post-hero-img { height: 240px; }
  .post-title { font-size: 1.5rem; }
  /* keep floating buttons clear of scroll-top */
  .floating-actions { bottom: 20px; right: 16px; gap: 12px; }
  .float-btn { width: 52px; height: 52px; }
  #scroll-top { bottom: 20px; left: 16px; width: 42px; height: 42px; }
  #float-phone { bottom: 74px; left: 16px; width: 42px; height: 42px; }
  #float-phone svg { width: 18px; height: 18px; }
  .float-tooltip, .phone-tooltip { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .specialties-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats-grid { grid-template-columns: 1fr 1fr; }
  .badge { font-size: .72rem; }
  .section-title { font-size: 1.55rem; }
  .whatsapp-btn { width: 100%; justify-content: center; }
  .post-body { font-size: .95rem; }
  .post-meta-bar { gap: 10px; font-size: .8rem; }
}
