/* ==========================================================================
   SAHIL BHIRUD - PORTFOLIO DESIGN SYSTEM
   Theme: Velvet Wine (Cabernet & Burgundy Luxury Aesthetics)
   ========================================================================== */

/* --- RESET & DESIGN TOKENS --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Color Palette: Velvet Wine & Alabaster Light Luxury Aesthetics */
  --bg-abyss: #fcf8fa;
  --bg-deep: #f6edf1;
  --bg-surface: rgba(255, 255, 255, 0.85);
  --bg-surface-elevated: rgba(255, 255, 255, 0.95);
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  
  /* Accent Wine Tones */
  --wine-primary: #be123c;
  --wine-primary-rgb: 190, 18, 60;
  --wine-bright: #e11d48;
  --wine-bright-rgb: 225, 29, 72;
  --wine-accent: #9f1239;
  --wine-accent-rgb: 159, 18, 57;
  --wine-rose: #be123c;
  --wine-rose-rgb: 190, 18, 60;
  --wine-dark: #881337;
  --wine-deep: #4c0519;
  --cyan-accent: var(--wine-accent);

  /* Borders & Glows (Softened Light Velvet Wine Shaders) */
  --border-subtle: rgba(190, 18, 60, 0.12);
  --border-glow: rgba(190, 18, 60, 0.25);
  --border-card: rgba(190, 18, 60, 0.10);
  --spotlight-color: rgba(190, 18, 60, 0.045);
  
  /* Text Tokens */
  --text-pure: #190913;
  --text-main: #2c1421;
  --text-muted: #5c4451;
  --text-dim: #8a717e;
  --text-wine: #be123c;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows & Lighting (Softened for Light Canvas) */
  --glow-sm: 0 0 10px rgba(190, 18, 60, 0.08);
  --glow-md: 0 0 18px rgba(190, 18, 60, 0.12);
  --glow-lg: 0 0 26px rgba(190, 18, 60, 0.14), 0 0 46px rgba(136, 19, 55, 0.06);
  --shadow-card: 0 10px 30px -4px rgba(136, 19, 55, 0.07), 0 4px 12px -2px rgba(0, 0, 0, 0.04);

  /* Mouse Tracking Defaults */
  --mouse-x: 50vw;
  --mouse-y: 50vh;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* Ultra High-Resolution Image & Vector Crispness */
img {
  image-rendering: -webkit-optimize-contrast;
}

svg {
  shape-rendering: geometricPrecision;
}

/* Selection */
::selection {
  background: rgba(190, 18, 60, 0.18);
  color: #881337;
}

/* --- LIGHTING EFFECTS & BACKGROUND --- */

/* Interactive Connecting Dots Canvas (Ultra-HD Background Layer) */
.particle-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* Interactive Mouse Spotlight */
.mouse-spotlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    650px circle at var(--mouse-x) var(--mouse-y),
    var(--spotlight-color),
    transparent 70%
  );
  transition: opacity 0.25s ease;
}

/* Ambient Wine Atmospheric Orbs */
.ambient-lighting {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.22;
  animation: floatOrb 22s infinite alternate ease-in-out;
}

.orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.09) 0%, transparent 65%);
  top: -100px;
  left: -60px;
}

.orb-2 {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(190, 18, 60, 0.07) 0%, transparent 65%);
  bottom: 8%;
  right: -100px;
  animation-delay: -11s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.08) 0%, transparent 65%);
  top: 45%;
  left: 15%;
  animation-delay: -5s;
}

/* Subtle Technical Grid Overlay with Wine tint */
.mesh-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(190, 18, 60, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(190, 18, 60, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 80% at var(--mouse-x) var(--mouse-y), rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 85%);
  pointer-events: none;
  z-index: 0;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 35px) scale(1.06); }
  100% { transform: translate(-35px, 60px) scale(0.96); }
}

/* --- LAYOUT WRAPPER --- */
.site-container {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- NAVIGATION BAR --- */
.site-nav {
  position: fixed;
  top: 1.1rem;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 1.5rem;
}

.nav-glass-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1080px;
  padding: 0.6rem 1.1rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(190, 18, 60, 0.15);
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(136, 19, 55, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-pure);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.logo-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wine-bright);
  box-shadow: 0 0 10px var(--wine-bright);
  animation: pulseWine 2.2s infinite ease-in-out;
}

