  /* ============================================
    DR SMILE DENTAL CLINIC — MAIN STYLESHEET
    Production-Ready | RTL | Mobile-First
    ============================================ */

  /* ===== CSS VARIABLES ===== */
  :root {
    /* Brand Colors */
    --primary: #1a9ea0;
    --primary-dark: #147f81;
    --primary-light: #2dc4c6;
    --primary-pale: #e6f7f7;
    --accent: #f0a500;
    --accent-dark: #d4911b;

    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8fbfb;
    --light-bg: #f0f7f7;
    --border: #ddeaea;
    --text-dark: #1a2e2e;
    --text-body: #3d5454;
    --text-muted: #7a9999;

    /* Dark Section */
    --dark-teal: #0f2a2a;
    --dark-teal-2: #163535;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(26,158,160,0.10);
    --shadow-md: 0 8px 32px rgba(26,158,160,0.15);
    --shadow-lg: 0 20px 60px rgba(26,158,160,0.20);
    --shadow-card: 0 4px 24px rgba(0,0,0,0.08);

    /* Radius */
    --r-sm: 8px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 36px;
    --r-full: 9999px;

    /* Transitions */
    --ease: cubic-bezier(0.4,0,0.2,1);
    --ease-bounce: cubic-bezier(0.34,1.56,0.64,1);
    --duration: 0.3s;

    /* Typography */
    --font-main: 'Cairo', 'Tajawal', sans-serif;

    /* Spacing */
    --section-pad: 100px 0;
    --container: 1280px;

  }

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

html {
  /* امسح scroll-behavior: smooth من هنا مؤقتًا لو موجودة */
  /* scroll-behavior: smooth; */ 
  font-size: 16px;
}

  body {
    font-family: var(--font-main);
    color: var(--text-body);
    background: var(--white);
    direction: rtl;
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }

  img { max-width: 100%; height: auto; display: block; }
  a { color: inherit; text-decoration: none; }
  button { cursor: pointer; font-family: var(--font-main); border: none; background: none; }
  ul { list-style: none; }
  input, select, textarea { font-family: var(--font-main); }

  /* ===== SCROLLBAR ===== */
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: var(--light-bg); }
  ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: var(--r-full); }

  /* ===== UTILITY ===== */
  .container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
  .section-pad { padding: var(--section-pad); }
  .bg-light { background: var(--light-bg); }
  .bg-dark-teal { background: var(--dark-teal); }
  .hidden { display: none !important; }
  .accent { color: var(--primary); }
  .accent-light { color: var(--primary-light); }

  /* ===== GLASS CARD ===== */
  .glass-card {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(26,158,160,0.15);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
  }

  /* ===== BUTTONS ===== */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--r-full);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--duration) var(--ease);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
  }

  .btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
  }
  .btn:hover::after { opacity: 1; }

  .btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(26,158,160,0.35);
  }
  .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(26,158,160,0.45);
  }

  .btn-ghost {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
    backdrop-filter: blur(8px);
  }
  .btn-ghost:hover {
    background: rgba(255,255,255,0.25);
    border-color: var(--white);
    transform: translateY(-2px);
  }

  .btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
  }
  .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }

  .btn-lg { padding: 15px 36px; font-size: 1.05rem; }
  .btn-nav { padding: 10px 22px; font-size: 0.88rem; }
  .btn-full { width: 100%; justify-content: center; }

  /* ===== SECTION HEADER ===== */
  .section-header { text-align: center; margin-bottom: 60px; }
  .section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-pale);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 6px 18px;
    border-radius: var(--r-full);
    margin-bottom: 14px;
    text-transform: uppercase;
  }
  .section-label.light {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
  }
  .section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 16px;
  }
  .section-title.light { color: var(--white); }
  .section-desc { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

  /* ============================================
    PRELOADER
    ============================================ */
  #preloader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s var(--ease), visibility 0.5s;
  }
  #preloader.done { opacity: 0; visibility: hidden; }

  .preloader-inner { text-align: center; }
  .preloader-logo { margin-bottom: 24px; animation: pulse-logo 1.2s ease-in-out infinite; }
  .preloader-bar {
    width: 200px;
    height: 4px;
    background: var(--border);
    border-radius: var(--r-full);
    overflow: hidden;
  }
  .preloader-progress {
    height: 100%;
    background: var(--primary);
    border-radius: var(--r-full);
    animation: progress-fill 1.8s ease-in-out forwards;
  }

  @keyframes pulse-logo { 0%,100%{transform:scale(1)} 50%{transform:scale(1.05)} }
  @keyframes progress-fill { from{width:0} to{width:100%} }

  /* ============================================
    NAVBAR
    ============================================ */
 /* ============================================
    NAVBAR
    ============================================ */
  .navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease);
  }
  .navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 24px rgba(26,158,160,0.12);
    padding: 10px 0;
  }

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

  /* Logo */
  .nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
  }
  .logo-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: transform var(--duration) var(--ease-bounce);
  }
  .nav-logo:hover .logo-icon { transform: rotate(-8deg) scale(1.05); }
  .logo-text { display: flex; flex-direction: column; line-height: 1.2; }
  .logo-main { font-size: 1.1rem; font-weight: 800; color: var(--text-dark); }
  .navbar:not(.scrolled) .logo-main { color: var(--white); }
  .logo-sub { font-size: 0.68rem; color: var(--text-muted); font-weight: 500; }
  .navbar:not(.scrolled) .logo-sub { color: rgba(255,255,255,0.7); }

  /* Nav Links */
  .nav-menu { 
    flex: 1; 
    display: flex;
    justify-content: center;
  }
  .nav-list { 
    display: flex; 
    align-items: center; 
    gap: 4px; 
    justify-content: center; 
  }
  .nav-item { position: relative; }

  .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    border-radius: var(--r-sm);
    transition: all var(--duration) var(--ease);
    white-space: nowrap;
  }
  .navbar.scrolled .nav-link { color: var(--text-dark); }
  .nav-link:hover, .nav-link.active { color: var(--primary); }
  .navbar.scrolled .nav-link:hover { background: var(--primary-pale); }

  .nav-highlight {
    color: var(--primary-light) !important;
    font-weight: 700;
  }
  .navbar.scrolled .nav-highlight { color: var(--primary) !important; }

  .nav-arrow {
    font-size: 0.65rem;
    transition: transform var(--duration) var(--ease);
  }
  .nav-dropdown:hover .nav-arrow { transform: rotate(180deg); }

  /* Dropdown */
  .dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    min-width: 220px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s var(--ease);
    z-index: 100;
  }
  .dropdown-wide { min-width: 280px; }
  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-body);
    border-radius: var(--r-sm);
    transition: all var(--duration) var(--ease);
  }
  .dropdown-menu li a i { color: var(--primary); font-size: 0.8rem; width: 16px; }
  .dropdown-menu li a:hover { background: var(--primary-pale); color: var(--primary); }

  /* Nav Actions */
  .nav-actions { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    flex-shrink: 0; 
  }
  .nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    background: rgba(255,255,255,0.15);
  }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--duration) var(--ease);
  }
  .navbar.scrolled .nav-toggle span { background: var(--text-dark); }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE NAVBAR ===== */
