/* CSS Variables */
:root {
  --bg-primary: #F5FBF6;
  --bg-secondary: #F0F8F1;
  --bg-card: #FFFFFF;
  --text-primary: #1B5E20;
  --text-secondary: #2E7D32;
  --text-muted: #4CAF50;
  --accent: #2E7D32;
  --accent-hover: #1B5E20;
  --accent-light: #4CAF50;
  --border: #C8E6C9;
  --shadow: 0 2px 20px rgba(46, 125, 50, 0.08);
  --shadow-hover: 0 8px 40px rgba(46, 125, 50, 0.25);
  --radius: 16px;
  --transition: all 0.3s ease;
}

.dark-mode {
  --bg-primary: #0A0F0A;
  --bg-secondary: #0F1510;
  --bg-card: #1A2A1A;
  --text-primary: #E8F5E9;
  --text-secondary: #C8E6C9;
  --text-muted: #A5D6A7;
  --accent: #4CAF50;
  --accent-hover: #66BB6A;
  --accent-light: #81C784;
  --border: #2A3A2A;
  --shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 8px 40px rgba(76, 175, 80, 0.25);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Skip Link - Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent);
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  z-index: 10000;
  font-weight: 600;
  border-radius: 0 0 8px 0;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--accent-light);
  outline-offset: 2px;
}

/* Typography System */
:root {
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', 'Monaco', monospace;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: var(--transition);
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ================================
   Cyber Green Background Animation
   Layers: Gradient (base), Neon Grid (overlay), Particles (top)
   Accessibility: respects prefers-reduced-motion
   ================================ */

:root {
  /* Theme palette - updated to match existing cyber green theme */
  --bg-0: #071207;
  /* near-black green matching dark mode */
  --bg-1: #0b1a0b;
  --bg-2: #0e220e;
  --bg-3: #123012;
  --neon: #4CAF50;
  /* matching accent color */
  --neon-soft: rgba(76, 175, 80, 0.15);

  /* Opacities - adjusted for better visibility */
  --grid-opacity: 0.08;
  --particles-opacity: 0.10;

  /* Timing - optimized for smooth performance */
  --gradient-speed: 28s;
  --grid-drift-speed: 120s;
  --particle-float-speed: 20s;
  --particle-sway-speed: 32s;

  /* Scale & grid size */
  --grid-size: 90px;
  /* base grid cell */
  --blur-strength: 0px;
  /* set >0 if you want soft blur on grid */

  /* Particle settings */
  --particle-size: 2px;
}

/* Container that hosts the background layers */
.bg-animated {
  position: relative;
  /* allows normal content flow */
  min-height: 100vh;
  isolation: isolate;
  /* ensure pseudo-elements layer correctly */
  background: transparent;
  /* let animations show through */
  overflow-x: hidden;
  /* avoid horizontal scroll from transforms */
}

/* Canvas Background */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  /* Let clicks pass through */
}

/* Ensure body background doesn't interfere with animations */
body {
  background: var(--bg-primary) !important;
  /* Base dark color */
  position: relative;
}

/* Base gradient (fixed so content scrolls over it) */
.bg-animated::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  /* Multi-stop gradient with slow shift - updated colors */
  background:
    radial-gradient(120% 120% at 20% 10%, var(--bg-1) 0%, var(--bg-0) 40%, transparent 60%),
    radial-gradient(120% 120% at 80% 90%, var(--bg-2) 0%, var(--bg-0) 50%, transparent 70%),
    linear-gradient(135deg, var(--bg-0), var(--bg-1), var(--bg-2), var(--bg-3));
  background-size: 120% 120%, 120% 120%, 300% 300%;
  will-change: background-position, transform;
  pointer-events: none;
}

/* Neon grid overlay */
.bg-animated::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    /* horizontal lines */
    repeating-linear-gradient(to bottom,
      rgba(76, 175, 80, var(--grid-opacity)) 0,
      rgba(76, 175, 80, var(--grid-opacity)) 1px,
      transparent 1px,
      transparent var(--grid-size)),
    /* vertical lines */
    repeating-linear-gradient(to right,
      rgba(76, 175, 80, var(--grid-opacity)) 0,
      rgba(76, 175, 80, var(--grid-opacity)) 1px,
      transparent 1px,
      transparent var(--grid-size));
  filter: blur(var(--blur-strength));
  /* slow drift for parallax vibe */
  will-change: background-position;
  pointer-events: none;
}

/* Particle layer: add a child element <div class="bg-particles"></div> inside .bg-animated */
.bg-animated .bg-particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: var(--particles-opacity);
}

/* We generate particles using multiple box-shadows on a pseudo-element */
.bg-animated .bg-particles::before,
.bg-animated .bg-particles::after {
  content: "";
  position: absolute;
  width: var(--particle-size);
  height: var(--particle-size);
  border-radius: 50%;
  background: var(--neon);
  box-shadow:
    /* Cluster A (random positions; tune freely) */
    5vw 12vh 0 0 var(--neon),
    18vw 28vh 0 0 var(--neon),
    32vw 6vh 0 0 var(--neon),
    47vw 22vh 0 0 var(--neon),
    64vw 10vh 0 0 var(--neon),
    79vw 18vh 0 0 var(--neon),
    12vw 44vh 0 0 var(--neon),
    28vw 56vh 0 0 var(--neon),
    42vw 68vh 0 0 var(--neon),
    58vw 40vh 0 0 var(--neon),
    72vw 52vh 0 0 var(--neon),
    88vw 34vh 0 0 var(--neon),
    16vw 76vh 0 0 var(--neon),
    36vw 84vh 0 0 var(--neon),
    54vw 88vh 0 0 var(--neon);
  filter: drop-shadow(0 0 6px var(--neon-soft));
}

/* Second cluster (to add richness) */
.bg-animated .bg-particles::after {
  top: 0;
  left: 0;
  box-shadow:
    10vw 18vh 0 0 var(--neon),
    24vw 30vh 0 0 var(--neon),
    38vw 14vh 0 0 var(--neon),
    52vw 26vh 0 0 var(--neon),
    66vw 8vh 0 0 var(--neon),
    82vw 20vh 0 0 var(--neon),
    14vw 48vh 0 0 var(--neon),
    30vw 60vh 0 0 var(--neon),
    46vw 72vh 0 0 var(--neon),
    60vw 44vh 0 0 var(--neon),
    76vw 56vh 0 0 var(--neon),
    90vw 38vh 0 0 var(--neon),
    20vw 80vh 0 0 var(--neon),
    40vw 88vh 0 0 var(--neon),
    58vw 92vh 0 0 var(--neon);
  filter: drop-shadow(0 0 6px var(--neon-soft));
}

/* ================================
   Keyframes
   ================================ */

