/* ============================================
   MobiDokta Design System v2 — Apple-Quality
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ─── Design Tokens ─── */
:root {
  /* Colors — Apple-inspired Light */
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f7;
  --bg-tertiary: #fbfbfd;
  --bg-card: #ffffff;
  --bg-elevated: #ffffff;
  --bg-hover: #f5f5f7;

  --accent: #000000;
  --accent-hover: #333333;
  --accent-subtle: rgba(0, 0, 0, 0.04);
  --accent-border: #e5e5ea;

  --cta: #000000;
  --cta-hover: #333333;
  --cta-glow: rgba(0, 0, 0, 0.1);

  --green: #34c759;
  --green-subtle: rgba(52, 199, 89, 0.1);
  --orange: #ff9500;
  --orange-subtle: rgba(255, 149, 0, 0.1);
  --red: #ff3b30;
  --red-subtle: rgba(255, 59, 48, 0.1);
  --purple: #af52de;
  --gold: #ffcc00;

  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --text-tertiary: #a1a1a6;
  --text-inverse: #ffffff;

  --border: #e5e5ea;
  --border-hover: #d2d2d7;
  --border-accent: #e5e5ea;

  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(0, 0, 0, 0.06);

  --icon-filter: none;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
  --shadow-cta: 0 4px 20px rgba(0,0,0,0.1);

  /* Typography */
  --font: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.5rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Motion */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 500ms;
}

