/* Offset for Global Fixed Header (.site-header) */
/* main {
  padding-top: 94px;
}
@media (max-width: 768px) {
  main {
    padding-top: 80px;
  }
} */
/* =========================================
         1. CSS VARIABLES & LUXURY DARK PALETTE
         ========================================= */
:root {
  --bg-deep: #1f1a21;
  --bg-surface: #342c2f;
  --bg-glass: rgba(52, 44, 47, 0.65);
  --bg-glass-heavy: rgba(31, 26, 33, 0.9);

  /* Brand Palette */
  --primary-dark: #342825;
  --primary-mid: #b1835e4c;
  --primary-light: #a48574;
  --primary-glow: #a48574;
  --accent: #b1835e;
  --accent-hover: #a87856;
  --accent-glow: rgba(152, 107, 76, 0.35);

  /* Typography Colors */
  --white: #faf7f5;
  --text-main: #faf7f5;
  --text-secondary: #d8ceca;
  --text-muted: #cb916b;

  /* Borders & Effects */
  --border-glass: rgba(164, 133, 116, 0.22);
  --border-gold: rgba(152, 107, 76, 0.45);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-full: 9999px;
  --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: "Alexandria", "Noto Sans Arabic", sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
  /* الحل الجذري للاتجاهات */
  direction: rtl;
  text-align: right;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* =========================================
         2. INTERACTIVE AMBIENT BACKGROUND & MESH
         ========================================= */
.ambient-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(52, 40, 37, 0.35) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(164, 133, 116, 0.22) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 85%,
      rgba(152, 107, 76, 0.1) 0%,
      transparent 50%
    ),
    var(--bg-deep);
}

/* Architectural Subtle Grid Overlay */
.ambient-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(164, 133, 116, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(164, 133, 116, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(
    circle at center,
    black 30%,
    transparent 90%
  );
  pointer-events: none;
  z-index: 0;
}

/* Floating Animated Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.55;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-teal {
  width: 500px;
  height: 500px;
  background: var(--primary-light);
  top: -120px;
  right: -100px;
}

.orb-gold {
  width: 380px;
  height: 380px;
  background: rgba(152, 107, 76, 0.35);
  top: 40%;
  left: -140px;
  animation-delay: -6s;
}

/* Mouse Cursor Spotlight */
.cursor-spotlight {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(164, 133, 116, 0.14) 0%,
    transparent 65%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  transition:
    width 0.3s,
    height 0.3s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-60px, 50px) scale(1.12);
  }
  100% {
    transform: translate(40px, -40px) scale(0.95);
  }
}

/* Breadcrumb Pill */
.breadcrumb-wrap {
  padding-top: 28px;
}

.breadcrumb-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(164, 133, 116, 0.25);
  border: 1px solid var(--border-glass);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.breadcrumb-pill a:hover {
  color: var(--accent);
}

/* =========================================
         تطوير شكل الـ Highlight Chips (تصميم فخم وغير تقليدي)
         ========================================= */
.tech-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.highlight-chip {
  position: relative;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(255, 255, 255, 0.005) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-right: 3px solid rgba(255, 255, 255, 0.08);
  padding: 16px 20px;
  border-radius: 14px;
  font-size: clamp(0.88rem, 1.5vw, 0.95rem);
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  z-index: 1;
  cursor: default;
}

/* تأثير ضوئي بيمر على الكارت من الداخل (Glass Reflection) */
.highlight-chip::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.06),
    transparent
  );
  transform: skewX(-20deg);
  transition: right 0.65s ease;
  z-index: -1;
}

/* حركة الكارت عند مرور الماوس */
.highlight-chip:hover {
  background: linear-gradient(
    120deg,
    rgba(164, 133, 116, 0.08) 0%,
    rgba(31, 26, 33, 0.4) 100%
  );
  border-color: rgba(164, 133, 116, 0.25);
  border-right-color: var(--primary-glow);
  color: var(--white);
  transform: translateX(-6px);
}

/* تحريك اللمعة الضوئية */
.highlight-chip:hover::before {
  right: 150%;
}

/* تصميم جديد ومبهر للأيقونة (دائرة بداخلها الرمز) */
.highlight-chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(31, 26, 33, 0.8);
  border: 1px solid rgba(152, 107, 76, 0.25);
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* حركة الأيقونة (دوران مع تغيير اللون للذهبي) */
.highlight-chip:hover span {
  background: var(--accent);
  color: #1f1a21;
  border-color: var(--accent);
  transform: rotate(360deg) scale(1.1);
}

/* =========================================
         4. SECTION 1: SCULPTURAL HERO (CONCISE & VISUAL)
         ========================================= */
