/* ==========================================================================
   AHtisham Ul Haq - 3D Classic Portfolio Stylesheet
   Crafted with Luxury Classic Aesthetics, Modern Glassmorphism & 3D Elements
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-darkest: #050811;
  --bg-darker: #090E1B;
  --bg-dark: #0F172A;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(22, 34, 60, 0.88);
  --bg-glass: rgba(13, 20, 36, 0.65);

  /* Classic Luxury Gold Accents */
  --gold-primary: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-bright: #F59E0B;
  --gold-dark: #A67C1E;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --gold-gradient: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #AA771C 100%);

  /* Neon, Fiverr & Tech Accents */
  --cyan-primary: #38BDF8;
  --cyan-glow: rgba(56, 189, 248, 0.3);
  --blue-royal: #3B82F6;
  --emerald-primary: #10B981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  --fiverr-green: #1DBF73;
  --fiverr-glow: rgba(29, 191, 115, 0.4);

  /* Typography Colors */
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --text-gold: #E6CA65;

  /* Borders & Glass */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.25);
  --border-gold-glow: rgba(212, 175, 55, 0.6);

  /* Fonts */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-classic: 'Cinzel', serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-card: 0 16px 36px -8px rgba(0, 0, 0, 0.6), 0 0 1px 1px var(--border-glass);
  --shadow-gold: 0 10px 30px -5px rgba(212, 175, 55, 0.3);
  --shadow-3d: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.15);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-darkest);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-darkest);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* --------------------------------------------------------------------------
   3. BACKGROUND & 3D CANVAS
   -------------------------------------------------------------------------- */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

/* Ambient Radial Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: pulseGlow 14s ease-in-out infinite alternate;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18), transparent 70%);
  top: -100px;
  right: -100px;
}

.glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15), transparent 70%);
  bottom: 10%;
  left: -150px;
  animation-delay: -5s;
}

.glow-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 70%);
  top: 45%;
  right: 10%;
  animation-delay: -9s;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.35; }
  50% { transform: scale(1.15) translate(30px, 20px); opacity: 0.55; }
  100% { transform: scale(0.9) translate(-20px, -30px); opacity: 0.35; }
}

/* --------------------------------------------------------------------------
   4. CUSTOM GLOWING CURSOR (DESKTOP)
   -------------------------------------------------------------------------- */
.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--gold-light);
  box-shadow: 0 0 10px var(--gold-primary), 0 0 20px var(--gold-bright);
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease, width 0.2s, height 0.2s;
}

.cursor-outline {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(212, 175, 55, 0.6);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s cubic-bezier(0.2, 0, 0.2, 1), border-color 0.2s, width 0.2s, height 0.2s;
}

