/* ====================================================
   IBTISAM ADNAN — PORTFOLIO  |  style.css
   Premium Dark Navy-Blue Theme
   ==================================================== */

/* ---- FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&family=Caveat:wght@600;700&display=swap');

/* ---- DESIGN TOKENS ---- */
:root {
  /* Backgrounds — Deep cosmic midnight navy */
  --bg-primary:    #020817;
  --bg-secondary:  #030d24;
  --bg-card:       rgba(5, 20, 52, 0.78);
  --bg-card-hover: rgba(7, 28, 70, 0.9);

  /* Accents — Electric blue & neon luminous cyan */
  --accent-blue:        #087BFF;
  --accent-blue-light:  #168BFF;
  --accent-cyan:        #38BDF8;
  --accent-cyan-bright: #67E8F9;

  /* Text — High contrast & legibility */
  --text-primary:   #FFFFFF;
  --text-secondary: #CBD5E1;
  --text-muted:     #8FA3BE;

  /* Borders & Glows — Crisp & Prominent */
  --border-color: rgba(56, 189, 248, 0.32);
  --border-hover: rgba(56, 189, 248, 0.85);
  --glow-color:   rgba(8, 123, 255, 0.35);
  --glow-strong:  rgba(56, 189, 248, 0.65);
  --glow-cyan:    rgba(56, 189, 248, 0.5);

  /* Fonts */
  --font-heading: "Manrope", sans-serif;
  --font-body:    "DM Sans", sans-serif;

  /* Layout */
  --container-width: 1160px;
  --section-spacing: 88px;
  --card-radius:     16px;
  --nav-height:      68px;

  /* Easing */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
em { font-style: normal; color: var(--accent-cyan); }
strong { font-weight: 700; color: var(--text-primary); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---- PRELOADER & LOADING SCREEN ---- */
body.is-loading {
  overflow: hidden !important;
}

.preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 999999;
  background-color: #020817;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader.preloader--done {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  pointer-events: none;
}

/* Background Atmosphere Matching Website */
.preloader__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.preloader__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
}

.preloader__glow--left {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(8, 123, 255, 0.35) 0%, rgba(56, 189, 248, 0.18) 45%, transparent 70%);
  top: -100px;
  left: -150px;
}

.preloader__glow--right {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, rgba(8, 123, 255, 0.18) 45%, transparent 70%);
  top: 80px;
  right: -100px;
}

.preloader__glow--center {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(8, 123, 255, 0.22) 0%, rgba(56, 189, 248, 0.1) 40%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
}

/* Center Stage Nexus Portal — Perfectly Circular Core */
.preloader__portal {
  position: relative;
  z-index: 2;
  width: clamp(340px, 86vw, 440px);
  height: clamp(340px, 86vw, 440px);
  max-width: 90vw;
  max-height: 90vw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, rgba(6, 26, 68, 0.88) 0%, rgba(3, 14, 42, 0.94) 65%, rgba(2, 8, 23, 0.98) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  box-shadow:
    0 0 50px -5px rgba(8, 123, 255, 0.5),
    0 0 85px rgba(56, 189, 248, 0.25),
    inset 0 0 45px rgba(8, 123, 255, 0.28),
    inset 0 1px 2px rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin: auto;
}

/* 3D Luminous Orbital Rings around Circle */
.preloader__aura {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.24) 0%, rgba(8, 123, 255, 0.14) 50%, transparent 70%);
  filter: blur(25px);
  pointer-events: none;
  animation: preloaderAuraPulse 3s ease-in-out infinite alternate;
}

.preloader__orbit {
  position: absolute;
  border-radius: 50%;
  box-sizing: border-box;
  pointer-events: none;
}

.preloader__orbit--inner {
  inset: 12px;
  border: 1px dashed rgba(56, 189, 248, 0.2);
}

.preloader__orbit--mid {
  inset: -6px;
  border: 1px solid rgba(8, 123, 255, 0.4);
  border-left-color: var(--accent-cyan);
  border-right-color: var(--accent-cyan-bright);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
  animation: preloaderSpinRev 16s linear infinite;
}

.preloader__orbit--outer {
  inset: -15px;
  border: 1.5px dashed rgba(56, 189, 248, 0.38);
  animation: preloaderSpin 24s linear infinite;
}

@keyframes preloaderSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes preloaderSpinRev {
  from { transform: rotate(360deg); }
  to { transform: rotate(-360deg); }
}

@keyframes preloaderAuraPulse {
  0% { transform: scale(0.92); opacity: 0.6; }
  100% { transform: scale(1.08); opacity: 1; }
}

/* Content Container Inside the Circle */
.preloader__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 24px 20px;
  box-sizing: border-box;
}

/* IA Brand Logo */
.preloader__brand {
  font-family: var(--font-heading);
  font-size: clamp(48px, 9.5vw, 66px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: baseline;
  text-shadow:
    0 4px 24px rgba(8, 123, 255, 0.65),
    0 0 45px rgba(56, 189, 248, 0.35);
}

.preloader__brand span {
  color: var(--accent-cyan);
  text-shadow:
    0 0 18px var(--accent-cyan),
    0 0 38px rgba(56, 189, 248, 0.8),
    0 0 60px rgba(8, 123, 255, 0.7);
}

/* Name */
.preloader__name {
  font-family: var(--font-heading);
  font-size: clamp(13.5px, 2.6vw, 16.5px);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 12px 0;
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

/* Status Indicator */
.preloader__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 14px;
  background: rgba(8, 123, 255, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 9999px;
  box-shadow:
    0 2px 14px rgba(8, 123, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.preloader__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan-bright);
  box-shadow: 0 0 8px var(--accent-cyan-bright);
  animation: preloaderDotGlow 1.6s infinite ease-in-out;
}

@keyframes preloaderDotGlow {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.35); opacity: 1; }
}

.preloader__dots {
  display: inline-flex;
}

.preloader__dots span {
  animation: preloaderDotPulse 1.4s infinite ease-in-out;
  opacity: 0.2;
}

.preloader__dots span:nth-child(1) { animation-delay: 0s; }
.preloader__dots span:nth-child(2) { animation-delay: 0.25s; }
.preloader__dots span:nth-child(3) { animation-delay: 0.5s; }

/* Track & Bar Inside Circle */
.preloader__track-wrap {
  width: 64%;
  margin: 0 auto;
}

.preloader__track {
  width: 100%;
  height: 6px;
  background: rgba(4, 16, 44, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.38);
  border-radius: 9999px;
  box-shadow:
    0 0 18px rgba(8, 123, 255, 0.3),
    inset 0 1px 2px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: visible;
  padding: 1px;
}

.preloader__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #087BFF 0%, #38BDF8 60%, #67E8F9 100%);
  border-radius: 9999px;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.95);
  position: relative;
  transition: width 0.12s ease-out;
}

.preloader__head {
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 10px #67E8F9, 0 0 16px #087BFF;
}

