/* Geist font loaded via PHP wp_head for non-blocking performance */

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
/* تأجيل رسم الأقسام خارج الشاشة - يحسن LCP وFID */
.stats,
.services,
.articles,
.reviews,
.faq,
footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

/* تحسين الـ animations لتعمل على GPU فقط */
.hero-floating-badge {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.pulsing-logo {
  will-change: opacity, transform;
}

/* منع layout shift للصور (CLS = 0) */
img {
  max-width: 100%;
  height: auto;
}

img[width][height] {
  aspect-ratio: attr(width) / attr(height);
}

/* إيقاف الـ animations لمن يفضل تقليل الحركة (Accessibility + Performance) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-floating-badge {
    animation: none !important;
  }
}

/* تحسين الـ Paint على الجوال */
@media (max-width: 768px) {
  /* تقليل حدة الـ animations على الجوال لتوفير الطاقة */
  .hero-floating-badge {
    animation-duration: 4s;
  }

  /* تجنب reflow بسبب font loading */
  body {
    font-synthesis: none;
  }

  /* تحسين التمرير على الجوال */
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  /* منع بطء الـ tap على iOS */
  a, button, [role="button"] {
    touch-action: manipulation;
  }
}


/* ===== CUSTOM FONT ===== */
@font-face {
  font-family: 'GE SS Unique';
  src: url('../fonts/ArbFONTS-GE_SS_Unique_Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GE SS Unique';
  src: url('../fonts/ArbFONTS-GE_SS_Unique_Light.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GE SS Unique';
  src: url('../fonts/alfont_com_AlFont_com_GE_SS_Unique_Bold_5.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GE SS Unique';
  src: url('../fonts/alfont_com_AlFont_com_GE_SS_Unique_Bold_5.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal: rgba(97, 160, 149, 1);
  --teal-dark: #4a8076;
  --teal-light: #e6f0ef;
  --teal-pale: #f0faf8;
  --dark: #666a6a;
  --dark2: #4a4d4d;
  --text: #1a1a1a;
  --text-header: rgba(102, 106, 106, 1);
  --text2: #777;
  --white: #fff;
  --off-white: #f7fbfa;
  --border: #e2eeec;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(74, 142, 133, 0.10);
  --shadow-md: 0 8px 40px rgba(74, 142, 133, 0.15);
  --transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'GE SS Unique', sans-serif;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

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

.btn-outline-teal {
  border: 2px solid var(--teal);
  color: var(--teal);
  background: transparent;
  border-radius: 50px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-outline-teal:hover {
  background: var(--teal);
  color: var(--white);
}

/* ===== DECORATIVE ELEMENTS ===== */
.top-right-decoration {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  /* رفع الطبقة لتكون فوق الخلفية */
  pointer-events: none;
  opacity: 0.6;
  width: clamp(200px, 30vw, 500px);
  /* حجم متجاوب */
}

.top-right-decoration img {
  width: 100%;
  height: auto;
  filter: blur(2px);
  /* لمسة جمالية ناعمة */
}



.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: transparent;
  border-radius: 50px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

/* ===== HEADER ===== */
.header {
  margin-bottom: 0;
  /* الافتراضي للموبايل */
}

@media (min-width: 1025px) {
  .header {
    margin-bottom: 40px;
    /* للكمبيوتر فقط */
  }
}


.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 80px;
  padding: 20px 0;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img,
.custom-logo-link img {
  height: 65px;
  width: auto;
  display: block;
}


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

.nav-links a {
  font-size: 15px;
  font-weight: 700;
  color: var(--text2);
  position: relative;
  padding-bottom: 2px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-wa {
  font-size: 14px;
  padding: 10px 20px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

/* ===== HERO ===== */
.hero {
  background: var(--off-white);
  /* padding: 60px 0 80px; */
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  align-items: center;
  gap: 0 60px;
}

.header {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

.hero-content {
  grid-column: 1;
  grid-row: 2;
}

.hero-img-col {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  justify-content: stretch;
  margin-top: 20px;
  /* تجعل المحتوى يتمدد لملء العرض */
  align-self: stretch;
  /* تجعله يملأ الارتفاع أيضاً */
}

.hero-img-wrapper {
  position: relative;
  width: 100%;
  /* تملأ كامل عرض العمود */
  height: 100%;
}



.hero-img-wrapper::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: -15px;
  left: 15px;
  /* In RTL, offset to the right means left is pushed in */
  right: -15px;
  /* In RTL, offset to the right means right is pushed out */
  border: 2px solid var(--teal);
  border-radius: 24px;
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  /* تملأ الارتفاع بالكامل */
  border-radius: 24px;
  object-fit: cover;
  /* تحافظ على تناسق الصورة دون تمطيطها */
  animation: floatUp 1s ease both;
  position: relative;
  z-index: 2;
}


.social-proof {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.avatars {
  display: flex;
}

.avatars-img {
  height: 44px;
  width: auto;
}

.social-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.social-num {
  font-size: 16px;
  font-weight: 800;
  font-family: 'Geist', sans-serif;
  color: var(--text-header);
  letter-spacing: -0.3px;
}

.social-lbl {
  font-size: 14px;
  color: #ccc;
  font-weight: 700;
}


.hero-title-wrap {
  position: relative;
  margin-bottom: 24px;
  display: inline-block;
}

.hero-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-header);
  position: relative;
  z-index: 2;
}

.hero-vector {
  position: absolute;
  bottom: 65px;
  right: 0;
  width: 382px;
  z-index: 1;
}

@keyframes floatBadge {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-12px);
  }
}

.hero-floating-badge {
  position: absolute;
  z-index: 10;
  animation: floatBadge 3s ease-in-out infinite alternate;
}

.badge-1 {
  width: 179px;
  top: 41%;
  left: 28px;
  animation-delay: 0s;
}

.badge-2 {
  width: 200px;
  top: 46%;
  right: 33px;
  animation-delay: 0.7s;
}


.badge-3 {
  width: 184px;
  bottom: 3%;
  right: 31px;
  animation-delay: 1.4s;
}

.badge-4 {
  bottom: 3%;
  left: 35px;
  animation-delay: 2.1s;
  z-index: 12;
}

/* Badge 4 Info Card Styles */
.info-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: max-content;
  min-width: 240px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.info-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-row.bg-white {
  background: var(--white);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.badge-transparent-text {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-header);
  margin-bottom: 8px;
  text-align: right;
  padding-right: 8px;
}


.info-icon-wrapper {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon-wrapper img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.info-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  text-align: right;
}

.info-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-header);
}

.info-sub {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
}


.hero-sub-wrap {
  margin-bottom: 32px;
}

.hero-sub-title {
  font-size: 16px;
  color: var(--text-header);
  font-weight: 500;
  margin-bottom: 4px;
}

.hero-sub {
  font-size: 14px;
  color: #aaa;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* ===== SYMPTOMS SECTION ===== */
.symptoms-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
}

.symptoms-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.symptoms-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-header);
  line-height: 1.5;
}

.symptoms-nav {
  display: flex;
  gap: 12px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: none;
}

.icon-btn.light {
  background: var(--off-white);
  color: var(--text-header);
}

.icon-btn.dark {
  background: var(--text-header);
  color: var(--white);
}

.icon-btn:hover {
  transform: translateY(-2px);
}

.symptoms-bottom-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  height: 150px;
}

.symptoms-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1.5;
}

