/* ============================================
   Rashed — Laravel Developer Portfolio
   ============================================ */

:root {
  --bg: #05070d;
  --bg-elevated: #0c101a;
  --ink: #f3f6ff;
  --ink-soft: #c7d0e4;
  --mist: #121826;
  --paper: #05070d;
  --ember: #ff3b2e;
  --ember-deep: #ff6a3d;
  --teal: #2ee6c7;
  --teal-soft: #5cf0d6;
  --amber: #ffc14d;
  --violet: #7b8cff;
  --slate: #8b95ad;
  --line: rgba(255, 255, 255, 0.09);
  --glass: rgba(255, 255, 255, 0.045);
  --shadow-soft: 0 28px 70px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --nav-h: 76px;
  --font-display: "Outfit", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s var(--ease);
}

/* ---------- Page Loader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: #05070d;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
  width: min(220px, 70vw);
}

.loader-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.loader-logo span {
  color: var(--ember);
}

.loader-bar {
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--ember), var(--teal));
}

/* Split text helpers */
.split-char,
.split-word {
  display: inline-block;
  will-change: transform, opacity;
}

.split-line {
  display: block;
  overflow: hidden;
}

.hero-brand .split-char {
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-brand span .split-char {
  background: linear-gradient(110deg, var(--ember) 0%, #ff7a45 40%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Project shine */
.project-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.18) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}

.project-card:hover .project-thumb::after {
  transform: translateX(120%);
}

/* Skill hover lift glow */
.skill-item {
  position: relative;
  overflow: hidden;
}

.skill-item::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -40%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 230, 199, 0.25), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.skill-item:hover::before {
  opacity: 1;
}

/* ---------- Atmosphere ---------- */
.bg-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(255, 59, 46, 0.28), transparent 55%),
    radial-gradient(820px 480px at 90% 5%, rgba(46, 230, 199, 0.18), transparent 50%),
    radial-gradient(700px 520px at 55% 100%, rgba(123, 140, 255, 0.16), transparent 48%),
    linear-gradient(180deg, #05070d 0%, #070b14 45%, #05070d 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.65;
  animation: orbDrift 16s ease-in-out infinite;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: rgba(255, 45, 32, 0.42);
  top: 6%;
  left: -6%;
}

.orb-2 {
  width: 460px;
  height: 460px;
  background: rgba(0, 180, 166, 0.38);
  top: 40%;
  right: -10%;
  animation-delay: -5s;
}

.orb-3 {
  width: 340px;
  height: 340px;
  background: rgba(255, 176, 32, 0.32);
  bottom: 8%;
  left: 38%;
  animation-delay: -10s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 18%, transparent 72%);
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 25px) scale(0.95); }
}

/* ---------- Nav ---------- */
.site-nav {
  padding: 0.85rem 0;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s;
}

.site-nav.scrolled {
  background: rgba(5, 7, 13, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand-mark span {
  color: var(--ember);
}

.site-nav .nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate) !important;
  padding: 0.5rem 0.9rem !important;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: #fff !important;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
  padding: 0.55rem 1.15rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: #05070d;
  background: #fff;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s;
}

.nav-cta:hover {
  background: var(--ember);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(255, 59, 46, 0.35);
}

.navbar-toggler {
  border: none;
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: none !important;
}

.toggler-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  border: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}

.btn-primary-glow {
  color: #fff;
  background: linear-gradient(135deg, var(--ember) 0%, #ff6a3d 55%, var(--amber) 140%);
  box-shadow: 0 14px 34px rgba(255, 59, 46, 0.4), 0 0 40px rgba(255, 59, 46, 0.2);
  animation: ctaPulse 2.8s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 14px 34px rgba(255, 59, 46, 0.4), 0 0 30px rgba(255, 59, 46, 0.15); }
  50% { box-shadow: 0 16px 40px rgba(255, 59, 46, 0.55), 0 0 50px rgba(255, 59, 46, 0.28); }
}