.hero-experience {
  padding: 40px 0 80px;
  position: relative;
  background-image: 
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='340'%20height='300'%20viewBox='0%200%20340%20300'%20fill='none'%3E%3C%21--%20Abstract%20Geometric%20Polygonal%20Wireframe%20-%20Top%20Right%20Corner%20--%3E%3Cg%20stroke='%23FFDEC0'%20stroke-width='0.85'%20opacity='0.22'%3E%3Cpath%20d='M340,0%20L200,0%20L270,90%20L340,50%20Z'%20/%3E%3Cpath%20d='M200,0%20L110,0%20L170,80%20L270,90%20Z'%20/%3E%3Cpath%20d='M110,0%20L30,0%20L90,65%20L170,80%20Z'%20/%3E%3Cpath%20d='M270,90%20L340,140%20L280,195%20L190,145%20Z'%20/%3E%3Cpath%20d='M170,80%20L270,90%20L190,145%20L120,125%20Z'%20/%3E%3Cpath%20d='M90,65%20L170,80%20L120,125%20L45,105%20Z'%20/%3E%3Cpath%20d='M190,145%20L280,195%20L225,255%20L140,210%20Z'%20/%3E%3Cpath%20d='M120,125%20L190,145%20L140,210%20L75,180%20Z'%20/%3E%3Cpath%20d='M280,195%20L340,215%20L295,290%20L225,255%20Z'%20/%3E%3Cpath%20d='M140,210%20L225,255%20L170,300%20L95,260%20Z'%20/%3E%3C%21--%20Delicate%20dashed%20technical%20chords%20--%3E%3Cline%20x1='340'%20y1='0'%20x2='140'%20y2='210'%20stroke-dasharray='4%205'%20stroke-width='0.6'%20opacity='0.65'%20/%3E%3Cline%20x1='200'%20y1='0'%20x2='225'%20y2='255'%20stroke-dasharray='3%204'%20stroke-width='0.6'%20opacity='0.65'%20/%3E%3Cline%20x1='45'%20y1='105'%20x2='295'%20y2='290'%20stroke-dasharray='2%205'%20stroke-width='0.5'%20opacity='0.5'%20/%3E%3C%21--%20Top-Right%20Corner%20framing%20tick%20--%3E%3Cpath%20d='M315,10%20L330,10%20L330,25'%20stroke-width='1.2'%20opacity='0.75'%20/%3E%3C/g%3E%3C%21--%20Vertex%20Nodes%20--%3E%3Cg%20fill='%23FFDEC0'%20opacity='0.35'%3E%3Ccircle%20cx='270'%20cy='90'%20r='1.8'%20/%3E%3Ccircle%20cx='170'%20cy='80'%20r='1.8'%20/%3E%3Ccircle%20cx='190'%20cy='145'%20r='1.8'%20/%3E%3Ccircle%20cx='280'%20cy='195'%20r='1.8'%20/%3E%3Ccircle%20cx='120'%20cy='125'%20r='1.5'%20/%3E%3Ccircle%20cx='140'%20cy='210'%20r='1.5'%20/%3E%3Ccircle%20cx='225'%20cy='255'%20r='1.5'%20/%3E%3Ccircle%20cx='90'%20cy='65'%20r='1.5'%20/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='340'%20height='300'%20viewBox='0%200%20340%20300'%20fill='none'%3E%3C%21--%20Abstract%20Geometric%20Polygonal%20Wireframe%20-%20Bottom%20Left%20Corner%20--%3E%3Cg%20stroke='%23FFDEC0'%20stroke-width='0.85'%20opacity='0.22'%3E%3Cpath%20d='M0,300%20L140,300%20L70,210%20L0,250%20Z'%20/%3E%3Cpath%20d='M140,300%20L230,300%20L170,220%20L70,210%20Z'%20/%3E%3Cpath%20d='M230,300%20L310,300%20L250,235%20L170,220%20Z'%20/%3E%3Cpath%20d='M70,210%20L0,160%20L60,105%20L150,155%20Z'%20/%3E%3Cpath%20d='M170,220%20L70,210%20L150,155%20L220,175%20Z'%20/%3E%3Cpath%20d='M250,235%20L170,220%20L220,175%20L295,195%20Z'%20/%3E%3Cpath%20d='M150,155%20L60,105%20L115,45%20L200,90%20Z'%20/%3E%3Cpath%20d='M220,175%20L150,155%20L200,90%20L265,120%20Z'%20/%3E%3Cpath%20d='M60,105%20L0,85%20L45,10%20L115,45%20Z'%20/%3E%3Cpath%20d='M200,90%20L115,45%20L170,0%20L245,40%20Z'%20/%3E%3C%21--%20Delicate%20dashed%20technical%20chords%20--%3E%3Cline%20x1='0'%20y1='300'%20x2='200'%20y2='90'%20stroke-dasharray='4%205'%20stroke-width='0.6'%20opacity='0.65'%20/%3E%3Cline%20x1='140'%20y1='300'%20x2='115'%20y2='45'%20stroke-dasharray='3%204'%20stroke-width='0.6'%20opacity='0.65'%20/%3E%3Cline%20x1='295'%20y1='195'%20x2='45'%20y2='10'%20stroke-dasharray='2%205'%20stroke-width='0.5'%20opacity='0.5'%20/%3E%3C%21--%20Bottom-Left%20Corner%20framing%20tick%20--%3E%3Cpath%20d='M25,290%20L10,290%20L10,275'%20stroke-width='1.2'%20opacity='0.75'%20/%3E%3C/g%3E%3C%21--%20Vertex%20Nodes%20--%3E%3Cg%20fill='%23FFDEC0'%20opacity='0.35'%3E%3Ccircle%20cx='70'%20cy='210'%20r='1.8'%20/%3E%3Ccircle%20cx='170'%20cy='220'%20r='1.8'%20/%3E%3Ccircle%20cx='150'%20cy='155'%20r='1.8'%20/%3E%3Ccircle%20cx='60'%20cy='105'%20r='1.8'%20/%3E%3Ccircle%20cx='220'%20cy='175'%20r='1.5'%20/%3E%3Ccircle%20cx='200'%20cy='90'%20r='1.5'%20/%3E%3Ccircle%20cx='115'%20cy='45'%20r='1.5'%20/%3E%3Ccircle%20cx='250'%20cy='235'%20r='1.5'%20/%3E%3C/g%3E%3C/svg%3E");
  background-position: 
    top right,
    bottom left;
  background-repeat: 
    no-repeat,
    no-repeat;
  background-size: 
    340px 300px,
    340px 300px;
}

.hero-bento {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}.hero-bento > *:first-child {
    order: 2; /* العنصر الأول يروح الآخر */
}

