/* ============================================================
   NagiDent · by Nagify
   Main Stylesheet
   Author: Nagify
   Version: 1.1 · SVG Icons Support
============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

html[dir="rtl"] body {
  font-family: 'Cairo', 'Inter', sans-serif;
}

img, svg, video, canvas {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
  border: 2px solid var(--bg-secondary);
}
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

::selection {
  background: var(--primary);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============================================================
   2. CSS VARIABLES · LIGHT THEME (DEFAULT)
============================================================ */
:root {
  /* Brand colors */
  --primary: #1B6B4A;
  --primary-dark: #0F4A33;
  --primary-light: #2E8F68;
  --primary-soft: #E6F2EC;

  --accent: #C9A86C;
  --accent-dark: #A88A4F;
  --accent-light: #E0C99A;
  --accent-soft: #F7F0E0;

  --secondary: #0A84FF;
  --secondary-dark: #0066CC;
  --secondary-soft: #E5F1FF;

  /* Semantic */
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #3B82F6;

  /* Surfaces — Light */
  --bg-page: #F9FBF8;
  --bg-secondary: #F0F4F1;
  --bg-card: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-overlay: rgba(255, 255, 255, 0.75);

  /* Text — Light */
  --text-primary: #10231A;
  --text-secondary: #2D4A3B;
  --text-muted: #5A7A69;
  --text-inverse: #FFFFFF;

  /* Borders */
  --border-color: #DCE8E0;
  --border-soft: rgba(27, 107, 74, 0.1);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-bg-strong: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-blur: 16px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(10, 42, 31, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 42, 31, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 42, 31, 0.12);
  --shadow-xl: 0 30px 80px rgba(10, 42, 31, 0.16);
  --shadow-inner: inset 0 1px 2px rgba(10, 42, 31, 0.06);

  /* Layout */
  --container: 1240px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Spacing */
  --section-py: 5.5rem;
  --gap-sm: 0.75rem;
  --gap-md: 1.5rem;
  --gap-lg: 2.5rem;

  /* Transitions */
  --t-fast: 0.2s ease;
  --t-base: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   3. DARK THEME
============================================================ */
[data-theme="dark"] {
  --primary: #2E8F68;
  --primary-dark: #1B6B4A;
  --primary-light: #4AB58A;
  --primary-soft: #14332A;

  --accent: #D4B87A;
  --accent-dark: #B8995C;
  --accent-light: #E8D4A6;
  --accent-soft: #2A2418;

  --secondary: #4AA3FF;
  --secondary-dark: #0A84FF;
  --secondary-soft: #0F2238;

  --bg-page: #0A1410;
  --bg-secondary: #0F1E17;
  --bg-card: #142A20;
  --bg-elevated: #1A3428;
  --bg-overlay: rgba(20, 42, 32, 0.75);

  --text-primary: #EAF3EE;
  --text-secondary: #C5DDD0;
  --text-muted: #8AAA9A;
  --text-inverse: #0A1410;

  --border-color: #2A4035;
  --border-soft: rgba(46, 143, 104, 0.15);

  --glass-bg: rgba(20, 42, 32, 0.55);
  --glass-bg-strong: rgba(20, 42, 32, 0.85);
  --glass-border: rgba(46, 143, 104, 0.2);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.6);
  --shadow-inner: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   4. TYPOGRAPHY
============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { color: var(--text-secondary); }

strong { font-weight: 700; color: var(--text-primary); }

a:hover { color: var(--primary); }

/* ============================================================
   5. LAYOUT & CONTAINERS
============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}

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

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-chip {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
  border-radius: var(--radius-pill);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.9rem;
  color: var(--text-primary);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ============================================================
   6. LIQUID GLASS SYSTEM
============================================================ */
.liquid-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.liquid-glass-strong {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.liquid-glass::before,
.liquid-glass-strong::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.liquid-glass > *,
.liquid-glass-strong > * {
  position: relative;
  z-index: 2;
}

.rounded-card { border-radius: var(--radius-lg) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }

/* ============================================================
   7. BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--t-base);
  text-decoration: none;
  white-space: nowrap;
  border: none;
  position: relative;
  overflow: hidden;
  line-height: 1.4;
}

.btn-lg {
  padding: 1.1rem 2.4rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(27, 107, 74, 0.28);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(27, 107, 74, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(27, 107, 74, 0.3);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 0.7rem 1.3rem;
}

.btn-ghost:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* Icon buttons */
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--t-base);
  flex-shrink: 0;
}

