@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ═══════════════════════════════════════════════════════════
   🎨  DESIGN TOKENS
   ═══════════════════════════════════════════════════════════ */
:root {
  /* Surface */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.75);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --card-bg: rgba(255, 255, 255, 0.8);
  --card-border: rgba(0, 0, 0, 0.06);
  --navbar-bg: rgba(248, 250, 252, 0.8);

  /* Accents */
  --accent-blue: #3b82f6;
  --accent-violet: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --accent-amber: #f59e0b;
  --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  --accent-gradient-subtle: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);

  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.15);
  --shadow-glow-violet: 0 0 30px rgba(139, 92, 246, 0.15);

  /* Animation */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration-base: 0.35s;
  --duration-slow: 0.6s;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ═══════════════════════════════════════════════════════════
   🌙  DARK MODE
   ═══════════════════════════════════════════════════════════ */
[data-theme="dark"] {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-tertiary: #1a1a24;
  --bg-glass: rgba(17, 17, 24, 0.75);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --card-bg: rgba(17, 17, 24, 0.6);
  --card-border: rgba(255, 255, 255, 0.06);
  --navbar-bg: rgba(10, 10, 15, 0.8);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.2);
  --shadow-glow-violet: 0 0 40px rgba(139, 92, 246, 0.2);
}

/* ═══════════════════════════════════════════════════════════
   🧱  RESET & BASE
   ═══════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ═══════════════════════════════════════════════════════════
   🌌  ANIMATED BACKGROUND ORBS
   ═══════════════════════════════════════════════════════════ */
.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-orbs .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: orbFloat 20s ease-in-out infinite;
}

.bg-orbs .orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent 70%);
  top: -10%;
  left: -5%;
  animation-duration: 25s;
}

.bg-orbs .orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 70%);
  top: 40%;
  right: -10%;
  animation-duration: 30s;
  animation-delay: -5s;
}

.bg-orbs .orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.3), transparent 70%);
  bottom: -5%;
  left: 30%;
  animation-duration: 22s;
  animation-delay: -10s;
}

[data-theme="dark"] .bg-orbs .orb {
  opacity: 0.15;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(30px, -40px) scale(1.05);
  }

  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }

  75% {
    transform: translate(15px, 30px) scale(1.02);
  }
}

/* Subtle noise texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.container,
main,
header,
footer,
.hero-section,
.stats-section {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   📝  TYPOGRAPHY
   ═══════════════════════════════════════════════════════════ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--accent-violet);
}

.text-accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-muted {
  color: var(--text-muted) !important;
}

.font-mono {
  font-family: var(--font-mono);
}

/* ═══════════════════════════════════════════════════════════
   🧭  NAVBAR
   ═══════════════════════════════════════════════════════════ */
.navbar {
  background: var(--navbar-bg) !important;
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--card-border);
  padding: 0.75rem 0;
  transition: all var(--duration-base) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary) !important;
  letter-spacing: -0.02em;
  transition: all var(--duration-fast) var(--ease-out);
}

.navbar-brand:hover {
  color: var(--accent-blue) !important;
}

.navbar-brand .brand-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  margin-left: 6px;
  animation: pulseDot 2.5s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.875rem !important;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--duration-base) var(--ease-out);
  border-radius: 1px;
}

.nav-link:hover {
  color: var(--text-primary) !important;
  background: var(--accent-gradient-subtle);
}

.nav-link:hover::after {
  width: 50%;
}

/* ═══════════════════════════════════════════════════════════
   🦸  HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero-section {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 1rem 40px;
  position: relative;
  overflow: hidden;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Futuristic Background Container */
/* Futuristic Background Container */
.hero-image-container {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--bg-primary);
}

/* Target the hero image */
.hero-img-blended {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.15;
  /* Much lower opacity for readability */
  transition: opacity 0.5s ease;
}

[data-theme="dark"] .hero-img-blended {
  opacity: 0.25;
  /* Subtle in dark mode */
}

/* Ensure no other images interfere */
.hero-image-container img:not(.hero-img-blended) {
  display: none;
}

.hero-image-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      var(--bg-primary) 0%,
      transparent 30%,
      transparent 70%,
      var(--bg-primary) 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-blue);
  background: var(--accent-gradient-subtle);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  animation: fadeSlideDown 0.7s var(--ease-out) both;
  letter-spacing: 0.04em;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  /* Subtle shadow for readability */
  letter-spacing: -0.03em;
  animation: fadeSlideUp 0.7s var(--ease-out) 0.1s both;
}

/* ... existing styles ... */
.hero-title .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-weight: 400;
  min-height: 1.8em;
  animation: fadeSlideUp 0.7s var(--ease-out) 0.2s both;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  text-shadow: 0 1px 5px rgba(255, 255, 255, 0.5);
  /* Light halo for dark text on light bg */
  animation: fadeSlideUp 0.7s var(--ease-out) 0.3s both;
}

[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-description {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  /* Stronger shadow in dark mode */
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.7s var(--ease-out) 0.4s both;
}

.typed-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--accent-blue);
  margin-left: 2px;
  animation: cursorBlink 1s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════
   🔘  BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--duration-fast) var(--ease-out);
  border: none;
  font-family: var(--font-body);
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
  color: white;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline-light {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
}

.btn-outline-light:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline-primary {
  background: transparent;
  border: 1.5px solid rgba(59, 130, 246, 0.3);
  color: var(--accent-blue);
}