@keyframes bgGradientShift {
  0% {
    background-position: 0% 50%, 100% 50%, 0% 50%;
    transform: translateZ(0);
  }

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

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

@keyframes gridDrift {
  0% {
    background-position: 0 0, 0 0;
  }

  50% {
    background-position: -8vw -6vh, 8vw 6vh;
  }

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

@keyframes particleFloat {

  0%,
  100% {
    transform: translateY(-3px);
  }

  50% {
    transform: translateY(3px);
  }
}

@keyframes particleSway {
  0% {
    transform: translateX(-2px);
  }

  50% {
    transform: translateX(2px);
  }

  100% {
    transform: translateX(-2px);
  }
}

/* ================================
   Accessibility: Reduced Motion
   ================================ */

@media (prefers-reduced-motion: reduce) {

  .bg-animated::before,
  .bg-animated::after,
  .bg-animated .bg-particles::before,
  .bg-animated .bg-particles::after {
    animation: none !important;
  }

  .bg-animated::before {
    /* provide a static but rich background */
    background:
      radial-gradient(120% 120% at 20% 10%, var(--bg-1) 0%, var(--bg-0) 40%, transparent 60%),
      radial-gradient(120% 120% at 80% 90%, var(--bg-2) 0%, var(--bg-0) 50%, transparent 70%),
      linear-gradient(135deg, var(--bg-0), var(--bg-1), var(--bg-2), var(--bg-3));
    background-size: cover;
  }
}

/* ================================
   Mobile Performance Optimizations
   ================================ */

@media (max-width: 768px) {
  .bg-animated {
    --gradient-speed: 45s;
    /* slower on mobile */
    --grid-drift-speed: 180s;
    /* much slower drift */
    --particle-float-speed: 35s;
    /* slower particles */
    --particle-sway-speed: 50s;
    /* slower sway */
  }

  .bg-animated .bg-particles::before,
  .bg-animated .bg-particles::after {
    filter: blur(0.2px);
    /* reduce blur for better performance */
  }
}

@media (max-width: 480px) {
  .bg-animated {
    --particles-opacity: 0.06;
    /* reduce opacity on small screens */
    --grid-opacity: 0.04;
    /* reduce grid visibility */
  }

  /* Reduce particle count on very small screens */
  .bg-animated .bg-particles::before {
    box-shadow:
      5vw 12vh 0 0 var(--neon),
      32vw 6vh 0 0 var(--neon),
      64vw 10vh 0 0 var(--neon),
      12vw 44vh 0 0 var(--neon),
      42vw 68vh 0 0 var(--neon),
      72vw 52vh 0 0 var(--neon),
      16vw 76vh 0 0 var(--neon);
  }

  .bg-animated .bg-particles::after {
    box-shadow:
      10vw 18vh 0 0 var(--neon),
      38vw 14vh 0 0 var(--neon),
      66vw 8vh 0 0 var(--neon),
      14vw 48vh 0 0 var(--neon),
      46vw 72vh 0 0 var(--neon),
      76vw 56vh 0 0 var(--neon),
      20vw 80vh 0 0 var(--neon);
  }
}

/* ================================
   Optional: Dark overlay to boost contrast
   Place a <div class="bg-veil"></div> after .bg-animated start (if needed)
   ================================ */

.bg-animated .bg-veil {
  position: fixed;
  inset: 0;
  z-index: -0;
  pointer-events: none;
  background: radial-gradient(100% 100% at 50% 50%, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.28) 100%);
}


/* Heading Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.course-hero-title,
.course-title,
.project-title,
.service-title,
.about-name,
.timeline-title,
.testimonial-author .author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1,
.hero-title,
.course-hero-title {
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2,
.section-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3,
h4,
h5,
h6,
.course-title,
.project-title,
.service-title {
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Body text improvements */
p,
li,
.hero-description,
.about-description,
.course-description,
.project-description {
  font-family: var(--font-body);
  line-height: 1.7;
}

/* Better readability */
.hero-description,
.about-description,
.course-description {
  font-size: 1.1rem;
  line-height: 1.8;
}

@media (max-width: 768px) {

  .hero-description,
  .about-description,
  .course-description {
    font-size: 1rem;
    line-height: 1.7;
  }
}

/* Monospace for numbers and code */
.stat-value,
.stat-number,
.countdown-value,
.syllabus-number,
.price-amount,
code,
pre,
.logo-text {
  font-family: var(--font-mono);
}

/* Enhanced Education-Themed Background - Polished with Smaller Grids */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    /* Base gradient - soft and professional */
    radial-gradient(ellipse at top left, rgba(245, 251, 246, 0.8) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(240, 248, 241, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse at center, rgba(232, 245, 233, 0.4) 0%, transparent 70%),
    /* Fine grid pattern - smaller and more refined */
    linear-gradient(rgba(76, 175, 80, 0.02) 0.5px, transparent 0.5px),
    linear-gradient(90deg, rgba(76, 175, 80, 0.02) 0.5px, transparent 0.5px),
    /* Secondary fine grid for depth */
    linear-gradient(rgba(46, 125, 50, 0.008) 0.5px, transparent 0.5px),
    linear-gradient(90deg, rgba(46, 125, 50, 0.008) 0.5px, transparent 0.5px),
    /* Base color */
    var(--bg-primary);
  background-size:
    1200px 1200px,
    1000px 1000px,
    800px 800px,
    24px 24px,
    24px 24px,
    48px 48px,
    48px 48px,
    100% 100%;
  background-position:
    -300px -300px,
    calc(100% + 200px) calc(100% + 200px),
    50% 50%,
    0 0,
    0 0,
    12px 12px,
    12px 12px,
    0 0;
  animation: backgroundShift 50s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.dark-mode body::before {
  background:
    radial-gradient(ellipse at top left, rgba(10, 20, 10, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(15, 25, 15, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse at center, rgba(10, 15, 10, 0.4) 0%, transparent 70%),
    linear-gradient(rgba(76, 175, 80, 0.03) 0.5px, transparent 0.5px),
    linear-gradient(90deg, rgba(76, 175, 80, 0.03) 0.5px, transparent 0.5px),
    linear-gradient(rgba(46, 125, 50, 0.015) 0.5px, transparent 0.5px),
    linear-gradient(90deg, rgba(46, 125, 50, 0.015) 0.5px, transparent 0.5px),
    var(--bg-primary);
  background-size:
    1200px 1200px,
    1000px 1000px,
    800px 800px,
    24px 24px,
    24px 24px,
    48px 48px,
    48px 48px,
    100% 100%;
}

@keyframes backgroundShift {

  0%,
  100% {
    background-position:
      -300px -300px,
      calc(100% + 200px) calc(100% + 200px),
      50% 50%,
      0 0,
      0 0,
      12px 12px,
      12px 12px,
      0 0;
  }

  50% {
    background-position:
      -200px -200px,
      calc(100% + 300px) calc(100% + 300px),
      45% 55%,
      12px 12px,
      12px 12px,
      24px 24px,
      24px 24px,
      0 0;
  }
}

/* Floating Geometric Shapes - Refined and Polished */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    /* Large circles - refined */
    radial-gradient(circle at 20% 30%, rgba(76, 175, 80, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(46, 125, 50, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 10%, rgba(102, 187, 106, 0.04) 0%, transparent 35%),
    radial-gradient(circle at 10% 80%, rgba(76, 175, 80, 0.03) 0%, transparent 40%),
    /* Fine dots pattern - smaller grid */
    radial-gradient(circle, rgba(76, 175, 80, 0.08) 0.8px, transparent 0.8px),
    /* Secondary fine dots */
    radial-gradient(circle, rgba(46, 125, 50, 0.05) 0.5px, transparent 0.5px);
  background-size:
    800px 800px,
    600px 600px,
    500px 500px,
    400px 400px,
    32px 32px,
    16px 16px;
  background-position:
    -200px -200px,
    calc(100% + 100px) calc(100% + 100px),
    50% -100px,
    10% calc(100% - 50px),
    0 0,
    8px 8px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.dark-mode body::after {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(76, 175, 80, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(46, 125, 50, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 10%, rgba(102, 187, 106, 0.06) 0%, transparent 35%),
    radial-gradient(circle at 10% 80%, rgba(76, 175, 80, 0.05) 0%, transparent 40%),
    radial-gradient(circle, rgba(76, 175, 80, 0.12) 0.8px, transparent 0.8px),
    radial-gradient(circle, rgba(46, 125, 50, 0.08) 0.5px, transparent 0.5px);
  opacity: 1;
}

@keyframes floatShapes {

  0%,
  100% {
    background-position:
      -200px -200px,
      calc(100% + 100px) calc(100% + 100px),
      50% -100px,
      10% calc(100% - 50px),
      0 0,
      8px 8px;
    transform: scale(1);
    opacity: 0.9;
  }

  33% {
    background-position:
      -150px -150px,
      calc(100% + 150px) calc(100% + 150px),
      45% -80px,
      12% calc(100% - 40px),
      10px 10px,
      12px 12px;
    transform: scale(1.03);
    opacity: 0.95;
  }

  66% {
    background-position:
      -250px -250px,
      calc(100% + 50px) calc(100% + 50px),
      55% -120px,
      8% calc(100% - 60px),
      -10px -10px,
      4px 4px;
    transform: scale(0.97);
    opacity: 0.85;
  }
}

/* Additional Background Elements - Geometric Patterns */
body {
  position: relative;
}

body::before {
  z-index: 0;
}

/* Subtle diagonal lines overlay - Polished with smaller patterns */
.background-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    /* Fine diagonal stripes - smaller and more refined */
    repeating-linear-gradient(45deg,
      transparent,
      transparent 20px,
      rgba(76, 175, 80, 0.008) 20px,
      rgba(76, 175, 80, 0.008) 20.5px),
    repeating-linear-gradient(-45deg,
      transparent,
      transparent 20px,
      rgba(46, 125, 50, 0.008) 20px,
      rgba(46, 125, 50, 0.008) 20.5px),
    /* Secondary diagonal pattern for depth */
    repeating-linear-gradient(45deg,
      transparent,
      transparent 40px,
      rgba(76, 175, 80, 0.004) 40px,
      rgba(76, 175, 80, 0.004) 40.5px),
    /* Fine dot pattern overlay - smaller grid */
    radial-gradient(circle at 0.5px 0.5px, rgba(76, 175, 80, 0.02) 0.5px, transparent 0),
    /* Secondary dot pattern */
    radial-gradient(circle at 2px 2px, rgba(46, 125, 50, 0.01) 0.5px, transparent 0);
  background-size:
    100px 100px,
    100px 100px,
    200px 200px,
    16px 16px,
    32px 32px;
  pointer-events: none;
  z-index: -1;
  /* Fix: Ensure pattern stays behind content */
  opacity: 0.6;
  mix-blend-mode: multiply;
}

.dark-mode .background-pattern {
  background-image:
    repeating-linear-gradient(45deg,
      transparent,
      transparent 20px,
      rgba(76, 175, 80, 0.015) 20px,
      rgba(76, 175, 80, 0.015) 20.5px),
    repeating-linear-gradient(-45deg,
      transparent,
      transparent 20px,
      rgba(46, 125, 50, 0.015) 20px,
      rgba(46, 125, 50, 0.015) 20.5px),
    repeating-linear-gradient(45deg,
      transparent,
      transparent 40px,
      rgba(76, 175, 80, 0.008) 40px,
      rgba(76, 175, 80, 0.008) 40.5px),
    radial-gradient(circle at 0.5px 0.5px, rgba(76, 175, 80, 0.04) 0.5px, transparent 0),
    radial-gradient(circle at 2px 2px, rgba(46, 125, 50, 0.02) 0.5px, transparent 0);
  opacity: 0.8;
  mix-blend-mode: screen;
}

@keyframes patternMove {
  0% {
    transform: translate(0, 0);
    opacity: 0.6;
  }

  50% {
    opacity: 0.7;
    transform: translate(50px, 50px);
  }

  100% {
    transform: translate(100px, 100px);
    opacity: 0.6;
  }
}

/* Section Background Overlays - Polished */
.hero::before,
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at top left, rgba(76, 175, 80, 0.025) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(46, 125, 50, 0.025) 0%, transparent 50%),
    radial-gradient(ellipse at center, rgba(102, 187, 106, 0.015) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: sectionGlow 20s ease-in-out infinite;
  opacity: 0.8;
}

.dark-mode .hero::before,
.dark-mode .section::before {
  background:
    radial-gradient(ellipse at top left, rgba(76, 175, 80, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(46, 125, 50, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at center, rgba(102, 187, 106, 0.03) 0%, transparent 60%);
  opacity: 0.9;
}

@keyframes sectionGlow {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

/* Ensure content is above background - Proper z-index layering */
.container,
section,
.nav,
.hero-content,
.course-hero-content {
  position: relative;
  z-index: 1;
}

section {
  position: relative;
  z-index: 1;
}

/* Mobile viewport fixes */
@supports (-webkit-touch-callout: none) {

  /* iOS Safari specific fixes */
  body {
    -webkit-tap-highlight-color: rgba(76, 175, 80, 0.2);
  }

  input,
  textarea,
  select {
    font-size: 16px;
    /* Prevents zoom on focus */
  }
}

/* Prevent horizontal scroll on mobile */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

* {
  max-width: 100%;
}

/* Background layers z-index hierarchy */
body::before {
  z-index: 0;
}

body::after {
  z-index: 0;
}

.background-pattern {
  z-index: 0;
}

.hero::before,
.section::before {
  z-index: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hide {
  opacity: 0;
  visibility: hidden;
}

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

.loading-logo {
  margin-bottom: 2rem;
}

.logo-text {
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: -0.03em;
}

.progress-bar {
  width: 300px;
  height: 4px;
  background: rgba(76, 175, 80, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4CAF50, #66BB6A);
  border-radius: 2px;
  width: 0%;
  animation: progressFill 1.5s ease-out forwards;
}

@keyframes progressFill {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

.loading-text {
  color: var(--accent-light);
  font-size: 0.9rem;
  font-family: 'JetBrains Mono', monospace;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.dark-mode-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-hover);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(76, 175, 80, 0.1);
  transition: all 0.4s ease;
}

.dark-mode .nav {
  background: rgba(10, 26, 10, 0.6);
  border-bottom: 1px solid rgba(76, 175, 80, 0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: rgba(76, 175, 80, 0.1);
}

/* Mobile Navigation Logic */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
    background: none;
    border: 3px solid transparent;
    color: var(--accent);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
  }

  .mobile-menu-toggle:hover {
    background: rgba(76, 175, 80, 0.1);
  }

  .mobile-menu-toggle:focus {
    outline: none;
    border-color: var(--accent-light);
  }
}

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100vh;
  /* Fix for mobile browsers */
  height: 100dvh;
  /* Dynamic viewport height for mobile */
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: absolute;
  right: 0;
  top: 0;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-card);
  padding: 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
}

.mobile-menu-overlay.active .mobile-menu {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mobile-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

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

.mobile-nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 1rem;
  border-radius: 8px;
  transition: var(--transition);
}

.mobile-nav-link:hover {
  background: rgba(76, 175, 80, 0.1);
  color: var(--accent);
}

/* Hero Section - Enhanced Design */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: floatOrb 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.4), transparent);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46, 125, 50, 0.3), transparent);
  bottom: -150px;
  right: -150px;
  animation-delay: 5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(102, 187, 106, 0.3), transparent);
  top: 50%;
  right: 10%;
  animation-delay: 10s;
}

@keyframes floatOrb {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -30px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

@media (max-width: 768px) {
  .hero-gradient-orb {
    filter: blur(40px);
    opacity: 0.15;
    animation-duration: 30s;
  }
}

.hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(76, 175, 80, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 175, 80, 0.03) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.5;
}

@keyframes gridShift {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(100px, 100px);
  }
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(46, 125, 50, 0.15));
  backdrop-filter: blur(15px) saturate(180%);
  border: 1px solid rgba(76, 175, 80, 0.3);
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out, pulse 2s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.15);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.hero-badge:hover::before {
  left: 100%;
}

.hero-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.25);
  border-color: rgba(76, 175, 80, 0.4);
}

.hero-badge i {
  font-size: 1.1rem;
  animation: code 2s ease-in-out infinite;
}