@media (max-width: 768px) {
  .nav-container {
    justify-content: space-between;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    padding: 80px 20px 32px;
    box-shadow: -4px 0 30px rgba(0,0,0,0.2);
    transition: right 0.4s var(--ease);
    overflow-y: auto;
    z-index: 999;
    display: block;
    justify-content: flex-start;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-link {
    color: var(--text-dark) !important;
    padding: 12px 16px;
    border-radius: var(--r-md);
    width: 100%;
    text-align: right;
    justify-content: flex-start;
  }

  .nav-link i {
    margin-left: 8px;
  }

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

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--light-bg);
    margin: 4px 0 8px;
    display: none;
    width: 100%;
  }

  .dropdown-menu li a {
    padding: 10px 30px;
    justify-content: flex-start;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    display: none;
  }

  .nav-overlay.show {
    display: block;
  }

  .nav-actions .btn-nav {
    display: none;
  }
}
/* ============================================
    HERO SECTION (CLEAN VERSION)
    ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 100% !important; 
  margin: 0; 
  width: 100%;
  padding: 120px 5% 60px; 
  overflow: hidden;
}
/* Hero Background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d3333 0%, #1a5555 35%, #1a9ea0 70%, #0f7a7c 100%);
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.95);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--r-full);
  margin-bottom: 20px;
}

.hero-badge i { color: var(--accent); }

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title-main { display: block; }
.hero-title-accent {
  display: block;
  color: var(--primary-light);
  text-shadow: 0 0 40px rgba(45,196,198,0.5);
}
.hero-title-sub {
  display: block;
  font-size: 0.5em;
  font-weight: 600;
  opacity: 0.85;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-lg);
  padding: 20px 28px;
  width: fit-content;
}

.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-plus {
  color: var(--primary-light);
  font-weight: 900;
  font-size: 1.2rem;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* Hero Image */
.hero-image {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-right: auto;
}

.hero-img-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: visible;
}

.hero-img-frame::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent), var(--primary));
  border-radius: calc(var(--r-xl) + 3px);
  z-index: -1;
  opacity: 0.6;
  animation: border-glow 3s ease-in-out infinite;
}

@keyframes border-glow {
  0%,100%{opacity:0.4}
  50%{opacity:0.8}
}

.hero-img-frame img {
  width: 100%;
  height: auto; max-height: 500px; object-fit: contain;
  object-fit: cover;
  border-radius: var(--r-xl);
  display: block;
}

.hero-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--r-md);
  min-width: 180px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  animation: float-badge 4s ease-in-out infinite;
}

.hero-img-badge i {
  font-size: 1.8rem;
  color: var(--primary);
}
.hero-img-badge strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.hero-img-badge small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@keyframes float-badge {
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-8px)}
}

