/* ==========================================================================
   MOHAMED YASSER - PORTFOLIO STYLESHEET
   Digital Solutions Developer | مطور حلول رقمية للأعمال
   Vanilla CSS with CSS Variables & Responsive Architecture (RTL-First)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (THEME TOKENS)
   -------------------------------------------------------------------------- */
:root {
  /* Dark Theme (Default) */
  --bg-body: #0b0f19;
  --bg-surface: #111827;
  --bg-surface-elevated: #162032;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(24, 34, 53, 0.95);
  --bg-input: #0f172a;
  
  --header-bg: rgba(11, 15, 25, 0.82);
  --header-border: rgba(255, 255, 255, 0.07);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0b0f19;

  --accent-primary: #38bdf8;
  --accent-secondary: #0284c7;
  --accent-hover: #7dd3fc;
  --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #0284c7 60%, #0369a1 100%);
  --accent-glow: rgba(56, 189, 248, 0.16);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(56, 189, 248, 0.35);

  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --card-shadow-hover: 0 20px 35px -10px rgba(2, 132, 199, 0.2);
  --glow-shadow: 0 0 40px -10px rgba(56, 189, 248, 0.3);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --font-arabic: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-english: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Light Theme Override */
[data-theme="light"] {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: #ffffff;
  --bg-input: #f8fafc;

  --header-bg: rgba(248, 250, 252, 0.88);
  --header-border: rgba(15, 23, 42, 0.08);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #f8fafc;

  --accent-primary: #0284c7;
  --accent-secondary: #0369a1;
  --accent-hover: #0ea5e9;
  --accent-gradient: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  --accent-glow: rgba(2, 132, 199, 0.1);

  --border-color: rgba(15, 23, 42, 0.09);
  --border-hover: rgba(2, 132, 199, 0.4);

  --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
  --card-shadow-hover: 0 20px 30px -5px rgba(2, 132, 199, 0.12);
  --glow-shadow: 0 0 35px -5px rgba(2, 132, 199, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-arabic);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* Focus styles for keyboard accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. LAYOUT UTILITIES & TYPOGRAPHY
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-primary);
  background-color: var(--accent-glow);
  border: 1px solid var(--border-hover);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-normal);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
  border: 1px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.45);
}

.btn-primary:hover .btn-icon {
  transform: translateX(-4px);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-elevated);
  border-color: var(--border-hover);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   5. SITE HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--header-border);
  transition: all var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--accent-gradient);
  color: #ffffff;
  font-family: var(--font-english);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  letter-spacing: -0.5px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.brand-sub {
  font-family: var(--font-english);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Desktop Nav */
.nav-desktop {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
  background-color: var(--accent-glow);
}

.nav-link.active {
  color: var(--accent-primary);
  background-color: var(--accent-glow);
}

.nav-cta-link {
  color: var(--accent-primary) !important;
  border: 1px solid var(--border-hover);
  background-color: var(--accent-glow);
}

.nav-cta-link:hover {
  background-color: var(--accent-primary);
  color: #ffffff !important;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--border-hover);
  background-color: var(--bg-surface-elevated);
  color: var(--accent-primary);
}

.theme-icon {
  width: 20px;
  height: 20px;
}

/* Light / Dark icon display control */
[data-theme="dark"] .moon-icon {
  display: none;
}

[data-theme="dark"] .sun-icon {
  display: block;
}

[data-theme="light"] .sun-icon {
  display: none;
}

[data-theme="light"] .moon-icon {
  display: block;
}

/* Mobile Hamburger Button */
.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-fast);
}

.mobile-toggle-btn.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle-btn.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-toggle-btn.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 4.5rem;
  left: 0;
  right: 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.mobile-nav-drawer.open {
  max-height: 520px;
}

.mobile-nav-inner {
  padding: 1.25rem 1.5rem 1.75rem 1.5rem;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent-primary);
  background-color: var(--accent-glow);
}

