/* ===================================================================
   WAQAS KHAN - LUXURY CINEMATIC SCROLLING PORTFOLIO
   Full-Page 3D Background Canvas with Scrollytelling Panels
   =================================================================== */

:root {
  --bg-primary: #06070a;
  --bg-card: rgba(14, 16, 26, 0.75);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(236, 72, 153, 0.45);
  
  --accent-cyan: #00f2fe;
  --accent-magenta: #ec4899;
  --accent-purple: #8b5cf6;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Syne', sans-serif;
  
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  position: relative;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ================= LUXURY 3D PRELOADER ================= */
.luxury-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background: radial-gradient(circle at center, #0b0d18 0%, #05060a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.luxury-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-glass-card {
  width: 100%;
  max-width: 440px;
  background: rgba(13, 16, 26, 0.88);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 36px 32px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(236, 72, 153, 0.15);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.preloader-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.preloader-avatar-ring {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-magenta), var(--accent-cyan));
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.6);
  z-index: 2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.ring-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--accent-cyan);
  border-right-color: var(--accent-magenta);
  animation: preloaderSpin 1.4s linear infinite;
}

@keyframes preloaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.preloader-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.preloader-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  color: white;
}

.preloader-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.preloader-meter {
  width: 100%;
}

.meter-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

.meter-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  border-radius: 100px;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.7);
  transition: width 0.15s ease-out;
}

.preloader-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
}

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

.preloader-counter {
  font-family: var(--font-heading);
  color: var(--accent-cyan);
  font-size: 15px;
  font-weight: 800;
}

/* ================= FIXED FULL-PAGE 3D BACKGROUND CANVAS ================= */
.fixed-canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

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

.cinematic-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 35%,
    transparent 45%,
    rgba(6, 7, 10, 0.35) 80%,
    rgba(6, 7, 10, 0.75) 100%
  );
  pointer-events: none;
}

/* Ambient Subtle Colored Glow */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.18;
}

.glow-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, var(--accent-magenta), transparent 70%);
}

.glow-2 {
  width: 600px;
  height: 600px;
  bottom: 10%;
  right: -150px;
  background: radial-gradient(circle, var(--accent-cyan), transparent 70%);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= FIXED TOP NAVBAR ================= */
.navbar-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.navbar {
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(13, 14, 20, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-avatar-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-magenta), var(--accent-cyan));
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.brand-logo:hover .logo-avatar-wrapper {
  transform: scale(1.08);
  box-shadow: 0 0 22px rgba(0, 242, 254, 0.7);
}

.logo-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.logo-wk {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-magenta), var(--accent-purple));
  color: white;
  font-weight: 800;
  font-size: 14px;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.5);
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 1px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-cta-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.nav-cta-btn:hover {
  background: linear-gradient(135deg, var(--accent-magenta), var(--accent-purple));
  border-color: transparent;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.mobile-cta-item {
  display: none;
}

/* ================= MAIN CONTENT WRAPPER ================= */
.content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Glassmorphism Panel - Transparent with Sleek Border */
.glass-panel {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Global Text Shadows for High Readability over Video */
.hero-title, .statement-heading, .section-title, .service-title, .project-title, .contact-title {
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.8);
}

.gradient-text {
  background: linear-gradient(135deg, #ff2a85 0%, #00f2fe 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.95));
  display: inline-block;
  font-weight: 900;
}

.hero-subtitle, .statement-sub, .about-bio, .about-bio-sub, .service-desc, .project-desc, .contact-sub, .stat-number, .stat-label {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* ================= 1. HERO SECTION ================= */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 60px;
}

.hero-container {
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(12, 14, 24, 0.9);
  border: 1.5px solid var(--accent-cyan);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: var(--accent-cyan);
  margin-bottom: 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.35), inset 0 0 10px rgba(0, 242, 254, 0.12);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-magenta);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-magenta);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(48px, 6.5vw, 84px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}



.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--accent-magenta), var(--accent-purple));
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border-radius: 100px;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.35);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(236, 72, 153, 0.5);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  transition: var(--transition-smooth);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.scroll-prompt {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}