@keyframes code {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-2px) rotate(-5deg);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.title-line-1,
.title-line-2 {
  display: block;
  background: linear-gradient(135deg, #0D4A2B 0%, #2E7D32 50%, #66BB6A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.title-line-1 {
  animation: slideInLeft 0.8s ease-out 0.3s both;
}

.title-line-2 {
  animation: slideInLeft 0.8s ease-out 0.5s both;
  background: linear-gradient(135deg, #66BB6A 0%, #2E7D32 50%, #0D4A2B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.hero-subtitle-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.7s both;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 600;
  display: inline-block;
  position: relative;
}

.hero-subtitle-underline {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  animation: underlineExpand 1s ease-out 1.5s forwards;
}

@keyframes underlineExpand {
  to {
    width: 100%;
  }
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.9s both;
}

.hero-description strong {
  color: var(--accent);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 1.1s both;
}

.btn-hero-primary,
.btn-hero-secondary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  padding: 1.2rem 2.5rem;
  font-size: 1.05rem;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.btn-hero-primary i {
  transition: transform 0.3s ease;
}

.btn-hero-primary:hover i {
  transform: translateX(5px);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 1.2rem 2.5rem;
  font-size: 1.05rem;
}

.btn-hero-secondary:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.btn {
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.8), rgba(46, 125, 50, 0.6));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  background: rgba(76, 175, 80, 0.9);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 25px rgba(76, 175, 80, 0.6), 0 0 10px rgba(76, 175, 80, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: rgba(76, 175, 80, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--accent);
  border: 2px solid rgba(76, 175, 80, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn-secondary:hover::before {
  left: 0;
}

.btn-secondary:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.hero-social-proof {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 1.3s both;
}

.social-proof-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.social-proof-item i {
  color: var(--accent);
  font-size: 1.1rem;
}

.social-proof-item strong {
  color: var(--accent);
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  animation: fadeInUp 0.8s ease-out 1.5s both;
}

.stat-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(76, 175, 80, 0.25);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(76, 175, 80, 0.1) inset;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(46, 125, 50, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.stat-card:hover::after {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 50px rgba(76, 175, 80, 0.3), 0 0 0 1px rgba(76, 175, 80, 0.2) inset;
  border-color: rgba(76, 175, 80, 0.4);
}

.stat-icon-wrapper {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(13, 74, 43, 0.2), rgba(46, 125, 50, 0.15));
  border: 2px solid rgba(102, 187, 106, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #1B5E20, #66BB6A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(76, 175, 80, 0.3));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.stat-card:hover .stat-icon-wrapper {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #1B5E20, #66BB6A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-mono);
  margin-bottom: 0.5rem;
  line-height: 1;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(76, 175, 80, 0.3));
  transition: all 0.3s ease;
}

.stat-card:hover .stat-value {
  transform: scale(1.05);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.hero-image-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.2), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: pulseGlow 3s ease-in-out infinite;
  z-index: 0;
}

@keyframes pulseGlow {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

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

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  animation: fadeInRight 1s ease-out 0.5s both;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.profile-wrapper {
  position: relative;
  width: 400px;
  height: 400px;
}

.profile-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-card);
  box-shadow: var(--shadow-hover);
  position: relative;
  z-index: 2;
}

.profile-ring {
  position: absolute;
  inset: -20px;
  border: 3px solid var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: rotate 20s linear infinite;
  z-index: 1;
}

.profile-ring-2 {
  inset: -35px;
  border-width: 2px;
  opacity: 0.2;
  animation: rotate 25s linear infinite reverse;
  z-index: 0;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.status-badge {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  padding: 0.6rem 1.8rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: pulseBadge 2s ease-in-out infinite;
}

.status-badge i {
  font-size: 0.6rem;
  animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseBadge {

  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }

  50% {
    transform: translateX(-50%) scale(1.05);
  }
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* Individual Profile Orbiting Icons */
.profile-orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 80px;
  text-align: center;
  z-index: 1;
  transform-origin: -220px center;
}

/* Each icon orbits individually with different speeds around the center */
.profile-orbit-1 {
  animation: orbit1 20s linear infinite;
  transform: translate(-50%, -50%) rotate(0deg) translateX(220px) rotate(0deg);
}

.profile-orbit-2 {
  animation: orbit2 25s linear infinite;
  transform: translate(-50%, -50%) rotate(60deg) translateX(220px) rotate(-60deg);
}

.profile-orbit-3 {
  animation: orbit3 18s linear infinite;
  transform: translate(-50%, -50%) rotate(120deg) translateX(220px) rotate(-120deg);
}

.profile-orbit-4 {
  animation: orbit4 22s linear infinite;
  transform: translate(-50%, -50%) rotate(180deg) translateX(220px) rotate(-180deg);
}

.profile-orbit-5 {
  animation: orbit5 28s linear infinite;
  transform: translate(-50%, -50%) rotate(240deg) translateX(220px) rotate(-240deg);
}

.profile-orbit-6 {
  animation: orbit6 24s linear infinite;
  transform: translate(-50%, -50%) rotate(300deg) translateX(220px) rotate(-300deg);
}

@keyframes orbit1 {
  from {
    transform: translate(-50%, -50%) rotate(0deg) translateX(220px) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg) translateX(220px) rotate(-360deg);
  }
}

@keyframes orbit2 {
  from {
    transform: translate(-50%, -50%) rotate(60deg) translateX(220px) rotate(-60deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(420deg) translateX(220px) rotate(-420deg);
  }
}

@keyframes orbit3 {
  from {
    transform: translate(-50%, -50%) rotate(120deg) translateX(220px) rotate(-120deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(480deg) translateX(220px) rotate(-480deg);
  }
}

@keyframes orbit4 {
  from {
    transform: translate(-50%, -50%) rotate(180deg) translateX(220px) rotate(-180deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(540deg) translateX(220px) rotate(-540deg);
  }
}

@keyframes orbit5 {
  from {
    transform: translate(-50%, -50%) rotate(240deg) translateX(220px) rotate(-240deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(600deg) translateX(220px) rotate(-600deg);
  }
}

@keyframes orbit6 {
  from {
    transform: translate(-50%, -50%) rotate(300deg) translateX(220px) rotate(-300deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(660deg) translateX(220px) rotate(-660deg);
  }
}

.profile-orbit-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.3rem;
  transition: var(--transition);
  border: 2px solid rgba(76, 175, 80, 0.3);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.profile-orbit-item:hover .profile-orbit-icon {
  transform: scale(1.2);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(76, 175, 80, 0.5);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.profile-orbit-label {
  font-size: 0.75rem;
  color: var(--text-primary);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(76, 175, 80, 0.2);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-5px);
  transition: var(--transition);
}

.profile-orbit-item:hover .profile-orbit-label {
  opacity: 1;
  transform: translateY(0);
}

.dark-mode .profile-orbit-icon {
  background: rgba(26, 42, 26, 0.7);
  border-color: rgba(76, 175, 80, 0.4);
}

.dark-mode .profile-orbit-label {
  background: rgba(26, 42, 26, 0.6);
  border-color: rgba(76, 175, 80, 0.3);
}

@media (max-width: 768px) {
  .profile-wrapper {
    width: 300px;
    height: 300px;
  }

  .profile-orbit-ring {
    width: 380px;
    height: 380px;
  }

  .profile-orbit-item {
    /* REMOVED !important to allow animation to work */
    transform: translate(-50%, -50%) translateX(160px) rotate(calc(var(--angle) * -1));
  }

  .profile-orbit-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .profile-orbit-label {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
  text-align: center;
  background: linear-gradient(135deg, #1B5E20, #66BB6A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* About Section - Redesigned */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-20px, -30px) scale(1.1);
  }
}

.about-hero {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.about-intro-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(76, 175, 80, 0.25);
  border-radius: 24px;
  padding: 3.5rem 2.5rem;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(76, 175, 80, 0.1) inset;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.about-intro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
  background-size: 200% 100%;
  animation: gradientShift 3s linear infinite;
}

.about-intro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(76, 175, 80, 0.25), 0 0 0 1px rgba(76, 175, 80, 0.15) inset;
  border-color: rgba(76, 175, 80, 0.4);
}

.dark-mode .about-intro-card {
  background: rgba(26, 42, 26, 0.6);
  border-color: rgba(76, 175, 80, 0.3);
}

.about-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(76, 175, 80, 0.15);
  padding: 0.5rem 1.5rem;
  border-radius: 24px;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-name {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #1B5E20, #66BB6A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-tagline {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.about-content-wrapper {
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
}

.about-main-content {
  margin-bottom: 3rem;
}

.about-text-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: 24px;
  padding: 3rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.about-text-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-text-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 20px rgba(76, 175, 80, 0.3);
  border-color: rgba(76, 175, 80, 0.6);
}

.about-text-card:hover::after {
  opacity: 1;
}

.dark-mode .about-text-card {
  background: rgba(26, 42, 26, 0.6);
  border-color: rgba(76, 175, 80, 0.3);
}

.about-subtitle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.about-subtitle i {
  font-size: 1.2rem;
  opacity: 0.7;
}

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

.about-description:last-child {
  margin-bottom: 0;
}

.about-description strong {
  color: var(--accent);
  font-weight: 600;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.about-stat-item {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.about-stat-item:hover {
  transform: translateY(-5px);
  border-color: rgba(76, 175, 80, 0.4);
  box-shadow: var(--shadow-hover);
}

.dark-mode .about-stat-item {
  background: rgba(26, 42, 26, 0.6);
  border-color: rgba(76, 175, 80, 0.3);
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: rgba(76, 175, 80, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
}

.stat-content {
  flex: 1;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-feature-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(76, 175, 80, 0.25);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(76, 175, 80, 0.1) inset;
  position: relative;
  overflow: hidden;
}

.about-feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(76, 175, 80, 0.4);
  box-shadow: 0 20px 60px rgba(76, 175, 80, 0.3), 0 0 0 1px rgba(76, 175, 80, 0.2) inset;
}

.about-feature-card:hover::after {
  opacity: 1;
}

.dark-mode .about-feature-card {
  background: rgba(26, 42, 26, 0.6);
  border-color: rgba(76, 175, 80, 0.3);
}

.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(13, 74, 43, 0.2), rgba(46, 125, 50, 0.15));
  border: 2px solid rgba(102, 187, 106, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  background: linear-gradient(135deg, #1B5E20, #66BB6A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(76, 175, 80, 0.3));
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  border: 2px solid rgba(76, 175, 80, 0.3);
  transition: var(--transition);
}

.about-feature-card:hover .feature-icon-wrapper {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.about-feature-card h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
}

.about-feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.about-cta-wrapper {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.about-cta-wrapper .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .about-name {
    font-size: 2rem;
  }

  .about-tagline {
    font-size: 1rem;
  }

  .about-intro-card {
    padding: 2rem 1.5rem;
  }

  .about-text-card {
    padding: 2rem 1.5rem;
  }

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

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-cta-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .about-cta-wrapper .btn {
    width: 100%;
    justify-content: center;
  }
}

.about-intro {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

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

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.about-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(76, 175, 80, 0.4);
}

.dark-mode .about-content {
  background: rgba(26, 42, 26, 0.6);
  border-color: rgba(76, 175, 80, 0.3);
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(76, 175, 80, 0.15);
  border-radius: 16px;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.highlight-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(76, 175, 80, 0.3);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.15);
}

.dark-mode .highlight-item {
  background: rgba(26, 42, 26, 0.5);
  border-color: rgba(76, 175, 80, 0.2);
}

.dark-mode .highlight-item:hover {
  background: rgba(26, 42, 26, 0.7);
  border-color: rgba(76, 175, 80, 0.35);
}

.highlight-item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(76, 175, 80, 0.2);
  border-radius: 10px;
  color: var(--accent);
  font-size: 1.2rem;
}

.about-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* About Visual Cards */
.about-visual-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: 100%;
}

.about-visual-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.about-visual-card:hover {
  transform: translateY(-8px);
  border-color: rgba(76, 175, 80, 0.4);
  box-shadow: var(--shadow-hover);
}

.dark-mode .about-visual-card {
  background: rgba(26, 42, 26, 0.6);
  border-color: rgba(76, 175, 80, 0.3);
}

.visual-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: rgba(76, 175, 80, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
  border: 2px solid rgba(76, 175, 80, 0.3);
  transition: var(--transition);
}

.about-visual-card:hover .visual-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(76, 175, 80, 0.25);
  border-color: rgba(76, 175, 80, 0.5);
}

.about-visual-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.about-visual-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .about-visual-content {
    grid-template-columns: 1fr;
  }
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(76, 175, 80, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
}

.orbit-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: orbitRotate 30s linear infinite;
}

@keyframes orbitRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(180px) rotate(calc(var(--angle) * -1));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  width: 90px;
  text-align: center;
}

.orbit-item-icon {
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.4rem;
  transition: var(--transition);
  border: 1px solid rgba(76, 175, 80, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.orbit-item:hover .orbit-item-icon {
  transform: scale(1.2);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(76, 175, 80, 0.5);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.dark-mode .orbit-item-icon {
  background: rgba(26, 42, 26, 0.7);
  border-color: rgba(76, 175, 80, 0.4);
}

.orbit-item span {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(76, 175, 80, 0.15);
}

/* ============================================
   SKILLS SECTION - REDESIGNED
   ============================================ */

.skills-section {
  position: relative;
}

.skills-section .section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   SKILLS SECTION - REDESIGNED FROM SCRATCH
   ============================================ */

/* Skills Grid - 2 columns on desktop */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  width: 100%;
  margin-top: 3rem;
}

/* Skill Card - Modern Design */
.skill-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(76, 175, 80, 0.15);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: gradientShift 3s linear infinite;
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

.skill-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.skill-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 25px rgba(76, 175, 80, 0.4), 0 0 0 1px rgba(76, 175, 80, 0.2) inset;
  border-color: rgba(76, 175, 80, 0.6);
}

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

.skill-card:hover::after {
  opacity: 1;
}

/* Skill Card Header */
.skill-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.skill-card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(46, 125, 50, 0.15));
  border: 2px solid rgba(76, 175, 80, 0.3);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
  position: relative;
  z-index: 1;
}

.skill-card-icon i {
  font-size: 2rem;
  background: linear-gradient(135deg, #1B5E20, #66BB6A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(76, 175, 80, 0.3));
  transition: transform 0.4s ease;
}

.skill-card:hover .skill-card-icon {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(46, 125, 50, 0.2));
  border-color: rgba(76, 175, 80, 0.5);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

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

.skill-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

/* Skill Card Body */
.skill-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Skill Tags Design */
.skill-tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.skill-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: 12px;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  flex: 1 1 auto;
  min-width: 140px;
  justify-content: space-between;
}

.skill-tag:hover {
  background: rgba(76, 175, 80, 0.1);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
}