.icon-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ============================================================
   8. SCROLL PROGRESS
============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 10000;
  transition: width 0.1s linear;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
}

/* ============================================================
   9. SKIP LINK
============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: 10001;
  font-weight: 600;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* ============================================================
   10. NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.9rem 0;
  transition: all var(--t-base);
  background: transparent;
}

.navbar.scrolled {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  padding: 0.6rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(27, 107, 74, 0.3));
}

.brand-icon > svg {
  width: 1.8rem;
  height: 1.8rem;
  stroke-width: 2;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.brand-accent {
  color: var(--primary);
}

.brand-tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: all var(--t-base);
  position: relative;
}

.nav-links a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav-cta {
  display: none;
}

@media (min-width: 1024px) {
  .nav-cta {
    display: inline-flex;
    padding: 0.65rem 1.4rem;
    font-size: 0.88rem;
  }
}

.hamburger {
  width: 42px;
  height: 42px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  transition: all var(--t-base);
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--t-base);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1023px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 6rem 1.5rem 2rem;
    gap: 0.5rem;
    transition: right var(--t-slow);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
    border-left: 1px solid var(--glass-border);
    z-index: 999;
  }

  html[dir="rtl"] .nav-links {
    right: auto;
    left: -100%;
    border-left: none;
    border-right: 1px solid var(--glass-border);
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.15);
    transition: left var(--t-slow);
  }

  .nav-links.active {
    right: 0;
  }

  html[dir="rtl"] .nav-links.active {
    right: auto;
    left: 0;
  }

  .nav-links a {
    padding: 0.9rem 1.2rem;
    font-size: 1.05rem;
    font-weight: 600;
  }
}

/* ============================================================
   11. HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-page) 0%, var(--bg-secondary) 100%);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(10, 42, 31, 0.85) 0%,
    rgba(10, 42, 31, 0.65) 50%,
    rgba(10, 42, 31, 0.8) 100%);
  z-index: 1;
}

[data-theme="dark"] .hero-overlay {
  background: linear-gradient(135deg,
    rgba(10, 20, 16, 0.9) 0%,
    rgba(10, 20, 16, 0.75) 50%,
    rgba(10, 20, 16, 0.88) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 780px;
  text-align: center;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-pill);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-badge-icon > svg {
  width: 14px;
  height: 14px;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.hero-line:nth-child(1) {
  animation-delay: 0.2s;
}

.hero-line:nth-child(2) {
  animation-delay: 0.4s;
}

.hero-accent {
  background: linear-gradient(135deg, #E0C99A, #D4B87A, #C9A86C);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 20px rgba(201, 168, 108, 0.4));
}

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

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  opacity: 0;
  animation: heroReveal 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.6s forwards;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  opacity: 0;
  animation: heroReveal 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.8s forwards;
}

.hero-buttons .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-buttons .btn-outline:hover {
  background: #fff;
  color: var(--primary-dark);
  border-color: #fff;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.2rem 1.8rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  max-width: 560px;
  margin: 0 auto;
  opacity: 0;
  animation: heroReveal 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 1s forwards;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
}

.trust-item strong {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.trust-item span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-pill);
  z-index: 4;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero-scroll span {
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.4; }
}

@media (max-width: 640px) {
  .hero-trust {
    padding: 1rem 1.2rem;
    gap: 0.8rem;
  }
  .trust-item strong { font-size: 1.05rem; }
  .trust-item span { font-size: 0.68rem; }
  .hero-scroll { display: none; }
}

/* ============================================================
   12. TRUST SECTION
============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-card {
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--t-base);
}

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

.trust-num {
  display: block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.trust-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card { padding: 1.5rem 1rem; }
}

/* ============================================================
   13. ABOUT
============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  max-width: 480px;
  margin: 0 auto;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.about-img-wrap:hover img {
  transform: scale(1.04);
}

.about-badge-floating {
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

html[dir="rtl"] .about-badge-floating {
  right: auto;
  left: 1.2rem;
}

.badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}

.badge-icon > svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
  stroke: var(--accent);
}

.about-badge-floating strong {
  display: block;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.1;
}

.about-badge-floating small {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.about-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.2rem;
}

.about-text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.about-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  border-color: transparent;
}

.cert-badge [data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: currentColor;
}

.cert-badge [data-icon] > svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-img-wrap { max-width: 400px; }
  .about-content { text-align: center; }
  .about-certs { justify-content: center; }
}

/* ============================================================
   14. TEAM
============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
}

.team-card {
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--t-base);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-soft);
  border: 3px solid var(--primary-soft);
  transition: all var(--t-base);
  overflow: hidden;
}

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

.team-card:hover .team-avatar {
  border-color: var(--accent);
  transform: scale(1.05);
}

.team-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   15. SERVICES
============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.service-card {
  padding: 2.2rem 1.8rem;
  border-radius: var(--radius-lg);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}

html[dir="rtl"] .service-card::before {
  transform-origin: right;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: transform var(--t-bounce);
}

.service-icon > svg {
  width: 2.5rem;
  height: 2.5rem;
  stroke-width: 1.75;
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(-5deg);
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.2rem;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--t-base);
}

.service-link:hover {
  gap: 0.7rem;
  color: var(--primary-dark);
}

.service-link [data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-link [data-icon] > svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.25;
}

/* ============================================================
   16. WHY US
============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.why-card {
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--t-base);
}

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

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 0.9rem;
  transition: transform var(--t-bounce);
}

.why-icon > svg {
  width: 2.2rem;
  height: 2.2rem;
  stroke-width: 1.75;
}

.why-card:hover .why-icon {
  transform: scale(1.1);
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   17. BEFORE / AFTER
============================================================ */
.ba-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-after-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.05s linear;
}