.hero-bento > *:last-child {
    order: 1; /* العنصر التاني ييجي الأول */
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.hero-tag::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.hero-main-title {
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-main-title .gold-gradient {
  color: var(--accent);
}

.hero-concise-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 580px;
  line-height: 1.85;
}

/* Interactive Stat Pills Instead of Wall of Text */
.quick-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.metric-pill {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  padding: 16px;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.metric-pill:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.metric-pill strong {
  display: block;
  font-size: 1.35rem;
  color: var(--accent);
  font-weight: 800;
}

.metric-pill span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-glass:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

/* Hero Right Visual Portal */
.hero-visual-stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.visual-arch-frame {
  width: 100%;
  max-width: 440px;
  height: 490px;
  border-radius: 220px 220px 30px 30px;
  padding: 12px;
  background: linear-gradient(
    180deg,
    rgba(152, 107, 76, 0.5) 0%,
    rgba(164, 133, 116, 0.2) 100%
  );
  position: relative;
}

.visual-arch-inner {
  width: 100%;
  height: 100%;
  border-radius: 210px 210px 22px 22px;
  overflow: hidden;
  position: relative;
  background: var(--primary-dark);
}

.visual-arch-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.8s ease;
}

.visual-arch-frame:hover .visual-arch-inner img {
  transform: scale(1.05);
}

/* Floating Orbit Badges Around Arch */
.orbit-badge {
  position: absolute;
  background: rgba(31, 26, 33, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  padding: 12px 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatBadge 4s ease-in-out infinite;
}

.orbit-badge.top-right {
  top: 40px;
  right: -20px;
}

.orbit-badge.bottom-left {
  bottom: 35px;
  left: -25px;
  animation-delay: -2s;
}

.orbit-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(152, 107, 76, 0.18);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* =========================================
         5. SECTION 2: INTERACTIVE TECHNIQUE SWITCHER
         ========================================= */
.interactive-tech-section {
  padding: clamp(55px, 8vw, 90px) 0;
  position: relative;
  z-index: 2;
}

.interactive-tech-section::before {
  content: "";
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -20%);
  width: min(850px, 92vw);
  height: 380px;
  background: radial-gradient(
    circle,
    rgba(164, 133, 116, 0.16) 0%,
    rgba(152, 107, 76, 0.04) 50%,
    transparent 75%
  );
  filter: blur(65px);
  pointer-events: none;
  z-index: 0;
}

.section-head-compact {
  text-align: center;
  margin-bottom: clamp(28px, 5vw, 42px);
  position: relative;
  z-index: 1;
}

.section-head-compact .section-tag {
  color: var(--accent);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  background: rgba(152, 107, 76, 0.08);
  border: 1px solid rgba(152, 107, 76, 0.28);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  box-shadow: none;
}

.section-head-compact h2 {
  font-size: clamp(1.6rem, 4vw, 2.45rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
}

/* Interactive Switcher Navigation Pills */
.tech-tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(26px, 4.5vw, 40px);
  position: relative;
  z-index: 1;
  padding: 4px;
}

.tech-tab-btn {
  background: rgba(52, 44, 47, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 13px 26px;
  min-height: 48px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: clamp(0.88rem, 2.2vw, 0.98rem);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  box-shadow: none;
}

.tech-tab-btn:hover {
  color: var(--white);
  border-color: rgba(164, 133, 116, 0.65);
  background: rgba(164, 133, 116, 0.2);
  transform: translateY(-2px);
  box-shadow: none;
}

.tech-tab-btn:active {
  transform: scale(0.97) translateY(0);
}

.tech-tab-btn.active {
  background: var(--bg-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: none;
}

/* Pulsing Tab Dot Beacon */
.tech-tab-btn .tab-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text-muted);
  position: relative;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.tech-tab-btn.active .tab-dot {
  background: var(--accent);
  box-shadow: none;
}

.tech-tab-btn.active .tab-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  animation: tabDotRipple 1.8s ease-out infinite;
}

@keyframes tabDotRipple {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Dynamic Display Stage */
.tech-display-stage {
  background: var(--bg-deep);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: none;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4.5vw, 46px);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: border-color 0.4s ease;
  box-shadow: none;
}

.tech-display-stage:hover {
  border-color: rgba(164, 133, 116, 0.55);
  box-shadow: none;
}

.tech-display-stage::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle at top right,
    rgba(152, 107, 76, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Panel Grid & Dynamic Reveal */
.tech-panel {
  display: none;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.tech-panel.active {
  display: grid;
  animation: panelFadeIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tech-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(152, 107, 76, 0.12);
  color: var(--accent);
  border: 1px solid var(--border-gold);
  padding: 5px 15px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
  box-shadow: none;
}

.tech-panel h3 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.tech-panel p {
  color: var(--text-secondary);
  font-size: clamp(0.92rem, 1.8vw, 1.02rem);
  margin-bottom: 24px;
  line-height: 1.8;
}

/* Feature Highlights Grid */
.tech-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

/* Panel Action CTA */
.interactive-tech-section .btn-cta {
  background: var(--accent);
  color: #1f1a21;
  font-weight: 800;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-size: clamp(0.88rem, 2vw, 0.95rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: none;
  transition: var(--transition-smooth);
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
}

.interactive-tech-section .btn-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.75s ease;
}

.interactive-tech-section .btn-cta:hover::before {
  left: 180%;
}

.interactive-tech-section .btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.interactive-tech-section .btn-cta:active {
  transform: scale(0.97);
}

.interactive-tech-section .cta-arrow {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.interactive-tech-section .btn-cta:hover .cta-arrow {
  transform: translateX(-4px);
}

/* =========================================
         BIOMETRIC METERS WITH PULSING/FILLING/DRAINING ANIMATION
         ========================================= */
.tech-visual-meters {
  background: rgba(31, 26, 33, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(164, 133, 116, 0.28);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3.5vw, 32px);
  box-shadow: none;
  position: relative;
}

.meters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(164, 133, 116, 0.15);
}

.meters-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meters-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: none;
  animation: livePulseBeacon 1.8s ease-in-out infinite;
}

@keyframes livePulseBeacon {
  0% {
    transform: scale(0.85);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
    box-shadow: none;
  }
  100% {
    transform: scale(0.85);
    opacity: 0.7;
  }
}

.meters-title {
  font-size: clamp(0.82rem, 1.8vw, 0.9rem);
  font-weight: 700;
  color: var(--text-main);
}

.meters-status-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(152, 107, 76, 0.1);
  border: 1px solid rgba(152, 107, 76, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.2px;
}

.meter-item {
  margin-bottom: 18px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  cursor: default;
}

.meter-item:last-child {
  margin-bottom: 0;
}

.meter-item:hover {
  background: rgba(164, 133, 116, 0.1);
  box-shadow: none;
}

.meter-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(0.82rem, 1.8vw, 0.88rem);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.meter-item:hover .meter-label {
  color: var(--white);
}

.meter-label strong.meter-value {
  color: var(--accent);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  transition: all 0.3s ease;
}

.meter-item:hover .meter-label strong.meter-value {
  color: var(--accent-hover);
  transform: scale(1.08);
}

.meter-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(164, 133, 116, 0.2);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: none;
  transition:
    height 0.3s ease,
    border-color 0.3s ease;
}

.meter-item:hover .meter-bar {
  border-color: rgba(164, 133, 116, 0.55);
  height: 11px;
}

/* The Animated Continuous Meter Fill */
.meter-fill {
  height: 100%;
  border-radius: 10px;
  position: relative;
  background: linear-gradient(
    90deg,
    #a48574 0%,
    #a48574 25%,
    #a48574 48%,
    #b1835e4c 70%,
    #b1835e4c 88%,
    #a48574 100%
  );
  background-size: 240% 100%;
  animation: meterShimmer 3.2s linear infinite;
  transition: width 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: width, background-position, filter;
  box-shadow: none;
}

/* Glowing energy tip bead at leading edge (left side in RTL) */
.meter-fill::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: none;
  opacity: 0.95;
  transition: transform 0.3s ease;
}