/* --------------------------------------------------------------------------
   5. LAYOUT & UTILITY CLASSES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.text-center { text-align: center; }
.text-gold { color: var(--gold-primary); }
.text-cyan { color: var(--cyan-primary); }
.text-emerald { color: var(--emerald-primary); }
.w-100 { width: 100%; }
.mt-5 { margin-top: 40px; }
.mb-2 { margin-bottom: 8px; }
.d-flex { display: flex; }
.justify-content-center { justify-content: center; }
.gap-3 { gap: 16px; }
.flex-wrap { flex-wrap: wrap; }

/* Section Header Standard */
.section-header {
  margin-bottom: 56px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.title-bar {
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 0 auto 16px auto;
  border-radius: 2px;
  box-shadow: 0 0 12px var(--gold-glow);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   6. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* Primary Button (Gold & Slate Fusion) */
.btn-primary {
  background: var(--gold-gradient);
  color: #0A0D14;
  font-weight: 700;
  box-shadow: 0 8px 24px -4px rgba(212, 175, 55, 0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -4px rgba(212, 175, 55, 0.6);
  filter: brightness(1.08);
}

/* 3D Button Effect */
.btn-3d {
  transform-style: preserve-3d;
  box-shadow: 0 6px 0 rgba(166, 124, 30, 0.8), 0 15px 25px rgba(0, 0, 0, 0.5);
}
.btn-3d:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(166, 124, 30, 0.9), 0 20px 30px rgba(0, 0, 0, 0.6);
}
.btn-3d:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 rgba(166, 124, 30, 0.9), 0 8px 15px rgba(0, 0, 0, 0.4);
}

/* Gold Outline Button */
.btn-outline {
  background: rgba(212, 175, 55, 0.06);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
  color: #FFFFFF;
}

/* WhatsApp Button - Theme Golden with Green WhatsApp Icon */
.btn-whatsapp {
  background: var(--gold-gradient) !important;
  color: #060913 !important;
  font-weight: 700;
  border: 1px solid rgba(255, 235, 160, 0.5) !important;
  box-shadow: 0 8px 24px -4px rgba(212, 175, 55, 0.45) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-whatsapp .fa-whatsapp,
.btn-whatsapp i.fa-whatsapp {
  color: #25D366 !important;
  font-size: 1.3em;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px -4px rgba(212, 175, 55, 0.65) !important;
  filter: brightness(1.08);
  color: #060913 !important;
}

/* Fiverr Button - Luxury Golden Obsidian Theme */
.btn-fiverr {
  background: #0B1120 !important;
  color: #FFF2B2 !important;
  font-weight: 700;
  border: 1.5px solid var(--gold-primary) !important;
  box-shadow: 0 8px 24px -4px rgba(212, 175, 55, 0.35) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-fiverr:hover {
  background: var(--gold-gradient) !important;
  color: #060913 !important;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -4px rgba(212, 175, 55, 0.6) !important;
}
.fiverr-dot {
  color: var(--gold-primary);
  font-size: 0.85rem;
}
.btn-fiverr:hover .fiverr-dot {
  color: #060913;
}

/* Glass Button */
.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   7. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(8, 12, 24, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
  transition: width 0.38s cubic-bezier(0.16, 1, 0.3, 1), top 0.38s cubic-bezier(0.16, 1, 0.3, 1), padding 0.38s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.38s cubic-bezier(0.16, 1, 0.3, 1), background 0.38s ease, border-color 0.38s ease;
}

.header-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Floating Pill Navbar on Scroll (Complete Rounded Sides, 15px top gap, inward slide with top drop-in animation) */
.site-header.scrolled {
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  max-width: 1250px;
  padding: 10px 24px;
  background: rgba(9, 14, 27, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 9999px; /* Complete rounded sides like pill capsule */
  box-shadow: 0 18px 45px -8px rgba(0, 0, 0, 0.95), 0 0 26px rgba(212, 175, 55, 0.22);
  animation: headerSlideDownTop 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes headerSlideDownTop {
  0% {
    transform: translate(-50%, -65px);
    opacity: 0.1;
  }
  100% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

.site-header.scrolled .header-container {
  max-width: 100%;
  padding: 0 8px;
}

/* Logo slides smoothly to the right toward the center */
.site-header.scrolled .brand-logo {
  transform: translateX(18px);
}

/* Right buttons slide smoothly to the left toward the center */
.site-header.scrolled .header-actions {
  transform: translateX(-18px);
}

.site-header.scrolled .nav-link.active {
  background: rgba(212, 175, 55, 0.16);
  color: #FFFFFF;
  border-radius: 9999px;
  padding: 6px 14px;
}
.site-header.scrolled .nav-link.active::after {
  display: none;
}

.logo-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #1A2642, #0D1627);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
  transition: var(--transition-bounce);
}

.brand-logo:hover .logo-badge {
  transform: rotate(5deg) scale(1.08);
  border-color: var(--gold-primary);
  box-shadow: 0 0 22px var(--gold-glow);
}

.logo-initials {
  font-family: var(--font-classic);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.logo-sparkle {
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 0.65rem;
  color: var(--gold-bright);
}

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

.logo-name {
  font-family: var(--font-classic);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-main);
}

.logo-tag {
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Desktop Nav Links */
.desktop-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (min-width: 1200px) {
  .desktop-nav .nav-links {
    gap: 24px;
  }
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 8px 4px;
  letter-spacing: 0.25px;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 34px;
  height: 24px;
  cursor: pointer;
  z-index: 1005;
  background: transparent;
  border: none;
  padding: 0;
  pointer-events: auto;
  position: relative;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-normal);
  pointer-events: none;
}

.mobile-toggle.active .bar-1 {
  transform: translateY(10px) rotate(45deg);
  background-color: var(--gold-primary);
}
.mobile-toggle.active .bar-2 {
  opacity: 0;
  transform: translateX(10px);
}
.mobile-toggle.active .bar-3 {
  transform: translateY(-11px) rotate(-45deg);
  background-color: var(--gold-primary);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  height: 100dvh;
  background: #090E1B;
  background: rgba(9, 14, 27, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-left: 1.5px solid var(--border-gold);
  z-index: 99999 !important;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 45px rgba(0, 0, 0, 0.9);
  pointer-events: auto;
}

.mobile-drawer.open {
  right: 0 !important;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99990 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.drawer-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border-gold);
  object-fit: cover;
}

.drawer-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.drawer-sub {
  font-size: 0.72rem;
  color: var(--gold-light);
}

.drawer-close {
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}
.drawer-close:hover { color: var(--gold-light); }

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-link {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.drawer-link i {
  color: var(--gold-primary);
  font-size: 1rem;
  width: 20px;
}

.drawer-link:hover, .drawer-link.active {
  color: #FFFFFF;
  background: rgba(212, 175, 55, 0.1);
}

/* --------------------------------------------------------------------------
   8. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  padding: 140px 0 80px 0;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #34D399;
  margin-bottom: 24px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--emerald-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--emerald-primary);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.hero-subheading {
  display: block;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Tagline & Typewriter */
.tagline-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-main);
}

.tagline-prefix {
  color: var(--text-dim);
}

.dynamic-typed {
  color: var(--gold-light);
  border-bottom: 2px solid var(--gold-primary);
}

.type-cursor {
  animation: blinkCursor 0.8s infinite;
  color: var(--gold-primary);
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-bio {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-bio strong {
  color: var(--gold-light);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}

/* Hero Stats Bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(12px);
  transition: var(--transition-normal);
  transform-style: preserve-3d;
}

.stat-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.stat-icon {
  font-size: 1.4rem;
  color: var(--gold-primary);
}

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

.stat-number {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
}

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

/* 3D Canvas Container */
.hero-3d-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.canvas-3d-container {
  width: 100%;
  max-width: 480px;
  height: 480px;
  position: relative;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.4), rgba(11, 17, 32, 0.9));
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-3d);
  overflow: hidden;
}

.canvas-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  backdrop-filter: blur(10px);
  z-index: 5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.canvas-badge.top-left {
  top: 24px;
  left: 20px;
}

.canvas-badge.bottom-right {
  bottom: 50px;
  right: 20px;
  animation-delay: -2s;
}

.canvas-badge.floating-pill {
  top: 45%;
  right: 15px;
  animation-delay: -3s;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.interaction-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-dim);
  background: rgba(11, 17, 32, 0.7);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
}

/* Scroll Down Mouse */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
}

.mouse-icon {
  width: 22px;
  height: 36px;
  border: 2px solid var(--border-gold);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.mouse-icon .wheel {
  width: 4px;
  height: 7px;
  background: var(--gold-primary);
  border-radius: 2px;
  animation: scrollWheel 1.6s infinite;
}

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

/* --------------------------------------------------------------------------
   9. ABOUT SECTION & AHTISHAM'S REAL PHOTO FRAME
   -------------------------------------------------------------------------- */
.about-section {
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.4), transparent);
}

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