html[dir="rtl"] .ba-after-wrap {
  clip-path: inset(0 0 0 50%);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.ba-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.ba-handle span[data-icon] > svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.25;
}

.ba-labels {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  z-index: 5;
  pointer-events: none;
}

.ba-labels span {
  padding: 0.4rem 1rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   18. JOURNEY
============================================================ */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.journey-step {
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--t-base);
  position: relative;
}

.journey-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.journey-num {
  display: inline-block;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: 'Inter', monospace;
  letter-spacing: -0.03em;
}

.journey-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.journey-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   19. TECHNOLOGY
============================================================ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.tech-card {
  padding: 1.8rem 1.4rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--t-base);
}

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

.tech-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 0.8rem;
  transition: transform var(--t-bounce);
}

.tech-icon > svg {
  width: 2.2rem;
  height: 2.2rem;
  stroke-width: 1.75;
}

.tech-card:hover .tech-icon {
  transform: scale(1.15);
}

.tech-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.tech-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   20. TESTIMONIALS
============================================================ */
.testi-slider {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.testi-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testi-card {
  min-width: 100%;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.testi-stars {
  color: #F5A623;
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.testi-quote {
  font-size: 1.1rem;
  line-height: 1.75;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.testi-author {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

.testi-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.testi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  transition: all var(--t-base);
}

.testi-dot.active {
  background: var(--primary);
  width: 30px;
  border-radius: var(--radius-pill);
}

/* ============================================================
   21. GALLERY
============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--t-base);
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

/* ===== SVG search icon overlay (replaces 🔍 emoji) ===== */
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  background-color: rgba(27, 107, 74, 0.6);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 40px 40px;
  opacity: 0;
  transition: opacity var(--t-base);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ============================================================
   22. BLOG
============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}

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

.blog-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--primary-soft);
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

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

.blog-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.8rem;
  background: var(--accent);
  color: #1a1d23;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
}

html[dir="rtl"] .blog-category {
  left: auto;
  right: 1rem;
}

.blog-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
  line-height: 1.35;
  transition: color var(--t-fast);
}

.blog-card:hover .blog-title {
  color: var(--primary);
}

.blog-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.blog-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--t-base);
}

.blog-link [data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.blog-link [data-icon] > svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.25;
}

.blog-link:hover {
  gap: 0.6rem;
}

/* ============================================================
   23. FAQ
============================================================ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--t-base);
}

.faq-question {
  width: 100%;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--t-base);
  font-family: inherit;
}

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

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all var(--t-base);
  line-height: 1;
}

.faq-icon [data-icon] > svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.faq-item.open .faq-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.3rem;
}

/* ============================================================
   24. BOOKING FORM
============================================================ */
.booking-wrap {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.booking-form {
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--t-base);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(27, 107, 74, 0.1);
  background: var(--bg-elevated);
}