.mobile-cta {
  color: var(--accent-primary) !important;
  font-weight: 700;
  background-color: var(--accent-glow);
  border: 1px solid var(--border-hover);
  text-align: center;
  margin-top: 0.5rem;
}

/* Nav Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 6rem;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-glow-1 {
  top: -100px;
  right: -100px;
  background: var(--accent-primary);
}

.hero-bg-glow-2 {
  bottom: 0;
  left: -100px;
  background: #3b82f6;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  align-self: flex-start;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.status-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.hero-greeting {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 0.35rem;
}

.hero-name-ar {
  display: block;
  font-size: 3.25rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.hero-name-en {
  display: block;
  font-family: var(--font-english);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.25rem;
  letter-spacing: 0.5px;
}

.hero-role-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.hero-role-ar {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-role-divider {
  color: var(--accent-primary);
  font-size: 1.2rem;
}

.hero-role-en {
  font-family: var(--font-english);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-intro {
  font-size: 1.12rem;
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2.25rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.hero-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.pill-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.pill-item:hover {
  border-color: var(--border-hover);
  color: var(--accent-primary);
}

.pill-icon {
  width: 15px;
  height: 15px;
  color: var(--accent-primary);
}

/* Hero Visual: Matrix Card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow), var(--glow-shadow);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.card-glow-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.25rem;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.window-title {
  font-family: var(--font-english);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

.visual-body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.matrix-node {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.node-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.node-icon svg {
  width: 22px;
  height: 22px;
}

.node-info {
  display: flex;
  flex-direction: column;
}

.node-info strong {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.node-info small {
  font-family: var(--font-english);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.connector-line {
  height: 18px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.connector-line::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border-color);
}

.matrix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.sub-node {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}

.badge-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.25rem;
}

.sub-node p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.result-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   7. ABOUT ME SECTION
   -------------------------------------------------------------------------- */
.about-section {
  background-color: var(--bg-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 4rem;
}

/* Photo Card Wrapper */
.about-photo-wrapper {
  position: relative;
}

.photo-card {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
}

.photo-placeholder-box {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--bg-surface-elevated), var(--bg-body));
  border: 2px solid var(--border-hover);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-align: center;
  box-shadow: var(--card-shadow), var(--glow-shadow);
  position: relative;
  overflow: hidden;
}

.personal-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xl);
  display: block;
}

.photo-avatar-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--accent-glow);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-hover);
}

.photo-avatar-icon svg {
  width: 44px;
  height: 44px;
}

.photo-label {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.photo-sublabel {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Floating Badges */
.photo-floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.photo-floating-badge .badge-icon {
  font-size: 1.35rem;
}

.photo-floating-badge strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-primary);
}

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

.badge-top {
  top: -15px;
  right: -20px;
}

.badge-bottom {
  bottom: -20px;
  left: -20px;
}

/* Text Content */
.about-text-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.quote-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quote-card .lead-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.7;
}

.quote-card p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

.quote-card .highlight-text {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--accent-primary);
  padding-right: 1.25rem;
  border-right: 3px solid var(--accent-primary);
  margin-top: 0.5rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-glow);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-icon svg {
  width: 20px;
  height: 20px;
}

.pillar-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pillar-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   8. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-section {
  background-color: var(--bg-body);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 0;
  background: var(--accent-gradient);
  transition: height var(--transition-normal);
}

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

.service-card:hover::after {
  height: 100%;
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--accent-glow);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-hover);
  transition: all var(--transition-fast);
}

.service-icon-box svg {
  width: 24px;
  height: 24px;
}

.service-card:hover .service-icon-box {
  background: var(--accent-gradient);
  color: #ffffff;
  transform: scale(1.05);
}

.service-num {
  font-family: var(--font-english);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.6;
}

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

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Service 9 Featured Styling */
.service-card-featured {
  border-color: var(--border-hover);
  background: linear-gradient(145deg, var(--bg-card), rgba(56, 189, 248, 0.04));
}

