:root {
  color-scheme: dark;
  font-family: Geist, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --bg: #080f1a;
  --bg-2: #0c1a2d;
  --text: #f3f7ff;
  --muted: rgba(243,247,255,0.72);
  --primary: #46f9e7;
  --accent: #81a7ff;
  --card: rgba(16, 22, 38, 0.70);
  --border: rgba(92, 148, 255, 0.30);
  --shadow: 0 22px 60px rgba(0,0,0,0.45);
}
html {
  scroll-behavior: smooth;
}

/* Blissful background */
body{
  margin: 0;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(120,140,255,0.18), transparent 60%),
    radial-gradient(1000px 600px at 90% 20%, rgba(0,255,209,0.12), transparent 55%),
    radial-gradient(900px 700px at 70% 90%, rgba(255,140,0,0.05), transparent 55%),
    radial-gradient(circle at 70% 20%, rgba(0,255,135,0.1), transparent 55%),
    var(--bg);
  animation: fadeIn 0.6s ease-in;
}

body::before, body::after{
  content:"";
  position: fixed;
  inset:-20%;
  z-index:-1;
  filter: blur(50px);
  opacity:0.6;
  pointer-events:none;
  animation: floaty 14s ease-in-out infinite;
}
body::before{
  background:
    radial-gradient(circle at 30% 30%, rgba(232,238,252,0.22), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(0,255,209,0.16), transparent 50%);
}
body::after{
  animation-duration: 18s;
  background:
    radial-gradient(circle at 60% 25%, rgba(120,140,255,0.20), transparent 50%),
    radial-gradient(circle at 40% 70%, rgba(255,140,0,0.12), transparent 55%);
}

@keyframes floaty{
  0%{ transform: translate3d(0,0,0) scale(1); }
  50%{ transform: translate3d(2%,-2%,0) scale(1.05); }
  100%{ transform: translate3d(0,0,0) scale(1); }
}

.scroll-indicator {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.scroll-indicator span {
  width: 6px;
  height: 6px;
  background: rgba(0,255,173,0.9);
  border-radius: 50%;
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.4; }
  100% { transform: translateY(0); opacity: 1; }
}

.resume-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: linear-gradient(135deg, rgba(0,255,173,0.95), rgba(44,105,255,0.9));
  color: #0b0f19;
  font-weight: 800;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  z-index: 60;
}

.fixed-social {
  position: fixed;
  left: 12px;
  top: 135px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 55;
}

.fixed-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #000;
  border: 1px solid rgba(0,255,173,0.75);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.fixed-social a:hover {
  background: #111;
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(0,255,173,0.55);
}

.fixed-social a img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.fixed-social a.linkedin img {
  filter: brightness(0) invert(1);
}

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

/* Layout */
.wrap { max-width: 980px; margin: 0 auto; padding: 22px 18px 70px; }

.section {
  margin-top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 40px 80px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.section-title {
  margin: 0 0 12px;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

/* About section */
.about-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
  align-items: center;
}
.about-heading {
  color: #00ffa0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 5px;
  margin: 0 0 20px;
}
.about-pic {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  border: 1px solid rgba(0,255,160,0.18);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  display: block;
}
.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(232,238,252,0.86);
}
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-pic { max-width: 200px; margin: 0 auto; aspect-ratio: 1; border-radius: 50%; }
}
.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 999px;
  margin-top: 6px;
  background: linear-gradient(90deg, rgba(120,140,255,0.9), rgba(0,255,209,0.8));
}

.card{
  background: rgba(22,30,50,0.58);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.28);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.card:hover{
  transform: translateY(-6px);
  border-color: rgba(120,140,255,0.35);
  background: rgba(255,255,255,0.15);
  box-shadow: 0 20px 42px rgba(0,0,0,0.35);
}