@keyframes pulseWine {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
  padding: 0.2rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--wine-primary);
  text-shadow: 0 0 10px rgba(190, 18, 60, 0.2);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--wine-accent);
  border-radius: 2px;
  transition: width 0.25s ease;
  box-shadow: 0 0 4px rgba(225, 29, 72, 0.35);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(190, 18, 60, 0.15);
  color: var(--text-pure);
  text-decoration: none;
  transition: all 0.25s ease;
}

.icon-btn:hover {
  background: rgba(190, 18, 60, 0.08);
  border-color: var(--wine-primary);
  color: var(--wine-primary);
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(190, 18, 60, 0.15);
}

.btn-resume-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #881337, #be123c);
  border: 1px solid rgba(190, 18, 60, 0.35);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(136, 19, 55, 0.2), 0 0 10px rgba(190, 18, 60, 0.1);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.btn-resume-nav:hover {
  border-color: var(--wine-bright);
  background: linear-gradient(135deg, #be123c, #e11d48);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(190, 18, 60, 0.3);
}

/* Freelance Hire Me Nav Button */
.btn-hire-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.92), rgba(244, 63, 94, 0.92));
  border: 1px solid rgba(251, 113, 133, 0.45);
  padding: 0.42rem 0.95rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.35), 0 0 12px rgba(244, 63, 94, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.btn-hire-nav:hover {
  background: linear-gradient(135deg, rgba(244, 63, 94, 1), rgba(251, 113, 133, 1));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(244, 63, 94, 0.45);
}

.hire-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  display: inline-block;
  animation: pulseGreen 2s infinite ease-in-out;
}

.hire-pulse-dot-hero {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  display: inline-block;
  animation: pulseGreen 2s infinite ease-in-out;
}

@keyframes pulseGreen {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 8px #22c55e; }
  50% { transform: scale(1.3); opacity: 0.75; box-shadow: 0 0 14px #22c55e; }
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(190, 18, 60, 0.18);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  color: var(--text-pure);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mobile-toggle:hover {
  background: rgba(190, 18, 60, 0.08);
  border-color: var(--wine-primary);
  color: var(--wine-primary);
}

.mobile-social-strip {
  display: none;
}

/* Asklytix Live Pill Base Utility */
.asklytix-live-pill {
  max-width: 100%;
  flex-wrap: wrap;
  word-break: break-all;
}

/* --- HERO SECTION --- */
.hero-section {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding-top: 6.5rem;
  padding-bottom: 3.5rem;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(190, 18, 60, 0.18);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--wine-primary);
  margin-bottom: 1.2rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 8px rgba(136, 19, 55, 0.05);
}

.hero-title {
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
  color: var(--text-pure);
}

.gradient-wine-text {
  background: linear-gradient(135deg, #4c0519 0%, #881337 35%, #be123c 70%, #e11d48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

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

.hero-bio strong {
  color: var(--text-pure);
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.8rem;
}

.btn-primary-wine {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.78rem 1.65rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #881337 0%, #be123c 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(190, 18, 60, 0.22);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
}

.btn-primary-wine:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(190, 18, 60, 0.32);
}

.btn-outline-wine {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.78rem 1.45rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(190, 18, 60, 0.22);
  color: #881337;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(136, 19, 55, 0.05);
}

.btn-outline-wine:hover {
  background: rgba(190, 18, 60, 0.08);
  border-color: var(--wine-primary);
  color: #4c0519;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(190, 18, 60, 0.15);
}

/* HERO CLICKABLE CONTACT PILLS CLUSTER */
.hero-social-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.hero-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(190, 18, 60, 0.18);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(136, 19, 55, 0.04);
}

.hero-contact-pill svg {
  color: var(--wine-primary);
}

.hero-contact-pill:hover {
  background: rgba(190, 18, 60, 0.08);
  border-color: var(--wine-primary);
  color: #881337;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(190, 18, 60, 0.14);
}

.hero-contact-pill.pill-gmail {
  border-color: rgba(190, 18, 60, 0.28);
  background: rgba(190, 18, 60, 0.06);
  color: var(--text-pure);
}

.hero-contact-pill.pill-gmail:hover {
  background: rgba(190, 18, 60, 0.12);
  color: #881337;
}

/* Profile Photo Card with Ambient Velvet Wine Halo */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-ambient-halo {
  position: absolute;
  inset: -10px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(190, 18, 60, 0.18) 0%, rgba(225, 29, 72, 0.12) 100%);
  filter: blur(30px);
  opacity: 0.35;
  z-index: 1;
  animation: photoBreathe 5s infinite alternate ease-in-out;
}