/* ===== HERO RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-image {
    order: -1;
    max-width: 450px;
    margin: 0 auto;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
    margin: 0 auto;
  }
  .hero-badge {
    margin: 0 auto 20px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 16px 60px;
  }
  .hero-image {
    max-width: 100%;
  }
  .hero-img-frame img {
    height: auto;
    max-height: 280px;
    object-fit: cover;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
  }
  .stat-divider {
    display: none;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-desc {
    font-size: 0.9rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }
  .hero-img-badge {
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    min-width: 140px;
    padding: 8px 14px;
  }
  .hero-img-badge i {
    font-size: 1.2rem;
  }
  .hero-img-badge strong {
    font-size: 0.8rem;
  }
  .hero-img-badge small {
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 12px 50px;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .hero-desc {
    font-size: 0.85rem;
    margin-bottom: 24px;
  }
  .hero-img-frame img {
    max-height: 220px;
  }
  .hero-stats {
    gap: 12px;
    padding: 12px;
  }
  .stat-num {
    font-size: 1.2rem;
  }
  .stat-label {
    font-size: 0.6rem;
  }
  .hero-actions .btn {
    max-width: 220px;
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  .hero-img-badge {
    min-width: 120px;
    padding: 6px 10px;
  }
  .hero-img-badge i {
    font-size: 1rem;
  }
  .hero-img-badge strong {
    font-size: 0.7rem;
  }
}

/* Scroll Hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  animation: fade-in-up 1s 1.5s both;
}

.scroll-arrow {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce-arrow 2s ease-in-out infinite;
}

@keyframes bounce-arrow {
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(6px)}
}

/* #home wrapper */
#home {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid; 
  align-items: center;
  padding: 120px 5% 80px;
}

#home > .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#home > .hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}

#home > .hero-content,
#home > .hero-image {
  position: relative;
  z-index: 2;
}

  /* ============================================
    ABOUT SECTION
    ============================================ */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .about-img-wrapper {
    position: relative;
    border-radius: var(--r-xl);
    overflow: visible;
  }
  .about-img-wrapper img {
    width: 100%;
    height: auto; max-height: 580px; object-fit: contain;
    object-fit: cover;
    border-radius: var(--r-xl);
    display: block;
  }
  .about-img-overlay {
    position: absolute;
    inset: 0;
    border-radius: var(--r-xl);
    background: linear-gradient(to bottom, transparent 60%, rgba(26,158,160,0.15));
    pointer-events: none;
  }
  .about-experience-badge {
    position: absolute;
    bottom: 28px;
    left: -28px;
    background: var(--primary);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    animation: float-badge 4s ease-in-out infinite;
  }
  .exp-num { display: block; font-size: 2.4rem; font-weight: 900; line-height: 1; }
  .exp-text { font-size: 0.8rem; font-weight: 600; opacity: 0.9; }

  /* About image decorative border */
  .about-img-wrapper::before {
    content: '';
    position: absolute;
    top: -12px;
    right: -12px;
    width: 60%;
    height: 60%;
    border-top: 3px solid var(--primary);
    border-right: 3px solid var(--primary);
    border-radius: 0 var(--r-xl) 0 0;
    z-index: -1;
  }
  .about-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: -12px;
    width: 40%;
    height: 40%;
    border-bottom: 3px solid var(--primary-light);
    border-left: 3px solid var(--primary-light);
    border-radius: 0 0 0 var(--r-lg);
    z-index: -1;
  }

  .about-text { color: var(--text-body); margin-bottom: 16px; font-size: 1rem; }

  .about-features { display: flex; flex-direction: column; gap: 16px; margin: 28px 0 32px; }
  .feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--off-white);
    border-radius: var(--r-md);
    border-right: 3px solid var(--primary);
    transition: all var(--duration) var(--ease);
  }
  .feature-item:hover {
    background: var(--primary-pale);
    transform: translateX(-4px);
  }
  .feature-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-pale);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
  }
  .feature-text { display: flex; flex-direction: column; }
  .feature-text strong { font-size: 0.92rem; color: var(--text-dark); }
  .feature-text span { font-size: 0.8rem; color: var(--text-muted); }

  /* ============================================
    SERVICES SECTION
    ============================================ */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
  }

.service-card {
    display: flex;
    flex-direction: column; /* خلي العناصر تحت بعض */
    height: 100%; /* اجبر الكارد يملأ الطول المتاح */
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}
  .service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.35s var(--ease);
  }
  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
  }
  .service-card:hover::before { transform: scaleX(1); }

  .service-icon-wrap {
    width: 72px;
    height: 72px;
    background: var(--primary-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: all var(--duration) var(--ease);
    padding: 14px;
  }
  .service-card:hover .service-icon-wrap {
    background: var(--primary);
    transform: scale(1.1);
  }
  .service-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
    transition: filter var(--duration) var(--ease);
  }
  .service-card:hover .service-icon-wrap img { filter: brightness(0) invert(1); }

  .service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
  }