.symptom-chip {
  background: var(--off-white);
  color: #000000;

  font-size: 14px;

  padding: 12px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 1.6;

  text-align: right;
}

.symptom-chip.bg-teal-light {
  background: var(--teal-pale);
}

.chip-sm {
  flex: 1;
}

.chip-lg {
  flex: 1.4;
}

.symptoms-more-btn {
  background: var(--teal);
  color: var(--white);
  border-radius: 12px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  transition: var(--transition);
  flex: 1;
  writing-mode: horizontal-tb;
}

.symptoms-more-btn:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== STATS ===== */
.stats {
  padding: 40px 0;
  background: var(--white);
}

.stats-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.stats-text {
  flex: 1;
}

.stats-numbers {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.stats-text-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.stats-text h2 {
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0;
}

.creds-list li {
  font-size: 14px;
  color: #999;

  padding: 2px 0;
  border-bottom: none;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.5;
}

.creds-list li::before {
  content: '\2022';
  color: var(--teal);
  font-size: 10px;
  line-height: 1.8;
  flex-shrink: 0;
}

.creds-list li:last-child {
  border-bottom: none;
}

.whatsapp-stat-btn {
  font-size: 14px;
  padding: 10px 16px;
  height: fit-content;
  white-space: nowrap;
  border-radius: 20px;
}


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

.stat-num {
  display: block;
  font-size: 38px;
  font-weight: 700;
  font-family: 'Geist', sans-serif;
  color: var(--teal-dark);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.stat-lbl {
  display: block;
  font-size: 14px;
  color: #999;
  font-weight: 500;
}


/* ===== SECTION TAGS ===== */
.section-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 14px;
}

.dot-teal {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
}

.section-title {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 400;
  color: #878787;
  line-height: 1.4;
  margin-bottom: 40px;
  text-align: center;
}

/* ===== SERVICES ===== */
.services {
  padding: 80px 0;
  background: var(--off-white);
  text-align: center;
}

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

@media (min-width: 576px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 16px;
  font-weight: 700;
  padding: 28px 16px;
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.service-card:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ===== ARTICLES ===== */
.articles {
  padding: 80px 0;
  background: var(--white);
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 576px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .articles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.article-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.article-img {
  aspect-ratio: 1;
  overflow: hidden;
}

.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.article-title {
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

/* ===== REVIEWS ===== */
.reviews {
  padding: 80px 0;
  background: var(--off-white);
  overflow: hidden;
}

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




.reviews-imgs-row {
  display: flex;
  gap: 16px;
  margin: 20px 0;
}

.success-swiper {
  width: 100%;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  height: 420px;
  background: transparent;
  border: none;
  position: relative;
}

.success-swiper .swiper-wrapper {
  display: flex !important;
  height: 100% !important;
  box-sizing: border-box;
}

.success-swiper .swiper-slide {
  height: 100% !important;
  width: 100% !important;
  /* Default for mobile */
  flex-shrink: 0 !important;
  display: block !important;
  position: relative;
}

@media (min-width: 768px) {
  .success-swiper .swiper-slide {
    width: calc(50% - 12px) !important;
    /* 2 slides per view with 24px gap */
  }
}

.success-img-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
}

.rev-img {
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
  display: block;
  transition: transform 0.5s ease;
}

.success-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}



.rev-img-sm {
  max-width: 120px;
  flex: 0 0 120px;
}

.slide-counter {
  font-size: 22px;
  font-weight: 800;
  color: var(--text2);
}

.slide-counter span {
  color: var(--teal);
}

.slide-nav {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.slide-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--border);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text2);
}

.slide-btn:hover,
.slide-btn-active {
  background: var(--teal);
  color: var(--white);
}

.reviews-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 28px;
}

.reviews-mobile-header {
  display: none;
}

.review-card {
  background: var(--white);
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

/* Left side of header */
.review-card-left {
  text-align: left;
}

.review-card-score {
  font-size: 18px;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 4px;
  display: block;
}

.review-card-stars {
  color: #f5a623;
  font-size: 22px;
  letter-spacing: 2px;
}

/* Right side of header */
.review-card-right {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: right;
}

.review-card-info {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-header);
}

