/* ==========================================================================
   Builds With 𝗔𝗡𝗦𝗛 - Modern High-End Developer Portfolio
   ========================================================================== */

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

:root {
  --bg-primary: #08090d;
  --bg-card: rgba(16, 18, 26, 0.72);
  --bg-card-hover: rgba(22, 25, 36, 0.85);
  --primary: #f97316;
  --primary-hover: #ea580c;
  --primary-light: #fb923c;
  --primary-glow: rgba(249, 115, 22, 0.35);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(249, 115, 22, 0.5);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sig: 'Caveat', cursive;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  min-height: 100%;
  background-color: var(--bg-primary);
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #05060a;
}
::-webkit-scrollbar-thumb {
  background: rgba(249, 115, 22, 0.3);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ==========================================================================
   FIXED BACKGROUND CANVAS & OVERLAY
   ========================================================================== */
.canvas-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background-color: #000000;
}

#animation-canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.canvas-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 25%, rgba(0, 0, 0, 0.15) 0%, rgba(5, 6, 10, 0.78) 50%, #08090d 90%);
  pointer-events: none;
}

/* ==========================================================================
   SLEEK LOADER
   ========================================================================== */
.loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(16, 18, 26, 0.98) 0%, #000000 85%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 280px;
  width: 80%;
  text-align: center;
}

.loader-spinner {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--primary);
  border-right-color: var(--primary-light);
  animation: spin 1s linear infinite;
}

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

.loader-percentage {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
}

.loader-bar-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-pill);
  transition: width 0.15s ease-out;
  box-shadow: 0 0 10px var(--primary-glow);
}

.loader-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(8, 9, 13, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.brand-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-name {
  color: #ffffff;
}

.text-orange {
  color: var(--primary);
}

.text-gradient {
  background: linear-gradient(135deg, #f97316 0%, #ff8a00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: var(--transition);
  position: relative;
  padding: 0.25rem 0;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-action {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-talk {
  text-decoration: none;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #ffffff;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(249, 115, 22, 0.6);
  background: rgba(249, 115, 22, 0.08);
  transition: var(--transition);
}

.btn-talk:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 16px var(--primary-glow);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
}

/* ==========================================================================
   LAYOUT & SHARED SECTION STYLES
   ========================================================================== */
.page-content {
  position: relative;
  z-index: 10;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 7rem 0;
  position: relative;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

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

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.5);
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.section-hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 4rem 0 6rem;
}

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

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.hero-subtitle {
  font-size: 1.6rem;
  font-weight: 500;
  color: #e2e8f0;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.typing-cursor {
  color: var(--primary);
  font-weight: 300;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2.2rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 2rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

.status-text {
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #34d399;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.social-icon:hover {
  color: #ffffff;
  background: rgba(249, 115, 22, 0.15);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Hero Right: Framing Rings and Floating Tech Badges */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 520px;
}

.hero-orbital-frame {
  position: relative;
  width: 440px;
  height: 440px;
}

.orbit-glow-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(249, 115, 22, 0.4);
  box-shadow: 0 0 35px rgba(249, 115, 22, 0.2);
  animation: rotateRing 45s linear infinite;
}

.orbit-particle-ring {
  position: absolute;
  inset: -25px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

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

/* Hero Profile Image - Circular Portrait */
.hero-profile-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  z-index: 2;
  overflow: hidden;
  border: 3px solid rgba(249, 115, 22, 0.5);
  box-shadow:
    0 0 30px rgba(249, 115, 22, 0.25),
    0 0 60px rgba(249, 115, 22, 0.1),
    inset 0 0 30px rgba(0, 0, 0, 0.4);
  animation: profileGlow 4s ease-in-out infinite;
  transition: var(--transition);
}

.hero-profile-circle:hover {
  border-color: var(--primary);
  box-shadow:
    0 0 40px rgba(249, 115, 22, 0.4),
    0 0 80px rgba(249, 115, 22, 0.15),
    inset 0 0 30px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -50%) scale(1.03);
}

.hero-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: brightness(0.95) contrast(1.05);
  transition: var(--transition);
}

.hero-profile-circle:hover .hero-profile-img {
  filter: brightness(1) contrast(1.08);
  transform: scale(1.05);
}

@keyframes profileGlow {
  0%, 100% {
    box-shadow:
      0 0 30px rgba(249, 115, 22, 0.25),
      0 0 60px rgba(249, 115, 22, 0.1),
      inset 0 0 30px rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow:
      0 0 40px rgba(249, 115, 22, 0.35),
      0 0 80px rgba(249, 115, 22, 0.15),
      inset 0 0 30px rgba(0, 0, 0, 0.35);
  }
}

/* Floating Tech Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 16, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
  animation: floatSine 4s ease-in-out infinite;
}

.floating-badge:hover {
  transform: scale(1.05) translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.badge-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: #f1f5f9;
}

.badge-react {
  top: 15%;
  right: -5%;
  animation-delay: 0s;
}

.badge-node {
  top: 28%;
  left: -8%;
  animation-delay: 1.2s;
}

.badge-ts {
  bottom: 22%;
  left: -4%;
  animation-delay: 2.4s;
}

.badge-mongo {
  bottom: 20%;
  right: -8%;
  animation-delay: 3.6s;
}

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

/* ==========================================================================
   2. ABOUT ME SECTION
   ========================================================================== */