/* Percentage Inside Circle */
.preloader__percent {
  font-family: var(--font-heading);
  font-size: clamp(22px, 4.4vw, 30px);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  margin-top: 10px;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.7);
  font-variant-numeric: tabular-nums;
}

/* ---- ATMOSPHERIC THEME BACKGROUND ---- */
.theme-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* 3D Atmospheric Depth Canvas */
.theme-3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* Ambient Glow Orbs */
.theme-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
}
.theme-glow--hero-left {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(8, 123, 255, 0.32) 0%, rgba(56, 189, 248, 0.15) 45%, transparent 70%);
  top: -120px;
  left: -160px;
}
.theme-glow--hero-right {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(8, 123, 255, 0.16) 45%, transparent 70%);
  top: 60px;
  right: -120px;
}
.theme-glow--mid-left {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(8, 123, 255, 0.22) 0%, transparent 70%);
  top: 42%;
  left: -140px;
}
.theme-glow--mid-right {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
  top: 62%;
  right: -120px;
}
.theme-glow--bottom {
  width: 750px;
  height: 550px;
  background: radial-gradient(circle, rgba(8, 123, 255, 0.25) 0%, rgba(56, 189, 248, 0.1) 50%, transparent 70%);
  bottom: -150px;
  left: 25%;
}

/* Tech Dot Matrix Patterns */
.theme-dots {
  position: absolute;
  width: 140px;
  height: 100px;
  background-image: radial-gradient(rgba(56, 189, 248, 0.4) 1.5px, transparent 1.5px);
  background-size: 15px 15px;
  pointer-events: none;
  opacity: 0.7;
}
.theme-dots--tl { top: 96px; left: 32px; }
.theme-dots--tr { top: 120px; right: 40px; }
.theme-dots--ml { top: 48%; left: 24px; }
.theme-dots--br { bottom: 80px; right: 36px; }

/* Fluid 3D Glowing Wave Ribbons (SVG) */
.theme-ribbon {
  position: absolute;
  pointer-events: none;
  height: 100vh;
  width: 480px;
  max-width: 50vw;
  top: 0;
}
.theme-ribbon--left { left: 0; }
.theme-ribbon--right { right: 0; }

/* ---- SCROLL PROGRESS ---- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}

/* ---- SECTION COMMON ---- */
.section {
  padding-block: var(--section-spacing);
  position: relative;
  z-index: 1;
  perspective: 1200px;
}

.section-head {
  margin-bottom: 3rem;
  position: relative;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(8, 123, 255, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.38);
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(8, 123, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan-bright);
  box-shadow: 0 0 8px var(--accent-cyan-bright);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4.2vw, 42px);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.section-title em {
  font-style: normal;
  color: var(--accent-cyan);
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.45);
}

.section-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 0.75rem;
}

/* ---- BUTTONS (3D Tactile Elevation) ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #087BFF 0%, #0056CC 100%);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 8px 24px -4px rgba(8, 123, 255, 0.65),
    0 2px 6px rgba(0, 3, 14, 0.6),
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 -2px 4px rgba(0, 30, 90, 0.5);
  transform: translateZ(10px);
  transition: box-shadow 0.25s, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s;
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 14px 34px -4px rgba(8, 123, 255, 0.85),
    0 0 24px rgba(56, 189, 248, 0.6),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
  filter: brightness(1.15);
}
.btn-primary:active {
  transform: translateY(1.5px) scale(0.98);
  box-shadow:
    0 3px 12px rgba(8, 123, 255, 0.5),
    inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 9999px;
  box-shadow:
    0 6px 20px -4px rgba(0, 3, 14, 0.7),
    0 0 16px rgba(56, 189, 248, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.22),
    inset 0 -1px 2px rgba(0, 0, 0, 0.4);
  transform: translateZ(10px);
  transition: border-color 0.25s, background 0.25s, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: var(--accent-cyan-bright);
  background: rgba(56, 189, 248, 0.18);
  box-shadow:
    0 12px 30px -4px rgba(8, 123, 255, 0.45),
    0 0 26px rgba(56, 189, 248, 0.45),
    inset 0 1px 2px rgba(255, 255, 255, 0.35);
  transform: translateY(-3px) scale(1.02);
}
.btn-ghost:active {
  transform: translateY(1.5px) scale(0.98);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.6),
    inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ====================================================
   HEADER / NAV
   ==================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(2, 8, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.16);
  transition: background 0.3s, border-color 0.3s;
}
.header.scrolled {
  background: rgba(2, 8, 23, 0.96);
  border-color: rgba(56, 189, 248, 0.28);
  box-shadow: 0 10px 30px rgba(0, 3, 14, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo / Brand */
.nav__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.25s, transform 0.25s, text-shadow 0.25s;
}
.nav__brand:hover {
  color: var(--accent-cyan);
  transform: translateY(-1px);
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
}
.nav__brand span {
  color: var(--accent-cyan);
  text-shadow: 0 0 12px var(--accent-cyan);
}

/* Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav__link {
  padding: 6px 14px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 9999px;
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}
.nav__link:hover {
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
}
.nav__link.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--accent-blue) 0%, #168BFF 100%);
  box-shadow: 0 0 16px rgba(8, 123, 255, 0.65);
}

/* CTA */
.nav__cta {
  flex-shrink: 0;
  padding: 8px 20px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-blue) 0%, #0056CC 100%);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(8, 123, 255, 0.45);
  transition: box-shadow 0.25s, transform 0.2s, filter 0.2s;
}
.nav__cta:hover {
  filter: brightness(1.15);
  box-shadow: 0 6px 22px rgba(8, 123, 255, 0.7);
  transform: translateY(-1px);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  width: 40px;
  height: 40px;
  background: rgba(8, 123, 255, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 9px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  margin-left: auto;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.nav__hamburger:hover,
.nav__hamburger:focus-visible {
  border-color: var(--accent-cyan);
  background: rgba(8, 123, 255, 0.2);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
}
.nav__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s, background 0.2s;
  pointer-events: none;
}
.nav__hamburger.open {
  border-color: var(--accent-cyan-bright);
  background: rgba(8, 123, 255, 0.22);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
}
.nav__hamburger.open span {
  background: var(--accent-cyan-bright);
}
.nav__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Dropdown Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  width: 100%;
  max-height: calc(100vh - var(--nav-height));
  background: rgba(2, 8, 23, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1.5px solid rgba(56, 189, 248, 0.35);
  box-shadow:
    0 24px 48px rgba(0, 3, 14, 0.95),
    0 0 32px rgba(8, 123, 255, 0.2);
  padding: 16px 0 24px;
  z-index: 899;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}
.mobile-menu__container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu__link:hover,
.mobile-menu__link:active {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.25);
  transform: translateX(4px);
}
.mobile-menu__link.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(8, 123, 255, 0.3) 0%, rgba(56, 189, 248, 0.15) 100%);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 16px rgba(8, 123, 255, 0.3);
}
.mobile-menu__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-blue) 0%, #0056CC 100%);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px rgba(8, 123, 255, 0.5);
  text-align: center;
  margin-top: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu__cta:hover,