.meter-item:hover .meter-fill::after {
  transform: translateY(-50%) scale(1.3);
  box-shadow: none;
}

/* Continuous Breathing/Pulsing & Filling and Draining Cycle */
.meter-fill.is-pulsing {
  animation:
    meterShimmer 3.2s linear infinite,
    meterPulseAndDrain 3.8s ease-in-out infinite;
}

.meter-item:nth-child(1) .meter-fill.is-pulsing {
  animation-delay: 0s, 0.2s;
}

.meter-item:nth-child(2) .meter-fill.is-pulsing {
  animation-delay: 0.5s, 1.2s;
}

.meter-item:nth-child(3) .meter-fill.is-pulsing {
  animation-delay: 1s, 2.2s;
}

@keyframes meterShimmer {
  0% {
    background-position: 240% 0;
  }
  100% {
    background-position: -240% 0;
  }
}

/* Organic Pulse: breathing width oscillation (draining then energetic refilling) */
@keyframes meterPulseAndDrain {
  0% {
    width: var(--meter-w);
    filter: brightness(1);
  }
  35% {
    width: calc(var(--meter-w) - 4.5%);
    filter: brightness(0.92);
  }
  65% {
    width: var(--meter-w);
    filter: brightness(1.08) drop-shadow(0 0 4px rgba(152, 107, 76, 0.3));
  }
  82% {
    width: min(100%, calc(var(--meter-w) + 1.8%));
    filter: brightness(1.15) drop-shadow(0 0 8px rgba(164, 133, 116, 0.45));
  }
  100% {
    width: var(--meter-w);
    filter: brightness(1);
  }
}

/* =========================================
         6. SECTION 3: 3D COVERFLOW PHOTO GALLERY (IMAGES ONLY)
         ========================================= */
.gallery-3d-section {
  padding: 90px 0;
  overflow: hidden;
  position: relative;
}

.carousel-3d-stage {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  margin: 20px 0 40px;
  user-select: none;
  touch-action: pan-y;
}

.carousel-3d-card {
  position: absolute;
  width: 360px;
  height: 430px;
  border-radius: 26px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: all 0.65s cubic-bezier(0.2, 0.85, 0.25, 1);
  cursor: pointer;
}

.carousel-3d-card img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

/* Zoom Icon on Active Slide Only (No Text) */
.zoom-hint-btn {
  position: absolute;
  bottom: 18px;
  left: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(31, 26, 33, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition-smooth);
}

/* 3D Coverflow States */
.carousel-3d-card.is-center {
  transform: translate3d(0, 0, 120px) rotateY(0deg);
  z-index: 10;
  border-color: var(--accent);
}

.carousel-3d-card.is-center .zoom-hint-btn {
  opacity: 1;
  transform: scale(1);
}

.carousel-3d-card.is-right-1 {
  transform: translate3d(290px, 0, -40px) rotateY(-28deg) scale(0.88);
  z-index: 8;
  filter: brightness(0.65);
}

.carousel-3d-card.is-left-1 {
  transform: translate3d(-290px, 0, -40px) rotateY(28deg) scale(0.88);
  z-index: 8;
  filter: brightness(0.65);
}

.carousel-3d-card.is-right-2 {
  transform: translate3d(520px, 0, -160px) rotateY(-40deg) scale(0.74);
  z-index: 5;
  filter: brightness(0.35);
}

.carousel-3d-card.is-left-2 {
  transform: translate3d(-520px, 0, -160px) rotateY(40deg) scale(0.74);
  z-index: 5;
  filter: brightness(0.35);
}

.carousel-3d-card.is-hidden {
  transform: translate3d(0, 0, -300px) scale(0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

/* 3D Controls Bar */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.carousel-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-nav-btn:hover {
  background: var(--accent);
  color: #1f1a21;
  border-color: var(--accent);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-dot.active {
  width: 30px;
  border-radius: 10px;
  background: var(--accent);
}

/* Lightbox Fullscreen Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 26, 33, 0.94);
  backdrop-filter: blur(18px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.lightbox-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-modal img {
  max-width: 90vw;
  max-height: 86vh;
  border-radius: 20px;
  border: 2px solid var(--accent);
  transform: scale(0.92);
  transition: transform 0.4s ease;
}

.lightbox-modal.is-open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: #1f1a21;
  border: none;
  font-size: 1.5rem;
  font-weight: 900;
  cursor: pointer;
}

/* =========================================
         7. SECTION 4: INTERACTIVE CINEMA VIDEO STAGE (FIXED)
         ========================================= */
.cinema-video-section {
  padding: 80px 0;
}

.cinema-theater-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 28px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* Main Video Screen */
.cinema-main-screen {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #1f1a21;
  border: 1px solid var(--border-gold);
}

.cinema-main-screen iframe,
.cinema-main-screen .main-video-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.main-video-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.main-video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: transform 0.6s ease;
}

.main-video-cover:hover img {
  transform: scale(1.04);
}

.pulse-play-btn {
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--accent);
  color: #1f1a21;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: var(--transition-smooth);
}

.main-video-cover:hover .pulse-play-btn {
  transform: scale(1.12);
  background: var(--white);
}

/* Video Playlist Sidebar */
.cinema-playlist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(31, 26, 33, 0.65);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: right;
}

.playlist-item:hover,
.playlist-item.active {
  background: linear-gradient(
    90deg,
    rgba(164, 133, 116, 0.28),
    rgba(52, 40, 37, 0.4)
  );
  border-color: var(--accent);
  transform: translateX(-5px);
}

.playlist-thumb {
  width: 110px;
  height: 68px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.playlist-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playlist-thumb .mini-play {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
}

.playlist-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.45;
  margin-bottom: 4px;
}