.reviewer-handle {
  font-size: 14px;
  color: var(--teal);
}

.reviewer-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--teal-light);
  overflow: hidden;
}

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

/* Review content with quotes */
.review-content-wrap {
  position: relative;
  padding: 20px 0;
  flex-grow: 1;
}

.review-card::before,
.review-card::after {
  content: '“';
  position: absolute;
  font-family: serif;
  font-size: 120px;
  line-height: 1;
  color: var(--teal-pale);
  opacity: 0.6;
  z-index: 0;
}

.review-card::before {
  top: 60px;
  right: 40px;
}

.review-card::after {
  bottom: 0px;
  left: 40px;
  transform: rotate(180deg);
}

.review-text {
  position: relative;
  z-index: 1;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-header);
  text-align: center;
  margin: 0;
}

/* ===== FAQ ===== */

.faq {
  padding: 80px 0;
  background: var(--white);
}

.faq-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  gap: 40px;
}

.faq-header-centered {
  text-align: center;
}

.faq-sub-centered {
  font-size: 15px;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 8px;
}

.faq-title-centered {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 500;
  color: var(--text);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.faq-item {
  border-radius: 12px;
  overflow: hidden;
  background: var(--teal-dark);
  transition: background 0.3s ease;
}

/* Fallback for active state and :has */
.faq-item:has(.faq-q[aria-expanded="true"]),
.faq-item.active-item {
  background: #f8fcfb;
  /* Very light teal/white for open state */
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: transparent;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  text-align: right;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-q:hover {
  background: rgba(0, 0, 0, 0.05);
  /* subtle hover for open state too */
}

.faq-item:not(.active-item) .faq-q:hover {
  background: var(--teal-dark);
  /* hover when closed */
}

.faq-q[aria-expanded="true"] {
  color: var(--teal-dark);
  padding-bottom: 8px;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  flex-shrink: 0;
}

.icon-minus {
  display: none;
}

.faq-q[aria-expanded="true"] .icon-down {
  display: none;
}

.faq-q[aria-expanded="true"] .icon-minus {
  display: block;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 28px;
  background: transparent;
}

.faq-a.open {
  max-height: 250px;
  padding: 0 28px 24px 28px;
}

.faq-a p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.8;
}

/* ===== CTA ===== */
.cta {
  position: relative;
}

.cta-bg {
  background-size: cover;
  background-position: center left;
  background-color: var(--dark);
  padding: 80px 0 0;
  position: relative;
}

.cta-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 43, 42, 0.65);
}

.cta-bg .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 36px;
}

.cta-form {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.email-group {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  gap: 8px;
  max-width: 380px;
  width: 100%;
}

.email-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'GE SS Unique', sans-serif;
  font-size: 14px;
  color: var(--text);
  text-align: right;
}

.email-input::placeholder {
  color: var(--text2);
}

.cta-subscribe {
  background: #5a5f5f;
  color: var(--white);
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 14px;
  flex-shrink: 0;
  border: none;
  transition: var(--transition);
}

.cta-subscribe:hover {
  background: var(--dark);
}

/* ===== FOOTER & CTA MERGED ===== */
.footer {
  position: relative;
  background-color: var(--dark);
  padding: 0;
  margin-top: 0;
}

.cta-inner-footer {
  padding: 100px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 43, 42, 0.65);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-logo,
.footer-brand .custom-logo-link img {
  height: 56px;
  width: auto;
  margin-bottom: 14px;
}


.footer-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.8;
  margin-top: 4px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--white);
  padding-right: 6px;
}

.footer-links-with-icon a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links-with-icon a:hover {
  padding-right: 0;
  transform: translateX(-4px);
}

.footer-links-with-icon svg {
  opacity: 0.8;
  flex-shrink: 0;
}

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

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* ===== ANIMATIONS ===== */
@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

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

