/*
=====================================================================
INFINITY TECH 2026 - ULTRA MODERN DESIGN SYSTEM
=====================================================================
*/

:root {
  /* Core Palette - Light Mode (Default) */
  --bg-deep: #f8fafc;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.9);

  --primary: #ff6b35;
  --primary-dark: #e55a2b;
  --primary-glow: rgba(255, 107, 53, 0.4);
  --accent: #4dabf7;
  --accent-glow: rgba(77, 171, 247, 0.3);

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #475569;

  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(255, 107, 53, 0.3);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  /* Enhanced Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 0 40px -10px rgba(255, 107, 53, 0.2);
  --shadow-accent: 0 0 30px -8px rgba(77, 171, 247, 0.2);

  --font-main: 'Tajawal', sans-serif;
  --container: 1280px;

  /* Animations */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
}

body {
  background: var(--bg-deep);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(77, 171, 247, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
  min-height: 100vh;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-sm);
  height: auto;
}

/*
=====================================================================
UTILITIES & LAYOUT
=====================================================================
*/
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.grid {
  display: grid;
  gap: 32px;
}

.flex {
  display: flex;
  gap: 20px;
  align-items: center;
}

.flex-col {
  flex-direction: column;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

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

.center {
  text-align: center;
}

.section-padding {
  padding-block: 100px;
}

.muted {
  color: var(--text-muted);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 24px;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.8;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/*
=====================================================================
COMPONENTS
=====================================================================
*/

/* Buttons - Ultra Modern */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  text-transform: none;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: var(--transition-base);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border-color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  background: linear-gradient(135deg, #ff7d4d, var(--primary));
}

.btn-primary:active {
  transform: translateY(-1px) scale(1);
}

.btn-outline {
  background: transparent;
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(255, 107, 53, 0.1);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Cards - Enhanced Glassmorphism */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.glass-card,
.card,
.work-item {
  transform-style: preserve-3d;
  will-change: transform;
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  --scale: 1;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift)) scale(var(--scale));
}

.glass-card::after,
.card::after,
.work-item::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(650px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(77, 171, 247, 0.18),
      rgba(255, 107, 53, 0.14) 30%,
      transparent 55%);
  opacity: 0;
  transition: var(--transition-slow);
  pointer-events: none;
}

.glass-card:hover::after,
.card:hover::after,
.work-item:hover::after {
  opacity: 1;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition-slow);
  pointer-events: none;
}

.glass-card:hover {
  --lift: -12px;
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.glass-card:hover::before {
  opacity: 1;
}

.card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition-slow);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition-base);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card:hover {
  --lift: -10px;
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

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

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.feature-tag {
  padding: 8px 16px;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition-base);
}

.feature-tag:hover {
  background: rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.4);
  transform: translateY(-2px);
}

.icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  display: inline-block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.icon img {
  display: block;
  filter: drop-shadow(0 4px 12px rgba(255, 107, 53, 0.2));
  transition: var(--transition-base);
}

.card:hover .icon img {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 6px 16px rgba(255, 107, 53, 0.3));
}

/* Navbar - Modern Sticky */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-block: 16px;
  transition: var(--transition-base);
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

header.header-hidden {
  transform: translateY(-110%);
}

header.scrolled {
  padding-block: 12px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border);
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 2000;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.04);
}

.scroll-progress__bar {
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
  box-shadow: 0 0 18px rgba(255, 107, 53, 0.22);
}

.brand {
  font-size: 1.5rem;
  font-weight: 900;
  color: black;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition-base);
}

.brand:hover {
  transform: scale(1.05);
}

.logo,
.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: white;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transition: var(--transition-base);
}