.form-group input:invalid:not(:placeholder-shown) {
  border-color: var(--danger);
}

/* Consent Checkbox */
.consent-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.consent-wrap input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consent-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-base);
  margin-top: 1px;
  position: relative;
}

.consent-box::after {
  content: "";
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform var(--t-bounce);
  margin-top: -3px;
}

.consent-wrap input[type="checkbox"]:checked + .consent-box {
  background: var(--primary);
  border-color: var(--primary);
}

.consent-wrap input[type="checkbox"]:checked + .consent-box::after {
  transform: rotate(45deg) scale(1);
}

.consent-wrap input[type="checkbox"]:focus-visible + .consent-box {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.consent-text a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-text a:hover {
  color: var(--primary-dark);
}

/* Submit button loading state */
#submitBtn {
  position: relative;
  transition: all var(--t-base);
}

#submitBtn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn-loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== Form note with lock icon ===== */
.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.9rem;
  line-height: 1.5;
}

.form-note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.form-note-icon > svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

/* Booking info sidebar */
.booking-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 6rem;
}

.info-item {
  padding: 1.2rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--t-base);
}

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

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

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.15rem;
}

.info-icon > svg {
  width: 1.4rem;
  height: 1.4rem;
  stroke-width: 2;
}

.info-item strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.info-item a,
.info-item span:not(.info-icon) {
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.4;
}

.info-item a:hover {
  color: var(--primary);
}

@media (max-width: 900px) {
  .booking-wrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .booking-form { padding: 1.8rem; }
  .booking-info { position: static; }
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================================
   25. MAP
============================================================ */
.map-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 21/9;
  padding: 0;
  box-shadow: var(--shadow-lg);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: grayscale(0.2) contrast(1.05);
  transition: filter var(--t-base);
}

.map-wrap:hover iframe {
  filter: grayscale(0) contrast(1);
}

@media (max-width: 640px) {
  .map-wrap { aspect-ratio: 4/3; }
}

/* ============================================================
   26. FOOTER
============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-brand .brand-icon {
  color: var(--primary);
}

.footer-brand .brand-icon > svg {
  width: 1.6rem;
  height: 1.6rem;
}

.footer-brand .brand-name {
  font-size: 1.4rem;
  font-weight: 800;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col p,
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  line-height: 1.5;
  transition: all var(--t-fast);
}

/* ===== Footer line icons (in contact info) ===== */
.footer-line-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  margin-inline-end: 0.45rem;
  vertical-align: -0.15em;
  color: var(--primary);
  flex-shrink: 0;
}

.footer-line-icon > svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.footer-col a:hover {
  color: var(--primary);
  padding-left: 4px;
}

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

.footer-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  margin: 0;
  transition: all var(--t-base);
  color: var(--text-secondary);
}

.footer-socials a [data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-socials a [data-icon] > svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.footer-socials a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
  padding: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
}

.footer-legal-links a {
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--t-fast);
  display: inline;
  margin: 0;
  font-size: 0.8rem;
}

.footer-legal-links a:hover {
  color: var(--primary);
  padding: 0;
}

.footer-legal-links span {
  color: var(--border-color);
}

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

.credit-link {
  color: var(--primary) !important;
  font-weight: 700;
  display: inline !important;
  margin: 0 !important;
  font-size: inherit !important;
  padding: 0 !important;
}

.credit-link:hover {
  color: var(--accent) !important;
  padding: 0 !important;
}

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

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .footer { padding: 3rem 0 1.5rem; }
}

/* ============================================================
   27. FLOATING BUTTONS
============================================================ */
.float-btn {
  position: fixed;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  cursor: pointer;
  transition: all var(--t-base);
  box-shadow: var(--shadow-md);
  border: none;
  color: #fff;
}

.whatsapp-btn {
  bottom: 1.5rem;
  right: 1.5rem;
  background: #25D366;
  color: #fff;
  animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  background: #1EA855;
  color: #fff;
}

.whatsapp-btn svg {
  width: 24px;
  height: 24px;
}