.btn-primary-glow:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px rgba(255, 45, 32, 0.42);
}

.btn-primary-glow i {
  margin-left: 0.35rem;
}

.btn-glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.magnetic {
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s !important;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--nav-h) + 1.5rem) 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: none;
}

.hero-web {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-spotlight {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(255, 59, 46, 0.28) 0%, rgba(46, 230, 199, 0.14) 38%, transparent 70%);
  transform: translate(-50%, -50%);
  left: 50%;
  top: 40%;
  opacity: 0;
  transition: opacity 0.35s ease;
  mix-blend-mode: screen;
  will-change: left, top;
  filter: blur(8px);
}

.hero:hover .hero-spotlight {
  opacity: 1;
}

/* Custom cursor */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.25s ease, width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), background 0.25s, border-color 0.25s;
  will-change: transform;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--ember);
  margin: -4px 0 0 -4px;
  box-shadow: 0 0 16px rgba(255, 59, 46, 0.9), 0 0 30px rgba(255, 59, 46, 0.45);
}

.cursor-ring {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(46, 230, 199, 0.65);
  margin: -22px 0 0 -22px;
  box-shadow: 0 0 20px rgba(46, 230, 199, 0.2);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), background 0.25s, border-color 0.25s;
}

body.has-cursor .cursor-dot,
body.has-cursor .cursor-ring {
  opacity: 1;
}

body.has-cursor .cursor-ring.is-hover {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  background: rgba(255, 45, 32, 0.08);
  border-color: var(--teal);
}

body.has-cursor a,
body.has-cursor button,
body.has-cursor .magnetic {
  cursor: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  animation: blobMove 14s ease-in-out infinite;
  will-change: transform;
}

.hero-blob-a {
  width: 380px;
  height: 380px;
  background: rgba(255, 45, 32, 0.45);
  top: 8%;
  left: 5%;
}

.hero-blob-b {
  width: 420px;
  height: 420px;
  background: rgba(0, 180, 166, 0.4);
  top: 20%;
  right: 8%;
  animation-delay: -4s;
}

.hero-blob-c {
  width: 300px;
  height: 300px;
  background: rgba(91, 108, 255, 0.35);
  bottom: 10%;
  left: 40%;
  animation-delay: -8s;
}

@keyframes blobMove {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.12); }
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-watermark {
  position: absolute;
  left: -2%;
  bottom: 8%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 18vw, 14rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.08);
  user-select: none;
  white-space: nowrap;
  pointer-events: none;
  will-change: transform;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding-bottom: 5.5rem;
}

.hero .reveal {
  transition: none;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  width: fit-content;
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.08);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: pulseDot 1.8s ease-out infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 7.5vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin: 0 0 1rem;
  color: #fff;
  text-shadow: 0 10px 40px rgba(255, 59, 46, 0.18);
  overflow: visible;
}

.hero-brand span {
  background: linear-gradient(110deg, var(--ember) 0%, #ff7a45 40%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  max-width: 28rem;
}

.title-line {
  position: relative;
  display: inline;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(255, 59, 46, 0.45), rgba(46, 230, 199, 0.35));
  background-repeat: no-repeat;
  background-size: 100% 38%;
  background-position: 0 88%;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--slate);
  max-width: 30rem;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-stack span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.hero-stack span:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 230, 199, 0.45);
  background: rgba(46, 230, 199, 0.1);
  box-shadow: 0 0 20px rgba(46, 230, 199, 0.15);
}

/* Visual / portrait — clean full photo */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 560px;
}

.hero-photo-wrap {
  position: relative;
  z-index: 2;
  width: min(88%, 380px);
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  padding: 4px;
  background: linear-gradient(145deg, var(--ember), var(--amber), var(--teal));
  background-size: 200% 200%;
  animation: frameShift 7s ease-in-out infinite;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 59, 46, 0.18);
  will-change: transform;
  overflow: hidden;
  transform-style: preserve-3d;
}