h1 { font-size: clamp(2.8rem, 3.8vw, 4.2rem); margin: 0 0 8px; line-height: 1.08; color: #fff; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.4rem); margin: 0 0 12px; letter-spacing: 0.6px; color: rgba(220, 240, 255, 0.95); }
p { line-height: 1.7; margin: 0; color: rgba(232,238,252,0.86); }
.muted { color: rgba(232,238,252,0.70); }

.hero-title { font-weight: 700; color: var(--primary); margin-top: 8px; font-size: clamp(1.1rem, 2.2vw, 1.6rem); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.stat h3 { font-size: 16px; margin: 0; }
.stat p { margin: 4px 0 0; font-size: 12px; color: rgba(232,238,252,0.75); }

/* Spacing helpers */
.mt6{ margin-top:6px; }
.mt10{ margin-top:10px; }
.mt12{ margin-top:12px; }

/* Navbar */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(4,8,20,0.88);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 1px;
}
.nav-email {
  color: rgba(232,238,252,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 180ms ease;
}
.nav-email:hover { color: #00ffa0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  color: rgba(232,238,252,0.65);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  padding: 0;
  border-radius: 0;
  transition: color 180ms ease;
}
.nav-links a.active { color: #fff; }
.nav-links a:hover { color: #fff; background: none; transform: none; }
@media (max-width: 720px) {
  .nav-inner { padding: 14px 20px; }
  .nav-email { display: none; }
  .nav-links { gap: 20px; }
}

/* Hero */
.hero {
  padding: 28px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 80% 40%, rgba(0,255,170,0.14), transparent 50%);
  filter: blur(40px);
  pointer-events:none;
  z-index:0;
}

.hero-three {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1200px;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.hero-left {
  opacity: 0;
  animation: slideFromLeft 0.8s cubic-bezier(0.22,1,0.36,1) forwards;
  animation-delay: 0.2s;
}

.hero-right {
  text-align: right;
  opacity: 0;
  animation: slideFromRight 0.8s cubic-bezier(0.22,1,0.36,1) forwards;
  animation-delay: 0.4s;
}

.hero-center {
  display: flex;
  justify-content: center;
}

@keyframes slideFromLeft {
  from { opacity: 0; transform: translateX(-80px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideFromRight {
  from { opacity: 0; transform: translateX(80px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-greeting {
  color: #00ffa0;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: 0.5px;
}

.hero-name {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  min-height: 1.3em;
  line-height: 1.1;
}

.hero-role-sm {
  color: rgba(232,238,252,0.6);
  font-size: 0.95rem;
  margin: 0 0 6px;
}

.hero-role-big {
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin: 0;
  line-height: 1.05;
  color: rgba(232,238,252,0.95);
}

.hero-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 200px;
  height: 200px;
  opacity: 0;
  animation: heroPhotoReveal 0.9s ease forwards;
  animation-delay: 0.3s;
}

@keyframes heroPhotoReveal {
  from { opacity: 0; transform: scale(0.85) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes heroNameReveal {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .hero-three {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }
  .hero-right { text-align: center; }
  .hero-role-big { text-align: center; }
}

.profile-ring {
  position: absolute;
  width: 196px;
  height: 196px;
  border-radius: 50%;
  border: 1px solid rgba(0,255,209,0.35);
  box-shadow: 0 0 20px rgba(0,255,209,0.25);
  animation: spin 16s linear infinite;
  top: 0;
  left: 0;
}

.profile-pic {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(255,255,255,0.45);
  box-shadow: 0 18px 30px rgba(0,0,0,0.35);
  background: rgba(255,255,255,0.05);
}

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

@media (max-width: 760px) {
  .profile-pic {
    width: 140px;
    height: 140px;
  }
  .hero-photo {
    width: 155px;
    height: 155px;
  }
  .profile-ring {
    width: 152px;
    height: 152px;
  }
  .row { grid-template-columns: 1fr !important; }
  .fixed-social { display: none; }
}

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
a.btn{
  text-decoration: none;
  color: #0b0f19;
  background: #e8eefc;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
a.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}
a.btn.secondary{
  background: transparent;
  color: #e8eefc;
  border: 1px solid rgba(255,255,255,0.18);
}
a.btn.secondary:hover{
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.06);
}

/* Projects grid */
.row {
  display:grid;
  gap:18px;
  grid-template-columns: 1fr;
  justify-content: center;
  width: 100%;
}

@media (min-width: 920px) {
  .row { grid-template-columns: repeat(2, minmax(280px, 1fr)); }
}

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

/* Make featured project stand out on wide screens */
@media (min-width: 1040px) {
  .project-card.featured {
    grid-column: 1 / -1;
  }
}

.project-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card p {
  flex: 1;
}

.project-card .btn {
  align-self: flex-start;
}

.project-card::before{
  content:"";
  position:absolute;
  inset:-35%;
  background: radial-gradient(circle at 20% 20%, rgba(120, 140, 255, 0.10), transparent 60%);
  transform: translateX(-40%) rotate(10deg);
  opacity:0;
  transition: opacity 220ms ease;
  pointer-events:none;
}
.project-card:hover::before{ opacity:1; }

.project-card h2{ margin-top:0; }

/* Tags */
.tags{ display:flex; flex-wrap:wrap; gap: 8px; }
.tag{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 13px;
}

/* Reveal */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}
.reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}

/* Slide from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-160px);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1) 300ms,
              transform 900ms cubic-bezier(0.22, 1, 0.36, 1) 300ms;
  will-change: opacity, transform;
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  * { animation: none !important; transition: none !important; }
}

/* ===== HERO → ABOUT TRANSITION ===== */
.about-photo {
  will-change: transform, opacity;
}

.hero-left,
.hero-right,
.hero-center {
  will-change: transform, opacity;
}

/* Footer */
.footer { margin-top: 26px; text-align: center; }

/* ---------- Skills Icons (CDN) ---------- */
.skills-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.skill{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.skill img{
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
}

.skill span{
  font-size: 13px;
  color: rgba(232,238,252,0.9);
  font-weight: 700;
}

.skill:hover{
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}

/* ---------- Contact Form ---------- */
.contact-form {
  max-width: 520px;
  margin: 16px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 12px 14px;
  color: #e8eefc;
  font-size: 14px;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(232,238,252,0.55);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(120,140,255,0.6);
  background: rgba(255,255,255,0.12);
}

.contact-form button {
  align-self: center;
  margin-top: 6px;
  min-width: 160px;
}

/* CTA form container */
.cta {
  text-align: center;
  padding: 26px 20px;
  background: linear-gradient(
    135deg,
    rgba(120,140,255,0.12),
    rgba(0,255,209,0.08)
  );
  border: 1px solid rgba(255,255,255,0.16);
}

.cta-text {
  max-width: 620px;
  margin: 10px auto 10px;
  color: rgba(232,238,252,0.85);
}

/* ---------- Certifications (Premium Cards) ---------- */
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.section-head p{ max-width: 520px; }

.cert-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 12px;
}
@media (min-width: 820px){
  .cert-grid{ grid-template-columns: 1fr 1fr; }
}

.cert{
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 16px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.cert:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.16);
}

.cert-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}

.cert-left{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}

.cert-logo{
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.35));
}

.cert-icon{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 22px;
}

.cert-title{
  margin: 0 0 4px;
  font-size: 16px;
  letter-spacing: 0.2px;
}
.cert-meta{ margin: 0; font-size: 13px; }

.badge{
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  white-space: nowrap;
}
.badge.inprogress{
  background: rgba(120,140,255,0.16);
  border-color: rgba(120,140,255,0.35);
}
.badge.planned{
  background: rgba(255,140,0,0.10);
  border-color: rgba(255,140,0,0.28);
}

.progress{
  margin-top: 12px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.10);
}
.progress span{
  display:block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(120,140,255,0.9), rgba(0,255,209,0.8));
}

.cert-actions{
  margin-top: 12px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* smaller button variant */
a.btn.small{
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
}

/* ===== CURSOR ORB ===== */
#cursor-orb {
  position: fixed;
  width: 22px;
  height: 22px;
  background: #00ffa0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 14px rgba(0,255,160,0.8), 0 0 32px rgba(0,255,160,0.35);
  opacity: 0.92;
}
@media (hover: none) {
  #cursor-orb { display: none; }
}

/* ===== ACCENT & CURSOR BLINK ===== */
.accent { color: #00ffa0; }

.cursor-blink {
  display: inline-block;
  color: #00ffa0;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ===== WHAT I DO ===== */
.whatido-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  width: 100%;
}
@media (max-width: 760px) {
  .whatido-grid { grid-template-columns: 1fr; gap: 28px; }
}

.whatido-heading {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1;
  margin: 0;
  color: rgba(232,238,252,0.95);
  letter-spacing: -1px;
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.accordion-item {
  position: relative;
  padding: 22px 24px;
  background: rgba(255,255,255,0.02);
  transition: background 200ms ease;
}

/* Corner brackets */
.accordion-item::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 16px; height: 16px;
  border-top: 2px solid rgba(0,255,160,0.75);
  border-left: 2px solid rgba(0,255,160,0.75);
}
.accordion-item::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 16px; height: 16px;
  border-bottom: 2px solid rgba(0,255,160,0.75);
  border-right: 2px solid rgba(0,255,160,0.75);
}

.accordion-item.open {
  background: rgba(0,255,160,0.04);
}

.accordion-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  gap: 12px;
}
.accordion-header:focus-visible {
  outline: 1px dashed rgba(0,255,160,0.5);
  outline-offset: 4px;
}

.accordion-title {
  margin: 0;
  padding: 0;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 3px;
  color: rgba(232,238,252,0.9);
  flex: 1;
}

.accordion-icon {
  font-size: 1rem;
  color: rgba(0,255,160,0.85);
  transition: transform 320ms ease;
  display: inline-block;
  flex-shrink: 0;
  line-height: 1;
}
.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

/* Closed by default, open when .open class is present */
.accordion-body {
  display: none;
  padding-top: 14px;
}
.accordion-item.open .accordion-body {
  display: block;
}

/* ===== EXPERIENCE TIMELINE ===== */
.experience-heading {
  font-size: clamp(1.6rem, 4vw, 2.8rem) !important;
  margin-bottom: 36px;
  display: block;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(0,255,160,0.25) 15%, rgba(0,255,160,0.25) 85%, transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  gap: 20px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

@media (max-width: 720px) {
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .timeline-left { text-align: left !important; }
  .timeline-year { font-size: 2.5rem !important; text-align: left; }
  .timeline::before { display: none; }
}

.timeline-left { text-align: right; }

.timeline-role {
  margin: 0 0 4px;
  font-size: 1.05rem;
  color: rgba(232,238,252,0.95);
}

.timeline-org {
  font-size: 0.88rem;
  margin: 0;
}

.timeline-year {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: rgba(232,238,252,0.11);
  text-align: center;
  line-height: 1;
  padding-top: 2px;
}

.timeline-right p {
  color: rgba(232,238,252,0.72);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.7;
}

/* ===== PROJECTS EDITORIAL ===== */
.projects-editorial {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
}

.project-editorial {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  align-items: start;
}

@media (max-width: 600px) {
  .project-editorial { grid-template-columns: 1fr; }
  .project-num { font-size: 2.5rem !important; }
}

.project-num {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: rgba(232,238,252,0.09);
  line-height: 1;
}

.project-editorial-title {
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  margin: 0 0 8px;
  color: rgba(232,238,252,0.95);
}

.project-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== TECH STACK BUBBLES ===== */
.techstack-heading {
  font-size: clamp(2rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 6px;
  color: rgba(232,238,252,0.08);
  margin: 0 0 0;
  text-transform: uppercase;
  display: block;
}

.tech-web-container {
  position: relative;
  width: 100%;
  height: 420px;
  margin-top: 16px;
}

#techWebCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.tech-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  cursor: default;
  user-select: none;
  pointer-events: auto;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1),
              opacity 0.35s ease,
              box-shadow 0.3s ease,
              border-color 0.3s ease,
              background 0.3s ease;
}

/* ===== CONTACT SECTION ===== */
.contact-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  width: 100%;
}