.mobile-menu__cta:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(8, 123, 255, 0.7);
}

/* ====================================================
   HERO
   ==================================================== */
.hero {
  position: relative;
  background: var(--bg-primary);
  padding-top: calc(var(--nav-height) + 72px);
  padding-bottom: 0;
  overflow: hidden;
  perspective: 1200px;
}

/* Hero Skyline Tech Blueprint Backdrop (Replaces grid lines behind photo) */
.hero__skyline-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  width: 64vw;
  max-width: 1040px;
  min-width: 520px;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero__skyline-ambient {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: 8%;
  top: 48%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(8, 123, 255, 0.35) 0%, rgba(56, 189, 248, 0.16) 45%, transparent 72%);
  filter: blur(65px);
  pointer-events: none;
  z-index: 1;
}

.hero__skyline-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.78;
  filter: saturate(1.15) contrast(1.1) brightness(0.94);
  transform: scale(1.02);
  transition: opacity 0.5s var(--ease), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s var(--ease);
}

.hero:hover .hero__skyline-img {
  opacity: 0.92;
  filter: saturate(1.22) contrast(1.12) brightness(1);
  transform: scale(1.04);
}

.hero__skyline-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    /* Deep fade on the left: blends into solid theme navy (#020817) so hero text has 100% crisp contrast */
    linear-gradient(to right, #020817 0%, rgba(2, 8, 23, 0.94) 16%, rgba(2, 8, 23, 0.42) 52%, rgba(2, 8, 23, 0.6) 100%),
    /* Top edge fade into navbar */
    linear-gradient(to bottom, #020817 0%, transparent 18%, transparent 78%, #020817 100%),
    /* Bottom edge fade into stats cards */
    linear-gradient(to top, #020817 0%, transparent 22%);
  pointer-events: none;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero__orb--1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(8, 123, 255, 0.22) 0%, transparent 70%);
  top: -120px;
  left: -140px;
}
.hero__orb--2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(66, 184, 255, 0.14) 0%, transparent 70%);
  top: 60px;
  right: -60px;
}

/* Hero inner */
.hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 1;
  padding-bottom: 20px;
}

/* Left text */
.hero__text { max-width: 600px; }

.hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 18px;
}
.hero__tagline-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero__name {
  font-family: var(--font-heading);
  font-size: clamp(52px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero__name-dot { color: var(--accent-blue); }

.hero__title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.hero__desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

/* Social row */
.hero__social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.hero__social-link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.hero__social-link:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background: rgba(66, 184, 255, 0.07);
}
.hero__social-sep {
  color: var(--border-color);
  font-size: 18px;
  user-select: none;
}
.hero__location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
}

/* Portrait Showcase Frame */
.hero__portrait-wrap {
  position: relative;
  width: 380px;
  max-width: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

/* Portrait Ambient Glow (Soft lighting behind portrait over skyline) */
.hero__portrait-glow {
  position: absolute;
  width: 125%;
  height: 125%;
  top: -12%;
  left: -12%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(8, 123, 255, 0.45) 0%, rgba(56, 189, 248, 0.2) 42%, transparent 70%);
  filter: blur(55px);
  z-index: 0;
  pointer-events: none;
}

.hero__portrait-card {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1.28;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(4, 18, 44, 0.65) 0%, rgba(2, 8, 23, 0.96) 96%);
  border: 1.5px solid rgba(56, 189, 248, 0.38);
  box-shadow:
    0 28px 70px -12px rgba(0, 3, 14, 0.95),
    0 0 35px rgba(8, 123, 255, 0.28),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.25),
    inset 0 -3px 6px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__portrait-card:hover {
  border-color: rgba(56, 189, 248, 0.75);
  box-shadow:
    0 35px 80px -10px rgba(8, 123, 255, 0.45),
    0 0 55px rgba(56, 189, 248, 0.45),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.4);
}

.hero__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: translateZ(28px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__portrait-card:hover .hero__portrait {
  transform: translateZ(36px) scale(1.035);
}

/* Bottom blend gradient so outfit fades seamlessly into the card */
.hero__portrait-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 65%,
    rgba(2, 8, 23, 0.45) 82%,
    rgba(2, 8, 23, 0.96) 100%
  );
  pointer-events: none;
  z-index: 2;
}


/* Stats row */
.hero__stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: rgba(4, 18, 44, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: var(--card-radius);
  box-shadow:
    0 20px 48px -10px rgba(0, 3, 14, 0.85),
    0 0 30px rgba(8, 123, 255, 0.18),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.18),
    inset 0 -2px 4px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  margin-top: -8px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.hero__stats:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow:
    0 26px 56px -8px rgba(0, 3, 14, 0.95),
    0 0 40px rgba(8, 123, 255, 0.28),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.25);
}
.hero__stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 26px;
  transition: background 0.25s, transform 0.2s;
}
.hero__stat:hover {
  background: rgba(56, 189, 248, 0.08);
}
.hero__stat-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: rgba(8, 123, 255, 0.22);
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 11px;
  color: var(--accent-cyan);
  box-shadow: 0 8px 22px rgba(8, 123, 255, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  transform: translateZ(18px);
  transition: transform 0.25s, box-shadow 0.25s;
}
.hero__stat:hover .hero__stat-icon {
  transform: translateZ(26px) scale(1.08);
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.6);
}
.hero__stat-count {
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.hero__stat-num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  white-space: nowrap;
  transform: translateZ(16px);
  display: inline-block;
}
.hero__stat-unit {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-cyan);
}
.hero__stat-label {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}
.hero__stat-divider {
  width: 1px;
  background: var(--border-color);
  flex-shrink: 0;
  align-self: stretch;
}

/* ====================================================
   ABOUT
   ==================================================== */
.about { background: transparent; }

.about__narrative {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 860px;
  margin-bottom: 3rem;
  background: rgba(5, 22, 54, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 16px 42px rgba(0, 3, 14, 0.75), 0 0 24px rgba(8, 123, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  border-radius: var(--card-radius);
  padding: 34px 38px;
}

.about__narrative p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-secondary);
}

.about__narrative strong {
  color: #FFFFFF;
  font-weight: 700;
}

.about__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.about__card {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 26px 24px;
  box-shadow: 0 14px 38px rgba(0, 3, 14, 0.7), 0 0 18px rgba(8, 123, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.about__card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 50px rgba(8, 123, 255, 0.35), inset 0 1px 0 rgba(56, 189, 248, 0.35);
  transform: translateY(-4px);
}
.about__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(8, 123, 255, 0.24);
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 12px;
  color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(8, 123, 255, 0.45);
  margin-bottom: 18px;
}
.about__card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}
.about__card-desc {
  font-size: 13.5px;
  color: #AFC1DA;
  line-height: 1.55;
}

/* ====================================================
   TIMELINE (Experience & Education)
   ==================================================== */
.timeline-section {
  padding-block: var(--section-spacing);
  background: transparent;
}
.timeline-section--alt {
  background: transparent;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 0;
  margin-top: 2.5rem;
}

