/* ==========================================================================
   SHIVAM GUPTA — PORTFOLIO DESIGN SYSTEM & STYLESHEET
   High-End Product Manager Portfolio • Wide-Viewport Responsive Layout
   ========================================================================== */

:root {
  /* Layout Tokens */
  --container-max-width: 1520px;
  --container-padding: clamp(1.5rem, 3.5vw, 3.5rem);
  
  /* Color Palette */
  --bg-main: #08080a;
  --bg-card: rgba(18, 19, 26, 0.75);
  --bg-card-hover: rgba(26, 28, 38, 0.9);
  --bg-card-highlight: rgba(255, 107, 44, 0.06);
  --bg-elevated: #111218;
  
  /* Accents */
  --accent-orange: #ff6b2c;
  --accent-orange-hover: #ff854d;
  --accent-orange-glow: rgba(255, 107, 44, 0.35);
  --accent-blue: #3b82f6;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.45);
  --text-dim: rgba(255, 255, 255, 0.25);
  
  /* Borders & Glass */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --border-orange: rgba(255, 107, 44, 0.35);
  --glass-blur: blur(20px);
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  
  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

/* Main Content Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

/* Section Header Styles */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem auto;
}

.section-tag-wrapper {
  margin-bottom: 1rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent-orange);
  text-transform: uppercase;
  background: rgba(255, 107, 44, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 107, 44, 0.2);
}

