/* ============================================================
   SUJIT BHALEKAR — PREMIUM PORTFOLIO STYLESHEET
   Font: Inter + JetBrains Mono  |  Palette: Navy + Violet
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.cdnfonts.com/css/sf-pro-display');

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

:root {
  /* Palette */
  --clr-bg:         #0b0f1a;
  --clr-surface:    #111827;
  --clr-card:       #1a2235;
  --clr-border:     rgba(139, 92, 246, 0.18);
  --clr-violet:     #8b5cf6;
  --clr-violet-lt:  #a78bfa;
  --clr-indigo:     #6366f1;
  --clr-accent:     #c4b5fd;
  --clr-text:       #e2e8f0;
  --clr-muted:      #94a3b8;
  --clr-white:      #ffffff;

  /* Gradients */
  --grad-brand:     linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  --grad-hero:      linear-gradient(135deg, #0b0f1a 0%, #1a1040 50%, #0b0f1a 100%);
  --grad-glow:      radial-gradient(ellipse at center, rgba(139,92,246,0.25) 0%, transparent 70%);

  /* Spacing */
  --nav-h:          4.5rem;

  /* Shadows */
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.35);
  --shadow-md:      0 8px 24px rgba(0,0,0,0.45);
  --shadow-glow:    0 0 30px rgba(139,92,246,0.25);

  /* Radius */
  --radius-sm:      0.75rem;
  --radius-md:      1.25rem;
  --radius-lg:      1.75rem;
  --radius-pill:    50rem;
}

html {
  scroll-behavior: smooth;
  background: var(--clr-bg);
  font-size: 16px;
}

body {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, "SF Pro Text", "San Francisco", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.7;
  color: var(--clr-text);
  background: var(--clr-bg);
  overflow-x: hidden;
}

/* ─── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb { background: var(--clr-violet); border-radius: var(--radius-pill); }

/* ─── NOISE TEXTURE OVERLAY (subtle) ─────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ─── NAVIGATION ──────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(11, 15, 26, 0.8);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(139, 92, 246, 0.12);
  padding: 0 2.5rem;
  height: var(--nav-h);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Gradient glow line under nav */
nav::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.5), rgba(99,102,241,0.5), transparent);
  opacity: 0.6;
  transition: opacity 0.35s ease;
}

nav.scrolled {
  background: rgba(11, 15, 26, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 1px 0 rgba(139,92,246,0.15);
  border-color: rgba(139, 92, 246, 0.2);
}

nav.scrolled::after {
  opacity: 1;
}

#desktop-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 40%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  cursor: default;
  transition: transform 0.25s ease, filter 0.25s ease;
  position: relative;
}
.logo:hover {
  transform: scale(1.03);
  filter: brightness(1.15);
}

.nav-links-container { display: flex; align-items: center; }

.nav-links {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--clr-muted);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: var(--clr-white);
  background: rgba(139, 92, 246, 0.12);
}

.nav-links a.active {
  color: var(--clr-white);
  background: rgba(139, 92, 246, 0.2);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.25), inset 0 0 0 1px rgba(139,92,246,0.2);
}

/* ─── HAMBURGER ───────────────────────────────────────────── */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  gap: 0.3rem;
  z-index: 1001;
}

.hamburger-line {
  width: 1.5rem;
  height: 2px;
  background: var(--clr-muted);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--clr-violet-lt);
}
.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--clr-violet-lt);
}

/* ─── SECTION WRAPPER ─────────────────────────────────────── */
section {
  padding: 6rem 2rem 4rem;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

/* ─── SECTION HEADINGS ────────────────────────────────────── */
.section__text__p1 {
  text-align: center;
  color: var(--clr-violet-lt);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3.5rem;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--clr-white);
  position: relative;
}

.title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--grad-brand);
  border-radius: var(--radius-pill);
  margin: 0.9rem auto 0;
}

/* ─── HERO / PROFILE SECTION ──────────────────────────────── */
#profile {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6rem;
  min-height: 100vh;
  padding: 0 3rem;
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