.btn-outline-primary:hover {
  background: rgba(59, 130, 246, 0.06);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════
   🃏  CARDS
   ═══════════════════════════════════════════════════════════ */
.card {
  background: var(--card-bg);
  backdrop-filter: blur(40px) saturate(150%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 130, 246, 0.15);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.card-subtitle {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.card-body {
  padding: 0;
}

.card-footer {
  padding: 1.25rem 0 0;
  background: transparent !important;
  border: none !important;
}

/* Card icon */
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient-subtle);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: all var(--duration-base) var(--ease-out);
}

.card-icon i {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card:hover .card-icon {
  transform: scale(1.08);
  box-shadow: var(--shadow-glow);
}

/* Image card */
.card-img-section {
  position: relative;
  margin: -1.75rem -1.75rem 1.5rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  height: 200px;
}

.card-img-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.card:hover .card-img-section img {
  transform: scale(1.05);
}

.card-img-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-secondary) 0%, transparent 60%);
}

/* ═══════════════════════════════════════════════════════════
   📊  STATS
   ═══════════════════════════════════════════════════════════ */
.stats-section {
  padding: 2.5rem 0;
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  transition: all var(--duration-base) var(--ease-out);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   📊  SKILL BARS
   ═══════════════════════════════════════════════════════════ */
.skill-bar {
  margin-bottom: 1.25rem;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.skill-name {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.skill-percent {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-blue);
  font-weight: 500;
}

.skill-track {
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  width: 0;
  transition: width 1.4s var(--ease-out);
}

/* ═══════════════════════════════════════════════════════════
   📅  TIMELINE
   ═══════════════════════════════════════════════════════════ */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-blue), var(--accent-violet), var(--bg-tertiary));
}

.timeline-item {
  position: relative;
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 0 4px var(--bg-primary), 0 0 12px rgba(59, 130, 246, 0.3);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-blue);
  margin-bottom: 0.3rem;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   🏷️  BADGES
   ═══════════════════════════════════════════════════════════ */
.badge {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.bg-primary {
  background: linear-gradient(135deg, #3b82f6, #6366f1) !important;
  color: white !important;
}

.bg-info {
  background: linear-gradient(135deg, #8b5cf6, #ec4899) !important;
  color: white !important;
}

.bg-secondary {
  background: rgba(59, 130, 246, 0.08) !important;
  color: var(--accent-blue) !important;
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.bg-success {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  color: white !important;
}

/* ═══════════════════════════════════════════════════════════
   📞  SECTION TITLE
   ═══════════════════════════════════════════════════════════ */
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   📄  SECTION IMAGE BANNER
   ═══════════════════════════════════════════════════════════ */
.section-banner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 3rem;
  height: 240px;
}

.section-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(59, 130, 246, 0.3),
      rgba(139, 92, 246, 0.3));
}

/* ═══════════════════════════════════════════════════════════
   📬  FORMS
   ═══════════════════════════════════════════════════════════ */
.form-control {
  background: var(--bg-glass);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: all var(--duration-fast) var(--ease-out);
}

.form-control:focus {
  background: var(--bg-secondary);
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  color: var(--text-primary);
  outline: none;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

/* ═══════════════════════════════════════════════════════════
   🌀  SCROLL REVEAL
   ═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger>.reveal:nth-child(1) {
  transition-delay: 0s;
}

.reveal-stagger>.reveal:nth-child(2) {
  transition-delay: 0.06s;
}

.reveal-stagger>.reveal:nth-child(3) {
  transition-delay: 0.12s;
}

.reveal-stagger>.reveal:nth-child(4) {
  transition-delay: 0.18s;
}

.reveal-stagger>.reveal:nth-child(5) {
  transition-delay: 0.24s;
}

.reveal-stagger>.reveal:nth-child(6) {
  transition-delay: 0.3s;
}

/* ═══════════════════════════════════════════════════════════
   🔗  SOCIAL LINKS
   ═══════════════════════════════════════════════════════════ */
.social-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient-subtle);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.social-link:hover {
  transform: translateY(-3px);
  color: var(--accent-blue);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: var(--shadow-glow);
}

/* ═══════════════════════════════════════════════════════════
   🦶  FOOTER
   ═══════════════════════════════════════════════════════════ */
footer {
  background: var(--navbar-bg);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--card-border);
  padding: 2.5rem 0;
  margin-top: 5rem;
}

/* ═══════════════════════════════════════════════════════════
   📰  BLOG
   ═══════════════════════════════════════════════════════════ */
.blog-content {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
}

.blog-content h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-content p {
  margin-bottom: 1.25rem;
}

.blog-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.blog-content li {
  margin-bottom: 0.5rem;
}

.blog-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   💻  ABOUT IMAGE SECTION
   ═══════════════════════════════════════════════════════════ */
.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.about-img-wrapper:hover img {
  transform: scale(1.03);
}

.about-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--card-border);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   📱  RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
    padding: 60px 1rem 30px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .card {
    padding: 1.25rem;
  }

  .section-banner {
    height: 160px;
  }

  .card-img-section {
    height: 150px;
  }
}
/* 
     TESTIMONIALS
    */
.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-tertiary));
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    height: 100%;
    transition: all var(--duration-base) var(--ease-out);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(59, 130, 246, 0.2);
}

.testimonial-quote-icon {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    color: var(--accent-blue);
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-secondary);
    box-shadow: var(--shadow-sm);
}

.client-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.client-role {
    font-size: 0.85rem;
    font-weight: 500;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.rating i {
    font-size: 0.9rem;
    margin-right: 2px;
}