.brand img {
  transition: var(--transition-base);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.brand:hover .logo,
.brand:hover .logo-icon,
.brand:hover img {
  transform: rotate(5deg) scale(1.1);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 20px;
  left: 20px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(255, 107, 53, 0.1);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Theme Toggle Button */
.theme-toggle {
  background: transparent;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 1.25rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  border-color: var(--primary);
  background: rgba(255, 107, 53, 0.1);
  transform: scale(1.05);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  transition: var(--transition-base);
}

.theme-toggle .sun-icon {
  position: absolute;
  opacity: 0;
  transform: rotate(90deg);
}

.theme-toggle .moon-icon {
  position: absolute;
  opacity: 1;
  transform: rotate(0deg);
}

[data-theme="light"] .theme-toggle .sun-icon {
  opacity: 1;
  transform: rotate(0deg);
}

[data-theme="light"] .theme-toggle .moon-icon {
  opacity: 0;
  transform: rotate(-90deg);
}

.hamburger {
  display: none;
  background: transparent;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 1.5rem;
  padding: 8px 12px;
  cursor: pointer;
  transition: var(--transition-base);
}

.hamburger:hover {
  border-color: var(--primary);
  background: rgba(255, 107, 53, 0.1);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  margin-top: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.mobile-nav.open {
  display: flex;
}

/* Hero Section - Ultra Modern */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -40%;
  background:
    linear-gradient(rgba(255, 107, 53, 0.06), rgba(255, 107, 53, 0) 35%),
    radial-gradient(circle at 30% 20%, rgba(77, 171, 247, 0.10), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(255, 107, 53, 0.10), transparent 55%);
  transform: translate3d(calc(var(--hero-mx, 0) * 14px), calc(var(--hero-my, 0) * 10px), 0) translateY(calc(var(--hero-scroll, 0) * 18px));
  transition: transform 120ms ease-out;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.25;
  transform: translate3d(calc(var(--hero-mx, 0) * -10px), calc(var(--hero-my, 0) * -6px), 0) translateY(calc(var(--hero-scroll, 0) * -10px));
  transition: transform 120ms ease-out;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(circle at 50% 40%, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0) 65%);
}

.hero-content {
  z-index: 2;
  position: relative;
}

.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

#bg-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes pulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Services Grid */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.service-icon {
  font-size: 4rem;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff, var(--text-muted));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Works Grid - Modern Bento */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 28px;
  grid-auto-rows: 320px;
}

.work-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition-slow);
  box-shadow: var(--shadow-md);
  background: var(--bg-card);
}

.work-item.large {
  grid-column: span 2;
}

.work-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  opacity: 0;
  transition: var(--transition-base);
}

.work-item:hover {
  --lift: -12px;
  --scale: 1.02;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--border-hover);
}

.work-item:hover .work-image {
  transform: scale(1.15);
}

.work-item:hover .work-overlay {
  opacity: 1;
}

/* Form Elements */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--text-main);
  font-weight: 700;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-base);
  backdrop-filter: blur(10px);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1), var(--shadow-md);
  background: rgba(255, 255, 255, 1);
}


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

/* Footer */
.footer {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding-block: 80px;
  margin-top: 100px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.f-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.foot-note {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer a:hover {
  color: var(--primary);
  transform: translateX(-3px);
}

.footer-links {
  display: grid;
  gap: 12px;
  font-size: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-base);
  display: inline-block;
}

.footer-contact {
  display: grid;
  gap: 12px;
  font-size: 1rem;
  color: var(--text-muted);
}

.footer-contact__item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  transition: var(--transition-base);
}

.footer-social {
  display: grid;
  gap: 12px;
}

.footer-social__link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-base);
}

.footer-social__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--text-main);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(77, 171, 247, 0.10));
  border: 1px solid var(--border);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  padding: 18px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  z-index: 999;
  transition: var(--transition-base);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
  font-size: 1.5rem;
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

/* Responsive */
@media (max-width: 1024px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 280px;
  }

  .work-item.large {
    grid-column: span 1;
  }

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

@media (max-width: 768px) {
  .works-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .section-padding {
    padding-block: 60px;
  }

  .container {
    padding-inline: 20px;
  }

  .whatsapp-float {
    bottom: 20px;
    left: 20px;
    padding: 14px 18px;
    font-size: 0.9rem;
  }

  .whatsapp-text {
    display: none;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Reveal (JS toggles .is-visible) */
.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0) rotateX(6deg);
  filter: blur(6px);
  transition: opacity 650ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: 50% 60%;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateX(0deg);
  filter: blur(0px);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 5px;
  border: 2px solid var(--bg-deep);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary-dark), var(--primary));
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary-dark), var(--primary));
}

/* Loading States */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 107, 53, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 20px;
}

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

/* 
=====================================================================
CONTACT PAGE ENHANCEMENTS
=====================================================================
*/
.contact-grid {
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}

.contact-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-base);
  display: inline-block;
  position: relative;
}

.contact-link:hover {
  color: var(--primary);
  transform: translateX(-3px);
}

.contact-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: var(--transition-base);
}

.contact-link:hover::after {
  width: 100%;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}