/* Animated gradient mesh background */
#profile::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(99,102,241,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(139,92,246,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 60% 80%, rgba(196,181,253,0.08) 0%, transparent 60%);
  pointer-events: none;
  animation: meshShift 12s ease-in-out infinite alternate;
}

@keyframes meshShift {
  0%   { opacity: 1; }
  50%  { opacity: 0.7; }
  100% { opacity: 1; }
}

/* Floating orbs */
#profile::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 10%;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatOrb 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-2rem) scale(1.05); }
}

/* Profile image container */
.section__pic-container {
  position: relative;
  flex-shrink: 0;
  animation: profileFloat 6s ease-in-out infinite;
}

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

.section__pic-container::before {
  content: '';
  position: absolute;
  inset: -0.75rem;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--clr-violet), var(--clr-indigo), var(--clr-accent), var(--clr-violet));
  animation: spinRing 8s linear infinite;
  z-index: 0;
  opacity: 0.7;
}

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

.section__pic-container::after {
  content: '';
  position: absolute;
  inset: -0.5rem;
  border-radius: 50%;
  background: var(--clr-bg);
  z-index: 1;
}

.section__pic-container img {
  position: relative;
  z-index: 2;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.3);
}

.section__pic-container:hover img {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 0 50px rgba(139, 92, 246, 0.8), 0 0 100px rgba(99, 102, 241, 0.5);
  cursor: pointer;
}

/* Hero text */
.section__text {
  text-align: left;
  max-width: 38rem;
  position: relative;
  z-index: 2;
}

.section__text .section__text__p1 {
  text-align: left;
}

.section__text .title {
  text-align: left;
  font-size: 3.5rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #ffffff 30%, var(--clr-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__text .title::after { display: none; }

/* ─── TYPEWRITER CURSOR ───────────────────────────────────── */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--clr-violet);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.85s steps(1) infinite;
}

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

.section__text__p2 {
  font-size: 1.35rem;
  color: var(--clr-muted);
  font-weight: 400;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.section__text__p2 strong,
.section__text__p2 span {
  color: var(--clr-violet-lt);
  font-weight: 600;
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn-container {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.section__text .btn-container {
  justify-content: flex-start;
}

.btn {
  padding: 0.75rem 1.75rem;
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
}
.btn:hover::after { opacity: 1; }

.btn-color-1 {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.4);
}

.btn-color-1:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139, 92, 246, 0.55);
}

.btn-color-2 {
  background: transparent;
  color: var(--clr-violet-lt);
  border: 1.5px solid rgba(139, 92, 246, 0.5);
  backdrop-filter: blur(8px);
}

.btn-color-2:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: var(--clr-violet);
  transform: translateY(-2px);
  color: var(--clr-white);
}

/* ─── SOCIALS ─────────────────────────────────────────────── */
#socials-container {
  display: flex;
  justify-content: flex-start;
  gap: 0.75rem;
}

.icon {
  height: 2.75rem;
  width: 2.75rem;
  padding: 0.55rem;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--clr-border);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  object-fit: contain;
}

.icon:hover {
  background: rgba(139, 92, 246, 0.22);
  border-color: var(--clr-violet);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

/* ─── GLASS CARD BASE ──────────────────────────────────────── */
.glass-card {
  background: rgba(26, 34, 53, 0.7);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-brand);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(139,92,246,0.25);
  border-color: rgba(139, 92, 246, 0.35);
}

/* ─── ABOUT SECTION ───────────────────────────────────────── */
#about {
  padding: 6rem 2rem 4rem;
}

.about-header {
  text-align: center;
  margin-bottom: 4rem;
}

.about-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.about-image-container {
  flex-shrink: 0;
}