@keyframes photoBreathe {
  0% { opacity: 0.25; filter: blur(26px); }
  100% { opacity: 0.45; filter: blur(36px); }
}

.photo-frame {
  position: relative;
  z-index: 2;
  width: 310px;
  height: 380px;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(190, 18, 60, 0.2);
  box-shadow: 0 16px 36px rgba(136, 19, 55, 0.12), var(--glow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-frame:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(190, 18, 60, 0.35);
  box-shadow: 0 20px 45px rgba(136, 19, 55, 0.18), var(--glow-md);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.photo-frame:hover img {
  transform: scale(1.03);
}

.photo-caption-tag {
  position: absolute;
  bottom: 1.1rem;
  left: 1.1rem;
  right: 1.1rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(190, 18, 60, 0.22);
  border-radius: 14px;
  padding: 0.7rem 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 24px rgba(136, 19, 55, 0.1);
}

.photo-caption-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-pure);
}

.photo-caption-sub {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--wine-primary);
}

/* --- SECTION BLOCKS --- */
.section-block {
  padding: 3.5rem 0;
  position: relative;
}

.section-head {
  margin-bottom: 2.2rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wine-rose);
  margin-bottom: 0.45rem;
}

.section-title {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.section-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-top: 0.45rem;
}

/* --- FEATURED PROJECTS (2x2 BENTO GRID) --- */
.bento-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.bento-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1.8rem;
  backdrop-filter: blur(18px);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Internal Specular Light Highlight Following Cursor (Wine Tone) */
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    380px circle at var(--card-mouse-x, 50%) var(--card-mouse-y, 50%),
    rgba(190, 18, 60, 0.05),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

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

/* Glowing Border Accent */
.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(190, 18, 60, 0.28) 0%,
    rgba(225, 29, 72, 0.14) 50%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.18;
  transition: opacity 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(190, 18, 60, 0.35);
  box-shadow: 0 18px 40px rgba(136, 19, 55, 0.12), 0 0 14px rgba(190, 18, 60, 0.08);
}

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

.card-inner-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--wine-rose);
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}

.card-title-link {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.65rem;
  line-height: 1.3;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-summary {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

.card-bullets {
  list-style: none;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-grow: 1;
}

.card-bullets li {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.45;
}

.card-bullets li::before {
  content: '▹';
  color: var(--wine-primary);
  font-size: 0.85rem;
  line-height: 1.3;
}

.card-tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.tech-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(190, 18, 60, 0.07);
  border: 1px solid rgba(190, 18, 60, 0.18);
  color: #881337;
  transition: all 0.2s ease;
}

.bento-card:hover .tech-badge {
  border-color: var(--wine-primary);
  color: #fff;
  background: #be123c;
}

.card-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(190, 18, 60, 0.10);
  font-size: 0.84rem;
  font-weight: 600;
}

.github-code-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--wine-primary);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}

.github-code-link:hover {
  color: #881337;
  text-shadow: 0 0 8px rgba(190, 18, 60, 0.2);
  transform: translateX(2px);
}

.asklytix-live-pill {
  color: var(--wine-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.8rem;
  background: rgba(190, 18, 60, 0.08);
  border: 1px solid rgba(190, 18, 60, 0.22);
  border-radius: 8px;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(190, 18, 60, 0.08);
  transition: all 0.2s ease;
}

.asklytix-live-pill:hover {
  background: rgba(190, 18, 60, 0.15);
  border-color: rgba(190, 18, 60, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(190, 18, 60, 0.16);
}

/* --- BALANCED JOURNEY (EDUCATION & EXPERIENCE) --- */
.journey-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.journey-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.journey-panel-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(190, 18, 60, 0.10);
}

.journey-panel-head h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-pure);
}