.playlist-info span {
  font-size: 0.76rem;
  color: var(--accent);
  font-weight: 600;
}

/* =========================================
         8. SECTION 5: FAQ ACCORDION
         ========================================= */
.faq-section {
  padding: 70px 0 90px;
}

.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.is-active {
  border-color: var(--accent);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: right;
}

.faq-icon-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(164, 133, 116, 0.2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
  flex-shrink: 0;
}

.faq-item.is-active .faq-icon-arrow {
  transform: rotate(180deg);
  background: var(--accent);
  color: #1f1a21;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-body-inner {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

/* =========================================
         تطوير السكشن الأول: أنيميشن الكلمة بكلمة
         ========================================= */
.story-glass-stage {
  position: relative;
  background: #1e171e;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(164, 133, 116, 0.35);
  border-right: 4px solid var(--accent);
  border-radius: 22px;
  padding: 24px 26px;
  margin-bottom: 26px;
  box-shadow: none;
  overflow: hidden;
}

/* لمعة ضوئية متحركة خلف الكلام */
.story-glass-stage::before {
  content: "";
  position: absolute;
  top: 0;
  right: -150%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(152, 107, 76, 0.05),
    rgba(164, 133, 116, 0.08),
    transparent
  );
  transform: skewX(-25deg);
  animation: shimmerSweep 8s infinite;
  pointer-events: none;
}

@keyframes shimmerSweep {
  0% {
    right: -150%;
  }
  50%,
  100% {
    right: 150%;
  }
}

.story-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-glow);
}

.pulse-ring {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: none;
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0% {
    box-shadow: none;
  }
  70% {
    box-shadow: none;
  }
  100% {
    box-shadow: none;
  }
}

.replay-text-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.replay-text-btn:hover {
  background: var(--accent);
  color: #1f1a21;
  border-color: var(--accent);
}

/* تنسيق الفقرة الأولى والكلمات المتحركة */
.word-reveal-paragraph {
  font-size: 1.04rem;
  line-height: 2;
  color: var(--text-main);
  margin-bottom: 18px;
  text-align: justify;
}

/* كل كلمة بتاخد الكلاس ده بالـ JS */
.anim-word {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(12px) scale(0.94);
  transition:
    opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.3s ease;
  margin-left: 4px;
  will-change: transform, opacity, filter;
}

.anim-word.is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

/* الكلمات المفتاحية الذهبية المميزة */
.anim-word.highlight-word.is-revealed {
  color: var(--accent);
  font-weight: 700;
  /* text-shadow: 0 0 18px rgba(152, 107, 76, 0.35); */
}

/* تفاعل لطيف لو العميلة عدت الماوس على أي كلمة */
.anim-word.is-revealed:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* كبسولة الفقرة الثانية (النتيجة الطبية) */
.story-golden-conclusion {
  background: linear-gradient(
    90deg,
    rgba(152, 107, 76, 0.14) 0%,
    rgba(164, 133, 116, 0.12) 100%
  );
  border: 1px solid rgba(152, 107, 76, 0.4);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.6s ease;
}

.story-golden-conclusion.box-visible {
  opacity: 1;
  transform: translateY(0);
}

.conclusion-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent);
  color: #1f1a21;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: none;
}

.word-reveal-conclusion {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 640px) {
  .tech-highlights-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }

  .highlight-chip {
    padding: 14px 16px;
    font-size: 0.88rem;
    border-radius: 12px;
  }

  .highlight-chip span {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
}

/* =========================================
         10. RESPONSIVE DESIGN (MOBILE & TABLET)
         ========================================= */
@media (max-width: 1024px) {
  .mobile-toggle {
    display: block;
  }
  .header-cta-desktop {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 85px;
    right: -100%;
    width: 100%;
    max-width: 360px;
    height: calc(100vh - 85px);
    background: #1f1a21;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    overflow-y: auto;
    transition: right 0.35s ease;
    border-left: 1px solid var(--border-glass);
  }

  .main-nav.is-open {
    right: 0;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }
  .dropdown-menu,
  .dropdown-reconstructive,
  .dropdown-cosmetic {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin-top: 6px;
  }
  .nav-item.active-mobile .dropdown-menu {
    display: grid;
  }

  .hero-bento,
  .tech-panel.active,
  .cinema-theater-grid,
  .footer-upper-showcase,
  .footer-contact-strip {
    grid-template-columns: 1fr;
  }

  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
  }

  .carousel-3d-card.is-right-1 {
    transform: translate3d(170px, 0, -60px) rotateY(-22deg) scale(0.84);
  }
  .carousel-3d-card.is-left-1 {
    transform: translate3d(-170px, 0, -60px) rotateY(22deg) scale(0.84);
  }
  .carousel-3d-card.is-right-2,
  .carousel-3d-card.is-left-2 {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 640px) {
  .quick-metrics,
  .tech-highlights-grid,
  .clinic-form .form-row,
  .footer-main-grid {
    grid-template-columns: 1fr;
  }

  .carousel-3d-stage {
    height: 390px;
  }
  .carousel-3d-card {
    width: 285px;
    height: 360px;
  }
  .carousel-3d-card.is-right-1 {
    transform: translate3d(95px, 0, -80px) rotateY(-18deg) scale(0.82);
  }
  .carousel-3d-card.is-left-1 {
    transform: translate3d(-95px, 0, -80px) rotateY(18deg) scale(0.82);
  }

  .tech-display-stage,
  .footer-upper-showcase {
    padding: 24px 18px;
  }

  .interactive-tech-section {
    padding: 50px 0;
  }

  .tech-tabs-nav {
    gap: 8px;
    margin-bottom: 24px;
  }

  .tech-tab-btn {
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
    padding: 11px 16px;
    font-size: 0.88rem;
    min-height: 46px;
  }

  .tech-panel {
    gap: 24px;
  }

  .interactive-tech-section .btn-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-bottom: 6px;
    font-size: 0.92rem;
  }

  .tech-visual-meters {
    padding: 20px 14px;
    margin-top: 6px;
  }

  .doctor-photos-grid {
    grid-template-columns: 1fr;
  }
  .sub-photos-col {
    flex-direction: row;
  }
  .sub-photo {
    flex: 1;
    height: 130px;
  }

  main .container {
    padding: 20px 10px 0px !important;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }
  .anim-word {
    margin-left: 0px !important;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-main-title {
    font-size: 23px;
    text-align: center;
  }

  .hero-experience {
    padding: 0px 0 0px !important;
  }
  .gallery-3d-section {
    padding: 70px 0;
  }
  .faq-section {
    padding: 0 0 20px 0 !important;
  }
  .cinema-video-section {
    padding: 0px 0 20px;
  }
}