/* ─── Dark Theme Tokens ─── */
:root.dark-theme {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0c;
  --bg-tertiary: #111111;
  --bg-card: rgba(20, 20, 22, 0.6);
  --bg-elevated: #1a1a1c;
  --bg-hover: #1c1c1e;

  --accent: #ffffff;
  --accent-hover: #cccccc;
  --accent-subtle: rgba(255, 255, 255, 0.1);
  --accent-border: rgba(255, 255, 255, 0.15);

  --cta: #ffffff;
  --cta-hover: #e5e5ea;
  --cta-glow: rgba(255, 255, 255, 0.15);

  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #86868b;
  --text-inverse: #000000;

  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.2);
  --border-accent: rgba(255, 255, 255, 0.15);

  --glass-bg: rgba(0, 0, 0, 0.72);
  --glass-border: rgba(255, 255, 255, 0.1);

  --icon-filter: invert(1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input, textarea, select { font-family: var(--font); }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.headline-xl {
  font-size: var(--text-6xl);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.headline-lg {
  font-size: var(--text-5xl);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.headline-md {
  font-size: var(--text-4xl);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.body-lg { font-size: var(--text-lg); line-height: 1.7; color: var(--text-secondary); }
.body-md { font-size: var(--text-base); line-height: 1.6; color: var(--text-secondary); }
.body-sm { font-size: var(--text-sm); line-height: 1.5; color: var(--text-secondary); }
.caption { font-size: var(--text-xs); color: var(--text-tertiary); font-weight: 500; }

/* ─── Icons ─── */
.icon {
  width: 20px;
  height: 20px;
  stroke-width: 2px;
  vertical-align: middle;
}
.icon-sm { width: 16px; height: 16px; stroke-width: 2px; }
.icon-lg { width: 24px; height: 24px; stroke-width: 2px; }
.icon-xl { width: 32px; height: 32px; stroke-width: 1.5px; }

/* ─── Utilities ─── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 var(--space-8); }
.container-narrow { max-width: 680px; margin: 0 auto; padding: 0 var(--space-8); }
.section { padding: var(--space-32) 0; }
.section-sm { padding: var(--space-20) 0; }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-green { color: var(--green); }
.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--cta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hidden { display: none !important; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.grid { display: grid; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.w-full { width: 100%; }

/* ─── Glass Effect (subtle, not heavy) ─── */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  border: none;
  transition: all var(--duration-base) var(--ease);
  white-space: nowrap;
  letter-spacing: 0;
}

.btn-primary {
  background: var(--cta);
  color: var(--text-inverse);
}
.btn-primary:hover {
  background: var(--cta-hover);
  transform: scale(1.02);
  box-shadow: var(--shadow-cta);
}

.btn-accent {
  background: var(--accent);
  color: var(--text-inverse);
}
.btn-accent:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
}

.btn-secondary {
  background: transparent;
  color: var(--cta);
  border: 1.5px solid rgba(0,113,227,0.4);
}
.btn-secondary:hover {
  background: rgba(0,113,227,0.08);
  border-color: var(--cta);
}

.btn-white {
  background: var(--text-primary);
  color: var(--text-inverse);
}
.btn-white:hover {
  background: #ffffff;
  transform: scale(1.02);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--border-hover);
}

.btn-success {
  background: var(--green);
  color: var(--text-inverse);
}
.btn-success:hover { background: #4ade80; transform: scale(1.02); }

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

.btn-sm { padding: 10px 20px; font-size: var(--text-xs); }
.btn-lg { padding: 18px 36px; font-size: var(--text-base); }
.btn-block { width: 100%; }

.btn-link {
  background: none;
  color: var(--cta);
  padding: 0;
  font-weight: 600;
  font-size: var(--text-sm);
}
.btn-link:hover { color: var(--cta-hover); }
.btn-link::after { content: ' →'; }

/* ─── Cards ─── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--duration-base) var(--ease);
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ─── Form Controls ─── */
.form-group { margin-bottom: var(--space-6); }
.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-tertiary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--text-base);
  transition: all var(--duration-fast) var(--ease);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--cta);
  box-shadow: 0 0 0 4px var(--cta-glow);
}
.form-input::placeholder { color: var(--text-tertiary); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a1a1a6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* ─── Badges ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
}
.badge-accent { background: var(--accent-subtle); color: var(--accent); border: 1px solid var(--accent-border); }
.badge-green { background: var(--green-subtle); color: var(--green); border: 1px solid rgba(52,211,153,0.2); }
.badge-orange { background: var(--orange-subtle); color: var(--orange); border: 1px solid rgba(251,146,60,0.2); }
.badge-red { background: var(--red-subtle); color: var(--red); border: 1px solid rgba(248,113,113,0.2); }
.badge-white { background: rgba(255,255,255,0.06); color: var(--text-secondary); border: 1px solid var(--border); }
.badge-cyan { background: var(--accent-subtle); color: var(--accent); border: 1px solid var(--accent-border); }
.badge-purple { background: rgba(167,139,250,0.1); color: var(--purple); border: 1px solid rgba(167,139,250,0.2); }

/* ─── Navigation ─── */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  height: 56px;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px) saturate(1.8);
  backdrop-filter: blur(10px) saturate(1.8);
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 3px;
  letter-spacing: -0.02em;
}
.logo .cross {
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 900;
}

.nav-links {
  display: flex;
  gap: var(--space-8);
}
.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: var(--text-sm);
  transition: color var(--duration-fast);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

/* ─── Nav Dropdown ─── */
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  margin-top: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--duration-base) var(--ease);
  box-shadow: var(--shadow-lg);
  z-index: 1100;
}
.dropdown-menu::after {
  content: '';
  position: absolute;
  top: -8px; left: 24px;
  width: 16px; height: 16px;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary) !important;
  font-size: var(--text-xs) !important;
}
.dropdown-menu a:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary) !important;
}

/* ─── Layout Helpers ─── */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-16);
}
.split-layout.reversed { direction: rtl; }
.split-layout.reversed > * { direction: ltr; }
.split-image {
  width: 100%;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
}