html[dir="rtl"] .whatsapp-btn {
  right: auto;
  left: 1.5rem;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  50% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
}

.back-to-top {
  bottom: 1.5rem;
  right: 5.5rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.back-to-top [data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.back-to-top [data-icon] > svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

html[dir="rtl"] .back-to-top {
  right: auto;
  left: 5.5rem;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Icon rotation utility */
.rotate-up {
  transform: rotate(-90deg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 640px) {
  .float-btn {
    width: 46px;
    height: 46px;
  }
  .whatsapp-btn svg { width: 20px; height: 20px; }
  .back-to-top [data-icon] > svg { width: 18px; height: 18px; }
  .whatsapp-btn { bottom: 1rem; right: 1rem; }
  .back-to-top { bottom: 1rem; right: 4.5rem; }
  html[dir="rtl"] .whatsapp-btn { right: auto; left: 1rem; }
  html[dir="rtl"] .back-to-top { right: auto; left: 4.5rem; }
}

/* ============================================================
   28. TOAST
============================================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translate(-50%, 120px);
  padding: 0.9rem 1.5rem;
  background: var(--text-primary);
  color: var(--bg-page);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xl);
  z-index: 10002;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  max-width: 90vw;
  text-align: center;
  line-height: 1.4;
}

.toast.show {
  transform: translate(-50%, 0);
}

.toast.success {
  background: var(--success);
  color: #fff;
}

.toast.error {
  background: var(--danger);
  color: #fff;
}

/* Toast icon support */
.toast [data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.toast [data-icon] > svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

/* ============================================================
   29. LIGHTBOX
============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10003;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base);
}

.lightbox[hidden] {
  display: none;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
  animation: lightboxZoom 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes lightboxZoom {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-base);
  backdrop-filter: blur(8px);
}

.lightbox-close [data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close [data-icon] > svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.5;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* ============================================================
   30. COOKIE CONSENT BANNER
============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translate(-50%, 140%);
  width: calc(100% - 2.5rem);
  max-width: 720px;
  z-index: 10001;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}

.cookie-banner:not([hidden]) {
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.3rem;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.cookie-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
}

.cookie-icon > svg {
  width: 1.6rem;
  height: 1.6rem;
  stroke-width: 2;
}

.cookie-text {
  flex: 1;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.cookie-text a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-text a:hover {
  color: var(--primary-dark);
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all var(--t-base);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.cookie-reject {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border-color);
}

.cookie-reject:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.cookie-accept {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(27, 107, 74, 0.3);
}

.cookie-accept:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .cookie-banner {
    bottom: 0.8rem;
    width: calc(100% - 1.6rem);
  }
  .cookie-inner {
    flex-wrap: wrap;
    padding: 1rem;
    gap: 0.8rem;
  }
  .cookie-icon { display: none; }
  .cookie-text {
    flex: 1 1 100%;
    font-size: 0.8rem;
  }
  .cookie-actions {
    flex: 1 1 100%;
    justify-content: flex-end;
  }
}

/* ============================================================
   31. SVG ICON SYSTEM (GLOBAL)
============================================================ */
[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

[data-icon] > svg {
  width: 1em;
  height: 1em;
  display: block;
  flex-shrink: 0;
}

/* ============================================================
   32. RTL OVERRIDES
============================================================ */
html[dir="rtl"] .trust-item,
html[dir="rtl"] .service-card,
html[dir="rtl"] .blog-card {
  text-align: right;
}

html[dir="rtl"] .hero-scroll {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}

html[dir="rtl"] .about-badge-floating {
  right: auto;
  left: 1.2rem;
}

html[dir="rtl"] .service-link,
html[dir="rtl"] .blog-link {
  flex-direction: row-reverse;
}

/* ============================================================
   33. SCROLL REVEAL ANIMATIONS
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   34. UTILITIES
============================================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.hidden { display: none !important; }

/* ============================================================
   35. REDUCED MOTION
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   36. PRINT
============================================================ */
@media print {
  .navbar,
  .scroll-progress,
  .float-btn,
  .cookie-banner,
  .hero-video,
  .hero-particles,
  .lightbox {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .section {
    padding: 1rem 0 !important;
    page-break-inside: avoid;
  }
}

/* ============================================================
   END · NagiDent by Nagify
============================================================ */