@media (max-width: 480px) {
  .interactive-tech-section {
    padding: 38px 0;
  }

  .section-head-compact {
    margin-bottom: 20px;
  }

  .tech-tabs-nav {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .tech-tab-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 0.88rem;
  }

  .tech-display-stage {
    padding: 20px 14px;
    border-radius: 20px;
  }

  .tech-panel h3 {
    font-size: 1.25rem;
  }

  .tech-panel p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 18px;
  }

  .meter-item {
    padding: 6px 8px;
    margin-bottom: 14px;
  }

  .meter-label {
    font-size: 0.8rem;
  }

  .meter-bar {
    height: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-tab-btn,
  .tech-display-stage,
  .meter-fill,
  .meter-fill::after,
  .tech-panel {
    transition: none !important;
    animation: none !important;
  }
  .meter-fill {
    width: var(--meter-w) !important;
  }
}

/* =========================================
         HAIR LOSS LUXE DESIGN SYSTEM & COMPONENT CARDS
         ========================================= */
:root {
  --bg-deep: #1f1a21;
  --bg-surface: #342c2f;
  --bg-glass: rgba(52, 44, 47, 0.65);
  --bg-glass-heavy: rgba(31, 26, 33, 0.9);

  /* Brand Palette */
  --primary-dark: #342825;
  --primary-mid: #b1835e4c;
  --primary-light: #a48574;
  --primary-glow: #a48574;
  --accent: #b1835e;
  --accent-hover: #a87856;
  --accent-glow: rgba(152, 107, 76, 0.35);

  /* Typography Colors */
  --white: #faf7f5;
  --text-main: #faf7f5;
  --text-secondary: #d8ceca;
  --text-muted: #a48574;

  /* Borders & Effects */
  --border-glass: rgba(164, 133, 116, 0.22);
  --border-gold: rgba(152, 107, 76, 0.45);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-full: 9999px;
  --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hero Empathy Dark-Luxe Card */
.hair-empathy-luxe-card {
  background: linear-gradient(
    135deg,
    rgba(52, 44, 47, 0.78) 0%,
    rgba(31, 26, 33, 0.92) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  margin-bottom: 28px;
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.hair-empathy-luxe-card:hover {
  border-color: var(--accent-gold);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 25px rgba(152, 107, 76, 0.12);
}

.empathy-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(152, 107, 76, 0.15);
}

.empathy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.empathy-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: livePulseBeacon 1.8s ease-in-out infinite;
}

.doctor-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(152, 107, 76, 0.15);
  border: 1px solid var(--border-gold-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.hero-trust-indicator {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-right: 14px;
}

.trust-stars {
  color: var(--accent-gold);
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.trust-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Section 1: Hair Restoration Solutions Grid */
.hair-solutions-section {
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
  z-index: 2;
}

.section-head-luxe {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(36px, 5vw, 54px);
}

.section-badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(152, 107, 76, 0.1);
  border: 1px solid var(--border-gold-subtle);
  color: var(--accent-gold);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.section-head-luxe h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 14px;
}

.section-head-luxe p {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.8;
}

.hair-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.hair-solution-card {
  background: linear-gradient(
    145deg,
    rgba(52, 44, 47, 0.7) 0%,
    rgba(31, 26, 33, 0.88) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.hair-solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(152, 107, 76, 0.12) 0%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.hair-solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(152, 107, 76, 0.15);
}

.hair-solution-card:hover::before {
  opacity: 1;
}

.hair-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.hair-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(152, 107, 76, 0.12);
  border: 1px solid var(--border-gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition:
    transform 0.4s ease,
    background 0.4s ease;
}

.hair-solution-card:hover .hair-card-icon {
  transform: scale(1.1) rotate(4deg);
  background: rgba(152, 107, 76, 0.22);
  border-color: var(--accent-gold);
}

.hair-card-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(152, 107, 76, 0.08);
  border: 1px solid rgba(152, 107, 76, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.hair-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
}

.hair-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 22px;
  flex-grow: 1;
}

.hair-card-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.h-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 500;
}

.h-chip span {
  color: var(--accent-gold);
  font-weight: 800;
}

.hair-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(152, 107, 76, 0.15);
}

.card-status-pill {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.card-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.9rem;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.card-link-arrow:hover {
  color: var(--white);
  transform: translateX(-4px);
}

.card-link-arrow .arrow-sym {
  transition: transform 0.3s ease;
}

.card-link-arrow:hover .arrow-sym {
  transform: translateX(-4px);
}

/* Consultation Strip */
.hair-consultation-strip {
  background: linear-gradient(
    135deg,
    rgba(52, 44, 47, 0.85) 0%,
    rgba(31, 26, 33, 0.95) 100%
  );
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.strip-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.strip-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(152, 107, 76, 0.15);
  border: 1px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.strip-info h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.strip-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 992px) {
  .hair-solutions-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hair-consultation-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .hair-consultation-strip .btn-cta {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
         PREMIUM SPLIT-SCREEN LAYOUT (Zero Shadows, High Typography)
         ========================================================= */
.hair-split-luxe-section {
  padding: 100px 0;
  background: var(--bg-base); /* أسود مطفي */
  border-top: 1px solid var(--border-thin);
  position: relative;
  z-index: 5;
}

.split-luxe-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: flex-start; /* مهم جداً للـ Sticky */
}

/* --- الجانب الأيمن (الثابت - Sticky) --- */
.split-sticky-col {
  position: sticky;
  top: 120px; /* المسافة من أعلى الشاشة عند النزول */
  padding-left: 20px;
}

.luxe-gold-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(152, 107, 76, 0.06);
  border: 1px solid rgba(152, 107, 76, 0.25);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.luxe-gold-pill .pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
  animation: pulseGold 2s infinite;
}

.sticky-title {
  font-family: "Cairo", "Alexandria", sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin: 0 0 16px;
  line-height: 1.25;
}

.sticky-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 90%;
}