.service-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1; /* السطر ده هو السر: بيخلي الوصف ياخد كل المساحة الفاضية ويزق اللينك لتحت */
}
.service-link {
    margin-top: auto; /* تأكيد إضافي إن اللينك يلزق في القاع */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

  .service-link:hover { gap: 10px; }

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

  /* ============================================
    PACKAGES SECTION
    ============================================ */
  .packages { position: relative; }
  .packages-bg-decor {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 10% 20%, rgba(26,158,160,0.05) 0%, transparent 50%),
      radial-gradient(circle at 90% 80%, rgba(26,158,160,0.05) 0%, transparent 50%);
    pointer-events: none;
  }

  .packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
  }

  .package-card {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 36px 28px;
    border: 1px solid var(--border);
    transition: all 0.35s var(--ease);
    position: relative;
    text-align: center;
  }
  .package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
  }
  .package-featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: transparent;
    color: var(--white);
    transform: scale(1.02);
  }
  .package-featured:hover { transform: scale(1.02) translateY(-8px); }

  .pkg-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 18px;
    border-radius: var(--r-full);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(240,165,0,0.4);
  }

  .pkg-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary);
  }
  .package-featured .pkg-icon {
    background: rgba(255,255,255,0.2);
    color: var(--white);
  }

  .package-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
  }
  .package-featured h3 { color: var(--white); }

  .pkg-price { margin-bottom: 20px; }
  .price-from { display: block; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 4px; }
  .package-featured .price-from { color: rgba(255,255,255,0.7); }
  .price-num { font-size: 2.4rem; font-weight: 900; color: var(--primary); }
  .package-featured .price-num { color: var(--white); }
  .price-cur { font-size: 1rem; font-weight: 600; color: var(--text-muted); margin-right: 4px; }
  .package-featured .price-cur { color: rgba(255,255,255,0.7); }

  .pkg-features { text-align: right; margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }
  .pkg-features li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-body); }
  .package-featured .pkg-features li { color: rgba(255,255,255,0.9); }
  .pkg-features li i { color: var(--primary); font-size: 0.8rem; }
  .package-featured .pkg-features li i { color: var(--accent); }

  /* ============================================
    FOUNDER SECTION
    ============================================ */
  .founder { position: relative; }
  .founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .founder-quote-icon {
    font-size: 3rem;
    color: rgba(45,196,198,0.3);
    margin-bottom: 20px;
    line-height: 1;
  }
  .founder-text {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin-bottom: 16px;
    line-height: 1.9;
  }
  .founder-signature { display: flex; flex-direction: column; gap: 8px; margin-top: 32px; }
  .sig-line { width: 60px; height: 2px; background: var(--primary-light); }
  .founder-signature strong { color: rgba(255,255,255,0.8); font-size: 0.9rem; }

 .founder-images { 
  position: relative; 
  height: 500px; 
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-img-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 68%;
  height: 85%;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.founder-img-secondary {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55%;
  height: 55%;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--dark-teal);
  object-fit: cover;
}
.founder-img-main img,
.founder-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.5s var(--ease);
}
  .founder-img-main:hover img,
  .founder-img-secondary:hover img { transform: scale(1.04); }

  /* ============================================
    BEFORE/AFTER CASES
    ============================================ */
  .before-after-showcase { margin-bottom: 48px; }
  .ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .ba-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: all var(--duration) var(--ease);
  }
  .ba-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .ba-images { flex: 1; position: relative; }
  .ba-img {
    width: 100%;
    height: auto; aspect-ratio: 4/3; object-fit: contain; background: var(--light-bg);
    object-fit: cover;
    border-radius: var(--r-md);
    display: block;
  }
  .ba-label-before, .ba-label-after {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--r-full);
  }
  .ba-label-before { background: rgba(0,0,0,0.65); color: var(--white); }
  .ba-label-after { background: var(--primary); color: var(--white); }
  .ba-arrow {
    color: var(--primary);
    font-size: 1.4rem;
    flex-shrink: 0;
  }

  /* Slideshow */
  .slideshow-section { margin-bottom: 48px; }
  .slideshow-wrapper { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--text-dark); }
  .slideshow { position: relative; height: 400px; }
  .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s var(--ease);
  }
  .slide.active { opacity: 1; }
  .slide img {
    width: 100%;
    height: 100%;
   object-fit: contain; background: #1a2e2e;
  }
  .slide-label {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 16px;
    border-radius: var(--r-full);
    font-size: 0.82rem;
    font-weight: 600;
  }

  .slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
    transition: all var(--duration) var(--ease);
    z-index: 5;
    border: none;
    cursor: pointer;
  }
  .slide-btn:hover { background: var(--primary); color: var(--white); transform: translateY(-50%) scale(1.1); }
  .slide-prev { right: 16px; }
  .slide-next { left: 16px; }

  .slide-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
  }
  .slide-dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    border: none;
  }
  .slide-dot.active { background: var(--white); width: 24px; border-radius: var(--r-full); }

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

  /* ============================================
    REVIEWS SECTION
    ============================================ */
  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
  }

  .review-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 28px;
    border: 1px solid var(--border);
    transition: all var(--duration) var(--ease);
  }
  .review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }

  .review-stars { color: var(--accent); margin-bottom: 14px; font-size: 0.9rem; letter-spacing: 2px; }
  .review-text { font-size: 0.92rem; color: var(--text-body); line-height: 1.8; margin-bottom: 20px; font-style: italic; }

  .reviewer { display: flex; align-items: center; gap: 12px; }
  .reviewer-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
  }
  .reviewer strong { display: block; font-size: 0.9rem; color: var(--text-dark); }
  .reviewer small { font-size: 0.78rem; color: var(--text-muted); }

  /* Video */
  .video-section { max-width: 800px; margin: 0 auto; }
  .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
  }
  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  /* ============================================
    AI SECTION
    ============================================ */
  .ai-section { background: linear-gradient(135deg, #f0f7f7, #e6f7f7); }
  .ai-card {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    flex-direction: column;
  }
  .ai-icon-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .ai-icon-wrap i { font-size: 3rem; color: var(--primary); position: relative; z-index: 2; }
  .ai-pulse {
    position: absolute;
    inset: 0;
    background: var(--primary-pale);
    border-radius: 50%;
    animation: ai-pulse 2s ease-in-out infinite;
  }
  @keyframes ai-pulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.6; }
  }
  .ai-content p { font-size: 1rem; color: var(--text-muted); margin-bottom: 24px; max-width: 500px; }

  /* ============================================
    BRANCHES SECTION
    ============================================ */
  .branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .branch-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 36px 28px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.35s var(--ease);
  }
  .branch-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
  .branch-main {
    background: var(--primary);
    border-color: transparent;
    color: var(--white);
  }
  .branch-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
    color: var(--primary);
  }
  .branch-main .branch-icon { background: rgba(255,255,255,0.2); color: var(--white); }
  .branch-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
  .branch-main h3 { color: var(--white); }
  .branch-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 20px; }
  .branch-main p { color: rgba(255,255,255,0.8); }

  .branch-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap var(--duration) var(--ease);
    padding: 8px 18px;
    border-radius: var(--r-full);
    background: var(--primary-pale);
  }
  .branch-link:hover { gap: 12px; background: var(--primary); color: var(--white); }
  .branch-main .branch-link { background: rgba(255,255,255,0.2); color: var(--white); }
  .branch-main .branch-link:hover { background: var(--white); color: var(--primary); }

  /* ============================================
    CONTACT / BOOKING SECTION
    ============================================ */
  .contact { position: relative; }
  .contact-bg-decor {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 5% 50%, rgba(26,158,160,0.07) 0%, transparent 50%),
      radial-gradient(circle at 95% 50%, rgba(26,158,160,0.07) 0%, transparent 50%);
    pointer-events: none;
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
  }

  /* Contact Info */
  .contact-info-card { padding: 36px; }
  .contact-info-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
  }
  .contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .contact-icon {
    width: 42px;
    height: 42px;
    background: var(--primary-pale);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
  }
  .contact-item strong { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 2px; }
  .contact-item a, .contact-item span { font-size: 0.9rem; color: var(--text-dark); font-weight: 600; }
  .contact-item a:hover { color: var(--primary); }

  .social-links { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
  .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-pale);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all var(--duration) var(--ease);
  }
  .social-links a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }

  /* Contact Form */
  .contact-form {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
  }

  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .form-group { margin-bottom: 20px; }
  .form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
  }
  .req { color: var(--primary); }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--r-md);
    font-size: 0.92rem;
    color: var(--text-dark);
    background: var(--off-white);
    transition: all var(--duration) var(--ease);
    outline: none;
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26,158,160,0.12);
  }
  .form-group input.error,
  .form-group select.error,
  .form-group textarea.error {
    border-color: #e74c3c;
    background: #fff5f5;
  }
  .form-group textarea { resize: vertical; min-height: 100px; }
  .form-group select { appearance: none; cursor: pointer; }

  .field-error {
    display: block;
    font-size: 0.78rem;
    color: #e74c3c;
    margin-top: 5px;
    min-height: 18px;
  }

  /* Checkbox */
  .form-check { }
  .checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-body);
  }
  .checkbox-label input[type="checkbox"] { display: none; }
  .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration) var(--ease);
    flex-shrink: 0;
  }
  .checkbox-label input:checked ~ .checkmark,
  .checkbox-label:has(input:checked) .checkmark {
    background: var(--primary);
    border-color: var(--primary);
  }
  .checkbox-label:has(input:checked) .checkmark::after {
    content: '✓';
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
  }
  .checkbox-label a { color: var(--primary); text-decoration: underline; }

  /* Form messages */
  .form-success, .form-error {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--r-md);
    margin-bottom: 20px;
    font-size: 0.9rem;
  }
  .form-success { background: #e8f8e8; border: 1px solid #4caf50; color: #2e7d2e; }
  .form-success i { font-size: 1.5rem; color: #4caf50; }
  .form-error { background: #ffeaea; border: 1px solid #e74c3c; color: #c0392b; }
  .form-error i { font-size: 1.5rem; color: #e74c3c; }
  .form-success strong { display: block; font-size: 0.95rem; }
  .form-success span { font-size: 0.82rem; opacity: 0.8; }

  /* ============================================
    FOOTER
    ============================================ */
  .footer { background: var(--text-dark); color: rgba(255,255,255,0.7); }

  .footer-top { padding: 80px 0 48px; }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
  }

  .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
  .footer-logo .logo-icon { background: var(--primary); }
  .footer-logo .logo-main { color: var(--white); }
  .footer-logo .logo-sub { color: rgba(255,255,255,0.5); }

  .footer-desc { font-size: 0.88rem; line-height: 1.8; margin-bottom: 24px; }

  .footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
  .footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all var(--duration) var(--ease);
  }
  .footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }

  .footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
  }
  .footer-links { display: flex; flex-direction: column; gap: 10px; }
  .footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    transition: all var(--duration) var(--ease);
  }
  .footer-links a:hover { color: var(--primary-light); transform: translateX(-4px); }
  .footer-links a i { font-size: 0.75rem; color: var(--primary); }

  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    text-align: center;
  }
  .footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.4); }
  .footer-bottom strong { color: var(--primary-light); }
  .footer-bottom a { color: rgba(255,255,255,0.5); }
  .footer-bottom a:hover { color: var(--primary-light); }

  /* ============================================
    FLOATING ELEMENTS
    ============================================ */
  /* Scroll to top */
  .scroll-top {
    position: fixed;
    bottom: 100px;
    left: 24px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--duration) var(--ease);
  }
  .scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
  .scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }


  @keyframes wa-pulse {
    0%,100% { box-shadow: 0 4px 24px rgba(37,211,102,0.5); }
    50% { box-shadow: 0 4px 32px rgba(37,211,102,0.8), 0 0 0 8px rgba(37,211,102,0.15); }
  }

  .wa-tooltip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--text-dark);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--r-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration) var(--ease);
  }
  .wa-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: var(--text-dark);
  }

  /* ============================================
    SCROLL ANIMATIONS
    ============================================ */
  .reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .reveal-up { transform: translateY(40px); }
  .reveal-left { transform: translateX(-40px); }
  .reveal-right { transform: translateX(40px); }

  .reveal-up.revealed,
  .reveal-left.revealed,
  .reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
  }

  .animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-in-up 0.8s var(--ease) forwards;
  }
  @keyframes fade-in-up {
    to { opacity: 1; transform: translateY(0); }
  }

  /* ============================================
    RESPONSIVE DESIGN — TABLET
    ============================================ */
  @media (max-width: 1024px) {
    :root { --section-pad: 80px 0; }

    .hero { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-image { max-width: 480px; margin: 0 auto; }
    .hero-stats { margin: 0 auto; }
    .hero-actions { justify-content: center; }

    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-img-wrapper img { height: auto; max-height: 380px; object-fit: contain;}
    .about-experience-badge { left: 16px; }

    .founder-grid { grid-template-columns: 1fr; gap: 48px; }
    .founder-images { height: 320px; order: -1; }
    .founder-img-main { width: 60%; height: 90%; }
    .founder-img-secondary { width: 48%; }

    .contact-grid { grid-template-columns: 1fr; }
    .contact-info { order: 1; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
  }

/* ============================================
    RESPONSIVE — MOBILE
    ============================================ */
@media (max-width: 768px) {
  :root {
    --section-pad: 60px 0;
  }

  /* Navbar */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    padding: 80px 20px 32px;
    box-shadow: -4px 0 30px rgba(0,0,0,0.2);
    transition: right 0.4s var(--ease);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav-link {
    color: var(--text-dark) !important;
    padding: 12px 16px;
    border-radius: var(--r-md);
    width: 100%;
    text-align: right;
    justify-content: flex-start;
  }

  .nav-link i {
    margin-left: 8px;
  }

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

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--light-bg);
    margin: 4px 0 8px;
    display: none;
    width: 100%;
  }

  .dropdown-menu li a {
    padding: 10px 30px;
    justify-content: flex-start;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    display: none;
  }

  .nav-overlay.show {
    display: block;
  }

  /* Hero Section */
  #home {
    padding: 100px 16px 60px;
    text-align: center;
  }

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

  .hero-desc {
    font-size: 0.95rem;
    text-align: center;
  }

  .hero-stats {
    gap: 16px;
    padding: 16px 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .stat-divider {
    display: none;
  }

  .hero-img-frame img {
    height: auto; max-height: 260px; object-fit: contain;
  }

  .hero-img-badge {
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    min-width: 160px;
    padding: 10px 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

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

  /* Grids */
  .about-grid {
    grid-template-columns: 1fr;
  }

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

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

  .package-featured {
    transform: none;
  }

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

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

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

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

  /* Forms */
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }

  .ai-card {
    padding: 36px 24px;
  }

  /* Slideshow */
  .slideshow {
    height: auto; max-height: 260px; object-fit: contain;
  }

  /* Founder */
  .founder-images {
    height: 240px;
  }

  /* Titles */
  .section-title {
    font-size: 1.6rem;
  }

  /* Containers */
  .container {
    padding: 0 16px;
  }

  .nav-container {
    padding: 0 16px;
  }

  /* Navbar actions */
  .nav-actions .btn-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

/* Mobile Small */
@media (max-width: 480px) {

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

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

  .hero-img-frame img {
    height: 220px;
  }

  .btn-lg {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .hero-stats {
    gap: 12px;
    padding: 12px 16px;
  }

  .packages-grid {
    gap: 16px;
  }

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

  .hero-badge {
    font-size: 0.7rem;
  }

  .stat-num {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .container {
    padding: 0 12px;
  }
}

/* تمديد الشاشة بدون فراغات */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
  }

  .hero {
    gap: 80px;
  }
}


/* ===== حل مشكلة الهروب لليمين وتوسيط المحتوى بالملي ===== */
@media (max-width: 768px) {
  /* نضمن إن الجسم والـ HTML مش بيعدوا عرض الشاشة أبدًا */
  html, body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
  }

  #home, .hero {
    padding: 80px 15px 40px !important; /* تقليل المسافات للموبايل */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    overflow: hidden; /* يمنع أي عنصر جوا الهيرو إنه يخرج بره */
  }

  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    z-index: 5;
  }

  /* ظبط العدادات (Stats) عشان متزقش الصفحة */
  .hero-stats {
    display: flex !important;
    flex-wrap: wrap !important; /* يخلي العناصر تنزل تحت بعض لو المساحة ضيقة */
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 15px !important;
    margin: 20px auto !important;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
  }

  .stat-item {
    flex: 1 1 40%; /* يخلي كل اتنين جنب بعض في الموبايلات الصغيرة */
    min-width: 120px;
  }

  .hero-image {
    width: 90% !important;
    max-width: 400px !important;
    margin: 0 auto 30px !important;
    order: -1; /* يخلي الصورة فوق الكلام في الموبايل */
  }

  .hero-img-frame img {
    height: auto !important;
    max-height: 250px !important;
    width: 100% !important;
    object-fit: cover;
  }

  /* أهم جزء: سنترة الـ Badge البيضاء */
  .hero-img-badge {
    bottom: -10px !important;
    left: 50% !important; /* نستخدم Left بدل Right للسنترة */
    right: auto !important;
    transform: translateX(-50%) !important; /* سنترة في النص بالظبط */
    min-width: 140px !important;
    padding: 10px !important;
  }

  .hero-title {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
  }

  .hero-desc {
    font-size: 0.9rem !important;
    padding: 0 10px;
  }
}