.hero-photo-glow {
  position: absolute;
  inset: -20%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 59, 46, 0.28), rgba(46, 230, 199, 0.12), transparent 70%);
  filter: blur(20px);
  animation: glowPulse 4s ease-in-out infinite;
  pointer-events: none;
}

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

.hero-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  border-radius: 24px;
  background: #0c101a;
}

.hero-photo-badge {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #05070d;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.hero-photo-badge i {
  color: var(--ember);
}

.hero-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1.35rem;
}

.social-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.15rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}

.social-btn:hover {
  transform: translateY(-3px);
  background: rgba(255, 59, 46, 0.18);
  border-color: rgba(255, 59, 46, 0.45);
  color: #fff;
}

@keyframes frameShift {
  0%, 100% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
}

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

/* Marquee */
.hero-marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  overflow: hidden;
  padding: 0.95rem 0;
  background: linear-gradient(90deg, rgba(255, 59, 46, 0.18), rgba(5, 7, 13, 0.95) 30%, rgba(5, 7, 13, 0.95) 70%, rgba(46, 230, 199, 0.16));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.marquee-track span:nth-child(odd) {
  color: #fff;
}

.marquee-track span:nth-child(even) {
  color: var(--ember);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-label {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--ink);
}

.section-text {
  color: var(--slate);
  font-size: 1.05rem;
  max-width: 36rem;
  margin-bottom: 1.25rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.text-center .section-text {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- About ---------- */
.about {
  overflow: hidden;
}

.about-glow {
  position: absolute;
  inset: 10% -10% auto;
  height: 55%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(255, 59, 46, 0.14), transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(46, 230, 199, 0.12), transparent 50%);
  filter: blur(8px);
}

.about-top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  margin-bottom: 2.75rem;
}

.about-intro .section-title {
  max-width: 18ch;
  margin-bottom: 1.25rem;
}

.about-intro .section-text {
  max-width: 34rem;
}

.about-intro .section-text strong {
  color: #fff;
  font-weight: 700;
}

.about-cta {
  display: inline-flex;
  margin-top: 0.5rem;
}

.about-focus {
  display: grid;
  gap: 0.85rem;
}

.focus-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}

.focus-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 59, 46, 0.35);
  background: linear-gradient(160deg, rgba(255, 59, 46, 0.1), rgba(255, 255, 255, 0.03));
}

.focus-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.2rem;
  color: #fff;
  background: rgba(255, 59, 46, 0.14);
  border: 1px solid rgba(255, 59, 46, 0.28);
}

.focus-item:nth-child(2) .focus-icon {
  color: var(--teal);
  background: rgba(46, 230, 199, 0.12);
  border-color: rgba(46, 230, 199, 0.28);
}

.focus-item:nth-child(3) .focus-icon {
  color: #ffc14d;
  background: rgba(255, 193, 77, 0.12);
  border-color: rgba(255, 193, 77, 0.28);
}

.focus-item:nth-child(4) .focus-icon {
  color: #7b8cff;
  background: rgba(123, 140, 255, 0.12);
  border-color: rgba(123, 140, 255, 0.28);
}

.focus-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.3rem;
  color: #fff;
}

.focus-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--slate);
}

.about-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 59, 46, 0.1), rgba(46, 230, 199, 0.08)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.about-strip .stat {
  text-align: center;
  min-width: 0;
  padding: 1rem 0.75rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.about-strip .stat-num,
.about-strip .stat-plus {
  display: inline;
}

.about-strip .stat-label {
  margin-top: 0.45rem;
}

.about-points {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
}

.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.about-points i {
  color: var(--teal);
  margin-top: 0.2rem;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ember);
}

.stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate);
}