.section-heading {
  font-size: clamp(2.25rem, 3.5vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.section-heading-sm {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}

.section-subheading {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--accent-orange);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--accent-orange-glow);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 107, 44, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

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

.btn-primary:hover .btn-arrow,
.btn-secondary:hover .btn-arrow,
.btn-connect:hover .btn-arrow,
.project-link:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-large {
  padding: 1.1rem 2.4rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.loader-container {
  position: fixed;
  inset: 0;
  background: #060608;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

.loader-container.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.loader-spinner {
  position: relative;
  width: 76px;
  height: 76px;
}

.circular-chart {
  display: block;
  width: 100%;
  height: 100%;
}

.circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 2.5;
}

.circle {
  fill: none;
  stroke: var(--accent-orange);
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke-dasharray 0.15s ease;
  filter: drop-shadow(0 0 8px var(--accent-orange-glow));
}

.loader-percent {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.loader-status {
  font-size: 0.85rem;
  color: var(--text-secondary);
  animation: pulseOpacity 2s infinite ease-in-out;
}

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

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 0.85rem 0;
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

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

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0;
  outline: none;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.theme-icon {
  display: block;
  transition: var(--transition-fast);
}

.theme-icon-sun {
  display: block;
}

.theme-icon-moon {
  display: none;
}

/* Light Theme Variables & Overrides */
[data-theme="light"] {
  --bg-main: #f8f9fa;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-card-highlight: rgba(255, 107, 44, 0.08);
  --bg-elevated: #ffffff;

  --text-primary: #0f172a;
  --text-secondary: rgba(15, 23, 42, 0.75);
  --text-muted: rgba(15, 23, 42, 0.55);
  --text-dim: rgba(15, 23, 42, 0.35);

  --border-subtle: rgba(0, 0, 0, 0.1);
  --border-hover: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .theme-icon-sun {
  display: none;
}

[data-theme="light"] .theme-icon-moon {
  display: block;
}

[data-theme="light"] .navbar {
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.45);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

[data-theme="light"] .navbar .nav-brand {
  color: #ffffff;
}

[data-theme="light"] .navbar .nav-menu {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .navbar .nav-link {
  color: rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .navbar .nav-link:hover,
[data-theme="light"] .navbar .nav-link.active {
  color: #ffffff;
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(8, 8, 10, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .navbar .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

[data-theme="light"] .navbar .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

[data-theme="light"] .navbar .btn-connect {
  background: #ffffff;
  color: #08080a;
}

[data-theme="light"] .navbar .btn-connect:hover {
  background: var(--accent-orange);
  color: #ffffff;
}

[data-theme="light"] .navbar .menu-toggle span {
  background: #ffffff;
}


/* ==========================================================================
   LIGHT MODE: Keep Hero, Featured Projects, Contact & Footer dark
   These sections have hardcoded dark backgrounds and must retain white text.
   ========================================================================== */

/* --- HERO SECTION --- */
[data-theme="light"] .hero-section {
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.45);
  --text-dim: rgba(255, 255, 255, 0.25);
  --bg-card: rgba(18, 19, 26, 0.75);
  --bg-card-hover: rgba(26, 28, 38, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

[data-theme="light"] .hero-section .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .hero-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

/* --- FEATURED PROJECTS SECTION --- */
[data-theme="light"] #projects {
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.45);
  --text-dim: rgba(255, 255, 255, 0.25);
  --bg-card: rgba(18, 19, 26, 0.75);
  --bg-card-hover: rgba(26, 28, 38, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: #08080a;
}

[data-theme="light"] #projects .project-tags span {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] #projects .project-role {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
}

/* --- CONTACT SECTION --- */
[data-theme="light"] .contact-section {
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.45);
  --text-dim: rgba(255, 255, 255, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

[data-theme="light"] .contact-section .contact-heading {
  color: #ffffff;
}

[data-theme="light"] .contact-section .contact-desc {
  color: rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .contact-section .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .contact-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

[data-theme="light"] .contact-section .info-val {
  color: #ffffff;
}

[data-theme="light"] .contact-section .info-label {
  color: rgba(255, 255, 255, 0.45);
}

/* --- FOOTER --- */
[data-theme="light"] .footer {
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.45);
  --border-subtle: rgba(255, 255, 255, 0.08);
  background: #050507;
  color: #ffffff;
}

[data-theme="light"] .footer .footer-brand {
  color: #ffffff;
}

[data-theme="light"] .footer .footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .footer .footer-links a:hover {
  color: var(--accent-orange);
}

[data-theme="light"] .footer .footer-back-to-top {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .footer .footer-bottom {
  color: rgba(255, 255, 255, 0.45);
  border-top-color: rgba(255, 255, 255, 0.04);
}

.btn-connect {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #08080a;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.65rem 1.35rem;
  border-radius: 9999px;
  transition: var(--transition-smooth);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 8, 10, 0.98);
  backdrop-filter: blur(24px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

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

.mobile-nav-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.mobile-nav-link:hover {
  color: var(--accent-orange);
}

.mobile-connect-btn {
  margin-top: 1rem;
}

/* ==========================================================================
   HERO SECTION (SCROLL-PINNED ANIMATION INTEGRATION)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #08080a;
  display: flex;
  align-items: center;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
}

/* Canvas Background */
.hero-canvas-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

#scroll-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Scrim Overlays to guarantee high text contrast without obscuring subject */
.hero-scrim-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 10, 0.88) 0%, rgba(8, 8, 10, 0.45) 40%, transparent 68%);
  pointer-events: none;
}

.hero-scrim-right {
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(8, 8, 10, 0.88) 0%, rgba(8, 8, 10, 0.45) 35%, transparent 62%);
  pointer-events: none;
}

.hero-scrim-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 38%;
  background: linear-gradient(0deg, rgba(8, 8, 10, 0.95) 0%, rgba(8, 8, 10, 0.4) 60%, transparent 100%);
  pointer-events: none;
}

/* Hero Content Safe Area Layout */
.hero-content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 5.5rem var(--container-padding) 2rem var(--container-padding);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  margin-top: auto;
  margin-bottom: auto;
  width: 100%;
}

/* Left Hero Column */
.hero-left {
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent-orange);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(3.5rem, 5.8vw, 5.5rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #ffffff 40%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Right Hero Column */
.hero-right {
  display: flex;
  justify-content: flex-end;
}

.hero-pitch-card {
  background: rgba(14, 15, 22, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: clamp(1.75rem, 2.5vw, 2.25rem);
  max-width: 480px;
  width: 100%;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.pitch-title {
  font-size: clamp(1.35rem, 1.8vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.pitch-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hero-metrics-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 0.75rem 1.25rem;
}

.metric-mini {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-orange);
}

.metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-divider {
  width: 1px;
  height: 28px;
  background: var(--border-subtle);
}

/* Bottom Hero Pillars */
.hero-pillars-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pillar-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-orange);
  letter-spacing: 0.1em;
}

.pillar-name {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ==========================================================================
   BRANDS & EXPERIENCE STRIP
   ========================================================================== */
.brands-section {
  padding: 3rem 0;
  position: relative;
  z-index: 20;
}

.brands-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 1.1rem clamp(1.5rem, 3vw, 2.75rem);
  width: 100%;
  overflow-x: auto;
}

.brands-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.brands-list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  white-space: nowrap;
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.brand-tag:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
}

.brand-bullet {
  font-size: 0.45rem;
  color: var(--accent-orange);
}

/* ==========================================================================
   ABOUT ME SECTION
   ========================================================================== */
.about-section {
  padding: 7rem 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: 0;
}

.about-left .section-heading {
  text-align: left;
}

.about-lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.about-body {
  font-size: 1.025rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.about-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

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

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2rem;
  transition: var(--transition-smooth);
}

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

.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.stat-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* 3 Showcase Preview Cards (Reference Style) */
.about-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.showcase-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.showcase-img-wrap {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: #0d0e14;
}

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

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

.showcase-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(8, 8, 10, 0.7);
  backdrop-filter: blur(12px);
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.showcase-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.showcase-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.showcase-content p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   FEATURED PROJECTS SECTION
   ========================================================================== */
.projects-section {
  padding: 7rem 0;
  position: relative;
}

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

/* 3-Column Visual Card Grid for Featured Projects (fallback/legacy) */
.featured-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2vw, 2.25rem);
}

/* ==========================================================================
   FEATURED PROJECTS HORIZONTAL CAROUSEL
   ========================================================================== */
:root {
  --carousel-card-gap: clamp(1.5rem, 2.2vw, 2.25rem);
}

.featured-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  text-align: left;
  max-width: 100%;
  margin: 0 0 3rem 0;
  gap: 2rem;
}

.featured-header-content {
  max-width: 720px;
}

.featured-carousel-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.carousel-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
}