/* زيادة تأكيد للموبايلات الصغيرة جدًا */
@media (max-width: 480px) {
  .stat-item {
    flex: 1 1 100%; /* العدادات تيجي تحت بعض بالكامل */
  }
  .hero-title {
    font-size: 1.5rem !important;
  }
}
/* ===== SERVICE DETAILS PAGE ===== */
.service-details {
    padding-top: 140px;
}
.service-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.service-info p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-body);
    margin: 20px 0;
}
.feature-list {
    list-style: none;
    margin: 25px 0 30px;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
}
.feature-list li i {
    color: var(--primary);
    font-size: 1.1rem;
}
.video-container {
    padding: 15px;
    border-radius: 28px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(26,158,160,0.15);
    box-shadow: var(--shadow-lg);
}
.video-container iframe {
    border-radius: 20px;
    width: 100%;
    aspect-ratio: 16/9;
}

@media (max-width: 992px) {
    .service-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .feature-list li {
        justify-content: center;
    }
}
/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease);
    background: rgba(255, 255, 255, 0.95);  /* ✅ خليها بيضاء شفافة */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 24px rgba(26, 158, 160, 0.08);
}

/* ✅ خلي النص في الهيدر داكن عشان يبان */
.navbar .nav-link {
    color: var(--text-dark) !important;
}