@media (max-width: 768px) {
  .hero {
    padding: 10px 0 40px;
  }

  .nav {
    justify-content: space-between;
    gap: 0;
    padding: 10px 0;
  }

  .nav-links,
  .nav-wa {
    display: none;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    background: var(--white);
    padding: 20px;
    gap: 32px;
    z-index: 9999;
    animation: menuFadeIn 0.3s ease forwards;
  }

  @keyframes menuFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-links.mobile-open li {
    width: 100%;
    text-align: center;
  }

  .nav-links.mobile-open a {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
  }

  .nav-links.mobile-open a::after {
    display: none;
  }

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

  .hamburger {
    display: flex;
    position: relative;
    z-index: 10000;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .hero-img-col {
    order: 2;
    margin-top: -25px;
    margin-bottom: 20px;
  }


  .header {
    order: 1;
    padding: 0 0 16px 0;
    align-self: stretch;
    width: 100%;
  }

  .hero-content {
    order: 3;
    display: flex;
    flex-direction: column;
  }

  .hero-img {
    max-width: 100%;
  }

  /* Fix Floating Badges for Mobile */
  .badge-1 {
    width: 130px;
    left: 5%;
    top: 37%;
  }

  .badge-2 {
    width: 150px;
    left: 12%;
    top: 33%;
  }

  .badge-3 {
    width: 135px;
    right: 7%;
    bottom: 5%;
  }

  .badge-4 {
    left: 5%;
    bottom: 5%;
  }

  .info-card {
    min-width: 200px;
    padding: 12px;
    gap: 12px;
  }

  .info-icon-wrapper img {
    width: 28px;
    height: 28px;
  }

  .info-row.bg-white {
    padding: 8px;
  }

  .badge-transparent-text {
    font-size: 12px;
  }

  .info-title {
    font-size: 11px;
  }

  .info-sub {
    font-size: 9px;
  }

  /* Symptoms section mobile */
  .symptoms-bottom-row {
    flex-direction: column;
    height: auto;
  }

  .symptoms-more-btn {
    padding: 16px;
    width: 100%;
  }

  .stats-inner {
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
    text-align: center;
  }

  .stats-text-header {
    flex-wrap: wrap;
    justify-content: center !important;
    gap: 16px;
  }

  .stats-inner .stat-item {
    width: 100%;
  }

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

  .articles-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 24px;
    margin: 0 -24px;
    padding: 0 24px 24px 24px;
    scrollbar-width: none;
  }

  .articles-grid::-webkit-scrollbar {
    display: none;
  }

  .article-card {
    min-width: 260px;
    width: 70vw;
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  .reviews-mobile-header {
    display: block;
    margin-bottom: 24px;
  }

  .desktop-only {
    display: none !important;
  }

  .reviews-inner {
    display: flex;
    flex-direction: column-reverse;
    gap: 24px;
  }

  .slide-nav {
    justify-content: center;
  }

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

  .success-swiper {
    height: 300px;
    width: 100%;
    max-width: 280px;
    margin: 15px auto;
  }

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

  .email-group {
    flex-direction: column;
    border-radius: var(--radius);
    padding: 16px;
  }

  .email-input {
    width: 100%;
    text-align: center;
  }

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

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

  .hero-btns {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .hero-btns .btn {
    flex: 1;
    padding: 12px 8px;
    font-size: 13px;
    justify-content: center;
    white-space: nowrap;
  }

  .hero-btns .btn svg {
    width: 14px;
    height: 14px;
  }

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

  .stats-numbers {
    gap: 20px;
  }
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pulsing-logo {
  max-width: 200px;
  height: auto;
  animation: pulseLogo 1.2s ease-in-out infinite alternate;
}

@keyframes pulseLogo {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* ===== BLOG PAGE STYLES ===== */
.pagination-wrapper {
  margin-top: 50px;
  text-align: center;
}

.pagination-wrapper .nav-links {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.pagination-wrapper .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-weight: 700;
  transition: var(--transition);
}

.pagination-wrapper .page-numbers.current,
.pagination-wrapper .page-numbers:hover {
  background: var(--teal);
  color: var(--white);
}

.pagination-wrapper .next,
.pagination-wrapper .prev {
  padding: 0 16px;
}

/* Single Post Content Styling */
.blog-content h1,
.blog-content h2,
.blog-content h3 {
  color: var(--teal-dark);
  margin-top: 40px;
  margin-bottom: 20px;
}

.blog-content p {
  margin-bottom: 20px;
}

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

.blog-content ul,
.blog-content ol {
  margin-bottom: 20px;
  padding-right: 20px;
}

.blog-content li {
  margin-bottom: 10px;
}

.blog-content blockquote {
  border-right: 4px solid var(--teal);
  padding: 15px 20px;
  background: var(--teal-pale);
  border-radius: 8px;
  margin: 30px 0;
  font-style: italic;
  color: var(--text-header);
}

.post-navigation a {
  color: var(--teal);
  font-weight: 700;
  transition: var(--transition);
}

.post-navigation a:hover {
  color: var(--teal-dark);
}

/* ===== BLOG ARCHIVE ===== */
.blog-page {
  padding-bottom: 120px;
  background: #fff;
}

.blog-hero {
  background: linear-gradient(145deg, var(--off-white) 0%, #fff 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
}

.blog-hero .section-tag {
  margin: 0 auto 16px;
}

.blog-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--text-header);
  font-weight: 800;
  max-width: 700px;
  margin: 0 auto;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.article-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(97, 160, 149, 0.15);
  border-color: var(--teal);
}

.article-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.article-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--text-header);
}

.article-title a:hover {
  color: var(--teal);
}

.article-excerpt {
  color: var(--text2);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.article-more {
  margin-top: auto;
  color: var(--teal);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.article-more:hover {
  gap: 12px;
}

/* Pagination */
.pagination-wrapper {
  margin-top: 80px;
  display: flex;
  justify-content: center;
}

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

.pagination .page-numbers {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--off-white);
  color: var(--text2);
  font-weight: 700;
  transition: var(--transition);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 16px rgba(97, 160, 149, 0.3);
}

/* ===== SINGLE POST ===== */
.post-header {
  padding: 160px 0 60px;
  text-align: center;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--text2);
  font-size: 14px;
  margin-top: 20px;
}

.post-featured-img {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 60px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.post-content-wrap {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.9;
  color: #444;
}

.post-content-wrap h2,
.post-content-wrap h3 {
  margin: 40px 0 20px;
  color: var(--text-header);
}

.post-content-wrap p {
  margin-bottom: 24px;
}

/* Author Box Style */
.author-box {
  background: var(--off-white);
  border-radius: 20px;
  padding: 30px;
  margin: 60px 0;
  display: flex;
  align-items: center;
  gap: 25px;
  border: 1px solid var(--border);
}

.author-avatar img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.author-info h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-header);
  margin-bottom: 8px;
}

.author-info p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
  margin: 0;
}

.post-footer-nav {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-navigation a {
  font-weight: 700;
  color: var(--teal);
  transition: var(--transition);
}

.post-navigation a:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .author-box {
    flex-direction: column;
    text-align: center;
  }
}

.single-post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}

.post-main-content {
  min-width: 0;
}

/* Sidebar Styles */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.widget-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-header);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal-pale);
  position: relative;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 40px;
  height: 2px;
  background: var(--teal);
}