.about-pic {
  width: 16rem;
  height: 16rem;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 2px solid var(--clr-border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(139,92,246,0.15);
  transition: all 0.5s ease;
  display: block;
}

.about-pic:hover {
  transform: scale(1.03);
  box-shadow: 0 28px 60px rgba(0,0,0,0.6), var(--shadow-glow);
  border-color: rgba(139,92,246,0.4);
}

.about-details-container {
  flex: 1;
  max-width: 54rem;
}

.about-containers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.details-container {
  background: rgba(26, 34, 53, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.details-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-brand);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.details-container:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(139,92,246,0.2);
  border-color: rgba(139,92,246,0.3);
}

.details-container .icon {
  height: 2.5rem;
  width: 2.5rem;
  margin: 0 auto 0.75rem;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  cursor: default;
}

.details-container h3 {
  color: var(--clr-violet-lt);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}

.details-container p {
  color: var(--clr-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.text-container {
  background: rgba(26, 34, 53, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 2rem 2.25rem;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.text-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-brand);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.text-container p {
  color: var(--clr-muted);
  line-height: 1.85;
  font-size: 0.98rem;
}

.text-container p strong {
  color: var(--clr-accent);
  font-weight: 600;
}

/* ─── EXPERIENCE SECTION ──────────────────────────────────── */
#experience {
  padding: 6rem 2rem 4rem;
}

.experience-sub-title {
  color: var(--clr-white);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.3px;
}

.experience-details-container {
  max-width: 100rem;
  margin: 0 auto;
}

/* 4 columns on desktop */
.experience-details-container .about-containers {
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.5rem;
}

.article-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
}

.article-container article {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: rgba(139, 92, 246, 0.07);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 0.25rem 0.5rem rgba(139, 92, 246, 0.1);
  transition: all 0.25s ease;
  min-width: 7.5rem;
  flex: 1 1 auto;
}

.article-container article > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.article-container article:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}

.article-container .icon {
  height: 1.1rem;
  width: auto;
  padding: 0.2rem;
  margin: 0;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  flex-shrink: 0;
  cursor: default;
  box-shadow: none;
}

.article-container .icon:hover {
  transform: none !important;
  background: rgba(139, 92, 246, 0.1) !important;
  box-shadow: none !important;
  border-color: rgba(139, 92, 246, 0.3) !important;
}

.article-container h3 {
  color: var(--clr-text);
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  text-align: left;
}

.article-container p {
  color: var(--clr-violet-lt);
  font-size: 0.75rem;
  font-weight: 500;
  margin: 0;
  text-align: left;
}

/* ─── ACHIEVEMENT SECTION ─────────────────────────────────── */
#achievement {
  padding: 6rem 2rem 4rem;
}

#achievement .about-containers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
}

#achievement .details-container {
  margin: 0;
  max-width: 26rem;
  flex: 1 1 22rem;
}

/* ─── COLOR CONTAINERS (Achievement & Project Cards) ─────── */
.color-container {
  background: rgba(26, 34, 53, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.color-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-brand);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.color-container:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(139,92,246,0.3);
  border-color: rgba(139,92,246,0.4);
}