.journey-card-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  flex-grow: 1;
}

.journey-entry {
  position: relative;
  padding-left: 1.25rem;
  border-left: 2px solid rgba(190, 18, 60, 0.25);
}

.journey-entry::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 0.35rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wine-primary);
  box-shadow: 0 0 4px rgba(190, 18, 60, 0.4);
}

.entry-date {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--wine-primary);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.entry-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.15rem;
}

.entry-sub {
  font-size: 0.88rem;
  font-weight: 600;
  color: #881337;
  margin-bottom: 0.45rem;
}

.entry-desc {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.55;
}

.score-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(190, 18, 60, 0.08);
  color: #881337;
  border: 1px solid rgba(190, 18, 60, 0.2);
  margin-top: 0.35rem;
}

/* --- SKILLS & CERTIFICATIONS MATRIX --- */
.skills-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 2.2rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

.skills-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.skill-category-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(190, 18, 60, 0.12);
  border-radius: 16px;
  padding: 1.4rem;
  transition: all 0.25s ease;
}

.skill-category-card:hover {
  border-color: rgba(190, 18, 60, 0.28);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(136, 19, 55, 0.08), 0 0 10px rgba(190, 18, 60, 0.08);
}

.category-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(190, 18, 60, 0.10);
}

.category-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-pill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(190, 18, 60, 0.16);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  cursor: default;
  box-shadow: 0 2px 5px rgba(136, 19, 55, 0.04);
}

.skill-pill:hover {
  background: rgba(190, 18, 60, 0.08);
  border-color: var(--wine-primary);
  color: var(--wine-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 8px rgba(190, 18, 60, 0.12);
}

/* Certifications Strip */
.certifications-section {
  padding-top: 1.6rem;
  border-top: 1px solid rgba(190, 18, 60, 0.10);
}

.cert-head {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--wine-primary);
  font-family: var(--font-mono);
  margin-bottom: 0.85rem;
}

.certs-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cert-badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 7px;
  background: rgba(190, 18, 60, 0.06);
  border: 1px solid rgba(190, 18, 60, 0.16);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cert-badge strong {
  color: #881337;
}

/* --- CONTACT & CHANNELS --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

.contact-card-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(16px);
  transition: all 0.25s ease;
}

.contact-channel-card:hover {
  transform: translateY(-3px);
  border-color: var(--wine-primary);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 25px rgba(136, 19, 55, 0.1), 0 0 12px rgba(190, 18, 60, 0.08);
}

.contact-channel-card.highlight-gmail {
  border-color: rgba(190, 18, 60, 0.24);
  background: rgba(255, 255, 255, 0.88);
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(190, 18, 60, 0.08);
  border: 1px solid rgba(190, 18, 60, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wine-primary);
  box-shadow: 0 0 6px rgba(190, 18, 60, 0.08);
}

.contact-label {
  font-size: 0.74rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-muted);
}

.contact-val {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-pure);
}

.card-actions-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.copy-btn {
  background: rgba(190, 18, 60, 0.06);
  border: 1px solid rgba(190, 18, 60, 0.16);
  color: var(--text-main);
  font-size: 0.76rem;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 0.32rem 0.68rem;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: var(--wine-primary);
  color: #ffffff;
  border-color: var(--wine-primary);
  box-shadow: 0 0 8px rgba(190, 18, 60, 0.25);
}

/* Quick Message Form / Card */
.contact-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1.8rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

.contact-panel h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.45rem;
}

.contact-panel p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.3rem;
}

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

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 0.35rem;
}

.form-input, .form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(190, 18, 60, 0.18);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  color: var(--text-pure);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(136, 19, 55, 0.04);
}

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

.form-input:focus, .form-textarea:focus {
  border-color: var(--wine-primary);
  box-shadow: 0 0 10px rgba(190, 18, 60, 0.18);
  background: #ffffff;
}