.recent-post-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--off-white);
}

.recent-post-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-post-thumb {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.recent-post-item:hover .recent-post-thumb img {
  transform: scale(1.1);
}

.recent-post-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.recent-post-info a {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-header);
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recent-post-info a:hover {
  color: var(--teal);
}

.recent-post-date {
  font-size: 12px;
  color: #999;
}

/* Sidebar Promo Card */
.sidebar-promo {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: 20px;
  padding: 30px 24px;
  color: var(--white);
  text-align: center;
  box-shadow: 0 10px 30px rgba(97, 160, 149, 0.3);
}

.sidebar-promo h4 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.sidebar-promo p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 20px;
  line-height: 1.6;
}

.sidebar-promo .btn {
  background: var(--white);
  color: var(--teal);
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
}

.sidebar-promo .btn:hover {
  background: var(--teal-pale);
  transform: scale(1.03);
}

@media (max-width: 1024px) {
  .single-post-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .post-sidebar {
    order: 2;
    position: static;
  }
}


/* ============================================================
   INNER PAGE — المتابعة بعد جراحة العظام
   ============================================================ */

/* ----- HERO BANNER ----- */
.ip-hero {
  padding: 40px 0 0;
  background: var(--white);
  margin-bottom: 80px;
}

.ip-hero-banner {
  position: relative;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.ip-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.ip-hero-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1.3;
  margin-bottom: 20px;
}

.ip-hero-sub {
  font-size: 16px;
  color: var(--teal-dark);
  opacity: 0.85;
  line-height: 1.9;
  max-width: 640px;
  margin: 0 auto 32px;
}

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


/* ----- WHY SECTION ----- */
.ip-why {
  padding: 100px 0;
  background: none;
  position: relative;
  color: var(--white);
}

.ip-why-overlay {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  z-index: 1;
}

.ip-why-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.ip-why-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ip-why-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ip-why-small-title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.ip-why-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 8px;
}

.ip-why-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.9;
  margin-bottom: 20px;
}

.ip-why-extra-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 24px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--white);
}

.ip-why-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  color: var(--white);
}

.ip-why-card.full-width {
  grid-column: 1 / -1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
}

.ip-why-card.half-width {
  grid-column: span 1;
}

.ip-why-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-4px);
}

.ip-why-card-icon {
  width: 56px;
  height: 56px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: flex-start; /* Align icon to the right in RTL */
}

.ip-why-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ip-why-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.ip-why-card-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}


/* ----- SERVICES SECTION ----- */
.ip-services {
  padding: 100px 0;
  background: var(--white);
}

.ip-services-wrapper {
  background: rgba(220, 243, 239, 1);
  border-radius: 24px;
  padding: 48px;
}

.ip-services-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 40px;
}

.ip-services-top-right,
.ip-services-top-left {
  flex: 1;
}

.ip-services-small-title {
  display: block;
  font-size: 16px;
  color: rgba(0, 0, 0, 1);
  font-weight: 600;
  margin-bottom: 8px;
}

.ip-services-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1.3;
}

.ip-services-desc {
  font-size: 16px;
  color: var(--teal-dark);
  opacity: 0.8;
  line-height: 1.8;
  max-width: 480px;
}

.ip-services-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(58, 128, 114, 0.3);
  border-radius: 4px;
}

.ip-services-cell {
  padding: 32px 24px;
  border-left: 1px solid rgba(58, 128, 114, 0.3);
  border-bottom: 1px solid rgba(58, 128, 114, 0.3);
  display: flex;
  flex-direction: column;
}

.ip-services-cell:nth-child(3n) {
  border-left: none;
}

.ip-services-cell:nth-last-child(-n+3) {
  border-bottom: none;
}

.ip-services-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 12px;
  font-family: 'Geist', sans-serif;
  align-self: flex-start;
}

.ip-services-cell-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 12px;
}

.ip-services-cell-desc {
  font-size: 14px;
  color: rgba(0, 0, 0, 1);
  opacity: 0.85;
  line-height: 1.7;
}

.cta-cell {
  justify-content: center;
  align-items: flex-start;
}

.cta-cell .ip-services-cell-title {
  margin-bottom: 8px;
}

.cta-cell .ip-services-cell-desc {
  margin-bottom: 16px;
}

.ip-services-btn {
  font-size: 14px;
  padding: 8px 24px;
  border-radius: 24px;
}


/* ----- STEPS SECTION ----- */
.ip-steps {
  padding: 100px 0;
  background: var(--white);
}

.ip-steps-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
  background: rgba(220, 243, 239, 1);
  border-radius: 24px;
  padding: 48px;
}

/* Reset hero grid-placement rules that bleed into ip-steps */
.ip-steps .hero-img-col {
  grid-column: unset;
  grid-row: unset;
  align-self: auto;
  margin-top: 0;
  width: 100%;
}

.ip-steps .hero-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.ip-steps .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
}

/* Hide floating decorative badges on the steps section to keep it clean */
.ip-steps .badge-1,
.ip-steps .badge-2,
.ip-steps .badge-3 {
  display: none;
}

/* Keep badge-4 (info card) but reposition it */
.ip-steps .badge-4 {
  bottom: 16px;
  left: 16px;
  right: auto;
}

/* Scale down the info card slightly */
.ip-steps .info-card {
  min-width: 200px;
}


/* Steps content */
.ip-steps-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-header);
  line-height: 1.4;
  margin-bottom: 36px;
}

.ip-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ip-step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.ip-step-item:not(:last-child) {
  border-bottom: 1px solid rgba(97, 160, 149, 0.4);
}

.ip-step-num {
  color: var(--teal);
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}

.ip-step-body {
  flex: 1;
}