.project-img {
  width: 100%;
  max-width: 18rem;
  height: auto;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  border: 1px solid var(--clr-border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: all 0.35s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.project-img:hover {
  transform: scale(1.04);
  box-shadow: 0 14px 36px rgba(0,0,0,0.5), var(--shadow-glow);
  border-color: rgba(139,92,246,0.35);
}

.project-title {
  color: var(--clr-white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  font-family: 'Inter', sans-serif;
  line-height: 1.35;
}

.color-container p {
  color: var(--clr-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.color-container p strong {
  color: var(--clr-accent);
}

/* ─── PROJECTS SECTION ────────────────────────────────────── */
#projects {
  padding: 6rem 2rem 4rem;
}

#projects .about-containers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1.75rem;
}

.project-btn {
  margin: 0.25rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
}

/* Center buttons in project & achievement cards */
.color-container .btn-container {
  justify-content: center;
}

/* ─── CONTACT SECTION ─────────────────────────────────────── */
#contact {
  padding: 6rem 2rem 5rem;
  text-align: center;
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.contact-info-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 2rem;
  background: rgba(26, 34, 53, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-pill);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.contact-info-container:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(139,92,246,0.25);
  border-color: rgba(139,92,246,0.35);
}

.contact-info-container p {
  font-size: 1rem;
  font-weight: 500;
}

.contact-info-container a {
  color: var(--clr-violet-lt);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease;
}

.contact-info-container a:hover {
  color: var(--clr-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-icon {
  height: 2rem;
  width: 2rem;
  padding: 0.3rem;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  cursor: default;
  flex-shrink: 0;
}

.contact-icon:hover {
  transform: none;
  background: rgba(139, 92, 246, 0.12);
  box-shadow: none;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
footer {
  background: rgba(11, 15, 26, 0.95);
  border-top: 1px solid var(--clr-border);
  padding: 2.5rem 2rem;
  text-align: center;
}

footer nav {
  position: static;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  height: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.25rem;
}

footer nav::after {
  display: none;
}

footer .nav-links-container {
  justify-content: center;
  width: 100%;
  display: flex;
}

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

footer .nav-links a {
  color: var(--clr-muted);
  font-size: 0.88rem;
  padding: 0.3rem 0.7rem;
}

footer .nav-links a:hover {
  color: var(--clr-violet-lt);
  background: rgba(139,92,246,0.1);
}

footer > p {
  color: rgba(148, 163, 184, 0.55);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

/* ─── ARROW NAVIGATION ────────────────────────────────────── */
.arrow {
  position: absolute;
  right: 2.5rem;
  bottom: 2rem;
  height: 2.5rem;
  width: 2.5rem;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  object-fit: contain;
}

.arrow:hover {
  background: var(--clr-violet);
  border-color: var(--clr-violet);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.45);
}

/* ─── SCROLL REVEAL (controlled by JS) ───────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1200px) {
  #profile { gap: 4rem; }

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

@media (max-width: 900px) {
  #profile {
    flex-direction: column;
    gap: 3rem;
    padding: 6rem 1.5rem 3rem;
    min-height: auto;
    text-align: center;
  }

  .section__text { text-align: center; }
  .section__text .section__text__p1 { text-align: center; }
  .section__text .title { text-align: center; font-size: 2.8rem; }
  .section__text .title::after { display: block; }

  .btn-container { justify-content: center; }
  #socials-container { justify-content: center; }

  .section__pic-container img {
    width: 14rem;
    height: 14rem;
  }

  .about-content {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .about-pic {
    width: 12rem;
    height: 12rem;
  }
}

@media (max-width: 600px) {
  :root { --nav-h: 3.75rem; }

  nav { padding: 0 1.25rem; }

  .logo { font-size: 1.2rem; }

  section { padding: 5rem 1.25rem 3rem; }

  #profile {
    padding: 5rem 1.25rem 3rem;
  }

  .section__pic-container img {
    width: 12rem;
    height: 12rem;
  }

  .section__text .title { font-size: 2.25rem; }

  .title { font-size: 2.25rem; }

  .btn-container { flex-direction: column; align-items: center; }
  .btn { width: 13rem; justify-content: center; }

  .about-pic { width: 10rem; height: 10rem; }

  .contact-info-container { padding: 0.9rem 1.25rem; }

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

  .arrow { right: 1rem; bottom: 1rem; }
}

@media (max-width: 400px) {
  .section__text .title { font-size: 1.9rem; }
  .title { font-size: 1.9rem; }
  .section__pic-container img { width: 10rem; height: 10rem; }
  .about-pic { width: 8rem; height: 8rem; }
}

/* ─── PRINT ───────────────────────────────────────────────── */
@media print {
  nav, .arrow, .btn-container, #socials-container { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  section { break-inside: avoid; padding: 1rem; max-width: 100%; }
  .title { color: #000 !important; -webkit-text-fill-color: #000 !important; }
}