.featured-icon {
  background: var(--accent-gradient);
  color: #ffffff;
}

.featured-badge-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  background-color: var(--accent-glow);
  border: 1px solid var(--border-hover);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   9. SKILLS & CAPABILITIES SECTION
   -------------------------------------------------------------------------- */
.skills-section {
  background-color: var(--bg-surface);
}

.skills-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.skill-category-card {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
}

.skill-category-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--card-shadow);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.category-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-glow);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-icon svg {
  width: 22px;
  height: 22px;
}

.category-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}

.category-sub {
  font-family: var(--font-english);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.capability-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.capability-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.check-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-primary);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* Full Width Category (Development Approach) */
.full-width-category {
  grid-column: 1 / -1;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.approach-item {
  display: flex;
  gap: 0.85rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.approach-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.approach-item strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.approach-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   10. PROJECTS / PORTFOLIO SECTION
   -------------------------------------------------------------------------- */
.projects-section {
  background-color: var(--bg-body);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.project-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--card-shadow-hover);
}

.project-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: var(--bg-surface-elevated);
  overflow: hidden;
}

.project-preview-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.05) 0%, rgba(2, 132, 199, 0.12) 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem;
}

.preview-mockup-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

.preview-svg-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-primary);
  opacity: 0.85;
}

.preview-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.project-status-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
}

.project-status-badge.in-progress {
  background-color: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #f59e0b;
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-category {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.project-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.project-desc {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.project-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.project-link-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.projects-note {
  max-width: 720px;
  margin: 0 auto;
}

.note-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
}

.note-icon {
  font-size: 1.35rem;
}

.note-box p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   11. HOW I WORK SECTION ("رحلة العمل")
   -------------------------------------------------------------------------- */
.how-i-work-section {
  background-color: var(--bg-surface);
}

.timeline-container {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-track {
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  right: 28px;
  width: 2px;
  background-color: var(--border-color);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.timeline-marker {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 2px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--accent-glow);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: all var(--transition-normal);
}

.step-num {
  font-family: var(--font-english);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-primary);
}

.timeline-item:hover .timeline-marker {
  background: var(--accent-gradient);
  border-color: #ffffff;
}

.timeline-item:hover .step-num {
  color: #ffffff;
}

.timeline-content {
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  flex-grow: 1;
  transition: all var(--transition-normal);
}

.timeline-item:hover .timeline-content {
  border-color: var(--border-hover);
  transform: translateX(-4px);
  box-shadow: var(--card-shadow);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   12. WHY WORK WITH ME SECTION
   -------------------------------------------------------------------------- */
.why-me-section {
  background-color: var(--bg-body);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: all var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--card-shadow);
}

.value-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-glow);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 22px;
  height: 22px;
}

.value-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.value-desc {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Full Width 7th Card */
.full-value-card {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, var(--bg-card), rgba(56, 189, 248, 0.05));
  border-color: var(--border-hover);
}

.featured-check {
  background: var(--accent-gradient);
  color: #ffffff;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   13. CAREER DIRECTION SECTION ("رؤيتي في تطوير الأعمال")
   -------------------------------------------------------------------------- */
.vision-section {
  background-color: var(--bg-surface);
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.vision-card {
  position: relative;
  background: linear-gradient(145deg, var(--bg-surface-elevated), var(--bg-body));
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  box-shadow: var(--card-shadow), var(--glow-shadow);
  overflow: hidden;
}

.vision-quote-icon {
  position: absolute;
  top: -20px;
  right: 25px;
  font-size: 12rem;
  font-family: serif;
  color: var(--accent-primary);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
}

.vision-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
}

.vision-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
}

.vision-statement {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.85;
  color: var(--text-primary);
  max-width: 780px;
  margin: 0 auto 2rem auto;
}

.vision-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.vision-author strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-primary);
}