.ip-step-title {
  font-size: 17px;
  font-weight: 800;
  color: rgba(97, 160, 149, 1);
  margin-bottom: 8px;
}

.ip-step-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.8;
}


/* ----- FAQ inner page modifier ----- */
.ip-faq {
  background: var(--off-white);
}

.ip-faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.ip-faq-text-col {
  text-align: right;
}

.ip-faq-text-col .faq-sub-centered {
  text-align: right;
  color: var(--text);
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 8px;
}

.ip-faq-text-col .faq-title-centered {
  text-align: right;
  color: var(--teal);
  font-weight: 800;
  margin-bottom: 24px;
  font-size: clamp(28px, 4vw, 36px);
}

.ip-faq-desc {
  color: var(--teal-dark);
  opacity: 0.7;
  line-height: 1.8;
  margin-bottom: 32px;
  font-size: 15px;
  max-width: 400px;
}

.ip-faq-btn {
  padding: 12px 40px;
  border-radius: 24px;
  font-size: 15px;
  background-color: #61a095;
  border: none;
}


/* ============================================================
   INNER PAGE RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .ip-why-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 24px !important;
  }

  .ip-why-text {
    order: 1;
    /* Move text above cards */
  }

  .ip-why-cards-grid {
    order: 2;
  }

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

  .ip-services-cell {
    border-left: 1px solid rgba(58, 128, 114, 0.3) !important;
    border-bottom: 1px solid rgba(58, 128, 114, 0.3) !important;
  }

  .ip-services-cell:nth-child(2n) {
    border-left: none !important;
  }

  .ip-services-cell:nth-last-child(-n+2) {
    border-bottom: none !important;
  }

  .ip-steps-inner {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  .ip-steps .hero-img-col {
    width: 100%;
    max-width: 100%;
    margin: 0;
    order: 2;
  }

  .ip-steps .ip-steps-content {
    order: 1;
  }

  .ip-steps .hero-img-wrapper {
    width: 100%;
    height: auto;
    min-height: unset;
    overflow: visible;
  }

  .ip-steps .hero-img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: unset;
    object-fit: contain;
    object-position: center top;
    display: block;
  }

  /* Hide all decorative floating badges on tablet & mobile */
  .ip-steps .hero-floating-badge {
    display: none;
  }

  .ip-faq-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .ip-hero {
    padding: 30px 0 0;
  }

  .ip-hero-banner {
    padding: 60px 20px;
    border-radius: 16px;
  }

  .ip-hero-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .ip-why {
    padding: 60px 0;
  }

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

  .ip-why-card.half-width {
    grid-column: 1 / -1;
  }

  .ip-why-card.full-width {
    flex-direction: column;
    align-items: flex-start;
  }

  .ip-why-card.full-width .ip-why-card-icon {
    order: -1;
  }

  .ip-services {
    padding: 60px 0;
  }

  .ip-services-wrapper {
    padding: 32px 20px;
  }

  .ip-services-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

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

  .ip-services-cell {
    border-left: none !important;
    border-bottom: 1px solid rgba(58, 128, 114, 0.3) !important;
  }

  .ip-services-cell:last-child {
    border-bottom: none !important;
  }

  .ip-steps {
    padding: 60px 0;
  }

  .ip-steps-inner {
    padding: 28px 16px;
    border-radius: 16px;
    gap: 16px;
  }

  .ip-steps .hero-img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: unset;
    object-fit: contain;
  }
}


/* ============================================================
   MICRO SURGERIES PAGE — ms-*
   ============================================================ */

/* ----- HERO ----- */
.ms-hero-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  overflow: hidden;
  background-color: #f0f7f5;
  background-image: 
    linear-gradient(rgba(97, 160, 149, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(97, 160, 149, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: center;
  padding: 80px 40px 60px;
  min-height: 420px;
}

.ms-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ms-hero-title {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.ms-hero-sub {
  font-size: 16px;
  color: var(--teal);
  line-height: 1.9;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Stats row inside hero */
.ms-hero-stats {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(240, 247, 245, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top-left-radius: 24px;
  padding: 24px 40px;
  width: auto;
}

.ms-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 32px;
}

.ms-hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(97, 160, 149, 0.3);
  flex-shrink: 0;
}

.ms-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--teal);
  font-family: 'Geist', sans-serif;
  line-height: 1.1;
}

.ms-stat-lbl {
  font-size: 13px;
  color: var(--text2);
  font-weight: 500;
}


/* ----- ABOUT / WHAT IS MICRO SURGERY ----- */
.ms-about {
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--white);
}

.ms-about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 52, 48, 0.70);
  z-index: 1;
}

.ms-about-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.ms-about-tag {
  display: inline-block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.ms-about-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 24px;
}

.ms-about-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.9;
  margin-bottom: 16px;
}

/* Benefits ordered list */
.ms-about-list-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ms-about-benefit {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.ms-about-benefit:last-child {
  border-bottom: none;
}

.ms-benefit-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  font-family: 'Geist', sans-serif;
  flex-shrink: 0;
}

.ms-benefit-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.ms-benefit-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
  max-width: 80%;
}


/* ----- INDICATIONS SECTION ----- */
.ms-indications {
  padding: 100px 0;
  background: var(--white);
}

.ms-indications-inner {
  background: rgba(220, 243, 239, 1);
  border-radius: 24px;
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.ms-indications-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.ms-indications-header-right {
  flex: 1;
}

.ms-indications-header-left {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.ms-indications-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ms-section-tag {
  display: block;
  font-size: 13px;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.ms-section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1.4;
  margin-bottom: 16px;
}

.ms-section-desc {
  font-size: 15px;
  color: var(--teal);
  line-height: 1.8;
  margin: 0;
  text-align: right;
}

/* Indication cards: transparent, vertical layout */
.ms-indication-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
}

.ms-indication-card:hover {
  transform: translateY(-4px);
}

.ms-indication-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: -20px;
  position: relative;
  z-index: 0;
}

