/* ============================================
   
   إصدار كامل للغة العربية
   ============================================ */
   
/* ---------- إعادة التعيين والمتغيرات ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal: #1a8f8a;
  --teal-dark: #157570;
  --bg: #ffffff;
  --white: #ffffff;
  --warm: #fdf8f3;
  --text: #1a1a1a;
  --muted: #6b7280;
  --border: #e9ebee;
}

html,
body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- تنسيق أساسي للعربية ---------- */
body {
  text-align: right;
}

/* ---------- الأزرار ---------- */
.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 3rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

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

.btn-contact .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 0.85rem;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--white);
  color: var(--teal);
  border: none;
  border-radius: 3rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  background: #f0fafa;
}

/* ============================================
   شريط التنقل الرئيسي
   ============================================ */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--warm);
  flex-direction: row-reverse;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}

.logo .plus {
  font-size: 1.4rem;
  line-height: 1;
  order: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--teal);
}

/* زر القائمة للجوال */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  order: 2;
}

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

/* القائمة المنبثقة للجوال */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  display: flex;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text);
}

/* ============================================
   شارة النص
   ============================================ */
.label-badge {
  font-size: 0.8rem;
  font-weight: 500;
  color: #0d0d0d;
  letter-spacing: 0.04em;
  text-align: center;
  border: 1px solid #e9ebee;
  border-radius: 100px;
  margin-bottom: 35px;
  padding: 0.25rem 0.75rem;
  display: inline-block;
}

/* ============================================
   LOCATION SECTION
   ============================================ */
.locations {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.locations-header {
  text-align: center;
  margin-bottom: 3rem;
}

.locations-heading {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.locations-sub {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 450px;
  margin: 0 auto;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.location-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-map iframe {
  width: 100%;
  height: 200px;
  border: none;
}

.location-info {
  padding: 1.5rem;
  text-align: right;
}

.location-icon {
  width: 3rem;
  height: 3rem;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.location-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--teal);
}

.location-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.location-address {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.location-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.loc-phone,
.loc-hours {
  font-size: 0.85rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.location-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal);
  color: var(--white);
  padding: 0.7rem 1.3rem;
  border-radius: 2rem;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}

.location-btn:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .locations-grid {
    grid-template-columns: 1fr;
  }
  
  .locations {
    padding: 3rem 1.25rem;
  }
}

/* ============================================
   قسم آراء المرضى
   ============================================ */
.testimonials {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
}

.t-header {
  text-align: center;
  margin-bottom: 3rem;
}

.t-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.t-sub {
  font-size: 0.9rem;
  color: var(--muted);
}

.t-columns {
  columns: 3;
  column-gap: 1rem;
}

.t-card {
  break-inside: avoid;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.4rem 1.4rem 1.3rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.stars {
  display: flex;
  gap: 4px;
  font-size: 0.9rem;
}

.stars i {
  color: #f59e0b;  /* Warm gold color */
}

.t-text {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.65;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.1rem;
}

.avatar {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.author-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.author-spec {
  font-size: 0.75rem;
  color: var(--muted);
}




/* ============================================
   قسم الحث على الإجراء (CTA)
   ============================================ */
.cta-wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.cta-card {
  position: relative;
  background-color: var(--teal);
  border-radius: 1.5rem;
  padding: 5rem 2rem;
  text-align: center;
  overflow: hidden;
  background-image: radial-gradient(ellipse 75% 70% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.18) 100%), radial-gradient(circle, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 100% 100%, 18px 18px;
  background-color: var(--teal);
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 65% 65% at 50% 50%, transparent 30%, rgba(0, 60, 60, 0.22) 100%);
  pointer-events: none;
  z-index: 0;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.cta-heading {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 620px;
}

.cta-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  max-width: 400px;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.4rem;
}


/* ============================================
   التذييل
   ============================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 3rem 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 2rem;
  align-items: start;
  direction: rtl;
}

/* عمود العلامة التجارية */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo .plus {
  order: 1;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 270px;
  margin-bottom: 1.35rem;
}

/* أزرار التواصل الاجتماعي */
.social-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.social-btn {
  width: 2.15rem;
  height: 2.15rem;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.social-btn:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.social-btn svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: #fff;
}

/* أعمدة الروابط */
.footer-col-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.1rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--teal);
}

/* عمود العنوان */
.address-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.address-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.address-icon {
  width: 2rem;
  height: 2rem;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.address-icon svg {
  width: 0.85rem;
  height: 0.85rem;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.address-text {
  font-size: 0.875rem;
  color: var(--text);
  font-weight: 500;
}

/* الشريط السفلي */
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--teal);
}

/* ============================================
   التجاوب مع الشاشات
   ============================================ */
@media (max-width: 900px) {
  nav {
    padding: 1rem 1.5rem;
  }

  .nav-links,
  .btn-contact {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  footer {
    padding: 3rem 1.5rem 2rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
  }

  footer {
    padding: 2.5rem 1.25rem 1.75rem;
  }
}