/* ---------- Skills ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skill-item {
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.skill-item:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 230, 199, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(46, 230, 199, 0.12);
}

.skill-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 1.4rem;
  color: #fff;
  background: linear-gradient(135deg, var(--ember), var(--amber) 45%, var(--teal));
  margin-bottom: 1rem;
  box-shadow: 0 10px 24px rgba(255, 45, 32, 0.22);
}

.skill-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.skill-item p {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 1rem;
}

.skill-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.skill-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--teal), var(--ember));
  transition: width 1.2s var(--ease);
}

.skill-item.in-view .skill-bar span {
  width: var(--fill);
}

/* ---------- Work / Projects ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.project-card {
  border-radius: 22px;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(255, 59, 46, 0.12);
  border-color: rgba(255, 59, 46, 0.35);
}

.project-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #121826;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.project-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
}

.project-body {
  padding: 1.4rem 1.35rem 1.5rem;
}

.project-date {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.45rem;
}

.project-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.project-body p {
  color: var(--slate);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.work-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.work-tech span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
}

.project-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ember);
}

.project-cta:hover {
  gap: 0.65rem;
  color: var(--ember-deep);
}

.projects-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.projects-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.projects-grid .reveal:nth-child(3) { transition-delay: 0.19s; }
.projects-grid .reveal:nth-child(4) { transition-delay: 0.26s; }

/* ---------- Experience ---------- */
.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--ember), var(--teal), var(--amber));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 0 0 2.5rem 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -1.5rem;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0c101a;
  border: 3px solid var(--ember);
  box-shadow: 0 0 0 4px rgba(255, 59, 46, 0.2), 0 0 18px rgba(255, 59, 46, 0.45);
  z-index: 1;
}

.timeline-item:nth-child(2) .timeline-dot {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(13, 138, 134, 0.15);
}

.timeline-item:nth-child(3) .timeline-dot {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(232, 163, 23, 0.15);
}