.ms-indication-pill {
  background: #9abfb7;
  color: var(--white);
  padding: 4px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.ms-indication-bg-num {
  font-size: 70px;
  font-weight: 800;
  color: rgba(97, 160, 149, 0.15);
  line-height: 1;
  font-family: 'Geist', sans-serif;
}

.ms-indication-icon {
  width: 60px;
  height: 60px;
  margin-right: 0;
  margin-left: auto;
  align-self: flex-end;
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
}

.ms-indication-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ms-indication-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ms-indication-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 8px;
  text-align: right;
}

.ms-indication-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ms-indication-list li {
  font-size: 14px;
  color: var(--teal);
  line-height: 1.7;
  padding-right: 18px;
  position: relative;
}

.ms-indication-list li::before {
  content: '•';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--teal);
  font-size: 18px;
}


/* ----- RECOVERY STAGES SECTION ----- */
.ms-stages {
  padding: 100px 0;
  background: var(--white);
}

.ms-stages-inner {
  background: rgba(220, 243, 239, 1);
  border-radius: 24px;
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.ms-stages-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.ms-stages-header-right {
  flex: 1;
}

.ms-stages-header-left {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.ms-stages-timeline {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

.ms-stages-timeline-line {
  position: absolute;
  top: 30px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: rgba(97, 160, 149, 0.4);
  z-index: 0;
}

.ms-stages-timeline-nodes {
  display: flex;
  justify-content: space-around;
  position: relative;
  z-index: 1;
}

.ms-stages-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: transparent;
}

.ms-stages-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(97, 160, 149, 0.4);
  background: #eaf3f0;
  color: var(--teal-dark);
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ms-stages-pill {
  background: #9abfb7;
  color: var(--white);
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.ms-stages-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ms-stage-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  gap: 12px;
  transition: var(--transition);
}

.ms-stage-card:hover {
  transform: translateY(-4px);
}

.ms-stage-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
}

.ms-stage-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ms-stage-content {
  flex: 1;
}

.ms-stage-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 6px;
}

.ms-stage-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
}


/* ----- WHY DR. KHALID SECTION ----- */
.ms-why {
  padding: 100px 0;
  background: var(--white);
}

.ms-why-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: stretch;
}

/* Right text col (Green box) */
.ms-why-text-col {
  background: #61A095;
  border-radius: 24px;
  padding: 48px;
  color: var(--white);
  display: flex;
  flex-direction: column;
}

.ms-why-text-tag {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  text-align: right;
}

.ms-why-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 16px;
  text-align: right;
}

.ms-why-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.9;
  margin-bottom: 32px;
  text-align: right;
}

.ms-why-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ms-why-feature-pill {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.ms-why-feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.ms-why-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ms-why-feature-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  text-align: right;
  flex: 1;
  padding-right: 16px;
}

/* Left side: stats + booking */
.ms-why-stats-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 48px;
}

.ms-why-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.ms-why-stat-box {
  padding: 32px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.ms-why-stats-grid::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--teal);
}

.ms-why-stats-grid::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--teal);
}

.ms-why-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--teal);
  font-family: 'Geist', sans-serif;
  line-height: 1;
}

.ms-why-stat-lbl {
  font-size: 14px;
  color: var(--text2);
  font-weight: 600;
}

.ms-why-booking-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}

.ms-why-booking-box {
  background: rgba(220, 243, 239, 1);
  padding: 24px;
  text-align: right;
  width: 100%;
  border-right: 4px solid var(--teal);
}

.ms-why-booking-label {
  font-size: 18px;
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 6px;
}

.ms-why-booking-sub {
  font-size: 14px;
  color: var(--text2);
}

.ms-why-cta-btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  border-radius: 24px;
  padding: 14px 40px;
  font-size: 15px;
  transition: var(--transition);
  text-align: center;
  border: none;
}

.ms-why-cta-btn:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  color: var(--white);
}


/* ============================================================
   MICRO SURGERIES — RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .ms-about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ms-indications-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ms-indications-text {
    position: static;
  }

  .ms-stages-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ms-stages-text {
    position: static;
  }

  .ms-why-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ms-why-stats-col {
    position: static;
  }
}

@media (max-width: 768px) {
  .ms-hero-banner {
    padding: 60px 20px 0;
    border-radius: 16px;
  }

  .ms-hero-stats {
    padding: 20px 16px;
    gap: 0;
  }

  .ms-stat-num {
    font-size: 22px;
  }

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

  .ms-stage-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .ms-hero-banner {
    padding: 60px 20px 0;
    border-radius: 16px;
  }

  .ms-hero-stats {
    padding: 20px 16px;
    gap: 0;
  }

  .ms-stat-num {
    font-size: 22px;
  }

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

  .ms-stage-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}


/* ============================================================
   JOINT RECONSTRUCTION PAGE — jr-*
   ============================================================ */

/* ----- HERO (reuses ms-hero-stats from micro page) ----- */
.jr-hero-title {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.3;
}

.jr-hero-sub {
  font-size: 16px;
  color: rgba(67, 134, 123, 1);
  line-height: 1.9;
  max-width: 600px;
  margin: 0 auto 32px;
}


/* ----- ABOUT SECTION ----- */
.jr-about {
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--white);
}

.jr-about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 52, 48, 0.72);
  z-index: 1;
}

.jr-about-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.jr-about-tag {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.jr-about-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 20px;
}

.jr-about-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.9;
  margin-bottom: 28px;
}