/* About 3D Visual Card */
.about-visual {
  position: relative;
  transform-style: preserve-3d;
}

.about-card-3d {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-3d);
  position: relative;
}

/* Ahtisham Real Photo Frame */
.avatar-photo-frame {
  width: 200px;
  height: 200px;
  margin: 0 auto 24px auto;
  border-radius: 50%;
  padding: 6px;
  background: var(--gold-gradient);
  box-shadow: 0 0 35px var(--gold-glow), 0 0 60px rgba(212, 175, 55, 0.2);
  position: relative;
}

.ahtisham-real-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid #0B1120;
}

.avatar-corner-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 42px;
  height: 42px;
  background: var(--gold-gradient);
  border: 2px solid #0B1120;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #0A0D14;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.profile-name {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.profile-role {
  font-size: 0.9rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 12px;
}

.profile-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #F59E0B;
  font-size: 0.85rem;
}

.profile-stars span {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-left: 6px;
}

/* Floating Badges on Profile */
.floating-tech-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.floating-tech-badge.badge-1 {
  top: -15px;
  left: -20px;
}
.floating-tech-badge.badge-2 {
  bottom: 25px;
  left: -25px;
}
.floating-tech-badge.badge-3 {
  bottom: -15px;
  right: -15px;
}

/* About Text */
.about-headline {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.about-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: #E2E8F0;
  padding: 16px 20px;
  background: rgba(212, 175, 55, 0.08);
  border-left: 3px solid var(--gold-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 20px;
}

.about-lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Highlights Grid */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.highlight-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.hl-icon {
  width: 38px;
  height: 38px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.hl-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.hl-content p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Timeline Bar */
.timeline-summary {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 32px;
}

.timeline-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-bar-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  position: relative;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border-top: 3px solid #334155;
  transition: var(--transition-fast);
}

.timeline-step.active, .timeline-step:hover {
  border-top-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
}

.step-year {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.step-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
}

.service-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.2);
}