.skill-name {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.skill-level {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.6rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  color: var(--accent);
  font-weight: 700;
  border: 1px solid rgba(76, 175, 80, 0.1);
}

.dark-mode .skill-tag {
  background: rgba(0, 0, 0, 0.2);
}

.dark-mode .skill-tag:hover {
  background: rgba(76, 175, 80, 0.15);
}

/* Specific Level Colors */
.skill-level:contains("Expert") {
  color: #00E676;
}

.skill-level:contains("Advanced") {
  color: #69F0AE;
}

.skill-level:contains("Intermediate") {
  color: #B9F6CA;
}

/* Dark Mode Adjustments */
.dark-mode .skill-card {
  background: rgba(26, 42, 26, 0.6);
  border-color: rgba(76, 175, 80, 0.25);
}

.dark-mode .skill-card:hover {
  border-color: rgba(76, 175, 80, 0.5);
  box-shadow: 0 20px 40px rgba(76, 175, 80, 0.2);
}

.dark-mode .skill-bar {
  background: rgba(15, 26, 15, 0.6);
}

/* Responsive Design */
@media (min-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 767px) {
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .skill-card {
    padding: 2rem;
  }

  .skill-card-header {
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
  }

  .skill-card-icon {
    width: 50px;
    height: 50px;
  }

  .skill-card-icon i {
    font-size: 1.5rem;
  }

  .skill-card-title {
    font-size: 1.25rem;
  }

  .skill-card-body {
    gap: 1.25rem;
  }
}

.skill-toggle {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-toggle:hover {
  background: rgba(76, 175, 80, 0.1);
}

.skill-category-content {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}



/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(76, 175, 80, 0.15);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  position: relative;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(46, 125, 50, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 25px rgba(76, 175, 80, 0.4), 0 0 0 1px rgba(76, 175, 80, 0.2) inset;
  border-color: rgba(76, 175, 80, 0.6);
}

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

.project-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.project-content {
  padding: 2rem;
}

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

.tag {
  padding: 0.4rem 0.8rem;
  background: rgba(76, 175, 80, 0.15);
  color: var(--accent);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.project-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #4CAF50;
}

.project-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  flex: 1;
  padding: 0.8rem;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.project-link-primary {
  background: var(--accent);
  color: white;
}

.project-link-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.project-link:hover {
  transform: translateY(-2px);
}

/* Courses Section */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.course-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(76, 175, 80, 0.25);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(76, 175, 80, 0.1) inset;
  position: relative;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(46, 125, 50, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.course-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(76, 175, 80, 0.3), 0 0 0 1px rgba(76, 175, 80, 0.2) inset;
  border-color: rgba(76, 175, 80, 0.4);
}

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

.course-image-wrapper {
  position: relative;
  height: 200px;
}

.course-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.course-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.course-badge.beginner {
  background: #4CAF50;
  color: white;
}

.course-badge.featured {
  background: #FF6B35;
  color: white;
}

.course-content {
  padding: 2rem;
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.course-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #4CAF50;
  margin: 0;
  flex: 1;
}

.course-level {
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.course-level.beginner {
  background: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
}

.course-level.intermediate {
  background: rgba(255, 152, 0, 0.1);
  color: #FF9800;
}

.course-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.course-stats-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.course-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.course-topics {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.topic-tag {
  padding: 0.3rem 0.8rem;
  background: rgba(136, 136, 136, 0.1);
  color: var(--accent);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* YouTube Showcase */
.youtube-showcase {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(76, 175, 80, 0.18);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  margin: 4rem 0;
}

.youtube-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.youtube-header h3 {
  font-size: 1.8rem;
  margin: 0;
}

.youtube-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

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

.yt-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
}

.yt-label {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.youtube-cta {
  margin-top: 2rem;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(76, 175, 80, 0.25);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(76, 175, 80, 0.1) inset;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(76, 175, 80, 0.3), 0 0 0 1px rgba(76, 175, 80, 0.2) inset;
  border-color: rgba(76, 175, 80, 0.4);
}

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

.service-card:hover::after {
  opacity: 1;
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(46, 125, 50, 0.15));
  border: 2px solid rgba(76, 175, 80, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(76, 175, 80, 0.3));
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  color: var(--accent);
}

.fiverr-badge {
  background: #1DBF73;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #4CAF50;
}

.service-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
}

.service-features i {
  color: #4CAF50;
}

.service-pricing {
  border-top: 1px solid rgba(76, 175, 80, 0.2);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.price-tag {
  display: flex;
  flex-direction: column;
}

.service-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.service-btn {
  white-space: nowrap;
  font-size: 0.95rem;
  padding: 0.875rem 1.5rem;
  position: relative;
  z-index: 1;
}

.service-btn i {
  margin-right: 0.5rem;
}

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

.price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
}

/* Contact Section */
.contact-status {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.2);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin: 1.5rem auto 3rem;
  display: table;
  /* Centers it while respecting content width */
}

.status-indicator {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--accent);
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 5px var(--accent);
  }

  50% {
    transform: scale(1.4);
    opacity: 0.6;
    box-shadow: 0 0 15px var(--accent);
  }

  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 5px var(--accent);
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(76, 175, 80, 0.25);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(76, 175, 80, 0.1) inset;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.dark-mode .contact-info {
  background: linear-gradient(135deg, rgba(20, 30, 20, 0.7), rgba(10, 20, 10, 0.5));
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(76, 175, 80, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover {
  background: rgba(76, 175, 80, 0.08);
  border-color: var(--accent);
  transform: translateX(10px);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.contact-item-icon {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 12px;
  color: var(--accent);
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-item-icon {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 15px var(--accent);
}

.contact-info h4 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text-primary);
  font-weight: 700;
}

.contact-info p {
  margin: 4px 0 0;
  font-size: 1rem;
  color: var(--text-muted);
}

.contact-form {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(76, 175, 80, 0.25);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(76, 175, 80, 0.1) inset;
  position: relative;
  overflow: hidden;
}

.dark-mode .contact-form {
  background: linear-gradient(135deg, rgba(20, 30, 20, 0.7), rgba(10, 20, 10, 0.5));
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1.2rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.2);
}

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

.contact-form .btn-primary {
  width: 100%;
  padding: 1.2rem;
  justify-content: center;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(76, 175, 80, 0.2);
  padding: 3rem 0 2rem;
  position: relative;
}

.dark-mode .footer {
  background: rgba(10, 20, 10, 0.4);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

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

.footer-about h3 {
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-about p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 450px;
  font-size: 0.95rem;
}

.footer-links h4,
.footer-social h4 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 0.75rem;
  display: inline-block;
}

.footer-link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.5rem;
}

.footer-link-grid a {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.footer-link-grid a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 0;
}

.social-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: 10px;
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
  transform: translateY(-5px) scale(1.05);
  background: var(--accent);
  color: #000;
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-about {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-about p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .footer-link-grid {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    justify-content: center;
    gap: 1rem 1.5rem;
    text-align: left;
    margin: 0 auto;
    max-width: 320px;
  }

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

.footer-bottom {
  border-top: 1px solid rgba(76, 175, 80, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
}

/* Responsive Design - Mobile First Approach */
@media (max-width: 968px) {

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-content h1,
  .hero-title {
    font-size: 2.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .skills-orbit {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }

  .orbit-item {
    transform: translate(-50%, -50%) translateX(140px) rotate(calc(var(--angle) * -1));
  }

  /* Typography adjustments */
  .section-title {
    font-size: 2rem;
  }

  .container {
    padding: 0 1.25rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .section-lead {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }

  .projects-grid,
  .courses-grid,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  #popular-repos .popular-repos-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

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

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .youtube-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .profile-wrapper {
    width: 280px;
    height: 280px;
  }

  /* Typography mobile adjustments */
  .hero-title {
    font-size: 2.25rem;
    line-height: 1.15;
  }

  .title-line-1,
  .title-line-2 {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.7;
  }

  /* Navigation mobile */
  .nav-container {
    padding: 0.875rem 1.25rem;
  }

  .dark-mode-toggle {
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  /* Cards mobile */
  .project-card,
  .course-card,
  .service-card,
  .syllabus-card {
    padding: 1.5rem;
  }

  /* Contact form mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info,
  .contact-form {
    padding: 1.5rem;
  }

  /* Buttons mobile */
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    min-height: 44px;
    /* Touch target size */
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Course stats mobile */
  .course-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .course-stat {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {

  /* Extra small devices */
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .hero {
    padding: 6rem 0 3rem;
    min-height: auto;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.875rem;
  }

  .hero-title {
    font-size: 1.875rem;
  }

  .title-line-1,
  .title-line-2 {
    font-size: 1.875rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .stat-card {
    padding: 1.25rem;
  }

  .skills-grid,
  #popular-repos .popular-repos-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-form .btn {
    width: 100%;
    padding: 1rem;
  }

  .service-pricing {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    align-items: stretch;
  }

  .service-actions {
    flex-direction: column;
    width: 100%;
  }

  .service-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Typography small screens */
  body {
    font-size: 15px;
  }

  h1,
  .hero-title {
    font-size: 1.875rem;
  }

  h2,
  .section-title {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  /* Cards small screens */
  .project-card,
  .course-card,
  .service-card,
  .syllabus-card,
  .about-feature-card {
    padding: 1.25rem;
  }

  /* Navigation small */
  .nav-container {
    padding: 0.75rem 1rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  /* Footer small */
  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-content {
    gap: 2rem;
  }

  /* Course hero mobile */
  .course-hero-grid {
    gap: 2rem;
  }

  .course-hero-title {
    font-size: 2rem;
  }

  .countdown {
    gap: 0.75rem;
  }

  .countdown-item {
    min-width: calc(50% - 0.375rem);
    padding: 0.875rem;
  }

  .countdown-value {
    font-size: 1.5rem;
  }
}

/* ===== NEW HIGH PRIORITY FEATURES ===== */

/* Hero Social Proof */
.hero-social-proof {
  margin-top: 2rem;
  text-align: center;
}

.social-proof-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.social-proof-text i {
  color: var(--accent);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}

.scroll-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* Project Filters */
.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: 24px;
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.dark-mode .filter-btn {
  background: rgba(26, 42, 26, 0.6);
  border-color: rgba(76, 175, 80, 0.3);
}

/* Project Image Wrapper & Hover Effects */
.project-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.project-image {
  transition: transform 0.5s ease;
  width: 100%;
  height: auto;
  display: block;
}

.project-card:hover .project-image {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-date {
  color: white;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.difficulty-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.difficulty-badge.beginner {
  background: rgba(76, 175, 80, 0.15);
  color: #2E7D32;
}

.difficulty-badge.intermediate {
  background: rgba(255, 152, 0, 0.15);
  color: #F57C00;
}

.difficulty-badge.advanced {
  background: rgba(244, 67, 54, 0.15);
  color: #D32F2F;
}

.projects-footer {
  text-align: center;
  margin-top: 3rem;
}

/* Timeline Section */
.timeline-section {
  background: rgba(255, 255, 255, 0.02);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--accent);
  border: 4px solid var(--bg-card);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
}

.timeline-content {
  width: calc(50% - 2rem);
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(76, 175, 80, 0.2) !important;
  padding: 1.5rem !important;
  border-radius: 20px !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  opacity: 0;
  transform: translateY(30px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
  margin-left: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
  margin-right: 2rem;
}

.timeline-content.in-view {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(1) .timeline-content {
  transition-delay: 0.1s;
}

.timeline-item:nth-child(2) .timeline-content {
  transition-delay: 0.2s;
}

.timeline-item:nth-child(3) .timeline-content {
  transition-delay: 0.3s;
}

.timeline-item:nth-child(4) .timeline-content {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  .timeline-content {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .background-pattern,
  .background-pattern::before,
  .background-pattern::after,
  .background-pattern-ambient::before,
  .background-pattern-ambient::after {
    animation: none !important;
  }
}

.timeline-content:hover {
  transform: translateY(-8px) scale(1.02) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.dark-mode .timeline-content {
  background: rgba(26, 42, 26, 0.6);
  border-color: rgba(76, 175, 80, 0.3);
}

.timeline-date {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #4CAF50;
}

.timeline-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline-tag {
  padding: 0.25rem 0.75rem;
  background: rgba(76, 175, 80, 0.15);
  border-radius: 12px;
  font-size: 0.8rem;
  color: var(--accent);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 1rem;
  }

  .timeline-item {
    flex-direction: row !important;
  }

  .timeline-marker {
    left: 1rem;
  }

  .timeline-content {
    width: calc(100% - 4rem);
    margin-left: 3rem !important;
    margin-right: 0 !important;
  }
}

/* Testimonials Section */
.testimonials-section {
  background: rgba(255, 255, 255, 0.02);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(76, 175, 80, 0.25);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(76, 175, 80, 0.1) inset;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 5rem;
  font-family: serif;
  color: rgba(76, 175, 80, 0.1);
  line-height: 1;
  z-index: 0;
}

.testimonial-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(76, 175, 80, 0.3), 0 0 0 1px rgba(76, 175, 80, 0.2) inset;
  border-color: rgba(76, 175, 80, 0.4);
}

.testimonial-card:hover::after {
  opacity: 1;
}

.dark-mode .testimonial-card {
  background: rgba(26, 42, 26, 0.6);
  border-color: rgba(76, 175, 80, 0.3);
}

.testimonial-rating {
  color: #FFC107;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.testimonial-text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.author-role {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* FAQ Section */
.faq-section {
  background: rgba(255, 255, 255, 0.02);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(76, 175, 80, 0.4);
}

.dark-mode .faq-item {
  background: rgba(26, 42, 26, 0.6);
  border-color: rgba(76, 175, 80, 0.3);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  transition: var(--transition);
}

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

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--accent);
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-question[aria-expanded="true"]+.faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
}

.search-overlay.active {
  display: flex;
}

.search-container {
  width: 90%;
  max-width: 600px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(76, 175, 80, 0.3);
  border-radius: 50px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
}

.search-box i.fa-search {
  color: var(--accent);
  margin-right: 1rem;
  font-size: 1.2rem;
}

#searchInput {
  flex: 1;
  background: none;
  border: none;
  color: white;
  font-size: 1.1rem;
  outline: none;
}

#searchInput::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: 1rem;
  padding: 0.5rem;
  transition: var(--transition);
}

.search-close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

.search-results {
  max-height: 60vh;
  overflow-y: auto;
}

.search-result-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-result-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  transform: translateX(5px);
}

.search-result-title {
  color: white;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.search-result-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.search-result-type {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--accent);
  border-radius: 12px;
  font-size: 0.75rem;
  color: white;
  margin-top: 0.5rem;
}

/* Navigation Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-toggle {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition);
}

.search-toggle:hover {
  transform: scale(1.1);
}

/* Course Ratings */
.course-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.rating-stars {
  color: #FFC107;
  font-size: 0.9rem;
}

.rating-value {
  font-weight: 700;
  color: var(--text-primary);
}

.rating-count {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Scroll Mouse Animation */
.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--accent);
  border-radius: 12px;
  position: relative;
  margin-bottom: 0.5rem;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
  }
}

/* Confetti Animation */
.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  top: -10px;
  z-index: 9999;
  animation: confettiFall linear forwards;
  pointer-events: none;
}

@keyframes confettiFall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Image Optimization Styles */
img.loaded {
  opacity: 1 !important;
  transition: opacity 0.3s ease;
}



/* Project images - make visible when loaded class is added */


.project-image[loading="lazy"].loaded {
  opacity: 1;
}

/* Enhanced Contact Form - Honeypot */
.contact-form input[name="website"] {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* Mobile Touch Targets & Hero Responsive */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-image-wrapper {
    order: -1;
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .title-line-1,
  .title-line-2 {
    font-size: 2.75rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

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

  .hero-social-proof {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
  }

  .hero-gradient-orb {
    display: none;
  }

  /* Ensure touch targets are at least 44x44px */
  .nav-link,
  .btn,
  .filter-btn,
  .mobile-nav-link {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .skill-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  .scroll-indicator {
    bottom: 1rem;
  }

  /* Improved spacing on mobile */
  .hero {
    padding: 7rem 0 3rem;
  }

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

  /* Better text readability */
  p,
  .hero-description,
  .about-description {
    font-size: 1rem;
    line-height: 1.7;
  }

  /* Form inputs mobile */
  .form-input,
  .form-textarea {
    font-size: 16px;
    /* Prevents zoom on iOS */
    padding: 1rem 1.25rem;
  }

  /* Card content mobile */
  .project-content,
  .course-content {
    padding: 1.5rem;
  }

  /* Course visual cards mobile */
  .course-visual-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Syllabus grid mobile */
  .syllabus-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* =========================================================
   Pinned GitHub Repositories — compact & consistent (site flavor)
   ========================================================= */
#popular-repos .popular-repos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-top: 1.6rem;
}

#popular-repos .repo-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(76, 175, 80, 0.25);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(76, 175, 80, 0.1) inset;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

#popular-repos .repo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#popular-repos .repo-card:hover,
#popular-repos .repo-card:focus-visible {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 50px rgba(76, 175, 80, 0.3), 0 0 0 1px rgba(76, 175, 80, 0.2) inset;
  border-color: rgba(76, 175, 80, 0.4);
}

#popular-repos .repo-card:hover::before,
#popular-repos .repo-card:focus-visible::before {
  transform: scaleY(1);
}

#popular-repos .repo-name {
  color: var(--accent);
  font-weight: 900;
  font-size: 1.02rem;
  line-height: 1.2;
  text-decoration: none;
  word-break: break-word;
}

#popular-repos .repo-name:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

#popular-repos .repo-description {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: .95rem;
}

#popular-repos .repo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .15rem;
}

#popular-repos .repo-tags .tag {
  font-size: .74rem;
  padding: .25rem .55rem;
  border-radius: 999px;
}

#popular-repos .repo-meta {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .2rem;
}

#popular-repos .repo-stars,
#popular-repos .repo-forks,
#popular-repos .repo-lang {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .24rem .55rem;
  border-radius: 999px;
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.18);
  color: var(--text-secondary);
  font-weight: 800;
  font-size: .78rem;
  font-family: 'JetBrains Mono', monospace;
}