/* TOAST NOTIFICATION */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--wine-primary);
  box-shadow: 0 10px 30px rgba(136, 19, 55, 0.18), 0 0 14px rgba(190, 18, 60, 0.12);
  color: var(--text-pure);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  z-index: 9999;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- FOOTER --- */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(190, 18, 60, 0.12);
  position: relative;
  z-index: 2;
  margin-top: 3rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-credits {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.footer-credits strong {
  color: var(--text-pure);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--wine-primary);
  text-shadow: none;
}

/* ==========================================================================
   SERVICES & WEB SOLUTIONS SECTION
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 1.75rem 1.6rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(
    420px circle at var(--card-mouse-x, 50%) var(--card-mouse-y, 50%),
    rgba(190, 18, 60, 0.05),
    transparent 65%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(190, 18, 60, 0.32);
  box-shadow: 0 16px 36px rgba(136, 19, 55, 0.12), var(--glow-md);
  background: var(--bg-card-hover);
}

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

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(190, 18, 60, 0.08);
  border: 1px solid rgba(190, 18, 60, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wine-primary);
  transition: all 0.25s ease;
}

.service-card:hover .service-icon-wrap {
  background: rgba(190, 18, 60, 0.15);
  border-color: var(--wine-primary);
  transform: scale(1.06);
  box-shadow: 0 0 12px rgba(190, 18, 60, 0.2);
}

.service-timing-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  background: rgba(190, 18, 60, 0.05);
  border: 1px solid rgba(190, 18, 60, 0.12);
  color: var(--text-muted);
}

.service-timing-pill.highlight {
  background: rgba(190, 18, 60, 0.10);
  border-color: rgba(190, 18, 60, 0.25);
  color: #881337;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1.35;
  margin-bottom: 0.7rem;
}

.service-summary {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(190, 18, 60, 0.10);
}

.service-features li {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.45;
  position: relative;
  padding-left: 1.15rem;
}

.service-features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--wine-primary);
  font-size: 0.68rem;
  top: 1px;
}

.service-features strong {
  color: var(--text-pure);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  background: rgba(190, 18, 60, 0.05);
  border: 1px solid rgba(190, 18, 60, 0.12);
  color: var(--text-main);
}

/* Quick Client Action Banner */
.services-cta-banner {
  margin-top: 2rem;
  padding: 1.6rem 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 245, 248, 0.95), rgba(253, 236, 242, 0.95));
  border: 1px solid rgba(190, 18, 60, 0.22);
  box-shadow: var(--shadow-card), var(--glow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.services-cta-text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.3rem;
}

.services-cta-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.services-cta-btns {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.whatsapp-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #16a34a !important;
  border-color: rgba(22, 163, 74, 0.35) !important;
  background: rgba(22, 163, 74, 0.08) !important;
}

.whatsapp-quick-btn:hover {
  background: rgba(22, 163, 74, 0.18) !important;
  border-color: #16a34a !important;
  color: #15803d !important;
  box-shadow: 0 0 14px rgba(22, 163, 74, 0.25) !important;
}