.service-icon-box {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(15, 23, 42, 0.8));
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--gold-light);
  margin-bottom: 24px;
  position: relative;
}

.service-number {
  position: absolute;
  top: -8px;
  right: -8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-dark);
  background: var(--bg-darkest);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.service-features li {
  font-size: 0.85rem;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features li i {
  color: var(--emerald-primary);
  font-size: 0.8rem;
}

.service-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}

.service-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-link:hover {
  gap: 10px;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   11. PRIMARY SKILLS SECTION (WP 99%, BOOTSTRAP 97%, ASP.NET 86%, ETC.)
   -------------------------------------------------------------------------- */
.primary-skills-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.top-skill-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  backdrop-filter: blur(14px);
  position: relative;
  transition: var(--transition-normal);
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.top-skill-card.highlight {
  border-color: var(--gold-primary);
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.12), rgba(15, 23, 42, 0.85));
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.top-skill-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.25);
}

.skill-badge-top {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--gold-light);
}

.skill-icon-wrap {
  width: 58px;
  height: 58px;
  margin: 10px auto 16px auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold-light);
  transition: var(--transition-bounce);
}

.top-skill-card:hover .skill-icon-wrap {
  background: var(--gold-gradient);
  color: #0A0D14;
  transform: scale(1.1) rotate(6deg);
}

.top-skill-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.top-skill-percent {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 12px;
}

.top-skill-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 18px;
  flex-grow: 1;
}

.skill-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px var(--gold-glow);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tech Cloud */
.tech-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cloud-pill {
  padding: 10px 20px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: #E2E8F0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.cloud-pill i {
  color: var(--gold-primary);
}

.cloud-pill:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
  transform: translateY(-3px) scale(1.04);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   12. PORTFOLIO SHOWCASE
   -------------------------------------------------------------------------- */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.filter-btn {
  padding: 10px 22px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold-gradient);
  color: #0A0D14;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.portfolio-item {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.portfolio-item.hidden,
.portfolio-item.load-more-hidden {
  display: none !important;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
}

.project-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.2);
}

.project-img-wrap {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img-wrap img {
  transform: scale(1.08);
}

.project-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 12px;
  background: rgba(11, 17, 32, 0.88);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-light);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 14, 27, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 3;
}

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

.btn-preview {
  padding: 12px 22px;
  background: var(--gold-gradient);
  color: #0A0D14;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(10px);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.project-card:hover .btn-preview {
  transform: translateY(0);
}

/* ==================== PURE IMAGE PROJECT CARDS (NO TITLES/DESC) ==================== */
.project-card-pure {
  background: rgba(11, 17, 32, 0.85);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
}

.project-card-pure:hover {
  transform: translateY(-8px);
  border-color: #FFF2B2;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 175, 55, 0.35);
}

.project-card-pure .project-img-wrap {
  width: 100%;
  height: 380px;
  position: relative;
  overflow: hidden;
  background: #040711;
}

.project-card-pure .project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), object-position 4.5s ease-in-out;
}

.project-card-pure:hover .project-img-wrap img {
  object-position: bottom center;
  transform: scale(1.03);
}

.project-tags-bar {
  padding: 16px 20px;
  background: rgba(7, 10, 20, 0.98);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px; /* Generous gap between tags */
  align-items: center;
  justify-content: center;
}

.project-auto-hashtag {
  font-family: var(--font-mono, monospace);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.08);
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 6px 14px; /* Generous padding so tags never stick */
  margin: 2px;
  letter-spacing: 0.4px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
}

.project-card-pure:hover .project-auto-hashtag {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
  color: #FFF2B2;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.25);
}

/* ==================== LOAD MORE BUTTON STYLING ==================== */
.load-more-wrap {
  margin-top: 40px;
  margin-bottom: 25px;
}