.timeline-year {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

.timeline-company {
  font-weight: 600;
  color: var(--ember);
  margin-bottom: 0.5rem !important;
}

.timeline-content p {
  color: var(--slate);
  margin: 0;
}

/* ---------- Education ---------- */
.edu-card {
  height: 100%;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.edu-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 230, 199, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.edu-year {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.55rem;
}

.edu-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
  color: #fff;
}

.edu-school {
  font-weight: 600;
  color: var(--ember);
  margin-bottom: 0.35rem !important;
}

.edu-meta {
  color: var(--slate);
  margin: 0 !important;
  font-size: 0.92rem;
}

.languages-note {
  color: var(--slate);
  font-size: 0.95rem;
}

.languages-note strong {
  color: var(--ink-soft);
}

/* ---------- Testimonials ---------- */
.testimonial {
  height: 100%;
  margin: 0;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.testimonial blockquote {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial figcaption img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(13, 138, 134, 0.25);
}

.testimonial figcaption strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
}

.testimonial figcaption span {
  display: block;
  font-size: 0.8rem;
  color: var(--slate);
}

/* ---------- Contact ---------- */
.contact {
  padding-bottom: 5rem;
}

.contact-panel {
  padding: 2.75rem;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(255, 59, 46, 0.12), rgba(46, 230, 199, 0.08));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.contact-links a i {
  color: var(--ember);
  font-size: 1.1rem;
}

.contact-links a:hover {
  color: var(--ember);
}

.contact-form .form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.contact-form .form-control {
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact-form .form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46, 230, 199, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.form-status {
  margin: 0.85rem 0 0;
  font-weight: 600;
  font-size: 0.9rem;
  min-height: 1.25rem;
}

.form-status.success {
  color: var(--teal);
}

.form-status.error {
  color: var(--ember);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 1.75rem 0 2.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--slate);
}

.footer-top {
  font-weight: 700;
  color: var(--ink);
}

.footer-top:hover {
  color: var(--ember);
}

/* ---------- Reveal animations ---------- */
.reveal {
  /* visibility handled by GSAP — keep content readable if JS fails */
  opacity: 1;
  transform: none;
}

.reveal.is-waiting {
  opacity: 0;
  transform: translateY(36px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


.hero-copy .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero-copy .reveal:nth-child(2) { transition-delay: 0.12s; }
.hero-copy .reveal:nth-child(3) { transition-delay: 0.2s; }
.hero-copy .reveal:nth-child(4) { transition-delay: 0.28s; }
.hero-copy .reveal:nth-child(5) { transition-delay: 0.36s; }
.hero-copy .reveal:nth-child(6) { transition-delay: 0.44s; }
.hero-visual.reveal { transition-delay: 0.22s; }

.skills-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.skills-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.skills-grid .reveal:nth-child(3) { transition-delay: 0.19s; }
.skills-grid .reveal:nth-child(4) { transition-delay: 0.26s; }
.skills-grid .reveal:nth-child(5) { transition-delay: 0.33s; }
.skills-grid .reveal:nth-child(6) { transition-delay: 0.4s; }

.timeline .reveal:nth-child(1) { transition-delay: 0.05s; }
.timeline .reveal:nth-child(2) { transition-delay: 0.15s; }
.timeline .reveal:nth-child(3) { transition-delay: 0.25s; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero {
    cursor: auto;
    padding-top: calc(var(--nav-h) + 0.5rem);
  }

  .cursor-dot,
  .cursor-ring,
  .hero-web,
  .hero-spotlight {
    display: none !important;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
    padding-bottom: 5rem;
  }

  .hero-status,
  .hero-stack {
    margin-inline: auto;
    justify-content: center;
  }

  .hero-title,
  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: auto;
    gap: 0.75rem;
  }

  .hero-photo-wrap {
    width: min(62%, 280px);
  }

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

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

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

  .navbar-collapse {
    background: rgba(8, 11, 20, 0.96);
    margin-top: 0.75rem;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid var(--line);
  }

  .nav-cta {
    margin: 0.5rem 0 0;
    width: fit-content;
  }
}

@media (max-width: 575.98px) {
  .section {
    padding: 4.5rem 0;
  }

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

  .contact-panel {
    padding: 1.75rem 1.25rem;
  }

  .about-stats {
    gap: 1.5rem;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-photo-wrap {
    width: min(68%, 240px);
  }

  .hero-photo-badge {
    font-size: 0.7rem;
    padding: 0.45rem 0.75rem;
  }

  .marquee-track {
    font-size: 0.82rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb,
  .hero-blob,
  .hero-ring,
  .hero-ring-2,
  .hero-frame,
  .marquee-track,
  .status-dot {
    animation: none !important;
  }
  .cursor-dot,
  .cursor-ring,
  .hero-web,
  .hero-spotlight {
    display: none !important;
  }
  .hero {
    cursor: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================
   Design Upgrade — Modern / Popular polish
   ============================================ */

::selection {
  background: rgba(255, 59, 46, 0.35);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #05070d;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--ember), var(--teal));
  border-radius: 99px;
  border: 2px solid #05070d;
}

body {
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(255, 59, 46, 0.12), transparent 50%),
    radial-gradient(800px 480px at 95% 15%, rgba(46, 230, 199, 0.1), transparent 45%),
    var(--bg);
}

.bg-atmosphere {
  background:
    radial-gradient(70% 55% at 15% 10%, rgba(255, 59, 46, 0.22), transparent 55%),
    radial-gradient(55% 45% at 85% 20%, rgba(46, 230, 199, 0.16), transparent 50%),
    radial-gradient(50% 40% at 60% 90%, rgba(123, 140, 255, 0.12), transparent 55%),
    linear-gradient(180deg, #03050a 0%, #070b14 50%, #05070d 100%);
}

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

.site-nav.scrolled {
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-mark {
  font-size: 1.45rem;
  background: linear-gradient(120deg, #fff 40%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark span {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--ember);
}

.nav-pill {
  gap: 0.15rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.site-nav .nav-link {
  border-radius: 999px !important;
  padding: 0.45rem 0.95rem !important;
  transition: background 0.25s, color 0.25s !important;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

.nav-cta {
  margin-left: 0.25rem;
  box-shadow: 0 0 0 0 rgba(255, 59, 46, 0);
}

.nav-cta:hover {
  box-shadow: 0 8px 28px rgba(255, 59, 46, 0.4);
}

.label-num {
  display: inline-block;
  margin-right: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ember);
  opacity: 0.9;
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
  color: var(--teal-soft);
}

.section-header.text-center .section-label {
  justify-content: center;
}

.section-title {
  position: relative;
  display: inline-block;
  background: linear-gradient(120deg, #fff 0%, #dfe6f5 55%, var(--teal-soft) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-header.text-center .section-title {
  display: inline-block;
}

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

.section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(280px, 40vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 59, 46, 0.45), rgba(46, 230, 199, 0.45), transparent);
}

.hero-brand {
  font-size: clamp(3.2rem, 8.5vw, 5.6rem);
  letter-spacing: -0.055em;
}

.hero-status {
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.15), 0 12px 30px rgba(0, 0, 0, 0.25);
}

.hero-photo-wrap {
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(255, 59, 46, 0.18),
    0 0 80px rgba(46, 230, 199, 0.1);
}

.btn-primary-glow {
  position: relative;
  overflow: hidden;
}

.btn-primary-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.25) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}

.btn-primary-glow:hover::after {
  transform: translateX(120%);
}

.skill-item {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 1.75rem 1.5rem;
}

.skill-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--ember), var(--teal));
  opacity: 0;
  transition: opacity 0.3s;
}

.skill-item:hover::after {
  opacity: 1;
}

.skill-item h3 {
  color: #fff;
}

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

.project-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  overflow: hidden;
}

.project-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
}