/* ─── Portfolio Grid ─── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.portfolio-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.portfolio-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow);
}
.portfolio-item:hover .portfolio-img { transform: scale(1.05); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity var(--duration-base);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h4 { font-size: var(--text-base); margin-bottom: 4px; }
.portfolio-overlay p { font-size: var(--text-xs); color: var(--text-secondary); }

/* ─── Trust Bar Logos ─── */
.trust-label { font-size: var(--text-xs); font-weight: 700; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.1em; }
.partner-logos { display: flex; align-items: center; gap: var(--space-8); }
.trust-divider { width: 1px; height: 32px; background: var(--border); }

/* ─── Cart Sidebar (Floating) ─── */
.cart-panel {
  position: sticky;
  top: 100px;
  padding: var(--space-8);
}
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-name { font-size: var(--text-sm); font-weight: 600; }
.cart-item-price { font-size: var(--text-sm); color: var(--accent); }
.cart-total {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 2px solid var(--border);
  font-size: var(--text-lg);
  font-weight: 800;
  display: flex;
  justify-content: space-between;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-base);
}

/* ─── Section Headers ─── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}
.section-header h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}
.section-header p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Footer ─── */
.footer {
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer-col h4 {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}
.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  padding: 3px 0;
  transition: color var(--duration-fast);
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}
.trust-badges {
  display: flex;
  gap: var(--space-6);
}
.trust-badges span { display: flex; align-items: center; gap: 4px; }

/* ─── WhatsApp FAB ─── */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: all var(--duration-base) var(--ease);
  font-size: 24px;
  color: white;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ─── Sticky Mobile CTA ─── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: rgba(0,0,0,0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  z-index: 998;
}
.sticky-cta .btn { width: 100%; }

/* ─── Tables ─── */
.data-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.data-table th {
  text-align: left;
  padding: 16px 20px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border);
  background: var(--bg-secondary);
}
.data-table td {
  padding: 18px 20px;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.3s ease;
}
.data-table tr {
  transition: all 0.3s ease;
  background: var(--bg-card);
}
.data-table tr:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 10;
  background: #ffffff;
}
.data-table tr:hover td {
  color: var(--text-primary);
  border-bottom-color: transparent;
}

/* ─── Stat Cards ─── */
.stat-card {
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.stat-card .stat-value {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.stat-card .stat-label {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}
.stat-card .stat-change { font-size: var(--text-xs); margin-top: var(--space-2); font-weight: 600; }
.stat-card .stat-change.up { color: var(--green); }
.stat-card .stat-change.down { color: var(--red); }

/* ─── Pulse ─── */
.pulse-dot {
  width: 6px; height: 6px;
  border-radius: var(--radius-full);
  display: inline-block;
  animation: pulse 2s infinite;
}
.pulse-dot.green { background: var(--green); color: var(--green); }

/* ─── Keyframes ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  70% { box-shadow: 0 0 0 6px transparent; opacity: 0.7; }
  100% { box-shadow: 0 0 0 0 transparent; opacity: 1; }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: fadeInUp 0.6s var(--ease-out) forwards; }
.animate-fade { animation: fadeIn 0.5s var(--ease) forwards; }
.animate-slide { animation: slideUp 0.4s var(--ease) forwards; }

/* ─── Side Navigation & Overlay ─── */
.nav-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-base) var(--ease);
}
.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.side-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: var(--bg-card);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  backdrop-filter: blur(12px) saturate(180%);
  border-left: 1px solid var(--border);
  z-index: 1100;
  padding: var(--space-8) var(--space-6);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}