.load-more-btn {
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid var(--border-gold);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  padding: 14px 38px;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.7), 0 0 18px rgba(212, 175, 55, 0.15);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.load-more-btn:hover {
  background: var(--gold-gradient);
  color: #060913;
  border-color: transparent;
  box-shadow: 0 14px 35px rgba(212, 175, 55, 0.5);
  transform: translateY(-3px) scale(1.02);
}

.load-more-btn .fa-chevron-down {
  transition: transform 0.35s ease;
}

.load-more-btn:hover .fa-chevron-down {
  transform: translateY(3px);
}

/* Direct Reach Social Icons */
.direct-reach-socials {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.direct-reach-socials .footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Project Lightbox Modal */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  padding: 20px;
}

.project-modal.active {
  opacity: 1;
  visibility: visible;
}

.project-modal .modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 15, 0.88);
  backdrop-filter: blur(12px);
}

.project-modal .modal-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  background: #0B1120;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 25px;
  z-index: 2;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.25);
  overflow-y: auto;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-modal.active .modal-container {
  transform: scale(1) translateY(0);
}

.project-modal .modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF2B2;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.project-modal .modal-close:hover {
  background: #EF4444;
  border-color: #EF4444;
  color: #FFFFFF;
}

.modal-preview-scroll-container {
  max-height: 72vh;
  overflow-y: auto;
  border-radius: 12px;
  border: 1.5px solid var(--border-gold);
  background: #040711;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.9);
  padding: 6px;
}

.modal-preview-scroll-container::-webkit-scrollbar {
  width: 8px;
}
.modal-preview-scroll-container::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: 4px;
}
.modal-preview-scroll-container::-webkit-scrollbar-track {
  background: #080D1A;
}

.modal-full-preview-img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
  border-radius: 8px;
  transition: filter 0.3s ease;
}

/* Vector Mockups for remaining items */
.luxury-gradient-bg {
  background: linear-gradient(135deg, #1E293B, #0F172A);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.medical-gradient-bg {
  background: linear-gradient(135deg, #064E3B, #0F172A);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.fitness-gradient-bg {
  background: linear-gradient(135deg, #4C1D95, #0F172A);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.vector-mockup {
  width: 90%;
  height: 85%;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.mockup-header {
  height: 24px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot.red { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green { background: #10B981; }
.mockup-url { font-size: 0.65rem; color: var(--text-dim); margin-left: 8px; }

.mockup-body {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
}

.mockup-hero-banner h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 6px 0 2px 0;
  color: #FFFFFF;
}

.mockup-hero-banner p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.gold-pill, .cyan-pill, .emerald-pill {
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
  display: inline-block;
}
.gold-pill { background: rgba(212, 175, 55, 0.15); color: var(--gold-light); }
.cyan-pill { background: rgba(56, 189, 248, 0.15); color: var(--cyan-primary); }
.emerald-pill { background: rgba(16, 185, 129, 0.15); color: #34D399; }

/* Project Content */
.project-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.tech-tag {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.project-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}

.project-summary {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tags span {
  font-size: 0.72rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  color: #CBD5E1;
}

.portfolio-footer {
  margin-top: 48px;
}

.portfolio-cta-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   13. CALCULATOR / COST ESTIMATOR
   -------------------------------------------------------------------------- */
.calculator-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-3d);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}

.calc-group {
  margin-bottom: 28px;
}
.calc-group:last-child { margin-bottom: 0; }

.calc-label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--gold-gradient);
  color: #0A0D14;
  border-radius: 50%;
  font-size: 0.8rem;
  margin-right: 8px;
}

/* Type Grid */
.calc-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.type-btn {
  padding: 16px;
  background: rgba(11, 17, 32, 0.6);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-fast);
}

.type-btn i {
  font-size: 1.25rem;
  color: var(--gold-primary);
}

.type-btn:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.4);
  color: #FFFFFF;
}

.type-btn.active {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-primary);
  color: #FFFFFF;
  box-shadow: 0 0 18px var(--gold-glow);
}

/* Slider */
.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.slider-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold-light);
}

.calc-slider {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--gold-primary);
  border: 3px solid #0B1120;
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold-glow);
  cursor: pointer;
  transition: transform 0.1s;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-hints {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 6px;
}