/* Feature boxes (icon + text, horizontal pills) */
.jr-about-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jr-feature-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--white);
  font-weight: 600;
  transition: var(--transition);
}

.jr-feature-box:hover {
  background: rgba(255, 255, 255, 0.18);
}

.jr-feature-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.jr-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Left: numbered list */
.jr-about-list-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.jr-about-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.jr-about-item:last-child {
  border-bottom: none;
}

.jr-item-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  font-family: 'Geist', sans-serif;
  flex-shrink: 0;
}

.jr-item-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.jr-item-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}


/* ----- WHY DR. KHALID SECTION ----- */
.jr-why {
  padding: 100px 0;
  background: var(--off-white);
}

.jr-why-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.jr-why-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1.4;
  margin-bottom: 16px;
  margin-top: 8px;
}

.jr-why-desc {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.9;
}

.jr-why-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.jr-why-stat-card {
  background: var(--teal-dark);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.jr-stat-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  font-family: 'Geist', sans-serif;
  line-height: 1;
}

.jr-stat-lbl {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.jr-why-feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.jr-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.jr-feature-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.jr-feature-item:first-child {
  padding-top: 0;
}

.jr-feature-item-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.jr-feature-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jr-feature-item h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 4px;
}

.jr-feature-item p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
}


/* ----- TREATMENT JOURNEY SECTION ----- */
.jr-journey {
  padding: 100px 0;
  background: var(--teal-light);
}

.jr-journey-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
  align-items: start;
}

.jr-journey-text {
  position: sticky;
  top: 120px;
}

.jr-journey-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


/* ----- CTA SECTION ----- */
.jr-cta {
  padding: 80px 0;
  background: var(--teal-dark);
}

.jr-cta-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.jr-cta-tag {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.jr-cta-title {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 20px;
}

.jr-cta-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  margin-bottom: 36px;
}

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

.jr-cta-btn-primary {
  background: var(--white);
  color: var(--teal-dark);
  font-weight: 800;
  border-radius: 50px;
  padding: 14px 36px;
  font-size: 15px;
  transition: var(--transition);
  text-decoration: none;
}

.jr-cta-btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  color: var(--teal-dark);
}

.jr-cta-btn-outline {
  background: transparent;
  color: var(--white);
  font-weight: 800;
  border-radius: 50px;
  padding: 14px 36px;
  font-size: 15px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: var(--transition);
  text-decoration: none;
}

.jr-cta-btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transform: translateY(-3px);
}


/* ============================================================
   JOINT RECONSTRUCTION — RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .jr-about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .jr-why-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .jr-journey-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .jr-journey-text {
    position: static;
  }
}

@media (max-width: 768px) {
  .jr-cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .jr-cta-btn-primary,
  .jr-cta-btn-outline {
    width: 100%;
    text-align: center;
  }
}


/* ============================================================
   BONE TUMOR SURGERY PAGE — bt-*
   ============================================================ */

/* ----- HERO ----- */
.bt-hero-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.3;
}

.bt-hero-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.9;
  max-width: 600px;
  margin: 0 auto 32px;
}


/* ----- ABOUT SECTION ----- */
.bt-about {
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--white);
}

.bt-about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 52, 48, 0.72);
  z-index: 1;
}

.bt-about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

/* Stats row at top of text column */
.bt-about-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}

.bt-about-stat {
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bt-stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  font-family: 'Geist', sans-serif;
  line-height: 1;
}

.bt-stat-lbl {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.bt-about-tag {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.bt-about-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 20px;
}

.bt-about-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  margin-bottom: 12px;
}

/* Right: Feature icon boxes column */
.bt-about-features-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bt-feature-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.bt-feature-box:last-child {
  border-bottom: none;
}

.bt-feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.bt-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.bt-feature-text h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.bt-feature-text p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}


/* ----- INDICATIONS (reuses ms-* classes) ----- */
.bt-indications {
  padding: 100px 0;
  background: var(--off-white);
}


/* ----- TREATMENT STAGES — 2x2 Grid ----- */
.bt-stages {
  padding: 100px 0;
  background: var(--teal-light);
}

.bt-stages-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
  align-items: start;
}

.bt-stages-text {
  position: sticky;
  top: 120px;
}

/* 2x2 grid */
.bt-stages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.bt-stage-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.bt-stage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(97, 160, 149, 0.4);
}

.bt-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.bt-stage-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  font-family: 'Geist', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bt-stage-icon {
  width: 40px;
  height: 40px;
}

.bt-stage-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bt-stage-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.bt-stage-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
}


/* ----- CTA WITH DOCTOR IMAGE ----- */
.bt-cta {
  padding: 100px 0;
  background: var(--white);
}

.bt-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.bt-cta-img-col {
  /* inherits hero-img-col styles */
}

.bt-cta-tag {
  display: block;
  font-size: 13px;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.bt-cta-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1.4;
  margin-bottom: 20px;
}

.bt-cta-desc {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.9;
  margin-bottom: 32px;
}

.bt-cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.bt-cta-btn-wa {
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 800;
}

.bt-cta-btn-phone {
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 800;
  background: var(--teal-light);
  color: var(--teal-dark);
  transition: var(--transition);
  text-decoration: none;
}

.bt-cta-btn-phone:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}


/* ============================================================
   BONE TUMOR SURGERY — RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .bt-about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .bt-stages-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bt-stages-text {
    position: static;
  }

  .bt-cta-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .bt-stages-grid {
    grid-template-columns: 1fr;
  }

  .bt-cta-btns {
    flex-direction: column;
  }

  .bt-cta-btn-wa,
  .bt-cta-btn-phone {
    width: 100%;
    text-align: center;
  }
}