/* ══════════════════════════════════════════════════════════════
   CENTRE DENTAIRE FATH — CASABLANCA
   Style: Vibrant Community Warmth
   ══════════════════════════════════════════════════════════════ */

:root {
  --primary: #155B8A;
  --secondary: #FFFFFF;
  --accent-sunrise: #F4A535;
  --accent-teal: #3ABFB1;
  --warm-sand: #FBF8F3;
  --cream: #F5EFE6;
  --deep-navy: #0C2D47;
  --text-dark: #0F1E2C;
  --text-muted: #4E6A7D;
  --cta-primary: #F4A535;
  --cta-hover: #D4851A;
  --cta-blue: #155B8A;
  --cta-blue-hover: #0E3F65;
  --whatsapp: #25D366;
  --font-heading: 'Lexend', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --font-arabic: 'Cairo', sans-serif;
  --shadow-card: 0 8px 32px rgba(21, 91, 138, 0.09);
  --shadow-hover: 0 12px 40px rgba(21, 91, 138, 0.15);
  --radius-card: 16px;
  --radius-pill: 50px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --section-py: 90px;
  --placeholder-color: #c0392b;
  --placeholder-bg: #fff5f5;
  --placeholder-border: #c0392b;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  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: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 600px;
}

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

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ── Placeholder ── */
.placeholder-missing {
  color: var(--placeholder-color) !important;
  font-style: italic !important;
  border: 1px dashed var(--placeholder-border) !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  background: var(--placeholder-bg) !important;
  display: inline-block;
}

/* ── CTA Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
  gap: 8px;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-amber {
  background: var(--cta-primary);
  color: var(--secondary);
}

.btn-amber:hover {
  background: var(--cta-hover);
}

.btn-teal {
  background: var(--accent-teal);
  color: var(--secondary);
}

.btn-teal:hover {
  background: #2A9D91;
}

.btn-blue {
  background: var(--cta-blue);
  color: var(--secondary);
}

.btn-blue:hover {
  background: var(--cta-blue-hover);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--secondary);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* ── Section Alternating ── */
section {
  padding: var(--section-py) 0;
}

.bg-sand {
  background: var(--warm-sand);
}

.bg-cream {
  background: var(--cream);
}

.bg-white {
  background: var(--secondary);
}

.bg-navy {
  background: var(--deep-navy);
}