.timeline__item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0 32px;
  position: relative;
}

.timeline__marker {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 4px;
}

.timeline__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 16px var(--accent-cyan), 0 0 32px rgba(8, 123, 255, 0.85);
  border: 2.5px solid #ffffff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.timeline__dot--hollow {
  background: #020817;
  border: 2.5px solid var(--accent-cyan);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.6);
}

.timeline__line {
  display: block;
  width: 2.5px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-blue) 60%, rgba(8, 123, 255, 0.1) 100%);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
  margin-top: 6px;
}

.timeline__body {
  padding-bottom: 48px;
}

.timeline__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding: 4px 14px;
  background: rgba(8, 123, 255, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.38);
  border-radius: 9999px;
  box-shadow: 0 0 14px rgba(8, 123, 255, 0.22);
}

.timeline__card {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 26px 28px;
  box-shadow: 0 14px 40px rgba(0, 3, 14, 0.75), 0 0 20px rgba(8, 123, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.3s;
}
.timeline__card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 52px rgba(8, 123, 255, 0.35), inset 0 1px 0 rgba(56, 189, 248, 0.35);
  transform: translateX(4px);
}

.timeline__role {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 5px;
}

.timeline__company {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 14px;
}

.timeline__desc p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.75;
}
.timeline__desc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.timeline__desc ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.timeline__desc ul li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ====================================================
   SKILLS
   ==================================================== */
.skills {
  background: transparent;
}

.skills__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.skill-card {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 24px 26px;
  box-shadow: 0 14px 40px rgba(0, 3, 14, 0.75), 0 0 18px rgba(8, 123, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.3s;
}
.skill-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 52px rgba(8, 123, 255, 0.35), inset 0 1px 0 rgba(56, 189, 248, 0.38);
  transform: translateY(-4px);
}
.skill-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.skill-card__name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
}
.skill-card__pct {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-cyan);
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.55);
}
.skill-card__desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: #AFC1DA;
  margin-bottom: 18px;
}

.skill-bar {
  width: 100%;
  height: 8px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 9999px;
  overflow: hidden;
}
.skill-bar__fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
  width: 0%;
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.85);
}

/* ====================================================
   PROJECTS
   ==================================================== */
.projects {
  background: transparent;
}

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

.project-card {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 44px rgba(0, 3, 14, 0.75), 0 0 22px rgba(8, 123, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: border-color 0.3s, transform 0.35s, box-shadow 0.35s;
}
.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(8, 123, 255, 0.35), inset 0 1px 0 rgba(56, 189, 248, 0.35);
}

/* CSS-based mock preview */
.project-card__preview {
  background: rgba(2, 9, 24, 0.9);
  padding: 20px 20px 0;
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
  height: 160px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}
.project-card__mock {
  width: 100%;
  border-radius: 8px 8px 0 0;
  background: var(--bg-card-hover);
  border: 1px solid rgba(66, 184, 255, 0.15);
  border-bottom: none;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.mock-bar {
  display: flex;
  gap: 5px;
  padding: 8px 10px;
  background: rgba(66, 184, 255, 0.06);
  border-bottom: 1px solid rgba(66, 184, 255, 0.1);
  flex-shrink: 0;
}
.mock-bar span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(66, 184, 255, 0.3);
}
.mock-bar span:first-child { background: rgba(255, 99, 99, 0.5); }
.mock-bar span:nth-child(2) { background: rgba(255, 200, 60, 0.5); }

/* MERN mock */
.mock-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}
.mock-sidebar {
  width: 46px;
  background: rgba(8, 123, 255, 0.1);
  border-right: 1px solid rgba(66, 184, 255, 0.1);
  flex-shrink: 0;
}
.mock-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.mock-line {
  height: 6px;
  background: rgba(66, 184, 255, 0.18);
  border-radius: 3px;
  width: 60%;
}
.mock-line--wide { width: 90%; }
.mock-grid {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.mock-grid span {
  flex: 1;
  height: 28px;
  background: rgba(8, 123, 255, 0.12);
  border-radius: 5px;
  border: 1px solid rgba(66, 184, 255, 0.15);
}

/* Calc mock */
.mock-calc {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px;
  gap: 6px;
}
.mock-display {
  background: rgba(8, 123, 255, 0.1);
  border: 1px solid rgba(66, 184, 255, 0.15);
  border-radius: 5px;
  padding: 6px 10px;
  font-family: var(--font-heading);
  font-size: 12px;
  color: var(--accent-cyan);
  text-align: right;
}
.mock-keys {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  flex: 1;
}
.mock-keys span {
  background: rgba(66, 184, 255, 0.1);
  border-radius: 4px;
  border: 1px solid rgba(66, 184, 255, 0.12);
}
.mock-keys span.acc {
  background: rgba(8, 123, 255, 0.3);
  border-color: rgba(8, 123, 255, 0.4);
}

/* Shop mock */
.mock-shop {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mock-hero-strip {
  height: 36px;
  background: linear-gradient(90deg, rgba(8, 123, 255, 0.3), rgba(66, 184, 255, 0.15));
  border-bottom: 1px solid rgba(66, 184, 255, 0.15);
  flex-shrink: 0;
}
.mock-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px;
  flex: 1;
}
.mock-products span {
  background: rgba(66, 184, 255, 0.1);
  border-radius: 5px;
  border: 1px solid rgba(66, 184, 255, 0.12);
}

/* Cinema / Movie Booking mock */
.mock-cinema {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  gap: 10px;
}
.mock-screen {
  height: 8px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 6px 14px rgba(56, 189, 248, 0.45);
  margin-inline: 12px;
}
.mock-seats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  flex: 1;
}
.mock-seats span {
  background: rgba(66, 184, 255, 0.1);
  border: 1px solid rgba(66, 184, 255, 0.16);
  border-radius: 5px 5px 2px 2px;
}
.mock-seats span.booked {
  background: rgba(8, 123, 255, 0.4);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.35);
}

/* Airline Reservation mock */
.mock-airline {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  gap: 8px;
}
.mock-flight-route {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(8, 123, 255, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 6px;
}
.mock-airport {
  width: 24px;
  height: 10px;
  background: var(--accent-cyan);
  border-radius: 3px;
  opacity: 0.85;
}
.mock-flight-path {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(56, 189, 248, 0.6) 0 6px, transparent 6px 10px);
  position: relative;
}
.mock-tickets {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.mock-ticket-row {
  flex: 1;
  background: rgba(66, 184, 255, 0.08);
  border: 1px dashed rgba(66, 184, 255, 0.22);
  border-radius: 5px;
}

/* Laptop Harbor store mock */
.mock-laptop-store {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  gap: 8px;
}
.mock-chips {
  display: flex;
  gap: 5px;
}
.mock-chips span {
  height: 10px;
  width: 36px;
  border-radius: 99px;
  background: rgba(66, 184, 255, 0.15);
  border: 1px solid rgba(66, 184, 255, 0.22);
}
.mock-chips span:first-child {
  background: rgba(8, 123, 255, 0.45);
  border-color: var(--accent-cyan);
}
.mock-laptop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  flex: 1;
}
.mock-laptop-grid span {
  background: linear-gradient(145deg, rgba(8, 123, 255, 0.16), rgba(66, 184, 255, 0.06));
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 6px;
}