.vision-author span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   14. CONTACT SECTION ("خلينا نبدأ مشروعك")
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--bg-body);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: flex-start;
}

/* Info Column */
.contact-info-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.info-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.info-card-text {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.channels-heading {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.social-channels {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.social-channel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.social-channel-item:hover {
  transform: translateX(-4px);
  border-color: var(--border-hover);
  background-color: var(--bg-card-hover);
}

.social-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-channel .social-icon-box {
  background-color: #25D366;
  color: #ffffff;
}

.fb-channel .social-icon-box {
  background-color: #1877f2;
  color: #ffffff;
}

.ig-channel .social-icon-box {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: #ffffff;
}

.email-channel .social-icon-box {
  background: linear-gradient(135deg, #ea4335 0%, #c5221f 100%);
  color: #ffffff;
}

.social-icon-box svg {
  width: 20px;
  height: 20px;
}

.channel-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.channel-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
}

.channel-handle {
  font-family: var(--font-english);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.channel-arrow {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.social-channel-item:hover .channel-arrow {
  color: var(--accent-primary);
  transform: translateX(-4px);
}

/* Contact Form Column */
.contact-form-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-label .required {
  color: #ef4444;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

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

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.select-wrapper {
  position: relative;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-left: 2.5rem;
}

.select-wrapper::after {
  content: '▼';
  font-size: 0.75rem;
  color: var(--text-muted);
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.form-input.has-error,
.form-textarea.has-error {
  border-color: #ef4444;
}

.field-error {
  display: none;
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 0.2rem;
}

.field-error.active {
  display: block;
}

/* Alert Box */
.form-alert {
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  line-height: 1.6;
}

.form-alert.success {
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
}

.form-alert.error {
  background-color: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.form-disclaimer {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.footer-role {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.footer-tagline {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-social-btn svg {
  width: 17px;
  height: 17px;
}

.footer-social-btn:hover {
  border-color: var(--border-hover);
  color: var(--accent-primary);
  background-color: var(--bg-card-hover);
}

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

.copyright-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.back-to-top-btn:hover {
  color: var(--accent-primary);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   16. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* --------------------------------------------------------------------------
   17. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
/* Large Tablet / Small Desktop */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    order: -1;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .skills-categories-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

/* Mobile Devices */
@media (max-width: 768px) {
  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  /* Navigation */
  .nav-desktop {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  /* Hero Section */
  .hero-name-ar {
    font-size: 2.5rem;
  }

  .hero-name-en {
    font-size: 1.15rem;
  }

  .hero-role-ar {
    font-size: 1.15rem;
  }

  .hero-role-en {
    font-size: 0.95rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  /* About Section */
  .about-pillars {
    grid-template-columns: 1fr;
  }

  .badge-top {
    right: 0;
  }

  .badge-bottom {
    left: 0;
  }

  /* Services Section */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Projects Section */
  .projects-grid {
    grid-template-columns: 1fr;
  }

  /* Timeline */
  .timeline-track {
    right: 23px;
  }

  .timeline-item {
    gap: 1.25rem;
  }

  .timeline-marker {
    width: 48px;
    height: 48px;
  }

  .step-num {
    font-size: 0.98rem;
  }

  .timeline-content {
    padding: 1.25rem 1.5rem;
  }

  /* Why Me Section */
  .values-grid {
    grid-template-columns: 1fr;
  }

  .full-value-card {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Vision Section */
  .vision-card {
    padding: 2.5rem 1.5rem;
  }

  .vision-statement {
    font-size: 1.15rem;
  }

  /* Contact Section */
  .contact-info-card,
  .contact-form-card {
    padding: 1.5rem;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-social-links {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-social-btn {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    text-align: center;
    gap: 1rem;
  }

  .back-to-top-btn {
    align-self: center;
  }
}

/* --------------------------------------------------------------------------
   18. REDUCED MOTION PREFERENCE (ACCESSIBILITY)
   -------------------------------------------------------------------------- */
@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;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