/* Addons */
.calc-addons-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.addon-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(11, 17, 32, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.addon-checkbox:hover {
  border-color: rgba(212, 175, 55, 0.3);
}

.addon-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-check {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--border-gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition-fast);
}

.addon-checkbox input:checked ~ .custom-check {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
}

.addon-checkbox input:checked ~ .custom-check::after {
  content: '✔';
  font-size: 0.75rem;
  color: #0A0D14;
  font-weight: 900;
}

.addon-info strong {
  display: block;
  font-size: 0.88rem;
  color: #FFFFFF;
}

.addon-info small {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Summary Card */
.summary-card {
  background: linear-gradient(145deg, #111B30, #0A0F1D);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.summary-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.summary-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 24px;
}

.price-display .currency {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.price-display .amount {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0 4px;
}

.price-display .usd {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
}

.summary-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
}

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

.meta-row strong {
  color: #FFFFFF;
}

.summary-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.summary-guarantee {
  font-size: 0.74rem;
  color: var(--text-dim);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   14. PROCESS ROADMAP
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  backdrop-filter: blur(12px);
  position: relative;
  transition: var(--transition-normal);
  transform-style: preserve-3d;
}

.process-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
}

.step-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.process-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-primary);
  transition: var(--transition-bounce);
}

.process-card:hover .process-icon {
  background: var(--gold-gradient);
  color: #0A0D14;
  transform: rotate(10deg) scale(1.1);
}

.process-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.process-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   15. TESTIMONIALS / REVIEWS
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
  transform-style: preserve-3d;
}

.testimonial-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.stars {
  color: #F59E0B;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.review-text {
  font-size: 0.94rem;
  font-style: italic;
  color: #E2E8F0;
  line-height: 1.65;
  margin-bottom: 24px;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #1E293B, #0F172A);
  border: 1.5px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold-light);
}

.client-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.client-role {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   16. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-gold);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-question i {
  color: var(--gold-primary);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px 24px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   17. CONTACT SECTION & SOCIALS
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: flex-start;
}

.contact-card-info {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-3d);
  transform-style: preserve-3d;
}

.contact-avatar-badge.photo-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  padding: 3px;
  background: var(--gold-gradient);
  position: relative;
  margin-bottom: 20px;
  box-shadow: 0 0 25px var(--gold-glow);
}

.contact-real-thumb {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid #0F172A;
}

.contact-avatar-badge .active-status {
  width: 14px;
  height: 14px;
  background: var(--emerald-primary);
  border: 2px solid #0F172A;
  border-radius: 50%;
  position: absolute;
  bottom: 2px;
  right: 2px;
  box-shadow: 0 0 10px var(--emerald-primary);
}

.contact-name {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.contact-title {
  font-size: 0.92rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 16px;
}

.contact-note {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.c-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.fiverr-icon-badge {
  font-family: var(--font-classic);
  font-weight: 900;
  color: var(--fiverr-green);
  font-size: 1.15rem;
}

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

.c-label {
  font-size: 0.74rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.c-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #FFFFFF;
}
.c-link:hover { color: var(--gold-light); }

.c-value {
  font-size: 0.88rem;
  color: #CBD5E1;
}

.contact-socials-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.socials-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-btn {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  transition: var(--transition-bounce);
}

.social-btn.wa:hover {
  background: #25D366;
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.social-btn.fiverr:hover {
  background: #1DBF73;
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 8px 20px var(--fiverr-glow);
}

.social-btn:hover {
  background: var(--gold-gradient);
  color: #0A0D14;
  border-color: transparent;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 18px var(--gold-glow);
}

.fi-text {
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--fiverr-green);
}
.social-btn.fiverr:hover .fi-text {
  color: #FFFFFF;
}

/* Contact Form Card */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-3d);
  transform-style: preserve-3d;
}