/* ── ═══ NAVIGATION ═══ ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-top: 3px solid var(--accent-sunrise);
  background: transparent;
  transition: var(--transition);
  padding: 0;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 20px rgba(12, 45, 71, 0.1);
  backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.nav-brand-main {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary);
  letter-spacing: 1.5px;
  line-height: 1;
}

.nav-brand-sub {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-sunrise);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Single language button */
.lang-btn-single {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 14px;
  border: 2px solid var(--primary);
  border-radius: var(--radius-pill);
  cursor: pointer;
  background: transparent;
  color: var(--primary);
  transition: var(--transition);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.lang-btn-single:hover {
  background: var(--primary);
  color: var(--secondary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cta-primary);
  color: var(--secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.nav-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* ── ═══ HERO ═══ ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?w=1920&q=80')
    center center / cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(12, 45, 71, 0.88) 0%,
    rgba(21, 91, 138, 0.75) 50%,
    rgba(21, 91, 138, 0.6) 100%
  );
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 50%;
  background: radial-gradient(
    ellipse at bottom right,
    rgba(244, 165, 53, 0.25) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-sunrise {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--accent-sunrise);
  border-radius: 50% 50% 0 0;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

.hero-sunrise-2 {
  position: absolute;
  bottom: -1px;
  left: 10%;
  right: 10%;
  height: 80px;
  background: var(--accent-sunrise);
  border-radius: 50% 50% 0 0;
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 24px 80px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244, 165, 53, 0.2);
  border: 1px solid rgba(244, 165, 53, 0.3);
  color: var(--accent-sunrise);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3.6rem;
  color: var(--secondary);
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.hero-doctor {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 8px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--accent-sunrise);
  animation: bounce 2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── ═══ TRUST BAR ═══ ── */
.trust-bar {
  border-bottom: 3px solid var(--accent-sunrise);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-item {
  padding: 16px;
}

.trust-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.trust-text {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--primary);
  line-height: 1.5;
}

/* ── ═══ COMMUNITY SECTION ═══ ── */
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.community-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-sunrise);
  color: var(--secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.community-text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.community-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.community-stat {
  background: var(--secondary);
  padding: 20px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: var(--transition);
}

.community-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.community-stat-icon {
  font-size: 1.8rem;
  margin-bottom: 6px;
  display: block;
}

.community-stat-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
}

/* ── ═══ ABOUT / TEAM ═══ ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-video-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 16/9;
  background: var(--cream);
}

.about-video-wrap iframe,
.about-video-wrap video {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.about-doctor-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.about-doctor-sub {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--accent-teal);
  margin-bottom: 16px;
}

.about-bio {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-quote {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--primary);
  border-left: 3px solid var(--accent-sunrise);
  padding: 16px 20px;
  margin-bottom: 24px;
  background: rgba(244, 165, 53, 0.06);
  border-radius: 0 8px 8px 0;
  line-height: 1.6;
}

/* ── ═══ SERVICES ═══ ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--secondary);
  padding: 28px 24px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  border-top: 3px solid transparent;
  text-align: center;
}

.service-card:hover {
  border-top-color: var(--accent-sunrise);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-card.emergency {
  border-top-color: #e74c3c;
}

.service-card.emergency:hover {
  border-top-color: #c0392b;
}

.service-icon-wrap {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  color: var(--accent-sunrise);
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  color: var(--primary);
}

.service-icon-wrap svg {
  width: 100%;
  height: 100%;
}

.service-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.service-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.service-emergency-note {
  margin-top: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  color: #e74c3c;
}

.service-emergency-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #e74c3c;
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── ═══ WHY CHOOSE ═══ ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.why-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--warm-sand);
  border-radius: var(--radius-card);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.why-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.why-content h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.why-content p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── ═══ TESTIMONIALS ═══ ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--secondary);
  padding: 28px 24px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border-left: 3px solid var(--accent-sunrise);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.testimonial-stars {
  color: var(--accent-sunrise);
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-disclaimer {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
  margin-top: 12px;
  display: block;
}

/* ── ═══ CTA BANNER ═══ ── */
.cta-banner {
  background: var(--deep-navy);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40%;
  height: 60%;
  background: radial-gradient(
    ellipse at bottom right,
    rgba(244, 165, 53, 0.12) 0%,
    transparent 60%
  );
  pointer-events: none;
}

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

.cta-banner-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--secondary);
  margin-bottom: 12px;
}

.cta-banner-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.cta-banner-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── ═══ CONTACT ═══ ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 10px 14px;
  background: var(--secondary);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-hover);
}

.contact-item-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item a {
  color: var(--primary);
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--accent-sunrise);
}

.contact-map {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.contact-map iframe {
  display: block;
}

.contact-map-btn {
  margin-top: 16px;
  text-align: center;
}

#cta-hours,
#footer-hours {
  white-space: pre-line;
}

/* ── ═══ FOOTER ═══ ── */
.footer {
  background: var(--deep-navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand-main {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--secondary);
  letter-spacing: 1px;
  line-height: 1;
}

.footer-phrase {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--accent-sunrise);
  margin-top: 14px;
  line-height: 1.5;
  font-style: italic;
}

.footer-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--secondary);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--accent-sunrise);
  padding-left: 4px;
}

.footer-contact-item {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-item a:hover {
  color: var(--accent-sunrise);
}

.footer-lang-btn {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.78rem;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 12px;
}

.footer-lang-btn:hover {
  border-color: var(--accent-sunrise);
  color: var(--accent-sunrise);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ── ═══ FLOATING BUTTON ═══ ── */
.floating-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.floating-btn.whatsapp {
  background: var(--whatsapp);
}

.floating-btn.phone {
  background: var(--primary);
}

.floating-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.3);
}

.floating-btn svg {
  width: 26px;
  height: 26px;
  fill: white;
}

.floating-btn.pulse {
  animation: float-pulse 2s infinite;
}