/* Abstract SVG Art Animation */
.abstract-follicle-art {
  width: 180px;
  height: 180px;
  margin-bottom: 40px;
  opacity: 0.8;
}
.abstract-follicle-art svg {
  width: 100%;
  height: 100%;
}

.spin-slow {
  animation: spin 20s linear infinite;
  transform-origin: center;
}
.spin-reverse {
  animation: spinReverse 15s linear infinite;
  transform-origin: center;
}

.draw-line-1,
.draw-line-2,
.draw-line-3 {
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  animation: drawAnatomy 3s ease-in-out forwards infinite alternate;
}
.draw-line-2 {
  animation-delay: 0.5s;
}
.draw-line-3 {
  animation-delay: 1s;
}

.pulse-node {
  animation: nodePulse 2s infinite alternate;
}
.delay-1 {
  animation-delay: 0.5s;
}
.delay-2 {
  animation-delay: 1s;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes spinReverse {
  100% {
    transform: rotate(-360deg);
  }
}
@keyframes drawAnatomy {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes nodePulse {
  0% {
    r: 2;
    opacity: 0.5;
  }
  100% {
    r: 4;
    opacity: 1;
  }
}

.btn-luxe-solid {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: #1f1a21;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.btn-luxe-solid:hover {
  background: var(--white);
  transform: translateY(-3px);
}
.btn-luxe-solid svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}
.btn-luxe-solid:hover svg {
  transform: translateX(-4px);
}

/* --- الجانب الأيسر (المتحرك - Modules) --- */
.split-scroll-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: 10px; /* لعمل توازن بصري مع بداية الـ sticky */
}

.luxe-module-item {
  background: rgba(52, 44, 47, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-thin);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* الخط الذهبي اللي بيظهر من الجنب */
.luxe-module-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0; /* RTL */
  width: 0;
  background: var(--accent-gold);
  transition: width 0.4s ease;
}

/* تأثير الماوس السحري (Magnetic Effect) */
.luxe-module-item:hover {
  background: rgba(52, 44, 47, 0.95);
  border-color: rgba(152, 107, 76, 0.3);
  transform: translateX(-12px); /* حركة لليسار لجذب الانتباه */
}

.luxe-module-item:hover::before {
  width: 4px;
}

/* الأرقام العملاقة (Typography Art) */
.huge-outline-num {
  position: absolute;
  top: -25px;
  left: -15px; /* RTL - يظهر على اليسار مقطوع جزئياً */
  font-family: Arial, sans-serif;
  font-size: 160px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.03);
  z-index: 0;
  line-height: 1;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxe-module-item:hover .huge-outline-num {
  -webkit-text-stroke: 1px rgba(152, 107, 76, 0.15);
  transform: translateY(15px); /* حركة خفيفة لأسفل */
}

/* رأس اللوحة (أيقونة + عنوان) */
.module-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.module-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.module-icon svg {
  width: 30px;
  height: 30px;
  transition: color 0.4s ease;
}

.luxe-module-item:hover .module-icon {
  background: rgba(152, 107, 76, 0.1);
  border-color: rgba(152, 107, 76, 0.3);
  color: var(--accent-gold);
  transform: scale(1.05) rotate(5deg);
}

.module-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.latin-track {
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.module-meta h3 {
  font-family: "Cairo", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}

/* جسم اللوحة */
.module-body {
  position: relative;
  z-index: 2;
}

.module-body p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin: 0 0 24px;
  /* Animation setup */
  opacity: 0.8;
  transition: opacity 0.4s ease;
}

.luxe-module-item:hover .module-body p {
  opacity: 1;
  color: var(--white);
}

.module-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.module-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
  transition:
    color 0.4s ease,
    transform 0.4s ease;
  transform: translateX(10px);
}