/* Card info */
.project-card__info {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.project-num {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}
.project-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.project-tag {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(8, 123, 255, 0.16);
  color: #E0F2FE;
  border: 1px solid rgba(56, 189, 248, 0.35);
}
.project-tag--accent {
  background: rgba(8, 123, 255, 0.28);
  color: var(--accent-cyan-bright);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 10px rgba(8, 123, 255, 0.3);
}
.project-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
}
.project-card__desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 18px;
  flex: 1;
}
.project-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.project-card__tech li {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  background: rgba(8, 123, 255, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 6px;
  color: var(--accent-cyan);
}

/* See More / Pagination States
   - Desktop / Web Browser (> 768px, 2 columns x 3 rows = 6 projects visible initially)
   - Mobile / Single-Column devices (<= 768px, 1 column = 3 projects visible initially) */
.project-card.is-hidden-project {
  display: none !important;
}
@media (min-width: 769px) {
  .projects__grid:not(.is-expanded) > .project-card:nth-child(n+7) {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .projects__grid:not(.is-expanded) > .project-card:nth-child(n+4) {
    display: none !important;
  }
}
@keyframes projectRevealFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.project-card.is-revealed-project {
  animation: projectRevealFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.projects__more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.projects__more-wrap[hidden] {
  display: none !important;
}
.projects__more-btn {
  cursor: pointer;
  padding: 12px 32px;
  font-size: 14px;
  gap: 10px;
}
.projects__more-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.projects__more-btn[aria-expanded="true"] .projects__more-icon {
  transform: rotate(180deg);
}

/* ====================================================
   CONTACT
   ==================================================== */
.contact {
  background: transparent;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 760px;
}

.contact__card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 24px 26px;
  box-shadow: 0 14px 40px rgba(0, 3, 14, 0.75), 0 0 20px rgba(8, 123, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.contact__card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 52px rgba(8, 123, 255, 0.35), inset 0 1px 0 rgba(56, 189, 248, 0.35);
  transform: translateX(5px);
}
.contact__card--loc { cursor: default; }
.contact__card--loc:hover { transform: none; }

.contact__card-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: rgba(8, 123, 255, 0.24);
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 12px;
  color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(8, 123, 255, 0.45);
  flex-shrink: 0;
}
.contact__card-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}
.contact__card-value {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
}
.contact__card-arrow {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--accent-cyan);
  transition: color 0.2s, transform 0.2s;
}
.contact__card:hover .contact__card-arrow {
  color: var(--accent-cyan-bright);
  transform: translate(3px, -3px);
}

/* ====================================================
   FOOTER
   ==================================================== */
.footer {
  background: linear-gradient(180deg, rgba(3, 10, 26, 0.92) 0%, rgba(2, 6, 18, 0.98) 100%);
  border-top: 1px solid rgba(56, 189, 248, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-block: 48px 32px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, 85%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8, 123, 255, 0.6), var(--accent-cyan), rgba(8, 123, 255, 0.6), transparent);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-bottom: 28px;
}

.footer__brand {
  justify-self: start;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  transition: color 0.25s, transform 0.25s, text-shadow 0.25s;
}
.footer__brand:hover {
  color: var(--accent-cyan);
  transform: translateY(-2px);
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
}
.footer__brand span {
  color: var(--accent-cyan);
  text-shadow: 0 0 12px var(--accent-cyan);
}