.counter-curr {
  color: var(--accent-orange);
}

.counter-sep {
  opacity: 0.4;
}

.carousel-arrows {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-smooth);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.carousel-btn:hover:not(:disabled) {
  background: rgba(255, 107, 44, 0.15);
  border-color: var(--border-orange);
  color: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 44, 0.25);
}

.carousel-btn:active:not(:disabled) {
  transform: translateY(0);
}

.carousel-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0.04);
}

/* Carousel Container & Track */
.projects-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.75rem 0.25rem 1.75rem 0.25rem;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.projects-carousel-wrapper.is-dragging {
  cursor: grabbing;
}

.projects-carousel-track {
  display: flex;
  gap: var(--carousel-card-gap);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  align-items: stretch;
}

/* Exactly 2 cards visible side-by-side on desktop */
.projects-carousel-track > .project-card {
  flex: 0 0 calc((100% - var(--carousel-card-gap)) / 2);
  width: calc((100% - var(--carousel-card-gap)) / 2);
  min-width: calc((100% - var(--carousel-card-gap)) / 2);
  max-width: calc((100% - var(--carousel-card-gap)) / 2);
  box-sizing: border-box;
}

/* Specific styling for the View More Projects CTA Card */
.project-card.featured-cta-card {
  background: radial-gradient(circle at 85% 15%, rgba(255, 107, 44, 0.15) 0%, transparent 55%),
              linear-gradient(175deg, rgba(22, 24, 34, 0.88) 0%, rgba(13, 14, 19, 0.95) 100%);
  border: 1px solid rgba(255, 107, 44, 0.28);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.project-card.featured-cta-card:hover {
  background: radial-gradient(circle at 85% 15%, rgba(255, 107, 44, 0.24) 0%, transparent 65%),
              linear-gradient(175deg, rgba(28, 30, 42, 0.95) 0%, rgba(16, 18, 26, 0.98) 100%);
  border-color: var(--accent-orange);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.5), 0 0 32px rgba(255, 107, 44, 0.2);
  transform: translateY(-6px);
}

.cta-card-visual {
  position: relative;
  width: 100%;
  height: 240px;
  background: linear-gradient(145deg, rgba(255, 107, 44, 0.08) 0%, rgba(10, 11, 15, 0.95) 100%);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-visual-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
}

.cta-icon-glow {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 107, 44, 0.12);
  border: 1px solid rgba(255, 107, 44, 0.35);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 36px rgba(255, 107, 44, 0.3);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  z-index: 2;
}

.project-card.featured-cta-card:hover .cta-icon-glow {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 0 48px rgba(255, 107, 44, 0.5);
}

.cta-btn-wrapper {
  color: var(--accent-orange);
}

.project-card.featured-cta-card:hover .cta-btn-wrapper {
  color: var(--accent-orange-hover);
}

.project-card.featured-cta-card:hover .cta-btn-wrapper .btn-arrow {
  transform: translateX(6px);
}

@media (max-width: 768px) {
  .featured-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .projects-carousel-track > .project-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }
}

.project-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: clamp(2rem, 3vw, 2.75rem);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Featured Project Cards with Visual / Thumbnail */
.project-card.featured-card {
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
}

.project-thumb {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  background: #0d0e14;
}

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

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

.project-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 8, 0.1) 0%, rgba(6, 6, 8, 0.45) 100%);
  pointer-events: none;
  z-index: 2;
}

.thumb-badge {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
  background: rgba(8, 8, 12, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 3;
}

.project-card.featured-card .project-inner {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.project-card.featured-card .project-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.project-card.featured-card .project-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.project-card.featured-card .project-tags {
  margin-bottom: 1.5rem;
}

.project-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-orange);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.project-card:hover .project-link {
  color: var(--accent-orange);
}

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

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.project-category {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-orange);
  letter-spacing: 0.08em;
}

.project-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
}