/* ==========================================================================
   CLIENT COLLABORATION PROCESS SECTION
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.process-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 1.6rem 1.4rem;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(
    360px circle at var(--card-mouse-x, 50%) var(--card-mouse-y, 50%),
    rgba(190, 18, 60, 0.05),
    transparent 65%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(190, 18, 60, 0.32);
  box-shadow: 0 14px 32px rgba(136, 19, 55, 0.12), var(--glow-md);
  background: var(--bg-card-hover);
}

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

.process-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.process-step-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #be123c, #881337);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.process-phase-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.24rem 0.58rem;
  border-radius: 6px;
  background: rgba(190, 18, 60, 0.05);
  border: 1px solid rgba(190, 18, 60, 0.12);
  color: var(--text-muted);
}

.process-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.process-step-desc {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.process-perk {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #881337;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(190, 18, 60, 0.10);
  margin-top: auto;
}

.process-perk svg {
  color: #16a34a;
  flex-shrink: 0;
}

/* Why Work With Me Trust Pillars */
.trust-pillars-wrap {
  margin-top: 2.2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem 2.2rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.trust-pillars-header {
  margin-bottom: 1.5rem;
}

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

.trust-pillar-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(190, 18, 60, 0.08);
  border: 1px solid rgba(190, 18, 60, 0.2);
  color: var(--wine-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.25rem;
}

.pillar-desc {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   CONTACT FORM & CHANNELS ENHANCEMENT
   ========================================================================== */
.contact-panel-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #881337;
  background: rgba(190, 18, 60, 0.08);
  border: 1px solid rgba(190, 18, 60, 0.2);
  padding: 0.24rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 0.6rem;
}

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

.form-select {
  width: 100%;
  padding: 0.78rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(190, 18, 60, 0.18);
  color: var(--text-pure);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
  transition: all 0.2s ease;
  cursor: pointer;
  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='%23be123c' 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: 16px;
}

.form-select:focus {
  border-color: var(--wine-primary);
  box-shadow: 0 0 10px rgba(190, 18, 60, 0.2);
  background-color: #ffffff;
}

.form-select option {
  background: #ffffff;
  color: #1c0d16;
  padding: 0.5rem;
}

.highlight-whatsapp {
  border-color: rgba(37, 211, 102, 0.25) !important;
  background: rgba(37, 211, 102, 0.04) !important;
}

.highlight-whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.55) !important;
  background: rgba(37, 211, 102, 0.1) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 14px rgba(37, 211, 102, 0.2) !important;
}

.whatsapp-box {
  background: rgba(37, 211, 102, 0.12) !important;
  border-color: rgba(37, 211, 102, 0.3) !important;
  color: #25d366 !important;
}

.chat-now-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #25d366;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.25);
}

/* --- COMPREHENSIVE RESPONSIVE BREAKPOINTS (LAPTOPS, TABLETS, PHONES) --- */