.form-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: #CBD5E1;
  margin-bottom: 8px;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(11, 17, 32, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.input-wrap:focus-within {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.input-wrap i {
  position: absolute;
  left: 16px;
  font-size: 0.95rem;
  color: var(--text-dim);
  pointer-events: none;
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  padding: 14px 16px 14px 44px;
  font-size: 0.92rem;
  color: #FFFFFF;
}

.input-wrap select {
  cursor: pointer;
}
.input-wrap select option {
  background: #0B1120;
  color: #FFFFFF;
}

.input-wrap.textarea-wrap {
  align-items: flex-start;
}
.input-wrap.textarea-wrap i {
  top: 16px;
}
.input-wrap textarea {
  resize: vertical;
  min-height: 110px;
}

.form-actions {
  margin-top: 10px;
  margin-bottom: 16px;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   18. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: #04060C;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 70px 0 30px 0;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-profile-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-real-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border-gold);
}

.footer-logo-title {
  font-family: var(--font-classic);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  display: block;
}

.footer-sub-title {
  font-size: 0.78rem;
  color: var(--gold-light);
  display: block;
}

.footer-tagline {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 340px;
  margin-bottom: 18px;
}

.footer-social-icons {
  display: flex;
  gap: 10px;
}

.footer-social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-social-icons a:hover {
  background: var(--gold-primary);
  color: #0A0D14;
}

.fi-text-sm {
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--fiverr-green);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.footer-links-col a:hover {
  color: var(--gold-primary);
  transform: translateX(4px);
}

.footer-contact-col p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-actions {
  margin-top: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  font-size: 0.82rem;
  color: var(--text-dim);
}
.copyright strong { color: var(--gold-light); }

.footer-badges {
  display: flex;
  gap: 16px;
}

.badge-item {
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   19. DEDICATED WHATSAPP CONTACT POPUP MODAL
   -------------------------------------------------------------------------- */
.whatsapp-lead-popup {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  padding: 20px;
}

.whatsapp-lead-popup.active {
  opacity: 1;
  visibility: visible;
}

.wa-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 17, 0.8);
  backdrop-filter: blur(10px);
}

.wa-popup-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #0B1120;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 175, 55, 0.25);
  overflow: hidden;
  z-index: 2;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-lead-popup.active .wa-popup-card {
  transform: scale(1) translateY(0);
}

.wa-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition-fast);
}
.wa-popup-close:hover {
  background: #EF4444;
}

.wa-popup-header {
  background: linear-gradient(135deg, #10172A, #080D1A);
  border-bottom: 1px solid var(--border-gold);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.wa-popup-avatar-wrap {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}

.wa-popup-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-primary);
}

.wa-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background: #10B981;
  border: 2px solid #062B1A;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
  animation: pulseDot 2s infinite;
}

.wa-user-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.wa-user-status {
  font-size: 0.76rem;
  color: #A7F3D0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wa-popup-body {
  padding: 20px;
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.05), transparent 70%);
}

.wa-bubble-message {
  background: rgba(18, 140, 126, 0.2);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 4px 16px 16px 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
  position: relative;
}

.wa-bubble-text {
  font-size: 0.88rem;
  color: #E2E8F0;
  line-height: 1.5;
  margin-bottom: 4px;
}
.wa-bubble-text strong {
  color: var(--gold-light);
}

.wa-bubble-time {
  font-size: 0.68rem;
  color: #94A3B8;
  display: block;
  text-align: right;
}

.wa-quick-prompt {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.wa-quick-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.wa-chip {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: #E2E8F0;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.wa-chip:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: #25D366;
  color: #FFFFFF;
  transform: translateX(4px);
}

.wa-custom-input-box input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(11, 17, 32, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  color: #FFFFFF;
  transition: var(--transition-fast);
}
.wa-custom-input-box input:focus {
  border-color: #25D366;
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.3);
}

.wa-popup-footer {
  padding: 16px 20px 22px 20px;
  background: #080D18;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wa-fiverr-link {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: center;
}
.wa-fiverr-link:hover { color: #FFFFFF; }

/* --------------------------------------------------------------------------
   20. FLOATING WIDGETS (WHATSAPP & BACK TO TOP)
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #080D1A;
  border: 2px solid var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25D366;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4), inset 0 0 15px rgba(212, 175, 55, 0.15);
  z-index: 99;
  cursor: pointer;
  transition: transform var(--transition-bounce), box-shadow var(--transition-smooth);
}

.floating-whatsapp i {
  color: #25D366 !important;
  filter: drop-shadow(0 2px 8px rgba(37, 211, 102, 0.6));
}

.floating-whatsapp:hover {
  transform: scale(1.12);
  border-color: #FFF2B2;
  box-shadow: 0 14px 38px rgba(212, 175, 55, 0.65), inset 0 0 20px rgba(212, 175, 55, 0.3);
}

.whatsapp-pulsing-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  opacity: 0.7;
  animation: pulseGoldRing 2.2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulseGoldRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 0.2; }
  100% { transform: scale(1.4); opacity: 0; }
}

@keyframes pulseWhatsapp {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(11, 17, 32, 0.95);
  border: 1px solid var(--border-gold);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateX(10px);
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 34px;
  width: 46px;
  height: 46px;
  background: rgba(11, 17, 32, 0.9);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  cursor: pointer;
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px var(--gold-glow);
}

.progress-ring {
  position: absolute;
  transform: rotate(-90deg);
}

.progress-ring-circle-active {
  stroke-dasharray: 125.6;
  stroke-dashoffset: 125.6;
  transition: stroke-dashoffset 0.1s;
}

/* --------------------------------------------------------------------------
   21. MODAL DIALOG
   -------------------------------------------------------------------------- */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  padding: 20px;
}