.project-title {
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.project-desc {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.project-metrics {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.metric-pill {
  background: rgba(255, 107, 44, 0.08);
  border: 1px solid rgba(255, 107, 44, 0.2);
  border-radius: 12px;
  padding: 0.55rem 0.95rem;
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-orange);
}

.metric-txt {
  font-size: 0.725rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.project-tags span {
  font-size: 0.775rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.project-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.project-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.project-link:hover {
  color: var(--accent-orange);
}

.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-orange);
  background: rgba(255, 107, 44, 0.1);
  border: 1px solid rgba(255, 107, 44, 0.3);
  padding: 0.38rem 0.85rem;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-demo:hover {
  background: var(--accent-orange);
  color: #ffffff;
  border-color: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 107, 44, 0.35);
}

.projects-cta {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}

.projects-cta .btn-secondary {
  font-size: 1rem;
  padding: 0.95rem 2.25rem;
  border-radius: 9999px;
  text-decoration: none;
}

/* ==========================================================================
   PROFESSIONAL EXPERIENCE SECTION
   ========================================================================== */
.experience-section {
  padding: 7rem 0;
  position: relative;
}

.timeline-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.timeline-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: clamp(2rem, 3.5vw, 3rem);
  transition: var(--transition-smooth);
}

.timeline-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

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

.timeline-role {
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.timeline-company {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-orange);
}

.timeline-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.timeline-location {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.timeline-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  margin-bottom: 1.75rem;
}

.timeline-points li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

.timeline-points li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-orange);
  font-size: 0.9rem;
}

.timeline-points strong {
  color: var(--text-primary);
}

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

.timeline-skills span {
  font-size: 0.775rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   SKILLS & CORE COMPETENCIES
   ========================================================================== */
.skills-section {
  padding: 7rem 0;
  position: relative;
}

.skills-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.75rem, 2.5vw, 2.5rem);
}

.skill-category-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: clamp(2rem, 3vw, 2.75rem);
  transition: var(--transition-smooth);
}

.skill-category-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.skill-category-card.highlight {
  background: rgba(255, 107, 44, 0.04);
  border-color: var(--border-orange);
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.skill-icon-badge {
  font-size: 1.6rem;
}

.skill-category-title {
  font-size: 1.4rem;
  font-weight: 700;
}

.skill-category-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.55;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.skill-tag {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.skill-tag:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.skill-tag.accent {
  background: rgba(255, 107, 44, 0.1);
  border-color: rgba(255, 107, 44, 0.25);
  color: #ffaa80;
}

.skill-tag.accent:hover {
  background: rgba(255, 107, 44, 0.2);
  color: #ffffff;
}

/* ==========================================================================
   EDUCATION & CERTIFICATIONS
   ========================================================================== */
.credentials-section {
  padding: 7rem 0;
  position: relative;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 3.5vw, 3.5rem);
}

.credential-cards {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.cred-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1.65rem;
  transition: var(--transition-smooth);
}

.cred-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.cred-card.highlight-card {
  border-color: var(--border-orange);
  background: rgba(255, 107, 44, 0.04);
}

.cred-badge-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cred-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.cred-org {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--accent-orange);
  margin-bottom: 0.25rem;
}

.cred-period {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.cred-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  line-height: 1.45;
}

/* ==========================================================================
   CONTACT / FINAL CTA SECTION
   ========================================================================== */
.contact-section {
  padding: 7rem 0 9rem 0;
  position: relative;
}

.contact-card {
  position: relative;
  background: radial-gradient(circle at 50% 0%, #1c1d28 0%, #0d0e14 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 36px;
  padding: clamp(4rem, 6vw, 6rem) clamp(2rem, 4vw, 4.5rem);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
}

.contact-bg-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-orange-glow) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.contact-content {
  position: relative;
  z-index: 5;
  max-width: 1040px;
  margin: 0 auto;
}

.contact-heading {
  font-size: clamp(1.85rem, 2.9vw, 2.65rem);
  font-weight: 800;
  margin: 1.25rem 0 0.5rem 0;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .contact-heading {
    white-space: normal;
  }
}

.contact-subheading {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 500;
  color: var(--accent-orange);
  margin-bottom: 1.25rem;
}

.contact-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 2.75rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.contact-btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.contact-info-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
  flex: 0 0 auto;
}

.info-label {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.info-val {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-word;
}

.info-val:hover {
  color: var(--accent-orange);
}

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

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  gap: 2.25rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.footer-back-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1.25rem;
  transition: var(--transition-smooth);
}

.footer-back-to-top:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }
  .about-showcase-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-right {
    justify-content: flex-start;
  }
  .hero-pitch-card {
    max-width: 100%;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .about-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .skills-bento-grid {
    grid-template-columns: 1fr;
  }
  .credentials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu, .btn-connect {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .hero-pillars-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .about-showcase-grid {
    grid-template-columns: 1fr;
  }
  .featured-projects-grid {
    grid-template-columns: 1fr;
  }
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 3rem 1.5rem;
  }
  .contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

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