#popular-repos .repo-lang {
  background: rgba(136, 136, 136, 0.10);
  border-color: rgba(136, 136, 136, 0.15);
  font-weight: 700;
}

#popular-repos .repo-stars i,
#popular-repos .repo-forks i,
#popular-repos .repo-lang i {
  color: var(--accent);
  font-size: .85rem;
}

.dark-mode #popular-repos .repo-stars,
.dark-mode #popular-repos .repo-forks,
.dark-mode #popular-repos .repo-lang {
  background: rgba(26, 42, 26, 0.6);
  border-color: rgba(76, 175, 80, 0.28);
}

#popular-repos .repo-card:focus-visible {
  outline: 3px solid rgba(76, 175, 80, 0.55);
  outline-offset: 3px;
}

@media (max-width:480px) {
  #popular-repos .repo-card {
    padding: 1.05rem;
  }
}


/* MediaPipe Course Landing */
.course-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 968px) {
  .course-hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.course-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(46, 125, 50, 0.15));
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: var(--accent);
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.15);
  position: relative;
  overflow: hidden;
  animation: pulse 2s ease-in-out infinite;
}

.course-soon-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.course-soon-badge:hover::before {
  left: 100%;
}

.course-soon-badge:hover {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(46, 125, 50, 0.2));
  border-color: rgba(76, 175, 80, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.25);
}

.course-soon-badge i {
  font-size: 1.1rem;
  animation: rocket 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.15);
  }

  50% {
    box-shadow: 0 4px 25px rgba(76, 175, 80, 0.3);
  }
}

@keyframes rocket {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-3px) rotate(-5deg);
  }
}

.course-hero-title {
  font-size: 3.2rem;
  line-height: 1.08;
  margin: 0 0 1rem 0;
  background: linear-gradient(135deg, #1B5E20, #66BB6A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
}

@media (max-width: 768px) {
  .course-hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
}

@media (max-width: 480px) {
  .course-hero-title {
    font-size: 1.75rem;
  }
}

.course-hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.85;
  margin: 0 0 .3rem 0;
  max-width: 720px;
}

.course-hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0;
}

.course-hero-cta .btn {
  flex: 1;
  min-width: 180px;
  justify-content: center;
  border-radius: 14px;
  font-weight: 700;
  padding: 1rem 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.course-hero-cta .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.course-hero-cta .btn:hover::before {
  width: 300px;
  height: 300px;
}

.course-hero-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}

.course-hero-cta .btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.course-hero-cta .btn-primary:hover {
  box-shadow: 0 10px 35px rgba(76, 175, 80, 0.5);
}

.course-note {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(76, 175, 80, .18);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.course-note i {
  color: var(--accent);
  font-size: 1.3rem;
  margin-top: .15rem;
}

.course-note-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .8rem;
}

.course-hero-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.course-visual-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(76, 175, 80, .18);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.course-visual-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(76, 175, 80, .35);
}

.course-visual-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(76, 175, 80, .16);
  border: 1px solid rgba(76, 175, 80, .22);
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: .75rem;
}

.course-visual-title {
  font-weight: 900;
  color: var(--text-primary);
}

.course-visual-desc {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: .92rem;
  margin-top: .2rem;
}

.syllabus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.syllabus-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(76, 175, 80, .18);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.syllabus-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(76, 175, 80, .35);
}

.syllabus-header {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: .8rem;
}

.syllabus-number {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(76, 175, 80, .16);
  border: 1px solid rgba(76, 175, 80, .22);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 900;
}

.syllabus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.course-bottom-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Countdown Timer */
.countdown {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.2rem 0 1.2rem 0;
}

.countdown-item {
  min-width: 110px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(15px);
  border: 1px solid rgba(76, 175, 80, 0.25);
  border-radius: 20px;
  padding: 1.25rem 1.1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(76, 175, 80, 0.1) inset;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.countdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(46, 125, 50, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.countdown-item:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 35px rgba(76, 175, 80, 0.25), 0 0 0 1px rgba(76, 175, 80, 0.2) inset;
  border-color: rgba(76, 175, 80, 0.4);
}

.countdown-item:hover::before {
  opacity: 1;
}

.dark-mode .countdown-item {
  background: linear-gradient(135deg, rgba(26, 42, 26, 0.7), rgba(15, 30, 15, 0.5));
  border-color: rgba(76, 175, 80, 0.3);
}

.countdown-value {
  font-family: var(--font-mono);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2rem;
  line-height: 1;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(76, 175, 80, 0.3));
  transition: all 0.3s ease;
}

.countdown-item:hover .countdown-value {
  transform: scale(1.1);
}

.countdown-label {
  color: var(--text-secondary);
  font-weight: 700;
  font-size: .9rem;
  margin-top: .5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.countdown-item:hover .countdown-label {
  color: var(--text-primary);
}

.countdown-note {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--text-secondary);
  margin: 0 0 1.2rem 0;
  line-height: 1.6;
  font-size: 0.9rem;
}

.countdown-note i {
  color: var(--accent);
}

.countdown-note code {
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.18);
  border-radius: 10px;
  padding: .1rem .4rem;
  font-family: var(--font-mono);
  font-size: .9em;
}

@media (max-width: 480px) {
  .countdown-item {
    min-width: calc(50% - 0.375rem);
    padding: 0.875rem 0.75rem;
  }

  .countdown-value {
    font-size: 1.5rem;
  }

  .countdown-label {
    font-size: 0.75rem;
  }
}

/* MediaPipe Course Card Extras (index) */
.section-cta {
  display: flex;
  justify-content: center;
  margin: -1.2rem auto 2rem auto;
}

.course-cta-row {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.course-soon-note {
  margin-top: 1rem;
  color: var(--text-secondary);
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  line-height: 1.6;
  font-weight: 600;
}

.course-soon-note i {
  color: var(--accent);
}

/* ============================================
   MODERN COURSE PAGE - AWESOME REDESIGN
   ============================================ */

/* Course Hero - Modern Design with Animations */
.course-hero-section {
  padding-top: 8rem !important;
  padding-bottom: 6rem !important;
  position: relative;
  overflow: hidden;
}

.course-hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.course-hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46, 125, 50, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 25s ease-in-out infinite reverse;
  pointer-events: none;
  z-index: 0;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

.course-hero-compact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.course-hero-main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.course-hero-description {
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 400;
}

.course-hero-description strong {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  position: relative;
}

/* Launch Time Display - Modern Glassmorphism */
.course-launch-info {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(76, 175, 80, 0.1) inset;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.course-launch-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.course-launch-info:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(76, 175, 80, 0.2), 0 0 0 1px rgba(76, 175, 80, 0.2) inset;
  border-color: rgba(76, 175, 80, 0.3);
}

.course-launch-info .countdown {
  margin: 0;
  gap: 0.75rem;
}

.course-launch-info .countdown-item {
  flex: 1;
  min-width: 0;
  padding: 1.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(76, 175, 80, 0.15);
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.course-launch-info .countdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.course-launch-info .countdown-item:hover {
  background: rgba(76, 175, 80, 0.1);
  border-color: rgba(76, 175, 80, 0.3);
  transform: scale(1.05);
}

.course-launch-info .countdown-item:hover::before {
  opacity: 1;
}

.launch-time-display {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(76, 175, 80, 0.2);
  position: relative;
}

.launch-time-display i {
  font-size: 1.8rem;
  color: var(--accent);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(46, 125, 50, 0.15));
  border: 2px solid rgba(76, 175, 80, 0.3);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
  transition: all 0.3s ease;
}

.launch-time-display:hover i {
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.launch-time-display strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.launch-time-display span {
  display: block;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

/* Quick Stats - Modern Cards */
.course-quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 0;
}

.quick-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.quick-stat::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.quick-stat:hover::before {
  opacity: 1;
}

.quick-stat:hover {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(46, 125, 50, 0.1));
  border-color: rgba(76, 175, 80, 0.4);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.25);
}

.quick-stat i {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(76, 175, 80, 0.3));
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.quick-stat:hover i {
  transform: scale(1.2) rotate(5deg);
}

.quick-stat span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.quick-stat:hover span {
  color: var(--text-primary);
}