.navbar .logo-main {
    color: var(--text-dark) !important;
}

.navbar .logo-sub {
    color: var(--text-muted) !important;
}

.navbar .nav-toggle span {
    background: var(--text-dark) !important;
}
@media (max-width: 992px) {
    .service-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .service-info .service-image {
        max-height: 250px !important;
    }
    
    .video-container video,
    .video-container iframe {
        max-height: 300px;
    }
    
    .feature-list li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-info .service-image {
        max-height: 180px !important;
    }
    
    .video-container video,
    .video-container iframe {
        max-height: 220px;
    }
}
/* ===== ARTICLE CONTENT STYLES ===== */
.article-content {
    font-family: 'Cairo', sans-serif;
    line-height: 1.9;
    color: #3d5454;
    font-size: 16px;
}

.article-content h1 {
    color: #1a2e2e;
    font-size: 30px;
    font-weight: 800;
    margin: 35px 0 20px;
}

.article-content h2 {
    color: #1a2e2e;
    font-size: 24px;
    font-weight: 700;
    margin: 30px 0 18px;
}

.article-content h3 {
    color: #1a9ea0;
    font-size: 20px;
    font-weight: 700;
    margin: 25px 0 15px;
}

.article-content h4 {
    color: #1a9ea0;
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 12px;
}