.side-nav.open {
  transform: translateX(0);
}
.side-nav a {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.side-nav a:last-child {
  border-bottom: none;
}

.table-container {
  overflow-x: auto;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --text-6xl: 2.75rem;
    --text-5xl: 2.25rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.5rem;
  }
  .section { padding: var(--space-20) 0; }
  .navbar { padding: 0 var(--space-4); }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-btn-desktop { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .split-layout { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; gap: var(--space-4); text-align: center; }
  .trust-badges { flex-wrap: wrap; justify-content: center; }
  .container { padding: 0 var(--space-6); }
  .sticky-cta { display: block; }
  .whatsapp-fab { bottom: 80px; }

  /* Mobile Slideshow for Portfolio & Reviews */
  .portfolio-masonry,
  .reviews-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: var(--space-4) !important;
    padding: var(--space-2) var(--space-6) var(--space-6) !important;
    margin-left: calc(-1 * var(--space-6)) !important;
    margin-right: calc(-1 * var(--space-6)) !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .portfolio-masonry::-webkit-scrollbar,
  .reviews-grid::-webkit-scrollbar {
    display: none !important;
  }
  .masonry-item,
  .review-card {
    flex: 0 0 82% !important;
    width: 82% !important;
    max-width: 320px !important;
    scroll-snap-align: center !important;
  }
}

@media (max-width: 480px) {
  :root {
    --text-6xl: 2.25rem;
    --text-5xl: 1.85rem;
  }
}

/* ─── Client Reviews Styles ─── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.review-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform var(--duration-base) var(--ease), box-shadow var(--duration-base) var(--ease);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.review-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
}
.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-author {
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--text-sm);
  line-height: 1.2;
}
.review-platform {
  font-size: 11px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.review-rating {
  margin-left: auto;
  color: var(--gold);
  font-size: var(--text-sm);
}
.review-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: var(--space-4);
}


/* ─── FAQ Accordion ─── */
.faq-list {
  max-width: 800px;
  margin: var(--space-8) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--duration-base) var(--ease);
}
.faq-item:hover {
  box-shadow: var(--shadow-sm);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-8);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text-primary);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  transition: background var(--duration-base) var(--ease);
}
.faq-question:hover {
  background: var(--bg-secondary);
}
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-tertiary);
  transition: transform 0.3s var(--ease);
}
.faq-item.open .faq-question .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s var(--ease);
  padding: 0 var(--space-8);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 var(--space-8) var(--space-6);
}


/* ─── Education Hub ─── */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-8);
}
.edu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-base) var(--ease), box-shadow var(--duration-base) var(--ease);
}
.edu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.edu-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}
.edu-card-body {
  padding: var(--space-6);
}
.edu-card-body h4 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.edu-card-body p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* ─── Compliance Banner ─── */
.compliance-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  padding: var(--space-4) 0;
  display: none;
  animation: slideUp 0.5s var(--ease-out) forwards;
}
.compliance-banner.show {
  display: block;
}
.compliance-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.compliance-banner p {
  margin: 0;
}
@media (max-width: 768px) {
  .compliance-banner .container {
    flex-direction: column;
    text-align: center;
  }
}

/* ─── Showcase Gallery Custom Styles ─── */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.gallery-tab {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease);
}

.gallery-tab:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.gallery-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.gallery-grid-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
  transition: all 0.5s ease;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 250px;
  cursor: pointer;
  background: var(--bg-card);
  transition: all var(--duration-base) var(--ease);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6) var(--space-6) var(--space-4);
  background: linear-gradient(to top, rgba(9, 9, 11, 0.95) 0%, rgba(9, 9, 11, 0.4) 70%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0.9;
  transition: all var(--duration-base) var(--ease);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
  background: linear-gradient(to top, rgba(9, 9, 11, 1) 0%, rgba(9, 9, 11, 0.6) 80%, transparent 100%);
}

.gallery-item-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-item-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.gallery-item-desc {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.4;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-item-desc {
  opacity: 1;
  max-height: 80px;
  margin-top: 4px;
}

/* Lightbox Modal */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 9, 11, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-lightbox.show {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.gallery-lightbox.show .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  background: #000;
}

.lightbox-caption {
  padding: var(--space-6);
}

.lightbox-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 4px;
}

.lightbox-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.lightbox-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 35px;
  cursor: pointer;
  z-index: 1010;
  line-height: 1;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: var(--accent);
}