.mouse-icon {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.mouse-icon .wheel {
  width: 3px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 2px;
  animation: wheelScroll 1.8s infinite;
}

@keyframes wheelScroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ================= 2. STATEMENT SECTION ================= */
.statement-section {
  padding: 80px 0;
}

.statement-card {
  max-width: 800px;
  margin-left: auto;
  text-align: right;
  padding: 40px;
  background: transparent;
  backdrop-filter: none;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.statement-heading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.statement-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ================= COMMON SECTION STYLING ================= */
.section {
  padding: 100px 0;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(12, 14, 24, 0.9);
  border: 1.5px solid var(--accent-magenta);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ff3b94;
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.4), inset 0 0 10px rgba(236, 72, 153, 0.15);
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.section-badge:hover {
  border-color: var(--accent-cyan);
  color: #00f2fe;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.5);
}

.section-header-center {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-description {
  color: var(--text-muted);
  font-size: 16px;
}

/* ================= 3. ABOUT SECTION ================= */
.about-card {
  border-radius: var(--radius-lg);
  padding: 50px 40px;
}

.about-grid {
  display: block;
  max-width: 620px;
  margin-top: 10px;
}

.about-bio {
  font-size: 18px;
  color: #e2e8f0;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-bio-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.bio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bio-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
}

.bio-tag i {
  color: var(--accent-cyan);
}

.stats-card-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 26px 18px;
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-box:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.stat-box.highlight {
  border-color: rgba(236, 72, 153, 0.35);
  background: radial-gradient(circle at top, rgba(236, 72, 153, 0.15), rgba(255, 255, 255, 0.02));
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  color: white;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ================= 4. SPECIALIZED SERVICES SECTION ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-card-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(236, 72, 153, 0.18);
}

.service-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
}

.service-icon-wrapper.play-store {
  background: rgba(0, 230, 118, 0.12);
  color: #00e676;
  border: 1px solid rgba(0, 230, 118, 0.3);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.25);
}

.service-icon-wrapper.node-backend {
  background: rgba(104, 160, 99, 0.12);
  color: #68a063;
  border: 1px solid rgba(104, 160, 99, 0.3);
  box-shadow: 0 0 20px rgba(104, 160, 99, 0.25);
}

.service-icon-wrapper.flutter-app {
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 20px;
}

.service-features li {
  font-size: 13px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.service-features li i {
  color: var(--accent-cyan);
  font-size: 11px;
}

/* ================= 5. FEATURED PROJECTS SECTION ================= */
.projects-cta-wrapper {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.see-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  background: rgba(10, 14, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 230, 118, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 230, 118, 0.18);
  color: #00e676;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
}

.see-all-btn i.fa-brands {
  font-size: 15px;
}

.see-all-btn i.fa-solid {
  font-size: 11px;
  transition: transform 0.25s ease;
}

.see-all-btn:hover {
  background: rgba(15, 25, 20, 0.95);
  border-color: #00e676;
  color: #ffffff;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.75), 0 0 30px rgba(0, 230, 118, 0.4);
  transform: translateY(-2px);
}

.see-all-btn:hover i.fa-solid {
  transform: translate(2px, -2px);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.project-media {
  position: relative;
  height: 180px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.project-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.project-image-placeholder.jet-strom {
  background: radial-gradient(circle at center, rgba(236, 72, 153, 0.15), transparent 70%);
}

.project-image-placeholder.freelance-vault {
  background: radial-gradient(circle at center, rgba(0, 242, 254, 0.18), transparent 70%);
}

.project-image-placeholder.full-stack {
  background: radial-gradient(circle at center, rgba(0, 242, 254, 0.15), transparent 70%);
}

.project-big-icon {
  font-size: 60px;
  color: rgba(255, 255, 255, 0.25);
  transition: var(--transition-smooth);
}

.project-card:hover .project-big-icon {
  transform: scale(1.1);
  color: rgba(255, 255, 255, 0.55);
}

.project-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(13, 14, 20, 0.85);
  border: 1px solid rgba(0, 230, 118, 0.4);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: #00e676;
}

.live-tag i {
  font-size: 6px;
  animation: pulse 1.5s infinite;
}

.project-details {
  padding: 26px;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.project-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-magenta);
  letter-spacing: 0.5px;
}

.project-platform {
  font-size: 12px;
  color: var(--text-muted);
}

.project-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.project-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.project-tech-tags span {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

.project-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  border-radius: 100px;
  transition: var(--transition-smooth);
}

.project-link-btn.primary {
  background: rgba(0, 230, 118, 0.15);
  color: #00e676;
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.project-link-btn.primary:hover {
  background: #00e676;
  color: #050507;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.4);
}

.project-link-btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.project-link-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ================= 6. CONTACT SECTION ================= */
.contact-card {
  border-radius: 28px;
  padding: 50px 36px;
  text-align: center;
}

.contact-header {
  max-width: 600px;
  margin: 0 auto 40px;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.contact-sub {
  font-size: 16px;
  color: var(--text-muted);
}

.contact-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.contact-channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: white;
  transition: var(--transition-smooth);
}

.contact-channel-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.whatsapp .channel-icon {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}

.email .channel-icon {
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
}

.github .channel-icon {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.linkedin .channel-icon {
  background: rgba(10, 102, 194, 0.15);
  color: #0a66c2;
}

.channel-info {
  text-align: left;
  flex-grow: 1;
  margin-left: 14px;
}

.channel-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.channel-val {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.channel-arrow {
  color: var(--text-dim);
  font-size: 12px;
  transition: var(--transition-smooth);
}

.contact-channel-card:hover .channel-arrow {
  transform: translateX(4px);
  color: white;
}

/* ================= FOOTER ================= */
.footer {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background-color: var(--bg-primary);
  position: relative;
  z-index: 10;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

/* ================= RESPONSIVE MEDIA QUERIES ================= */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    position: relative;
    padding: 10px 18px;
  }

  .nav-cta-btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .mobile-toggle:active {
    transform: scale(0.92);
    background: rgba(255, 255, 255, 0.15);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(10, 12, 18, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 242, 254, 0.12);
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    pointer-events: none;
    z-index: 105;
  }

  .nav-links.mobile-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    padding: 11px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .nav-links a:hover,
  .nav-links a:active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-cyan);
    transform: translateX(4px);
  }

  .mobile-cta-item {
    display: block !important;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-nav-cta {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px !important;
    background: linear-gradient(135deg, var(--accent-magenta), var(--accent-purple)) !important;
    color: white !important;
    font-weight: 700 !important;
    border-radius: 100px !important;
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.4);
    text-align: center;
  }

  .mobile-nav-cta:hover,
  .mobile-nav-cta:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.6);
  }
  .hero-title {
    font-size: 42px;
  }
  .statement-card {
    text-align: left;
    margin-left: 0;
  }
  .services-grid, .projects-grid, .contact-actions-grid {
    grid-template-columns: 1fr;
  }
  .stats-card-group {
    grid-template-columns: 1fr;
  }
}