.section-about {
  background: rgba(8, 9, 13, 0.6);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.about-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 0.8rem;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.725rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.3;
}

.btn-resume {
  align-self: flex-start;
}

/* About Right: Glass Info Card & World Map */
.about-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.glass-info-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 0.7rem;
}

.info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-label {
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.info-value {
  color: #ffffff;
  font-weight: 600;
}

.highlight-email {
  color: var(--primary);
}

.world-map-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.world-map-img {
  width: 100%;
  height: auto;
  display: block;
}

.signature-wrapper {
  text-align: right;
  padding-right: 1.5rem;
}

.signature-text {
  font-family: var(--font-sig);
  font-size: 2.8rem;
  color: #fb923c;
  transform: rotate(-4deg);
  display: inline-block;
}

/* ==========================================================================
   3. MY SERVICES SECTION
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 3.5rem;
}

.service-price-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.1rem;
  letter-spacing: 0.02em;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--primary-glow);
}

.service-card:hover::before {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.icon-code {
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.service-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

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

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  transition: var(--transition);
}

.service-link .arrow {
  transition: transform 0.2s ease;
}

.service-card:hover .service-link .arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   4. SKILLS & TECHNOLOGIES SECTION
   ========================================================================== */
.section-skills {
  background: rgba(8, 9, 13, 0.65);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.skill-bars-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 2rem;
}

.skill-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.55rem;
  font-size: 0.875rem;
}

.skill-title {
  color: #e2e8f0;
  font-weight: 600;
}

.skill-value {
  color: var(--primary);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

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

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, #ea580c 0%, #f97316 70%, #fb923c 100%);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tech Badges Grid */
.tech-badges-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.tech-badge-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  transition: var(--transition);
}

.tech-badge-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.tech-icon {
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
}

.color-react { color: #06b6d4; }
.color-next { color: #ffffff; }
.color-node { color: #22c55e; }
.color-ts { color: #3b82f6; font-size: 1rem; }
.color-js { color: #eab308; font-size: 1rem; }
.color-tailwind { color: #38bdf8; }
.color-mongo { color: #10b981; }
.color-postgres { color: #3b82f6; }
.color-git { color: #f97316; }
.color-docker { color: #0284c7; }
.color-aws { color: #f59e0b; }
.color-firebase { color: #f97316; }
.color-graphql { color: #ec4899; }
.color-redux { color: #8b5cf6; }
.color-jest { color: #ef4444; }

.tech-name {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   5. FEATURED PROJECTS SECTION
   ========================================================================== */
.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.view-all-link:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 16px var(--primary-glow);
}

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

.project-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px var(--primary-glow);
}

.project-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f1118;
}

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

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

.project-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
}

.project-ext-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(14, 16, 24, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}

.project-card:hover .project-ext-btn {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.project-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

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

.tag {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   6. TESTIMONIALS SECTION
   ========================================================================== */
.section-testimonials {
  background: rgba(8, 9, 13, 0.6);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.8rem;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #cbd5e1;
  font-style: italic;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.client-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.client-name {
  font-size: 0.925rem;
  font-weight: 700;
  color: #ffffff;
}

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

.client-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  width: 24px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* ==========================================================================
   7. GET IN TOUCH / CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.contact-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.contact-form {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.875rem;
  color: #ffffff;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
  background: rgba(255, 255, 255, 0.07);
}

.form-input::placeholder {
  color: var(--text-dim);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

.form-select option {
  background: #0f1118;
  color: #ffffff;
}

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

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 0.95rem;
}

/* Contact Info List */
.contact-info-list {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-block {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.info-block-icon {
  font-size: 1.25rem;
}

.info-block-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 0.2rem;
}

.info-block-val {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
}

.info-block-val.highlight {
  color: var(--primary);
  text-decoration: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #050609;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.brand-tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 1rem 0 1.5rem;
  max-width: 320px;
}

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

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 2rem;
}

.built-with {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================================
   FLOATING WHATSAPP & INSTAGRAM DOCK
   ========================================================================== */
.floating-contact-dock {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-end;
}

.float-btn {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.float-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.float-whatsapp:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65);
}

.float-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: 0 6px 20px rgba(214, 36, 159, 0.45);
}

.float-instagram:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 28px rgba(214, 36, 159, 0.65);
}

.float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: rgba(14, 16, 24, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.775rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Contact Button Group */
.contact-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35) !important;
  width: 100%;
  justify-content: center;
}

.btn-whatsapp:hover {
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55) !important;
  transform: translateY(-2px);
}

.btn-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(214, 36, 159, 0.35) !important;
  width: 100%;
  justify-content: center;
}

.btn-instagram:hover {
  box-shadow: 0 6px 24px rgba(214, 36, 159, 0.55) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-right {
    height: 400px;
  }

  .hero-orbital-frame {
    width: 360px;
    height: 360px;
  }

  .hero-profile-circle {
    width: 260px;
    height: 260px;
  }

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

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

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

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

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .nav-menu.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(8, 9, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  }

  .mobile-toggle {
    display: flex;
  }

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

  .hero-right {
    height: 350px;
  }

  .hero-orbital-frame {
    width: 300px;
    height: 300px;
  }

  .hero-profile-circle {
    width: 220px;
    height: 220px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

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

  .services-grid,
  .projects-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .tech-badges-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