.project-card--featured .project-thumb {
  aspect-ratio: auto;
  min-height: 320px;
  height: 100%;
}

.project-card--featured .project-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2rem 2rem 1.75rem;
}

.project-card--featured h3 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.project-tag {
  border-radius: 999px;
  background: rgba(255, 59, 46, 0.85);
  letter-spacing: 0.08em;
  font-size: 0.68rem;
}

.project-cta {
  margin-top: auto;
  width: fit-content;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 59, 46, 0.35);
  transition: gap 0.25s, border-color 0.25s, color 0.25s;
}

.project-cta:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.timeline::before {
  width: 3px;
  background: linear-gradient(to bottom, var(--ember), var(--teal), transparent);
}

.timeline-content {
  padding: 1.25rem 1.35rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.timeline-item:hover .timeline-content {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(46, 230, 199, 0.28);
  transform: translateX(6px);
}

.edu-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.edu-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--ember), var(--teal));
}

.contact-panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(255, 59, 46, 0.18), transparent 55%),
    radial-gradient(500px 280px at 100% 100%, rgba(46, 230, 199, 0.14), transparent 50%),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.contact-links a {
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.contact-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(4px);
}

.contact-form .form-control {
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.12);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem 0 2.5rem;
}

.about-stats {
  gap: 1.25rem;
}

.stat {
  min-width: 110px;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 991.98px) {
  .nav-pill {
    background: transparent;
    border: none;
    padding: 0;
    gap: 0;
  }

  .project-card--featured {
    grid-template-columns: 1fr;
  }

  .project-card--featured .project-thumb {
    min-height: 220px;
  }

  .project-card--featured .project-body {
    padding: 1.4rem 1.35rem 1.5rem;
  }

  .about-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-intro .section-title {
    max-width: none;
  }

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

@media (max-width: 575.98px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card--featured {
    grid-column: auto;
  }

  .about-strip {
    grid-template-columns: 1fr 1fr;
    padding: 0.9rem;
    gap: 0.65rem;
  }

  .about-strip .stat {
    padding: 0.85rem 0.5rem;
  }

  .about-strip .stat-num {
    font-size: 1.85rem;
  }

  .about-strip .stat-label {
    font-size: 0.78rem;
  }
}