.footer__nav {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(3, 13, 36, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 9999px;
  box-shadow:
    0 12px 32px -4px rgba(0, 3, 14, 0.75),
    0 0 20px rgba(8, 123, 255, 0.12),
    inset 0 1px 1px rgba(255, 255, 255, 0.12);
}
.footer__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #CBD5E1;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(8, 123, 255, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.18);
  box-shadow:
    0 2px 6px rgba(0, 3, 14, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    color 0.25s var(--ease),
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s var(--ease);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.footer__link:hover {
  color: #FFFFFF;
  background: linear-gradient(135deg, rgba(8, 123, 255, 0.38) 0%, rgba(56, 189, 248, 0.22) 100%);
  border-color: rgba(56, 189, 248, 0.55);
  transform: translateY(-2px);
  box-shadow:
    0 6px 18px rgba(8, 123, 255, 0.45),
    0 0 14px rgba(56, 189, 248, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
}
.footer__link:active {
  transform: translateY(1px) scale(0.97);
  background: linear-gradient(135deg, var(--accent-blue) 0%, #168BFF 100%);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    0 2px 6px rgba(8, 123, 255, 0.5),
    inset 0 2px 4px rgba(0, 0, 0, 0.35);
}
.footer__link:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

.footer__social {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__social-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(8, 123, 255, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.24);
  color: var(--text-secondary);
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.footer__social-link:hover {
  color: #FFFFFF;
  border-color: var(--accent-cyan);
  background: rgba(8, 123, 255, 0.25);
  box-shadow: 0 6px 18px rgba(8, 123, 255, 0.4);
  transform: translateY(-3px);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(56, 189, 248, 0.12);
  flex-wrap: wrap;
  gap: 14px;
}
.footer__copy {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.footer__made {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(8, 123, 255, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.22);
}
.footer__made::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan-bright);
  box-shadow: 0 0 8px var(--accent-cyan-bright);
}

/* ====================================================
   BACK TO TOP
   ==================================================== */
.back-to-top {
  position: fixed;
  bottom: 88px;
  right: 28px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--accent-blue);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(8, 123, 255, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 700;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(8, 123, 255, 0.55);
}

/* ====================================================
   PORTFOLIO AI CHATBOT WIDGET
   ==================================================== */
.chatbot {
  position: relative;
  z-index: 9999;
}

/* Floating Launcher Button (Circular Logo Only) */
.chatbot__launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6, 20, 48, 0.94) 0%, rgba(3, 11, 28, 0.98) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(56, 189, 248, 0.5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 12px 32px rgba(0, 4, 18, 0.85),
    0 0 22px rgba(8, 123, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.92);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-color 0.25s, background 0.3s;
}
.chatbot__launcher.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.chatbot__launcher.visible:hover {
  transform: translateY(-3px) scale(1.06);
  border-color: var(--accent-cyan-bright);
  box-shadow:
    0 16px 38px rgba(0, 4, 18, 0.9),
    0 0 30px rgba(56, 189, 248, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.chatbot__launcher-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-cyan);
  opacity: 0.55;
  animation: launcherPulse 2.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}
@keyframes launcherPulse {
  0% { transform: scale(0.96); opacity: 0.75; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(0.96); opacity: 0; }
}

.chatbot__launcher-icon {
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.chatbot__launcher-icon--chat {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #087bff 0%, #38bdf8 100%);
  box-shadow:
    0 0 14px rgba(56, 189, 248, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #ffffff;
  flex-shrink: 0;
}
.chatbot__launcher.visible:hover .chatbot__launcher-icon--chat svg {
  transform: rotate(12deg) scale(1.08);
  transition: transform 0.3s var(--ease);
}
.chatbot__launcher-icon--close {
  display: none;
}
.chatbot__launcher[aria-expanded="true"] {
  width: 50px;
  height: 50px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
  background: rgba(6, 22, 56, 0.96);
  border-color: rgba(56, 189, 248, 0.6);
}
.chatbot__launcher[aria-expanded="true"] .chatbot__launcher-icon--chat,
.chatbot__launcher[aria-expanded="true"] .chatbot__launcher-badge {
  display: none;
}
.chatbot__launcher[aria-expanded="true"] .chatbot__launcher-icon--close {
  display: grid;
}
.chatbot__launcher-badge {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #04112b;
  box-shadow: 0 0 8px #22c55e;
}

/* Chatbot Panel Modal */
.chatbot__panel {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 490px;
  max-height: calc(100vh - var(--nav-height) - 40px);
  min-height: 360px;
  background: rgba(3, 13, 36, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(56, 189, 248, 0.38);
  border-radius: 20px;
  box-shadow:
    0 24px 60px rgba(0, 3, 14, 0.95),
    0 0 45px rgba(8, 123, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10000;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.chatbot__panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Header */
.chatbot__header {
  padding: 14px 18px;
  background: rgba(5, 20, 52, 0.85);
  border-bottom: 1px solid rgba(56, 189, 248, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.chatbot__header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chatbot__avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(8, 123, 255, 0.22);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: var(--accent-cyan);
  display: grid;
  place-items: center;
  box-shadow: 0 0 14px rgba(8, 123, 255, 0.35);
}
.chatbot__avatar-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #030d24;
  box-shadow: 0 0 6px #22c55e;
}
.chatbot__name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}
.chatbot__status {
  font-size: 11px;
  color: var(--accent-cyan);
  letter-spacing: 0.02em;
}
.chatbot__header-actions {
  display: flex;
  gap: 6px;
}
.chatbot__btn-tool {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.chatbot__btn-tool:hover {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.15);
}

/* Chat Messages Stream */
.chatbot__body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.chatbot__body::-webkit-scrollbar {
  width: 5px;
}
.chatbot__body::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.3);
  border-radius: 9999px;
}

/* Message Bubbles */
.chatbot__msg {
  display: flex;
  flex-direction: column;
  max-width: 86%;
  animation: msgFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes msgFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.chatbot__msg--bot {
  align-self: flex-start;
}
.chatbot__msg--bot .chatbot__bubble {
  background: rgba(5, 24, 60, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.26);
  border-radius: 16px 16px 16px 4px;
  color: #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 3, 14, 0.5);
}

.chatbot__msg--user {
  align-self: flex-end;
}
.chatbot__msg--user .chatbot__bubble {
  background: linear-gradient(135deg, #087bff 0%, #0056b3 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 16px 16px 4px 16px;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(8, 123, 255, 0.35);
}

.chatbot__bubble {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.6;
  word-break: break-word;
}
.chatbot__bubble p + p {
  margin-top: 8px;
}
.chatbot__bubble ul {
  margin: 6px 0 6px 16px;
  list-style: disc;
}
.chatbot__bubble li {
  margin-bottom: 3px;
}
.chatbot__bubble strong {
  color: #ffffff;
  font-weight: 700;
}
.chat-link {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s;
}
.chat-link:hover {
  color: var(--accent-cyan-bright);
}

/* Typing Indicator */
.chatbot__typing {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  background: rgba(5, 24, 60, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 16px 16px 16px 4px;
  width: fit-content;
}
.chatbot__typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: typingDot 1.3s infinite ease-in-out;
}
.chatbot__typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot__typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40% { transform: scale(1.15); opacity: 1; }
}

/* Quick Suggestion Chips */
.chatbot__chips-wrap {
  padding: 6px 14px 10px;
  border-top: 1px solid rgba(56, 189, 248, 0.12);
  background: rgba(3, 11, 28, 0.85);
  flex-shrink: 0;
}
.chatbot__chips-title {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.chatbot__chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.chatbot__chips::-webkit-scrollbar {
  height: 3px;
}
.chatbot__chips::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.2);
}
.chatbot__chip {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 9999px;
  background: rgba(8, 123, 255, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.chatbot__chip:hover {
  background: rgba(8, 123, 255, 0.32);
  border-color: var(--accent-cyan);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Input Form */
.chatbot__form {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(5, 20, 52, 0.95);
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  flex-shrink: 0;
}
.chatbot__input {
  flex: 1;
  background: rgba(2, 9, 24, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 10px;
  padding: 9px 12px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.chatbot__input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}
.chatbot__input::placeholder {
  color: rgba(143, 163, 190, 0.65);
  font-size: 12.5px;
}
.chatbot__submit {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-blue);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 12px rgba(8, 123, 255, 0.4);
  transition: transform 0.2s, background 0.2s;
  flex-shrink: 0;
}
.chatbot__submit:hover {
  background: #1a88ff;
  transform: scale(1.05);
}

.chatbot__disclaimer {
  padding: 4px 14px 6px;
  font-size: 9.5px;
  color: rgba(143, 163, 190, 0.7);
  text-align: center;
  background: rgba(5, 20, 52, 0.95);
  letter-spacing: 0.02em;
}

@media (max-width: 480px) {
  .chatbot__panel {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 74px;
    height: 470px;
    max-height: calc(100vh - var(--nav-height) - 30px);
  }
  .chatbot__launcher {
    bottom: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    padding: 0;
  }
  .back-to-top {
    bottom: 74px;
    right: 18px;
  }
}

/* ====================================================
   3D CARD ENGINE, PERSPECTIVE & SPECULAR GLARE
   ==================================================== */
.project-card,
.about__card,
.skill-card,
.timeline__card,
.contact__card,
.about__narrative {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  box-shadow:
    0 14px 34px -8px rgba(0, 3, 14, 0.85),
    0 22px 55px -12px rgba(8, 123, 255, 0.22),
    0 0 1px 1px rgba(56, 189, 248, 0.22),
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -2px 3px 0 rgba(0, 0, 0, 0.45);
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.project-card:hover,
.about__card:hover,
.skill-card:hover,
.timeline__card:hover,
.contact__card:hover {
  border-color: var(--border-hover);
  box-shadow:
    0 26px 65px -10px rgba(0, 3, 14, 0.95),
    0 35px 80px -15px rgba(8, 123, 255, 0.48),
    0 0 34px rgba(56, 189, 248, 0.35),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 4px 0 rgba(0, 0, 0, 0.55);
}

/* Dynamic 3D Holographic Specular Glare Sheen */
.project-card::after,
.about__card::after,
.skill-card::after,
.timeline__card::after,
.contact__card::after,
.hero__portrait-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle 340px at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(103, 232, 249, var(--glare-opacity, 0)) 0%,
    rgba(56, 189, 248, calc(var(--glare-opacity, 0) * 0.45)) 35%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 6;
  opacity: 1;
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
}

/* 3D Floating Child Depths */
.project-card__preview {
  transform: translateZ(18px);
  transform-style: preserve-3d;
}
.project-card__mock {
  transform: translateZ(26px);
  transform-style: preserve-3d;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover .project-card__mock {
  transform: translateZ(34px) scale(1.01);
}
.project-card__content {
  transform: translateZ(20px);
  transform-style: preserve-3d;
}
.project-card__num {
  transform: translateZ(24px);
  display: inline-block;
}
.project-card__title {
  transform: translateZ(30px);
}
.project-card__desc {
  transform: translateZ(16px);
}
.project-card__tech {
  transform: translateZ(26px);
  transform-style: preserve-3d;
}
.project-card__tech li {
  transform: translateZ(14px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}
.project-card__tech li:hover {
  transform: translateZ(22px) translateY(-2px);
  box-shadow: 0 6px 16px rgba(8, 123, 255, 0.4);
}

.about__card-icon {
  transform: translateZ(28px);
  box-shadow: 0 12px 28px rgba(8, 123, 255, 0.5), inset 0 1.5px 1px rgba(255, 255, 255, 0.35);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.about__card:hover .about__card-icon {
  transform: translateZ(36px) scale(1.05);
}
.about__card-title {
  transform: translateZ(20px);
}
.about__card-desc {
  transform: translateZ(14px);
}

.skill-card__header {
  transform: translateZ(22px);
}
.skill-card__name {
  transform: translateZ(20px);
}
.skill-card__pct {
  transform: translateZ(22px);
}
.skill-card__desc {
  transform: translateZ(15px);
}
.skill-bar {
  transform: translateZ(18px);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.7), 0 0 12px rgba(56, 189, 248, 0.25);
}

.timeline__role {
  transform: translateZ(22px);
}
.timeline__company {
  transform: translateZ(18px);
}
.timeline__desc {
  transform: translateZ(14px);
}

.contact__card-icon {
  transform: translateZ(28px);
  box-shadow: 0 12px 26px rgba(8, 123, 255, 0.45), inset 0 1.5px 1px rgba(255, 255, 255, 0.35);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact__card:hover .contact__card-icon {
  transform: translateZ(36px) scale(1.06);
}
.contact__card-label {
  transform: translateZ(16px);
}
.contact__card-value {
  transform: translateZ(22px);
}
.contact__card-arrow {
  transform: translateZ(20px);
}

/* ====================================================
   ANIMATIONS
   ==================================================== */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

/* ====================================================
   RESPONSIVE — 1024px (Tablets & iPads)
   ==================================================== */
@media (max-width: 1024px) {
  .about__cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .skills__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__portrait-wrap {
    width: 320px;
  }
  .hero__inner {
    gap: 36px;
  }
  .timeline__item {
    grid-template-columns: 140px 1fr;
  }
}

/* ====================================================
   RESPONSIVE — 768px (Mobile & Small Tablets)
   ==================================================== */
@media (max-width: 768px) {
  :root {
    --section-spacing: 56px;
  }

  .container {
    padding-inline: 20px;
  }

  /* Nav */
  .nav {
    justify-content: space-between;
    width: 100%;
  }
  .nav__links,
  .nav__cta {
    display: none !important;
  }
  .nav__hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: unset;
    padding-top: calc(var(--nav-height) + 32px);
    padding-bottom: 16px;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .hero__text {
    max-width: 100%;
  }
  .hero__tagline {
    justify-content: center;
    font-size: 10.5px;
    letter-spacing: 0.16em;
  }
  .hero__name {
    font-size: clamp(38px, 9vw, 54px);
    line-height: 1.08;
    margin-bottom: 12px;
  }
  .hero__title {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 16px;
  }
  .hero__desc {
    font-size: 14px;
    line-height: 1.75;
    margin-inline: auto;
    margin-bottom: 24px;
    max-width: 540px;
  }
  .hero__actions {
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
  }
  .hero__social {
    justify-content: center;
    gap: 8px;
  }

  .hero__portrait-wrap {
    width: min(280px, 78vw);
    margin-inline: auto;
    order: -1;
  }
  .hero__skyline-backdrop {
    width: 100%;
    max-width: 100%;
    min-width: unset;
    height: 400px;
    top: calc(var(--nav-height) + 10px);
    right: 0;
    left: 0;
    justify-content: center;
  }
  .hero__skyline-img {
    object-position: center;
    opacity: 0.52;
  }
  .hero__skyline-overlay {
    background:
      linear-gradient(to bottom, #020817 0%, transparent 20%, transparent 60%, #020817 100%),
      linear-gradient(to right, #020817 0%, transparent 15%, transparent 85%, #020817 100%);
  }

  /* Hero Stats */
  .hero__stats {
    flex-direction: column;
    border-radius: var(--card-radius);
    margin-top: 14px;
    margin-bottom: 16px;
  }
  .hero__stat {
    padding: 16px 20px;
    gap: 14px;
  }
  .hero__stat-divider {
    width: 100%;
    height: 1px;
  }

  /* About */
  .about__narrative {
    padding: 24px 20px;
    margin-bottom: 2rem;
  }
  .about__narrative p {
    font-size: 14.5px;
    line-height: 1.8;
  }
  .about__cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .about__card {
    padding: 20px 18px;
  }

  /* Timeline */
  .timeline {
    margin-top: 1.75rem;
  }
  .timeline__item {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .timeline__marker {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding-top: 0;
  }
  .timeline__line {
    width: 100%;
    height: 2px;
    min-height: unset;
    margin-top: 0;
    background: linear-gradient(to right, var(--accent-cyan), var(--accent-blue), rgba(8, 123, 255, 0.05));
  }
  .timeline__body {
    padding-bottom: 28px;
  }
  .timeline__card {
    padding: 20px 18px;
  }
  .timeline__role {
    font-size: 16.5px;
  }
  .timeline__desc p,
  .timeline__desc ul li {
    font-size: 13.5px;
    line-height: 1.65;
  }

  /* Skills */
  .skills__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .skill-card {
    padding: 20px 18px;
  }

  /* Projects */
  .projects__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .project-card__preview {
    height: 145px;
    padding: 16px 16px 0;
  }
  .project-card__info {
    padding: 20px 18px;
  }
  .project-card__title {
    font-size: 18px;
  }
  .project-card__desc {
    font-size: 13.5px;
    line-height: 1.65;
  }

  /* Contact */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact__card {
    padding: 18px 18px;
    gap: 14px;
  }
  .contact__card-value {
    font-size: 14px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  /* Footer */
  .footer {
    padding-block: 40px 24px;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
    padding-bottom: 20px;
  }
  .footer__brand,
  .footer__nav,
  .footer__social {
    justify-self: center;
  }
  .footer__nav {
    border-radius: 24px;
    padding: 8px 10px;
    gap: 6px;
  }
  .footer__link {
    font-size: 12.5px;
    padding: 7px 14px;
  }
  .footer__bottom {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  /* 3D Mobile Stability: Keep crisp rendering and avoid touch overflow */
  .project-card,
  .about__card,
  .skill-card,
  .timeline__card,
  .contact__card,
  .about__narrative,
  .hero__portrait-card,
  .hero__stats {
    transform: none !important;
  }
  .project-card__mock,
  .project-card__content,
  .project-card__title,
  .project-card__tech,
  .about__card-icon,
  .contact__card-icon,
  .hero__portrait {
    transform: none !important;
  }
}

/* ====================================================
   RESPONSIVE — 480px (Standard Mobile Phones)
   ==================================================== */
@media (max-width: 480px) {
  :root {
    --section-spacing: 48px;
  }

  .container {
    padding-inline: 16px;
  }

  .section-head {
    margin-bottom: 1.75rem;
  }
  .section-title {
    font-size: clamp(24px, 6.5vw, 30px);
    line-height: 1.2;
  }
  .section-label {
    font-size: 10.5px;
    padding: 4px 12px;
    margin-bottom: 0.6rem;
  }
  .section-sub {
    font-size: 13.5px;
    margin-top: 0.5rem;
  }

  /* Hero */
  .hero {
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 12px;
  }
  .hero__name {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.1;
  }
  .hero__title {
    font-size: 12.5px;
    letter-spacing: 0.01em;
  }
  .hero__desc {
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 20px;
  }
  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 290px;
    margin-inline: auto;
    gap: 10px;
    margin-bottom: 22px;
  }
  .hero__actions .btn-primary,
  .hero__actions .btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 11px 20px;
    font-size: 13.5px;
  }

  .hero__portrait-wrap {
    width: min(240px, 74vw);
  }
  .hero__skyline-backdrop {
    height: 320px;
  }

  /* Hero Stats */
  .hero__stat {
    padding: 13px 16px;
    gap: 12px;
  }
  .hero__stat-icon {
    width: 38px;
    height: 38px;
  }
  .hero__stat-num {
    font-size: 23px;
  }
  .hero__stat-label {
    font-size: 11.5px;
  }

  /* About */
  .about__narrative {
    padding: 18px 16px;
    border-radius: 14px;
    margin-bottom: 1.5rem;
  }
  .about__narrative p {
    font-size: 13.5px;
    line-height: 1.7;
  }
  .about__card {
    padding: 16px 15px;
    border-radius: 12px;
  }
  .about__card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  .about__card-title {
    font-size: 15px;
  }
  .about__card-desc {
    font-size: 12.5px;
  }

  /* Timeline */
  .timeline__card {
    padding: 16px 14px;
    border-radius: 12px;
  }
  .timeline__role {
    font-size: 15.5px;
  }
  .timeline__company {
    font-size: 12px;
    margin-bottom: 8px;
  }
  .timeline__desc p,
  .timeline__desc ul li {
    font-size: 13px;
    line-height: 1.6;
  }

  /* Skills */
  .skill-card {
    padding: 16px 16px;
    border-radius: 12px;
  }
  .skill-card__name {
    font-size: 14.5px;
  }
  .skill-card__pct {
    font-size: 13.5px;
  }
  .skill-card__desc {
    font-size: 12.5px;
    margin-bottom: 12px;
  }
  .skill-bar {
    height: 6px;
  }

  /* Projects */
  .project-card {
    border-radius: 13px;
  }
  .project-card__preview {
    height: 130px;
    padding: 12px 12px 0;
  }
  .project-card__info {
    padding: 16px 14px;
  }
  .project-card__title {
    font-size: 17px;
  }
  .project-card__desc {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 14px;
  }
  .project-card__tech li {
    font-size: 10.5px;
    padding: 3px 8px;
  }
  .projects__more-btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
    padding: 10px 20px;
    font-size: 13px;
  }

  /* Contact */
  .contact__card {
    padding: 14px 14px;
    border-radius: 12px;
    gap: 12px;
  }
  .contact__card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }
  .contact__card-value {
    font-size: 13.5px;
  }

  /* Preloader on Mobile (Circular Portal Fit) */
  .preloader__portal {
    width: clamp(290px, 86vw, 340px);
    height: clamp(290px, 86vw, 340px);
  }
  .preloader__brand {
    font-size: 46px;
    margin-bottom: 4px;
  }
  .preloader__name {
    font-size: 13.5px;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
  }
  .preloader__status {
    font-size: 10px;
    padding: 3px 12px;
    margin-bottom: 10px;
  }
  .preloader__track-wrap {
    width: 66%;
  }
  .preloader__percent {
    font-size: 22px;
    margin-top: 8px;
  }

  /* Footer */
  .footer__brand {
    font-size: 24px;
    padding: 0;
  }
  .footer__nav {
    gap: 6px;
    padding: 8px 8px;
    border-radius: 18px;
  }
  .footer__link {
    font-size: 11.5px;
    padding: 6px 12px;
  }

  /* Chatbot panel on small screens */
  .chatbot__panel {
    right: 8px;
    left: 8px;
    width: auto;
    bottom: 68px;
    height: calc(100vh - var(--nav-height) - 30px);
    max-height: 500px;
    border-radius: 16px;
  }
  .chatbot__launcher {
    bottom: 14px;
    right: 14px;
    width: 46px;
    height: 46px;
    padding: 0;
  }
  .back-to-top {
    bottom: 68px;
    right: 14px;
    width: 38px;
    height: 38px;
  }
}

/* ====================================================
   RESPONSIVE — 360px (Compact & Foldable Phones)
   ==================================================== */
@media (max-width: 360px) {
  .container {
    padding-inline: 12px;
  }
  .hero__name {
    font-size: clamp(28px, 9.5vw, 34px);
  }
  .hero__portrait-wrap {
    width: min(210px, 76vw);
  }
  .hero__social-sep {
    display: none;
  }
  .hero__location {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
    font-size: 12px;
  }
  .hero__stat {
    padding: 12px 12px;
  }
  .hero__stat-num {
    font-size: 21px;
  }
  .section-title {
    font-size: 23px;
  }
  .contact__card {
    padding: 12px 10px;
  }
  .contact__card-icon {
    width: 38px;
    height: 38px;
  }
  .contact__card-value {
    font-size: 12.5px;
  }
  /* Preloader on Compact Screens */
  .preloader__portal {
    width: clamp(255px, 86vw, 285px);
    height: clamp(255px, 86vw, 285px);
  }
  .preloader__orbit--outer {
    inset: -10px;
  }
  .preloader__brand {
    font-size: 38px;
    margin-bottom: 2px;
  }
  .preloader__name {
    font-size: 12px;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
  }
  .preloader__status {
    font-size: 9.5px;
    padding: 2px 10px;
    margin-bottom: 8px;
  }
  .preloader__percent {
    font-size: 18px;
    margin-top: 6px;
  }

  .footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    padding: 6px 6px;
    border-radius: 14px;
  }
  .footer__link {
    padding: 5px 10px;
    font-size: 11px;
  }
}