.article-content p {
    color: #3d5454;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.article-content strong,
.article-content b {
    color: #1a2e2e;
    font-weight: 700;
}

.article-content .accent {
    color: #1a9ea0;
}

.article-content .highlight {
    background: #e6f7f7;
    padding: 2px 10px;
    border-radius: 6px;
}

.article-content ul,
.article-content ol {
    padding-right: 25px;
    margin: 15px 0 25px;
}

.article-content li {
    margin-bottom: 8px;
    color: #3d5454;
}

.article-content a {
    color: #1a9ea0;
    text-decoration: underline;
    transition: 0.3s;
}

.article-content a:hover {
    color: #147f81;
}

.article-content blockquote {
    border-right: 4px solid #1a9ea0;
    padding: 15px 25px;
    background: #f0f7f7;
    border-radius: 12px;
    margin: 25px 0;
    color: #1a2e2e;
    font-style: italic;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 25px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.article-content table th,
.article-content table td {
    border: 1px solid #e0e8e8;
    padding: 12px 15px;
    text-align: right;
}

.article-content table th {
    background: #f0f7f7;
    color: #1a2e2e;
    font-weight: 700;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .article-content {
        font-size: 14px;
    }
    .article-content h1 { font-size: 24px; }
    .article-content h2 { font-size: 20px; }
    .article-content h3 { font-size: 17px; }
    .article-content h4 { font-size: 15px; }
    .article-content p { font-size: 14px; }
}

@media (max-width: 480px) {
    .article-content h1 { font-size: 20px; }
    .article-content h2 { font-size: 17px; }
    .article-content h3 { font-size: 15px; }
    .article-content p { font-size: 13px; }
}
/* ===== FOOTER BOTTOM ===== */
.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-dev {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #aaa;
}

.footer-dev strong {
  color: #1a9ea0;
  font-weight: 700;
}

.footer-dev-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25D366;
  color: #fff !important;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.footer-dev-wa:hover {
  background: #1da851;
  transform: scale(1.05);
  color: #fff !important;
}

.footer-dev-wa i {
  font-size: 16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .footer-dev {
    flex-wrap: wrap;
    justify-content: center;
  }
}
/* ===== ARTICLES SECTION ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.article-card {
    background: var(--white);
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.35s var(--ease);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.article-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--light-bg);
    flex-shrink: 0;
}

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

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

.article-img .no-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a9ea0, #0f7a7c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    padding: 20px;
}

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

.article-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-article-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    transition: all var(--duration) var(--ease);
    align-self: flex-start;
    padding: 8px 16px;
    border-radius: var(--r-full);
    background: var(--primary-pale);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-article-details:hover {
    background: var(--primary);
    color: var(--white);
    gap: 12px;
    transform: translateX(-4px);
}

.btn-article-details i {
    font-size: 0.8rem;
    transition: transform var(--duration) var(--ease);
}

.btn-article-details:hover i {
    transform: translateX(-4px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .article-img {
        height: auto; aspect-ratio: 4/3; object-fit: contain; background: var(--light-bg);
    }
    
    .article-body h3 {
        font-size: 0.95rem;
    }
    
    .article-body p {
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .article-img {
        height: 140px;
    }
}
section[id] {
    scroll-margin-top: 100px;
}

/* تأكيد خاص لقسم الحجز */
#booking {
    scroll-margin-top: 120px !important;
}
/* ===== REEL VIDEO STYLE (أبعاد الريلز الاحترافية) ===== */
.video-section {
    padding: 60px 0;
    display: flex;
    justify-content: center; /* سنترة الفيديو في نص الصفحة */
}

.video-wrapper.reel-mode {
    max-width: 380px; /* عرض الموبايل المثالي */
    width: 90%;
    aspect-ratio: 9 / 16; /* الأبعاد الطولية للريلز */
    padding-bottom: 0; /* لغينا البادنج القديم بتاع العريض */
    height: auto;
    border-radius: 30px; /* حواف دائرية ناعمة */
    border: 8px solid #1a2e2e; /* إطار كأنه جسم موبايل شيك */
    box-shadow: 0 20px 50px rgba(0,0,0,0.3); /* ضل يدي عمق */
    overflow: hidden;
    position: relative;
    background: #000;
}

.video-wrapper.reel-mode iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* للموبايل: نصغر العرض شوية عشان ميخبطش في الجوانب */
@media (max-width: 480px) {
    .video-wrapper.reel-mode {
        max-width: 300px;
        border-width: 5px;
    }
}