@keyframes float-pulse {
  0% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.4); }
  100% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); }
}

.floating-btn.phone.pulse {
  animation: float-pulse-blue 2s infinite;
}

@keyframes float-pulse-blue {
  0% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); }
  50% { box-shadow: 0 4px 30px rgba(21, 91, 138, 0.4); }
  100% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); }
}

/* ── ═══ MOBILE NAV OVERLAY ═══ ── */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(12, 45, 71, 0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-overlay.open {
  display: flex;
}

.mobile-overlay .nav-link {
  color: var(--secondary);
  font-size: 1.3rem;
  font-weight: 500;
}

.mobile-overlay .nav-link::after {
  background: var(--accent-sunrise);
}

.mobile-overlay .lang-btn-single {
  margin-top: 12px;
  border-color: var(--accent-sunrise);
  color: var(--accent-sunrise);
}

.mobile-overlay .lang-btn-single:hover {
  background: var(--accent-sunrise);
  color: var(--deep-navy);
}

.mobile-overlay .nav-cta {
  margin-top: 16px;
}

/* ── ═══ RTL OVERRIDES ═══ ── */
html[dir="rtl"] .community-grid {
  direction: rtl;
}

html[dir="rtl"] .about-grid {
  direction: rtl;
}

html[dir="rtl"] .about-quote {
  border-left: none;
  border-right: 3px solid var(--accent-sunrise);
  border-radius: 8px 0 0 8px;
}

html[dir="rtl"] .testimonial-card {
  border-left: none;
  border-right: 3px solid var(--accent-sunrise);
}

html[dir="rtl"] .contact-item:hover {
  transform: translateX(-4px);
}

html[dir="rtl"] .why-card {
  text-align: right;
}

html[dir="rtl"] .service-card {
  text-align: center;
}

html[dir="rtl"] .footer-grid {
  direction: rtl;
}

html[dir="rtl"] .footer-link:hover {
  padding-left: 0;
  padding-right: 4px;
}

html[dir="rtl"] .section-subtitle {
  margin-right: 0;
  margin-left: auto;
}

html[dir="rtl"] body,
html[dir="rtl"] .nav-link,
html[dir="rtl"] .btn,
html[dir="rtl"] .hero-badge,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .hero-sub,
html[dir="rtl"] .community-text,
html[dir="rtl"] .about-bio,
html[dir="rtl"] .about-quote,
html[dir="rtl"] .testimonial-text,
html[dir="rtl"] .contact-item,
html[dir="rtl"] .footer,
html[dir="rtl"] .footer-link {
  font-family: var(--font-arabic);
}

/* ── ═══ RESPONSIVE ═══ ── */

/* Tablet */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .community-grid {
    gap: 40px;
  }

  .footer-grid {
    gap: 32px;
  }

  .hero-title {
    font-size: 2.8rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-py: 60px;
  }

  .nav-links {
    display: none;
  }

  .nav-right .lang-btn-single,
  .nav-right .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

  .hero-sub {
    font-size: 0.95rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

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

  .trust-item {
    padding: 12px 8px;
  }

  .trust-text {
    font-size: 0.8rem;
  }

  .community-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-video-wrap {
    order: -1;
  }

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

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta-banner-title {
    font-size: 1.6rem;
  }

  .cta-banner-btns {
    flex-direction: column;
    align-items: center;
  }

  .cta-banner-btns .btn {
    width: 100%;
    max-width: 280px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .footer-links {
    align-items: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

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

  .hero-sunrise {
    height: 60px;
  }

  .mobile-overlay .nav-link {
    font-size: 1.1rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-content {
    padding: 100px 16px 60px;
  }

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

  .container {
    padding: 0 16px;
  }

  .btn {
    padding: 11px 22px;
    font-size: 0.85rem;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }

  .floating-btn svg {
    width: 22px;
    height: 22px;
  }

}

/* ── ═══ PREFERS REDUCED MOTION ═══ ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-scroll {
    display: none;
  }

  .floating-btn.pulse {
    animation: none;
  }
}

/* ── ═══ UTILITY ═══ ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