.quick-stat strong {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  display: block;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

/* Notification Box - Modern Design */
.course-notify-box {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.12), rgba(46, 125, 50, 0.08));
  backdrop-filter: blur(15px);
  border: 1px solid rgba(76, 175, 80, 0.25);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 8px 30px rgba(76, 175, 80, 0.15), 0 0 0 1px rgba(76, 175, 80, 0.1) inset;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.course-notify-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
  opacity: 0.8;
}

.course-notify-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(76, 175, 80, 0.2), 0 0 0 1px rgba(76, 175, 80, 0.2) inset;
  border-color: rgba(76, 175, 80, 0.35);
}

.course-notify-box i {
  color: var(--accent);
  font-size: 1.5rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  animation: bell 2s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(76, 175, 80, 0.3));
}

@keyframes bell {

  0%,
  100% {
    transform: rotate(0deg);
  }

  10%,
  30% {
    transform: rotate(-10deg);
  }

  20%,
  40% {
    transform: rotate(10deg);
  }

  50% {
    transform: rotate(0deg);
  }
}

.course-notify-box strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.notify-buttons {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.notify-buttons .btn {
  flex: 1;
  min-width: 150px;
  justify-content: center;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notify-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

/* Course Hero Image - Modern 3D Effect */
.course-hero-image {
  position: sticky;
  top: 6rem;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.course-hero-image .course-image-wrapper {
  margin-bottom: 0;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(76, 175, 80, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(46, 125, 50, 0.05));
  padding: 8px;
}

.course-hero-image .course-image-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(76, 175, 80, 0.1), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.course-hero-image .course-image-wrapper:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 80px rgba(76, 175, 80, 0.3), 0 0 0 1px rgba(76, 175, 80, 0.2);
}

.course-hero-image .course-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  position: relative;
  z-index: 1;
}

/* Course Description Section - Modern Glassmorphism */
.course-description-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}

.course-description-card {
  max-width: 1000px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(76, 175, 80, 0.25);
  border-radius: 32px;
  padding: 4rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(76, 175, 80, 0.1) inset;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.course-description-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
  background-size: 200% 100%;
  animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

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

.course-description-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 70px rgba(76, 175, 80, 0.2), 0 0 0 1px rgba(76, 175, 80, 0.15) inset;
  border-color: rgba(76, 175, 80, 0.35);
}

.description-content {
  margin-top: 2rem;
}

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

.description-text strong {
  color: var(--accent);
  font-weight: 700;
}

.description-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(76, 175, 80, 0.15);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
}

.highlight-item i {
  color: var(--accent);
  font-size: 1.1rem;
}

/* Todo List Section */
.course-todo-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.todo-list-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.todo-category {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(15px) saturate(180%);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(76, 175, 80, 0.1) inset;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.todo-category::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(46, 125, 50, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.todo-category:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 50px rgba(76, 175, 80, 0.25), 0 0 0 1px rgba(76, 175, 80, 0.2) inset;
  border-color: rgba(76, 175, 80, 0.4);
}

.todo-category:hover::after {
  opacity: 1;
}

.todo-category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(76, 175, 80, 0.15);
}

.todo-category-header i {
  font-size: 1.8rem;
  color: var(--accent);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(76, 175, 80, 0.15);
  border-radius: 12px;
}

.todo-category-header h3 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--text-primary);
}

.todo-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.todo-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0.5rem 0;
}

.todo-item i {
  color: var(--accent);
  margin-top: 0.2rem;
  flex-shrink: 0;
  font-size: 0.9rem;
}

/* Course Modules Section */
.course-modules-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.module-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(15px) saturate(180%);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(76, 175, 80, 0.1) inset;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

.module-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.module-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 50px rgba(76, 175, 80, 0.3), 0 0 0 1px rgba(76, 175, 80, 0.2) inset;
  border-color: rgba(76, 175, 80, 0.4);
}

.module-card:hover::before {
  transform: scaleY(1);
}

.module-card:hover::after {
  opacity: 1;
}

.module-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(46, 125, 50, 0.15));
  border: 2px solid rgba(76, 175, 80, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.module-card:hover .module-number {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.module-card h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.3rem;
  color: var(--text-primary);
}

.module-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Final CTA Section */
.course-cta-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.course-cta-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(46, 125, 50, 0.1));
  backdrop-filter: blur(20px) saturate(180%);
  border: 2px solid rgba(76, 175, 80, 0.3);
  border-radius: 32px;
  padding: 4rem 3rem;
  box-shadow: 0 20px 60px rgba(76, 175, 80, 0.25), 0 0 0 1px rgba(76, 175, 80, 0.2) inset;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.course-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.2) 0%, transparent 70%);
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.1);
  }
}

.course-cta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 70px rgba(76, 175, 80, 0.35), 0 0 0 1px rgba(76, 175, 80, 0.25) inset;
  border-color: rgba(76, 175, 80, 0.4);
}

.course-cta-card h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-light), var(--accent));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s linear infinite;
  position: relative;
  z-index: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.course-cta-card p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
  font-weight: 400;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 200px;
  padding: 1.1rem 2rem;
  font-size: 1.05rem;
}

/* Responsive Design */
@media (max-width: 968px) {
  .course-hero-compact {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .course-hero-image {
    position: relative;
    top: 0;
    order: -1;
  }

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

  .description-highlights {
    grid-template-columns: 1fr;
  }

  .todo-list-container {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .course-hero-section {
    padding-top: 7rem !important;
    padding-bottom: 3.5rem !important;
  }

  .course-hero-main {
    gap: 1.5rem;
  }

  .course-launch-info {
    padding: 1.25rem;
  }

  .course-launch-info .countdown {
    gap: 0.5rem;
  }

  .course-launch-info .countdown-item {
    min-width: calc(50% - 0.25rem);
    padding: 0.875rem 0.5rem;
  }

  .countdown {
    gap: 0.75rem;
  }

  .countdown-item {
    min-width: calc(50% - 0.375rem);
    padding: 0.875rem;
  }

  .course-hero-cta {
    flex-direction: column;
  }

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

  .course-quick-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .course-description-card,
  .course-cta-card {
    padding: 2rem 1.5rem;
  }

  .todo-category,
  .module-card {
    padding: 1.5rem;
  }

  .course-cta-card h2 {
    font-size: 1.75rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .course-hero-section {
    padding-top: 6rem !important;
    padding-bottom: 3rem !important;
  }

  .course-hero-compact {
    gap: 2rem;
  }

  .course-hero-description {
    font-size: 1rem;
  }

  .course-quick-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .quick-stat {
    padding: 0.875rem;
  }

  .course-launch-info {
    padding: 1rem;
  }

  .launch-time-display {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-bottom: 1rem;
  }

  .launch-time-display i {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .course-launch-info .countdown-item {
    min-width: calc(50% - 0.25rem);
    padding: 0.75rem 0.5rem;
  }

  .countdown-value {
    font-size: 1.5rem;
  }

  .countdown-label {
    font-size: 0.75rem;
  }

  .notify-buttons {
    flex-direction: column;
  }

  .notify-buttons .btn {
    width: 100%;
  }

  .course-description-card {
    padding: 1.5rem;
  }

  .description-text {
    font-size: 1rem;
  }

  .course-notify-box {
    flex-direction: column;
    gap: 0.75rem;
  }

  .course-notify-box i {
    align-self: flex-start;
  }
}

.course-hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.course-hero-title {
  margin-bottom: 0.5rem !important;
}

.course-hero-subtitle {
  margin-bottom: 0 !important;
  line-height: 1.8;
}

.course-hero-stats {
  margin: 0 !important;
  padding: 1.5rem 0;
  gap: 1.5rem;
}

.course-hero-cta {
  margin-top: 0.5rem;
  gap: 1rem;
}

.course-note {
  margin-top: 1rem;
}

.course-hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.course-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  transition: var(--transition);
  margin-bottom: 0;
  box-shadow: var(--shadow-hover);
}

.course-image-wrapper:hover .course-overlay {
  opacity: 1;
}

.course-image-wrapper .course-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
  border-radius: var(--radius);
}

.course-image-wrapper:hover .course-image {
  transform: scale(1.05);
}

.course-image-wrapper .course-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  cursor: pointer;
  border-radius: var(--radius);
}

.course-image-wrapper .course-overlay i {
  color: white;
  font-size: 3rem;
  transition: var(--transition);
}

.course-image-wrapper:hover .course-overlay i {
  transform: scale(1.2);
}

.course-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* Section Lead */
.section-lead {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Course Learn Section */
.course-learn-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.course-learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.course-learn-grid .course-card {
  height: auto;
  padding: 2.5rem;
}

.course-learn-grid .course-card .course-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.course-learn-grid .service-icon {
  width: 60px;
  height: 60px;
  background: rgba(76, 175, 80, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0;
}

/* Course Features Section */
.course-features-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.course-features-grid {
  margin-top: 3rem !important;
  gap: 2rem !important;
}

.course-features-grid .about-feature-card {
  padding: 2.5rem;
}

/* Prerequisites Section */
.course-prerequisites-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.course-prerequisites-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
}

.course-prerequisites-card .about-description {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.course-prerequisites-card .about-stats-grid {
  margin: 2rem 0;
  gap: 1.5rem;
}

/* Syllabus Section */
.course-syllabus-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.syllabus-grid {
  margin-top: 2rem;
  gap: 2rem !important;
}

.syllabus-card {
  padding: 2.5rem !important;
}

.syllabus-card h3 {
  margin: 0;
  font-size: 1.4rem;
}

.syllabus-card p {
  margin: 1rem 0;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Instructor Section */
.course-instructor-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.course-instructor-card {
  max-width: 900px;
  padding: 3.5rem;
}

.course-instructor-card .about-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.course-instructor-card .about-stats-grid {
  margin-top: 2.5rem;
  gap: 1.5rem;
}

/* Better spacing for course stats */
.course-stats-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 0;
}

.course-stat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(76, 175, 80, 0.15);
  border-radius: 12px;
  transition: var(--transition);
}

.course-stat:hover {
  background: rgba(76, 175, 80, 0.1);
  border-color: rgba(76, 175, 80, 0.3);
  transform: translateY(-2px);
}

.course-stat i {
  color: var(--accent);
  font-size: 1.1rem;
}

.dark-mode .course-stat {
  background: rgba(26, 42, 26, 0.4);
  border-color: rgba(76, 175, 80, 0.2);
}

/* Improved section spacing */
.section {
  padding: 6rem 0;
}

/* Responsive improvements */
@media (max-width: 968px) {
  .course-hero-grid {
    gap: 3rem;
  }

  .course-hero-content {
    gap: 1.5rem;
  }

  .course-visual-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .course-learn-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .course-features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .course-hero-section {
    padding-top: 7rem !important;
    padding-bottom: 4rem !important;
  }

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

  .course-stat {
    flex: 1;
    min-width: calc(50% - 0.75rem);
  }

  .course-visual-grid {
    grid-template-columns: 1fr;
  }

  .course-features-grid {
    grid-template-columns: 1fr !important;
  }

  .course-prerequisites-card,
  .course-instructor-card {
    padding: 2rem;
  }

  .syllabus-card {
    padding: 2rem !important;
  }

  .section {
    padding: 4rem 0;
  }
}



/* =========================================================
   FIX PACK (JS/CSS) — IMPORTANT OVERRIDES
   - Dark mode button above nav
   - Lazy images not hidden (prevents blank page if JS fails)
   - Loader CSS fallback
   - Skill bar animation ensured
   ========================================================= */

/* Dark mode toggle always on top */
.dark-mode-toggle {
  z-index: 2000 !important;
  top: 1.25rem !important;
  right: 1.25rem !important;
}

/* Nav below toggle */
.nav {
  z-index: 1000 !important;
}

/* Never hide lazy images by default */
img[loading="lazy"],
.project-image[loading="lazy"] {
  opacity: 1 !important;
}

img.loaded {
  opacity: 1 !important;
}

/* Loader fallback: if JS fails, loader fades out */
.loading-screen {
  animation: loaderAutoHide .6s ease forwards;
  animation-delay: 4s;
}

.loading-screen.hide {
  animation: none;
}

@keyframes loaderAutoHide {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Skill bar animation safety */
.skill-progress {
  width: 0;
  transition: width 1.2s ease;
}

.skill-item.active .skill-progress {
  width: var(--width);
}

/* ============================================
   SKILLS GRID - FIXED 3 COLUMNS LAYOUT
   ============================================ */

/* Base: Desktop - Force 2 columns in one row */
.skills-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 2rem !important;
  width: 100% !important;
}

/* Ensure skill category cards don't overflow */
.skill-card,
.skill-category,
.skill-category-card {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

/* Desktop (>=768px): Force 2 columns */
@media (min-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Mobile (<768px): 1 column */
@media (max-width: 767px) {
  .skills-grid {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================
   Technical Skills: 3 cards in ONE row (Desktop)
   Paste at the END of styles.css
   ========================================= */

/* Desktop (>=768px): force 2 columns */
@media (min-width: 768px) {
  .skills-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 2rem !important;
    align-items: stretch;
  }

  .skill-card,
  .skill-category,
  .skill-category-card {
    min-width: 0;
    /* prevents overflow that causes wrapping */
    height: 100%;
  }
}

/* Mobile (<768px): 1 column */
@media (max-width: 767px) {
  .skills-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

/* Contact Links Hover Effect */
.contact-item a {
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--accent) !important;
  text-decoration: underline;
}

/* External Link Indicator */
a[target="_blank"]:not(.no-external-indicator)::after {
  content: '↗';
  font-size: 0.8em;
  margin-left: 0.3em;
  opacity: 0.6;
  display: inline-block;
  transition: var(--transition);
}

a[target="_blank"]:not(.no-external-indicator):hover::after {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* Hide external indicator for icons */
.social-link[target="_blank"]::after,
.btn[target="_blank"]::after,
.project-link[target="_blank"]::after {
  display: none;
}

/* Reduced Motion Preference */
@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;
  }

  .hero-gradient-orb,
  .profile-ring,
  .profile-orbit-item,
  .profile-orbit-icon,
  .background-pattern,
  body::before,
  body::after {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   DESIGN FIXES - MOBILE & DESKTOP RESPONSIVE IMPROVEMENTS
   ========================================================= */

/* 1. Dark Mode Toggle - Prevent overlap with hamburger menu on mobile */
@media (max-width: 768px) {
  .dark-mode-toggle {
    position: fixed !important;
    top: auto !important;
    bottom: 6rem !important;
    right: 1rem !important;
    left: auto !important;
    width: 48px !important;
    height: 48px !important;
    z-index: 1001 !important;
  }
}

@media (max-width: 480px) {
  .dark-mode-toggle {
    bottom: 5rem !important;
    right: 0.75rem !important;
    width: 44px !important;
    height: 44px !important;
  }
}

/* 2. GitHub Repos & Cards - Force single column on mobile */
.popular-repos-grid,
.github-repos-grid,
.pinned-repos-grid {
  display: grid;
  gap: 1.5rem;
}

@media (max-width: 768px) {

  .popular-repos-grid,
  .github-repos-grid,
  .pinned-repos-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Additional card grids that may exist */
  .testimonials-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {

  .popular-repos-grid,
  .github-repos-grid,
  .pinned-repos-grid,
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 0.875rem !important;
  }
}

@media (max-width: 768px) {
  .footer-content {
    padding: 0 1rem;
  }
}

/* 4. Hero Stats - Better spacing on mobile */
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .hero-social-proof {
    gap: 0.75rem 1.25rem !important;
    justify-content: center;
  }
}

/* 5. Skill Section - Center align subtitle with title */
.section-lead,
.skills-section .section-lead,
.section-subtitle {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
}

/* 6. Scroll Indicator - Adjust position and hide on small screens */
.scroll-indicator {
  bottom: 1.5rem;
}

@media (max-width: 768px) {
  .scroll-indicator {
    display: none !important;
  }
}

/* 7. Back-to-Top Button - Better positioning on mobile */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 1.5rem !important;
    right: 1rem !important;
    width: 44px !important;
    height: 44px !important;
  }
}

@media (max-width: 480px) {
  .back-to-top {
    bottom: 1rem !important;
    right: 0.75rem !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 0.9rem !important;
  }
}

/* 8. Fix Profile Orbit icons - hide on mobile to prevent overflow */
@media (max-width: 768px) {
  .profile-orbit-item {
    display: none !important;
  }

  .profile-wrapper {
    width: 250px !important;
    height: 250px !important;
  }
}

@media (max-width: 480px) {
  .profile-wrapper {
    width: 200px !important;
    height: 200px !important;
  }

  .profile-ring,
  .profile-ring-2 {
    display: none !important;
  }
}

/* 9. Fix About Feature Cards - ensure proper stacking */
@media (max-width: 768px) {
  .about-features {
    flex-direction: column !important;
    gap: 1.25rem !important;
  }

  .about-feature-card {
    width: 100% !important;
  }
}

/* 10. Fix filter buttons on mobile - horizontal scroll */
@media (max-width: 768px) {
  .project-filters {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    gap: 0.5rem !important;
    justify-content: flex-start !important;
  }

  .filter-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.875rem !important;
  }
}

/* 11. Timeline mobile improvements */
@media (max-width: 768px) {
  .timeline {
    padding: 1rem 0;
  }

  .timeline-content {
    padding: 1.5rem !important;
  }

  .timeline-title {
    font-size: 1.1rem !important;
  }

  .timeline-description {
    font-size: 0.9rem !important;
  }
}

/* 12. Course cards - ensure proper stacking */
@media (max-width: 768px) {
  .courses-grid {
    grid-template-columns: 1fr !important;
  }

  .course-topics {
    gap: 0.4rem !important;
  }

  .topic-tag {
    font-size: 0.7rem !important;
    padding: 0.25rem 0.6rem !important;
  }
}

/* 13. Service cards mobile improvements */
@media (max-width: 480px) {
  .service-card {
    padding: 1.5rem !important;
  }

  .service-icon {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.5rem !important;
  }

  .service-title {
    font-size: 1.2rem !important;
  }

  .service-features li {
    font-size: 0.9rem !important;
  }

  .price-amount {
    font-size: 1.5rem !important;
  }
}

/* 14. Contact form mobile improvements */
@media (max-width: 480px) {

  .contact-info,
  .contact-form {
    padding: 1.25rem !important;
  }

  .contact-item {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.75rem !important;
  }

  .contact-item-icon {
    margin: 0 auto !important;
  }
}

/* =========================================================
   DESIGN ENHANCEMENTS - PREMIUM VISUAL IMPROVEMENTS
   ========================================================= */

/* 1. 2-Column Featured Projects Grid on Desktop (1200px+) */
@media (min-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 1200px;
    margin: 0 auto;
  }

  /* Optimize card size for 2 columns */
  .project-card {
    min-height: auto;
  }

  /* Also apply 2-column layout to courses grid */
  .courses-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* 2. Ghost/Outline Style for Footer Social Icons */
.footer .social-link {
  background: transparent !important;
  border: 2px solid var(--accent) !important;
  color: var(--accent) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.footer .social-link:hover {
  background: var(--accent) !important;
  color: white !important;
  transform: translateY(-4px) scale(1.05) !important;
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4) !important;
}

.dark-mode .footer .social-link {
  border-color: rgba(76, 175, 80, 0.6) !important;
  color: var(--accent) !important;
}

.dark-mode .footer .social-link:hover {
  background: var(--accent) !important;
  color: white !important;
  border-color: var(--accent) !important;
}

/* 3. Softer Glow Effects on Background Orbs */
.hero-gradient-orb {
  filter: blur(100px) !important;
  opacity: 0.5 !important;
}

.hero-gradient-orb.orb-1 {
  background: radial-gradient(ellipse, rgba(76, 175, 80, 0.35) 0%, transparent 70%) !important;
}

.hero-gradient-orb.orb-2 {
  background: radial-gradient(ellipse, rgba(46, 125, 50, 0.3) 0%, transparent 70%) !important;
}

.hero-gradient-orb.orb-3 {
  background: radial-gradient(ellipse, rgba(76, 175, 80, 0.25) 0%, transparent 70%) !important;
}

/* 4. Improved Tag Contrast on Project Cards */
.project-difficulty,
.project-level {
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 0.4rem 0.8rem !important;
  font-weight: 600 !important;
}

.project-difficulty.advanced,
.project-level.advanced {
  background: linear-gradient(135deg, rgba(244, 67, 54, 0.8), rgba(183, 28, 28, 0.8)) !important;
  border-color: rgba(244, 67, 54, 0.4) !important;
}

.project-difficulty.intermediate,
.project-level.intermediate {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.8), rgba(230, 81, 0, 0.8)) !important;
  border-color: rgba(255, 152, 0, 0.4) !important;
}