.project-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 17, 0.85);
  backdrop-filter: blur(12px);
}

.modal-container {
  background: #0B1120;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 850px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 2;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 36px;
}

.project-modal.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #FFFFFF;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}
.modal-close:hover {
  background: var(--gold-primary);
  color: #0A0D14;
}

.modal-hero-img {
  width: 100%;
  height: 340px;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-bottom: 24px;
  border: 1px solid var(--border-glass);
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.modal-tags span {
  padding: 5px 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--gold-light);
  font-weight: 600;
}

.modal-body-text {
  font-size: 0.98rem;
  color: #CBD5E1;
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.m-metric-item {
  text-align: center;
}
.m-metric-val {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-light);
}
.m-metric-label {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.modal-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   22. TOAST NOTIFICATION
   -------------------------------------------------------------------------- */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0B1120;
  border: 1.5px solid var(--emerald-primary);
  border-radius: var(--radius-full);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px var(--emerald-glow);
  z-index: 10000;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 1.25rem;
  color: var(--emerald-primary);
}

.toast-message {
  font-size: 0.92rem;
  font-weight: 600;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   23. RESPONSIVE MEDIA QUERIES (MOBILE-FIRST POLISH)
   -------------------------------------------------------------------------- */

/* Large Tablets & Small Laptops (max-width: 1080px) */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .tagline-box {
    justify-content: center;
  }
  .hero-bio {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    width: 100%;
    max-width: 700px;
  }
  .canvas-3d-container {
    max-width: 400px;
    height: 400px;
    margin: 0 auto;
  }
  .primary-skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .services-grid, .portfolio-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Standard Tablets & Mobile (max-width: 900px) */
@media (max-width: 900px) {
  .desktop-nav, .hire-btn {
    display: none !important;
  }
  .mobile-toggle {
    display: flex !important;
    position: relative;
    z-index: 1005;
  }
  .site-header {
    padding: 12px 0;
  }
  .header-container {
    padding: 0 16px;
  }
  .site-header.scrolled {
    width: calc(100% - 20px);
    max-width: 100%;
    padding: 8px 14px;
    top: 10px;
  }
  .site-header.scrolled .brand-logo {
    transform: translateX(4px);
  }
  .site-header.scrolled .header-actions {
    transform: translateX(-4px);
  }
  .about-grid, .contact-grid, .calc-grid {
    grid-template-columns: 1fr;
  }
  .about-visual {
    max-width: 440px;
    margin: 0 auto;
  }
  .primary-skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Phones (max-width: 680px) */
@media (max-width: 680px) {
  .section {
    padding: 70px 0;
  }
  .hero-section {
    padding: 110px 0 60px 0;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .primary-skills-grid {
    grid-template-columns: 1fr;
  }
  .services-grid, .portfolio-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  .timeline-bar-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-type-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-badges {
    justify-content: center;
  }
  .calculator-box {
    padding: 24px 16px;
  }
  .contact-card-info, .contact-form-card {
    padding: 28px 18px;
  }
  .canvas-3d-container {
    max-width: 320px;
    height: 320px;
  }
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
  .back-to-top {
    bottom: 84px;
    right: 24px;
  }
  /* Disable custom cursor on touch screens */
  .cursor-dot, .cursor-outline {
    display: none !important;
  }
}

/* Small Screens (max-width: 400px) */
@media (max-width: 400px) {
  .hero-title {
    font-size: 1.9rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .stat-card {
    padding: 12px 10px;
  }
  .stat-number {
    font-size: 1.15rem;
  }
  .avatar-photo-frame {
    width: 160px;
    height: 160px;
  }
}