/* 1. Laptops & Small Desktops (<= 1024px) */
@media (max-width: 1024px) {
  .site-container {
    padding: 0 1.25rem;
  }

  .nav-glass-bar {
    padding: 0.55rem 1rem;
    gap: 0.75rem;
  }

  .nav-links {
    gap: 1.2rem;
  }

  .hero-section {
    gap: 2.2rem;
    padding-top: 6.2rem;
  }

  .photo-frame {
    width: 290px;
    height: 350px;
  }

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

  .bento-projects-grid {
    gap: 1.25rem;
  }

  .bento-card {
    padding: 1.5rem;
  }

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

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

/* 2. Tablets (Portrait) & Large Phablets (<= 880px) */
@media (max-width: 880px) {
  .site-nav {
    top: 0.85rem;
    padding: 0 1.1rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Hide individual header action icons to make room for logo, resume, and hamburger */
  .nav-actions .icon-btn {
    display: none;
  }

  .nav-glass-bar.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(190, 18, 60, 0.16);
    border-radius: 20px;
    padding: 1.5rem 1.6rem;
    gap: 1rem;
    box-shadow: 0 24px 50px rgba(136, 19, 55, 0.15);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    z-index: 200;
  }

  .nav-glass-bar.mobile-open .nav-link {
    font-size: 1.05rem;
    padding: 0.4rem 0;
  }

  /* Show social links inside open mobile drawer */
  .mobile-social-strip {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(190, 18, 60, 0.10);
  }

  .mobile-social-strip .icon-btn {
    display: inline-flex;
    width: 38px;
    height: 38px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
    padding-top: 6.2rem;
  }

  .hero-bio {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-social-cluster {
    justify-content: center;
  }

  .photo-frame {
    width: 280px;
    height: 340px;
    margin: 0 auto;
  }

  .bento-projects-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .journey-bento-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

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

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

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

  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .trust-pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .trust-pillars-wrap {
    padding: 1.5rem 1.35rem;
  }

  .services-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.4rem 1.4rem;
  }

  .services-cta-btns {
    width: 100%;
    flex-direction: column;
  }

  .services-cta-btns a {
    width: 100%;
    justify-content: center;
  }

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

/* 3. Mobile Phones (<= 640px) */
@media (max-width: 640px) {
  .site-nav {
    top: 0.6rem;
    padding: 0 0.8rem;
  }

  .site-container {
    padding: 0 1rem;
  }

  .nav-glass-bar {
    padding: 0.45rem 0.85rem;
  }

  .nav-logo {
    font-size: 0.94rem;
    gap: 0.5rem;
  }

  .btn-resume-nav {
    padding: 0.35rem 0.75rem;
    font-size: 0.76rem;
  }

  .btn-hire-nav {
    padding: 0.35rem 0.72rem;
    font-size: 0.74rem;
  }

  .section-block {
    padding: 2.6rem 0;
  }

  .section-head {
    margin-bottom: 1.6rem;
  }

  .section-title {
    font-size: clamp(1.55rem, 5.5vw, 1.85rem);
  }

  .section-desc {
    font-size: 0.9rem;
  }

  .hero-section {
    padding-top: 5.2rem;
    padding-bottom: 2rem;
    gap: 1.8rem;
  }

  .hero-status-pill {
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
    margin-bottom: 0.9rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.5rem);
    margin-bottom: 0.9rem;
  }

  .hero-bio {
    font-size: 0.95rem;
    margin-bottom: 1.4rem;
  }

  .photo-frame {
    width: 250px;
    height: 310px;
    border-radius: 20px;
  }

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

  .skills-container {
    padding: 1.4rem 1.15rem;
    border-radius: 18px;
  }

  .skill-category-card {
    padding: 1.15rem 1rem;
    border-radius: 14px;
  }

  .bento-card {
    padding: 1.35rem 1.15rem;
    border-radius: 18px;
  }

  .card-title-link {
    font-size: 1.15rem;
  }

  .card-summary {
    font-size: 0.86rem;
  }

  .card-bullets li {
    font-size: 0.82rem;
  }

  .journey-panel {
    padding: 1.4rem 1.15rem;
    border-radius: 18px;
  }

  .contact-panel {
    padding: 1.4rem 1.15rem;
    border-radius: 18px;
  }

  .contact-channel-card {
    padding: 1rem 1.15rem;
    border-radius: 14px;
  }

  .form-input, .form-textarea {
    font-size: 16px; /* Prevents auto-zoom on iOS Safari */
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.1rem;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.1rem;
  }

  .toast-notice {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    justify-content: center;
    text-align: center;
  }
}

/* 4. Small Mobile Phones (<= 420px - iPhone SE, Galaxy Fold) */
@media (max-width: 420px) {
  .site-nav {
    top: 0.45rem;
    padding: 0 0.55rem;
  }

  .nav-glass-bar {
    padding: 0.38rem 0.65rem;
  }

  .nav-logo {
    font-size: 0.88rem;
    gap: 0.45rem;
  }

  .btn-resume-nav {
    padding: 0.3rem 0.62rem;
    font-size: 0.72rem;
    gap: 0.3rem;
  }

  .btn-resume-nav svg {
    width: 12px;
    height: 12px;
  }

  .site-container {
    padding: 0 0.85rem;
  }

  .skill-pill {
    font-size: 0.74rem;
    padding: 0.32rem 0.65rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .btn-primary-wine, .btn-outline-wine {
    width: 100%;
    justify-content: center;
    padding: 0.72rem 1.2rem;
  }

  .photo-frame {
    width: 220px;
    height: 275px;
  }

  .photo-caption-tag {
    padding: 0.5rem 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
  }

  .photo-caption-title {
    font-size: 0.8rem;
  }

  .photo-caption-sub {
    font-size: 0.68rem;
  }

  .contact-channel-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .card-actions-right {
    width: 100%;
    justify-content: space-between;
  }

  .contact-val {
    font-size: 0.85rem;
    word-break: break-all;
  }

  .card-bottom-bar {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .asklytix-live-pill {
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem !important;
  }
}

@media (max-width: 360px) {
  .nav-logo span:last-child {
    font-size: 0.82rem;
  }

  .btn-resume-nav {
    padding: 0.28rem 0.52rem;
    font-size: 0.67rem;
    gap: 0.24rem;
  }
}

/* 5. Touch Devices Hover Optimization */
@media (hover: none) {
  .bento-card:hover {
    transform: none;
  }

  .photo-frame:hover {
    transform: none;
  }

  .contact-channel-card:hover {
    transform: none;
  }

  .skill-pill:hover {
    transform: none;
  }
}