.project-difficulty.beginner,
.project-level.beginner {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.8), rgba(46, 125, 50, 0.8)) !important;
  border-color: rgba(76, 175, 80, 0.4) !important;
}

/* 5. Content Max-Width for Better Readability */
.timeline-section .container,
.testimonials-section .container,
.faq-section .container {
  max-width: 1100px !important;
}

/* 6. Contact Form Button - Refined Width */
.contact-form .btn-primary {
  width: auto !important;
  min-width: 200px !important;
  padding: 1rem 2.5rem !important;
}

@media (max-width: 768px) {
  .contact-form .btn-primary {
    width: 100% !important;
  }
}

/* 7. Hero Stats Cards - More Visual Polish */
.stat-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.stat-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 15px 40px rgba(76, 175, 80, 0.25) !important;
}

.stat-icon-wrapper {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.05)) !important;
  border: 1px solid rgba(76, 175, 80, 0.3) !important;
}

/* 8. Subtle Parallax-like Depth Effect on Scroll */
.hero-background {
  transform: translateZ(0);
  will-change: transform;
}

/* Add subtle movement to orbs on scroll via CSS animation */
@keyframes orb-float-1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(10px, -15px) scale(1.02);
  }

  50% {
    transform: translate(-5px, 10px) scale(0.98);
  }

  75% {
    transform: translate(-10px, -5px) scale(1.01);
  }
}

@keyframes orb-float-2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(-15px, 10px) scale(1.03);
  }

  66% {
    transform: translate(10px, -10px) scale(0.97);
  }
}

.hero-gradient-orb.orb-1 {
  animation: orb-float-1 20s ease-in-out infinite !important;
}

.hero-gradient-orb.orb-2 {
  animation: orb-float-2 25s ease-in-out infinite !important;
}

.hero-gradient-orb.orb-3 {
  animation: orb-float-1 30s ease-in-out infinite reverse !important;
}

/* 9. Enhanced Project Card Hover Effects */
.project-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02) !important;
  box-shadow: 0 25px 60px rgba(76, 175, 80, 0.3) !important;
}

.project-card:hover .project-overlay {
  opacity: 1 !important;
}

/* 10. Footer Link Enhancements */
.footer-link-grid a {
  position: relative;
  transition: all 0.3s ease !important;
  padding: 0.5rem 0 !important;
}

.footer-link-grid a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-link-grid a:hover::after {
  width: 100%;
}

.footer-link-grid a:hover {
  color: var(--accent) !important;
  transform: translateX(5px);
}

/* 11. Premium Section Dividers */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 500px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.3), transparent);
}

/* 12. Testimonial Card Hover Enhancement */
.testimonial-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.testimonial-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 50px rgba(76, 175, 80, 0.25) !important;
  border-color: rgba(76, 175, 80, 0.5) !important;
}

/* =========================================================
   PROFESSIONAL DESIGN OVERHAUL
   ========================================================= */

/* 1. Glassmorphism Navigation */
.nav {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(76, 175, 80, 0.1) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
}

.dark-mode .nav {
  background: rgba(30, 30, 30, 0.85) !important;
  border-bottom: 1px solid rgba(76, 175, 80, 0.15) !important;
}

/* 2. Enhanced Typography Scale */
h1,
h2,
h3,
h4,
h5 {
  letter-spacing: -0.02em !important;
  font-weight: 700 !important;
}

.section-title {
  position: relative;
  padding-bottom: 1.5rem;
  background: linear-gradient(135deg, #1B5E20 0%, #66BB6A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: titleGlow 4s ease-in-out infinite;
}

@keyframes titleGlow {

  0%,
  100% {
    filter: drop-shadow(0 0 2px rgba(76, 175, 80, 0.3));
  }

  50% {
    filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.6));
  }
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
}

/* 3. Professional Button Styles */
.btn {
  position: relative;
  overflow: hidden;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  isolation: isolate;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4) !important;
}

.btn-primary:hover {
  animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
  }
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3) !important;
}

.btn-primary:hover {
  box-shadow: 0 12px 30px rgba(76, 175, 80, 0.4) !important;
  transform: translateY(-2px) !important;
}

.btn-secondary {
  border: 2px solid var(--accent) !important;
  background: transparent !important;
  color: var(--accent) !important;
}

.btn-secondary:hover {
  background: var(--accent) !important;
  color: white !important;
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3) !important;
}

/* 4. Enhanced Card Shadows & Depth */
.about-feature-card,
.skill-category-card,
.project-card,
.course-card,
.service-card,
.testimonial-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.dark-mode .about-feature-card,
.dark-mode .skill-category-card,
.dark-mode .project-card,
.dark-mode .course-card,
.dark-mode .service-card,
.dark-mode .testimonial-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.about-feature-card:hover,
.skill-category-card:hover,
.course-card:hover,
.service-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 50px rgba(76, 175, 80, 0.2) !important;
  border-color: rgba(76, 175, 80, 0.3) !important;
}

/* 5. Modern Form Inputs */
.form-input,
.form-textarea {
  border: 2px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 12px !important;
  padding: 1rem 1.25rem !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
  background: rgba(255, 255, 255, 0.8) !important;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent) !important;
  background: white !important;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1) !important;
  outline: none !important;
}