.contact-icons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
}

.contact-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(9,18,42,0.86);
  border: 1px solid rgba(0,255,173,0.55);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}
.contact-icon-link:hover {
  background: rgba(0,255,173,0.15);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0,255,173,0.45);
}
.contact-icon-link img {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px;
  max-height: 22px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.contact-main {
  flex: 1;
  min-width: 0;
}

.contact-heading {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  letter-spacing: 6px;
  margin: 0 0 32px;
  color: rgba(232,238,252,0.95);
  line-height: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 28px;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { flex-direction: column; gap: 24px; }
  .contact-icons { flex-direction: row; }
}
@media (max-width: 520px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-label {
  font-size: 0.75rem;
  color: rgba(232,238,252,0.40);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 10px;
}

.contact-detail-link {
  color: rgba(232,238,252,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 180ms;
}
.contact-detail-link:hover { color: #00ffa0; }

.contact-social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(232,238,252,0.80);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: color 180ms ease;
}
.contact-social-link:hover { color: #00ffa0; }
.contact-social-link span { font-size: 0.75rem; opacity: 0.6; }

.btn-resume-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid rgba(0,255,173,0.55);
  border-radius: 999px;
  color: rgba(232,238,252,0.9);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 180ms, box-shadow 180ms, color 180ms;
  white-space: nowrap;
}
.btn-resume-dl:hover {
  background: rgba(0,255,173,0.12);
  box-shadow: 0 0 20px rgba(0,255,173,0.3);
  color: #00ffa0;
}