.gold-dot {
  width: 5px;
  height: 5px;
  background: var(--accent-gold);
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.luxe-module-item:hover .module-features li {
  color: var(--text-main);
  transform: translateX(0); /* دخول مميز للنقاط عند الـ hover */
}
.luxe-module-item:hover .module-features li:nth-child(1) {
  transition-delay: 0.1s;
}
.luxe-module-item:hover .module-features li:nth-child(2) {
  transition-delay: 0.2s;
}

.luxe-module-item:hover .gold-dot {
  transform: scale(1.5);
  box-shadow: 0 0 8px rgba(152, 107, 76, 0.5);
}

/* =========================================================
         RESPONSIVE RULES
         ========================================================= */
@media (max-width: 1024px) {
  .split-luxe-grid {
    grid-template-columns: 1fr; /* إلغاء الانقسام في الموبايل والتابلت */
    gap: 50px;
  }

  .split-sticky-col {
    position: relative; /* إلغاء التثبيت */
    top: 0;
    padding-left: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sticky-desc {
    margin: 0 auto 30px;
    text-align: center;
  }
  .abstract-follicle-art {
    display: none; /* إخفاؤها في الموبايل لتوفير المساحة */
  }

  .split-scroll-col {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .luxe-module-item {
    padding: 30px 20px;
  }
  .huge-outline-num {
    font-size: 110px;
    top: -15px;
    left: -10px;
  }
  .module-meta h3 {
    font-size: 1.35rem;
  }
  /* إلغاء الأنيميشن العنيف في الموبايل لتسهيل القراءة */
  .luxe-module-item:hover {
    transform: translateY(-4px); /* رفع خفيف بدلاً من الحركة الأفقية */
  }
  .module-features li {
    transform: translateX(0);
    color: var(--text-main);
  }
}

.section-head-compact h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 50px;
  box-shadow: 0 0 12px var(--accent-glow);
}

.section-head-compact h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.4;
  position: relative;
  display: inline-block;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding-bottom: 15px;
}

.specialty-floating-wrapper {
  position: absolute;
  bottom: 72%;
  right: -30px;
  z-index: 10;
  opacity: 0; /* تبدأ مخفية لتطبيق تأثير الظهور */

  /* دمج أنيميشن الظهور المتدرج (Fade In) مع أنيميشن الطفو المستمر */
  animation:
    fadeEntrance 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards,
    /* الظهور أولاً */ floatAndFade 4s ease-in-out 1.7s infinite alternate; /* الطفو المستمر بعد الظهور */
}

.specialty-img-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(31, 26, 33, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(152, 107, 76, 0.5);
  padding: 6px;
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.4),
    inset 0 0 15px rgba(152, 107, 76, 0.1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.specialty-img-circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.specialty-img-circle::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px dashed rgba(164, 133, 116, 0.6);
  animation: spinSlowly 15s linear infinite;
  pointer-events: none;
}

.specialty-img-circle::after {
  content: "";
  position: absolute;
  inset: -22px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='210'%20height='210'%20viewBox='0%200%20210%20210'%20fill='none'%3E%3C%21--%20Geometric%20Polygonal%20Frame%20Decoration%20Wrapping%20Closely%20Around%20.specialty-img-circle%20--%3E%3Cg%20stroke='%23FFDEC0'%20stroke-width='0.85'%20opacity='0.26'%3E%3C%21--%20Polygonal%20Faceted%20Outer%20Ring%20--%3E%3Cpath%20d='M%20195.0,105.0%20L%20182.9,150.0%20L%20150.0,182.9%20L%20105.0,195.0%20L%2060.0,182.9%20L%2027.1,150.0%20L%2015.0,105.0%20L%2027.1,60.0%20L%2060.0,27.1%20L%20105.0,15.0%20L%20150.0,27.1%20L%20182.9,60.0%20Z'%20/%3E%3C%21--%20Fine%20dashed%20geometric%20orbit%20--%3E%3Ccircle%20cx='105'%20cy='105'%20r='84'%20stroke-dasharray='3%204'%20stroke-width='0.6'%20opacity='0.7'%20/%3E%3C%21--%20Radial%20Tick%20Marks%20--%3E%3Cpath%20d='M%20188.0,105.0%20L%20192.0,105.0%20M%20176.9,146.5%20L%20180.3,148.5%20M%20146.5,176.9%20L%20148.5,180.3%20M%20105.0,188.0%20L%20105.0,192.0%20M%2063.5,176.9%20L%2061.5,180.3%20M%2033.1,146.5%20L%2029.7,148.5%20M%2022.0,105.0%20L%2018.0,105.0%20M%2033.1,63.5%20L%2029.7,61.5%20M%2063.5,33.1%20L%2061.5,29.7%20M%20105.0,22.0%20L%20105.0,18.0%20M%20146.5,33.1%20L%20148.5,29.7%20M%20176.9,63.5%20L%20180.3,61.5'%20stroke-width='0.75'%20/%3E%3C%21--%20Corner%20Framing%20Brackets%20--%3E%3Cpath%20d='M%2022,36%20L%2022,22%20L%2036,22%20M%20174,22%20L%20188,22%20L%20188,36%20M%20188,174%20L%20188,188%20L%20174,188%20M%2036,188%20L%2022,188%20L%2022,174'%20stroke-width='1.1'%20opacity='0.85'%20/%3E%3C/g%3E%3C%21--%20Geometric%20Diamond%20Accents%20--%3E%3Cg%20stroke='%23FFDEC0'%20stroke-width='0.7'%20fill='none'%20opacity='0.32'%3E%3Cpath%20d='M%20199.5,105.0%20L%20202.0,102.5%20L%20204.5,105.0%20L%20202.0,107.5%20Z'%20/%3E%3Cpath%20d='M%20171.1,173.6%20L%20173.6,171.1%20L%20176.1,173.6%20L%20173.6,176.1%20Z'%20/%3E%3Cpath%20d='M%20102.5,202.0%20L%20105.0,199.5%20L%20107.5,202.0%20L%20105.0,204.5%20Z'%20/%3E%3Cpath%20d='M%2033.9,173.6%20L%2036.4,171.1%20L%2038.9,173.6%20L%2036.4,176.1%20Z'%20/%3E%3Cpath%20d='M%205.5,105.0%20L%208.0,102.5%20L%2010.5,105.0%20L%208.0,107.5%20Z'%20/%3E%3Cpath%20d='M%2033.9,36.4%20L%2036.4,33.9%20L%2038.9,36.4%20L%2036.4,38.9%20Z'%20/%3E%3Cpath%20d='M%20102.5,8.0%20L%20105.0,5.5%20L%20107.5,8.0%20L%20105.0,10.5%20Z'%20/%3E%3Cpath%20d='M%20171.1,36.4%20L%20173.6,33.9%20L%20176.1,36.4%20L%20173.6,38.9%20Z'%20/%3E%3C/g%3E%3C%21--%20Cardinal%20Node%20Dots%20--%3E%3Cg%20fill='%23FFDEC0'%20opacity='0.38'%3E%3Ccircle%20cx='105'%20cy='15'%20r='1.6'%20/%3E%3Ccircle%20cx='195'%20cy='105'%20r='1.6'%20/%3E%3Ccircle%20cx='105'%20cy='195'%20r='1.6'%20/%3E%3Ccircle%20cx='15'%20cy='105'%20r='1.6'%20/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 2;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.specialty-img-circle:hover::after {
  transform: scale(1.05) rotate(15deg);
  opacity: 0.9;
}

/* تأثير عند مرور الماوس (Hover) */
.specialty-img-circle:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(152, 107, 76, 0.4);
  border-color: var(--accent);
}

.specialty-img-circle:hover img {
  transform: scale(1.08);
  filter: brightness(1.1); /* إضاءة خفيفة للصورة عند الماوس */
}

/* 1. أنيميشن الدخول (Fade In & Slide Up) */
@keyframes fadeEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0px) scale(1);
  }
}

/* 2. أنيميشن الطفو مع التلاشي الخفيف المستمر (Float & Fade Breathing) */
@keyframes floatAndFade {
  0% {
    transform: translateY(0px);
    opacity: 0.85; /* شفافة قليلاً في الأسفل */
  }
  100% {
    transform: translateY(-20px);
    opacity: 1; /* واضحة تماماً في الأعلى */
  }
}

@keyframes spinSlowly {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* --- إعدادات الموبايل --- */
@media (max-width: 768px) {
  .specialty-floating-wrapper {
    bottom: -72px;
    right: auto;
    left: 0px;
  }
  .specialty-img-circle {
    width: 150px;
    height: 150px;
  }
  .specialty-img-circle::before {
    inset: -5px;
  }
}