.dark-mode .form-input,
.dark-mode .form-textarea {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: var(--text-primary) !important;
}

.dark-mode .form-input:focus,
.dark-mode .form-textarea:focus {
  background: rgba(255, 255, 255, 0.08) !important;
}

/* 6. Enhanced Skill Badges */
.skill-item {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.05)) !important;
  border: 1px solid rgba(76, 175, 80, 0.2) !important;
  padding: 0.75rem 1.25rem !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(10px) !important;
}

.skill-item:hover {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.1)) !important;
  border-color: rgba(76, 175, 80, 0.4) !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.2) !important;
}

.skill-item i {
  margin-right: 0.5rem;
  color: var(--accent);
}

/* 7. Professional Section Backgrounds */
.section {
  position: relative;
  overflow: hidden;
}

.section:nth-child(even) {
  background: rgba(76, 175, 80, 0.02) !important;
}

.dark-mode .section:nth-child(even) {
  background: rgba(76, 175, 80, 0.03) !important;
}

/* 8. Enhanced Timeline Design */
.timeline-marker {
  width: 20px !important;
  height: 20px !important;
  background: var(--accent) !important;
  border: 4px solid rgba(76, 175, 80, 0.2) !important;
  box-shadow: 0 0 0 8px rgba(76, 175, 80, 0.1) !important;
  animation: markerPulse 2.5s infinite;
}

@keyframes markerPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.6);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(76, 175, 80, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
  }
}

.timeline-content {
  border-left: 3px solid rgba(76, 175, 80, 0.2) !important;
  padding-left: 2rem !important;
  transition: all 0.3s ease;
  border-radius: 8px;
  padding: 1rem;
}

.timeline-content:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 30px rgba(46, 125, 50, 0.15);
  border-left-color: var(--accent) !important;
  background: rgba(76, 175, 80, 0.05);
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 10px;
  width: 15px;
  height: 3px;
  background: var(--accent);
}

/* 9. Improved Hero Badge */
.hero-badge {
  backdrop-filter: blur(10px) !important;
  background: rgba(76, 175, 80, 0.15) !important;
  border: 1px solid rgba(76, 175, 80, 0.3) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}

.hero-badge i {
  color: var(--accent);
  margin-right: 0.5rem;
}

/* 10. Enhanced Footer Design */
.footer {
  background: linear-gradient(180deg, rgba(46, 125, 50, 0.05) 0%, rgba(46, 125, 50, 0.1) 100%) !important;
  border-top: 1px solid rgba(76, 175, 80, 0.2) !important;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.dark-mode .footer {
  background: linear-gradient(180deg, rgba(46, 125, 50, 0.08) 0%, rgba(46, 125, 50, 0.15) 100%) !important;
}

.footer h4 {
  color: var(--accent) !important;
  font-weight: 700 !important;
  margin-bottom: 1.25rem !important;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* 11. Professional Stats Display */
.stat-card,
.about-stat-item {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(76, 175, 80, 0.03)) !important;
  border: 1px solid rgba(76, 175, 80, 0.2) !important;
  backdrop-filter: blur(10px) !important;
}

.stat-value,
.stat-number {
  background: linear-gradient(135deg, #4CAF50, #2E7D32) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 800 !important;
}

/* 12. Enhanced Service Pricing Cards */
.service-card {
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #4CAF50, #2E7D32);
  border-radius: 12px 12px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.price-amount {
  background: linear-gradient(135deg, #4CAF50, #2E7D32) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 900 !important;
}

/* 13. Testimonial Author Enhancement */
.author-avatar {
  background: linear-gradient(135deg, #4CAF50, #2E7D32) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3) !important;
}

.testimonial-rating i {
  color: #FFB300 !important;
  filter: drop-shadow(0 2px 4px rgba(255, 179, 0, 0.3));
}

/* 14. Enhanced Course Cards */
.course-card {
  position: relative;
  overflow: hidden;
}

.course-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  background: linear-gradient(45deg, transparent, rgba(76, 175, 80, 0.1), transparent);
  transform: rotate(45deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s;
}

.course-card:hover::after {
  animation: shimmer 1.5s;
  opacity: 1;
}

@keyframes shimmer {
  from {
    transform: translateX(-100%) rotate(45deg);
  }

  to {
    transform: translateX(100%) rotate(45deg);
  }
}

/* 15. Enhanced Profile Image */
.profile-image {
  border-radius: 50% !important;
  border: 6px solid rgba(76, 175, 80, 0.3) !important;
  box-shadow: 0 15px 60px rgba(76, 175, 80, 0.4) !important;
  transition: all 0.4s ease !important;
}

.profile-image:hover {
  transform: scale(1.05) !important;
  border-color: rgba(76, 175, 80, 0.5) !important;
  box-shadow: 0 20px 80px rgba(76, 175, 80, 0.5) !important;
}

/* 16. Back to Top Button Enhancement */
.back-to-top {
  background: linear-gradient(135deg, #4CAF50, #2E7D32) !important;
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4) !important;
  backdrop-filter: blur(10px) !important;
  font-size: 1.25rem !important;
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1) !important;
  box-shadow: 0 12px 35px rgba(76, 175, 80, 0.5) !important;
}

/* 17. Dark Mode Toggle Enhancement */
.dark-mode-toggle {
  background: rgba(76, 175, 80, 0.15) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(76, 175, 80, 0.3) !important;
  transition: all 0.3s ease !important;
}

.dark-mode-toggle:hover {
  background: rgba(76, 175, 80, 0.25) !important;
  transform: scale(1.1) rotate(20deg) !important;
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3) !important;
}

/* 18. Status Badge Enhancement */
.status-badge {
  background: rgba(76, 175, 80, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 50px !important;
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4) !important;
  animation: pulse 2s infinite !important;
  font-size: 0.85rem !important;
  white-space: nowrap !important;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
  }

  50% {
    box-shadow: 0 8px 35px rgba(76, 175, 80, 0.6);
  }
}

/* 19. Contact Info Cards */
.contact-item {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.05), transparent) !important;
  border: 1px solid rgba(76, 175, 80, 0.15) !important;
  border-radius: 12px !important;
  padding: 1.5rem !important;
  transition: all 0.3s ease !important;
}

.contact-item:hover {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.05)) !important;
  border-color: rgba(76, 175, 80, 0.3) !important;
  transform: translateX(10px) !important;
}

.contact-item-icon {
  background: linear-gradient(135deg, #4CAF50, #2E7D32) !important;
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3) !important;
}

/* 20. Enhanced Search Bar */
.search-box {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  border: 2px solid rgba(76, 175, 80, 0.2) !important;
  border-radius: 50px !important;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15) !important;
}

.dark-mode .search-box {
  background: rgba(30, 30, 30, 0.95) !important;
  border-color: rgba(76, 175, 80, 0.3) !important;
}

.search-box input {
  font-size: 1.1rem !important;
  font-weight: 500 !important;
}

/* 21. About Section Hero Card */
.about-intro-card {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), transparent) !important;
  border: 1px solid rgba(76, 175, 80, 0.2) !important;
  backdrop-filter: blur(10px) !important;
}

.about-intro-badge {
  background: rgba(76, 175, 80, 0.15) !important;
  border: 1px solid rgba(76, 175, 80, 0.3) !important;
  backdrop-filter: blur(10px) !important;
}

/* 22. Professional Loading Screen */
.loading-screen {
  background: linear-gradient(135deg, #f5f5f5, #e0f2e0) !important;
}

.dark-mode .loading-screen {
  background: linear-gradient(135deg, #1a1a1a, #0d2e0d) !important;
}

.loading-logo {
  animation: logoFloat 3s ease-in-out infinite !important;
}

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* 23. Smooth Scroll Behavior */
html {
  scroll-behavior: smooth !important;
}

/* 24. Enhanced Mobile Menu */
.mobile-menu {
  backdrop-filter: blur(20px) !important;
  background: rgba(255, 255, 255, 0.95) !important;
}

.dark-mode .mobile-menu {
  background: rgba(20, 20, 20, 0.95) !important;
}

.mobile-nav-link {
  border-left: 3px solid transparent !important;
  transition: all 0.3s ease !important;
}

.mobile-nav-link:hover {
  border-left-color: var(--accent) !important;
  background: rgba(76, 175, 80, 0.08) !important;
  transform: translateX(10px) !important;
}

/* 25. Improved Scroll Indicator */
.scroll-indicator {
  opacity: 0.8 !important;
}

.scroll-mouse {
  border: 3px solid rgba(76, 175, 80, 0.6) !important;
  backdrop-filter: blur(5px) !important;
}

.scroll-wheel {
  background: var(--accent) !important;
  animation: scroll-down 2s infinite !important;
}

@keyframes scroll-down {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(20px);
    opacity: 0;
  }
}

/* =========================================================
   CRITICAL ICON FIXES & BACKGROUND ENHANCEMENTS
   ========================================================= */

/* Icon Display Fixes - Ensure Font Awesome icons render */
i[class^="fa"],
i[class*=" fa"],
.fas,
.far,
.fab,
.fa,
.fa-solid,
.fa-brands,
.fa-regular {
  display: inline-block !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  line-height: 1 !important;
}

/* Explicit Font Family Definitions */
.fa-solid,
.fas {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.fa-brands,
.fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

.fa-regular,
.far {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important;
}

/* Ensure icons are visible */
.stat-icon-wrapper i,
.social-proof-item i,
.hero-badge i,
.skill-item i,
.contact-item-icon i,
.feature-icon-wrapper i,
.service-icon i {
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  font-size: inherit;
}

/* Fix stat card icon sizing */
.stat-icon-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  margin: 0 auto 1rem !important;
}

.stat-icon-wrapper i {
  font-size: 1.75rem !important;
  color: var(--accent) !important;
}

/* Social proof icons */
.social-proof-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.social-proof-item i {
  font-size: 1.25rem !important;
  color: var(--accent) !important;
}

/* Enhanced Grid-Based Background */
.background-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-color: var(--bg-primary);
  background-image:
    linear-gradient(rgba(76, 175, 80, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 175, 80, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: perspective(500px) rotateX(0deg);
  /* setup for potential 3d effects */
  pointer-events: none;
}

.background-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, transparent 20%, var(--bg-primary) 100%);
  pointer-events: none;
}

/* Animated Grid Overlay */
.background-pattern::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image:
    linear-gradient(rgba(76, 175, 80, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 175, 80, 0.03) 1px, transparent 1px);
  background-size: 100px 100px;
  transform: rotate(15deg);
  animation: gridFloat 60s linear infinite;
  pointer-events: none;
}

.dark-mode .background-pattern {
  background-image:
    linear-gradient(rgba(76, 175, 80, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 175, 80, 0.08) 1px, transparent 1px);
}

.dark-mode .background-pattern::before {
  background: radial-gradient(circle at 50% 50%, transparent 0%, var(--bg-primary) 90%);
}

@keyframes gridFloat {
  0% {
    transform: translateY(0) rotate(15deg);
  }

  100% {
    transform: translateY(100px) rotate(15deg);
  }
}

/* Hero Section Enhanced Background */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(76, 175, 80, 0.03) 0%,
      transparent 50%,
      rgba(46, 125, 50, 0.02) 100%);
  z-index: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

/* Improved Section Separators */
.section {
  position: relative;
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
}

.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(76, 175, 80, 0.2) 20%,
      rgba(76, 175, 80, 0.4) 50%,
      rgba(76, 175, 80, 0.2) 80%,
      transparent 100%);
}

/* Enhanced Card Backgrounds */
.project-card,
.course-card,
.service-card,
.testimonial-card,
.about-feature-card,
.skill-category-card {
  position: relative;
  background: var(--bg-card) !important;
  overflow: hidden;
}

.project-card::before,
.course-card::before,
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(76, 175, 80, 0.05),
      transparent);
  transition: left 0.6s ease;
}

.project-card:hover::before,
.course-card:hover::before,
.service-card:hover::before {
  left: 100%;
}

/* Ensure icons in buttons are visible */
.btn i {
  display: inline-block !important;
  margin-right: 0.5rem;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Timeline icons fix */
.timeline-marker {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Footer icon fixes */
.footer-social .social-link i,
.social-links .social-link i {
  font-size: 1.25rem !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Ensure all Font Awesome classes work */
.fa-calendar-alt:before {
  content: "\f073";
}

.fa-project-diagram:before {
  content: "\f542";
}

.fa-youtube:before {
  content: "\f167";
}

.fa-users:before {
  content: "\f0c0";
}

.fa-star:before {
  content: "\f005";
}

.fa-check-circle:before {
  content: "\f058";
}

/* Orbit Icon Masks for Brand Coloring */
.orbit-icon-mask {
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--accent);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.profile-orbit-icon:hover .orbit-icon-mask {
  background-color: var(--accent-light);
}