/* ============================
   SUMANA PORTFOLIO — style.css
   ============================ */

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

:root {
  --bg-primary:    #0a0a0f;
  --bg-secondary:  #0f0f1a;
  --bg-card:       #13131f;
  --bg-glass:      rgba(255,255,255,0.04);
  --border:        rgba(255,255,255,0.08);
  --border-hover:  rgba(139,92,246,0.4);

  --purple:        #8b5cf6;
  --purple-light:  #a78bfa;
  --pink:          #ec4899;
  --cyan:          #06b6d4;
  --green:         #10b981;

  --grad-main:     linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #06b6d4 100%);
  --grad-card:     linear-gradient(135deg, rgba(139,92,246,.15), rgba(236,72,153,.08));
  --grad-glow:     radial-gradient(circle at 50% 50%, rgba(139,92,246,.3) 0%, transparent 70%);

  --text-primary:  #f1f1f8;
  --text-secondary:#a1a1b5;
  --text-muted:    #6b6b85;

  --font-main: 'Outfit', sans-serif;
  --font-alt:  'Space Grotesk', sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full: 999px;

  --shadow-glow: 0 0 40px rgba(139,92,246,.25);
  --shadow-card: 0 8px 32px rgba(0,0,0,.4);

  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.6s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── FIXED FULL-SCREEN BACKGROUND & CANVAS ─── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
}

body::after {
  content: '';
  position: fixed;
  inset: -10%;
  background:
    radial-gradient(ellipse 60% 60% at 15% 20%, rgba(6, 182, 212, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 55% 50% at 85% 75%, rgba(139, 92, 246, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 45%, rgba(236, 72, 153, 0.04) 0%, transparent 70%);
  z-index: -2;
  pointer-events: none;
  will-change: transform;
  animation: bgGlowPulse 30s ease-in-out infinite alternate;
}

@keyframes bgGlowPulse {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.08) translate(2%, -2%); }
  100% { transform: scale(1.02) translate(-2%, 1%); }
}


a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Custom cursor styles removed */

/* ─── LOADER ─── */
.loader {
  position: fixed; inset: 0;
  background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000;
  transition: opacity .6s, visibility .6s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo {
  font-size: 4rem; font-weight: 900;
  background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.1)} }
.loader-bar {
  width: 240px; height: 4px;
  background: var(--bg-glass);
  border-radius: var(--radius-full);
  overflow: hidden; margin: 0 auto 1rem;
}
.loader-progress {
  height: 100%;
  background: var(--grad-main);
  border-radius: var(--radius-full);
  width: 0; transition: width .05s linear;
}
.loader-text { color: var(--text-muted); font-size: .875rem; letter-spacing: .1em; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 3rem;
  display: flex; align-items: center; gap: 2rem;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.navbar.scrolled {
  background: rgba(10,10,15,.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
  padding: .9rem 3rem;
}
.nav-logo {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em;
  margin-right: auto;
}
.logo-dot { color: var(--purple); }
.nav-links { display: flex; gap: 0.25rem; }
.nav-link {
  padding: .5rem 1rem;
  border-radius: var(--radius-full);
  font-size: .9rem; font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--grad-main); border-radius: 2px;
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 50%; }
.nav-cta {
  padding: .55rem 1.5rem;
  background: var(--grad-main);
  border-radius: var(--radius-full);
  font-size: .875rem; font-weight: 600;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
}
.nav-cta:hover { opacity: .9; transform: translateY(-1px); box-shadow: var(--shadow-glow); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; border-radius: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 2rem;
  border-radius: var(--radius-full);
  font-size: .95rem; font-weight: 600;
  font-family: var(--font-main);
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--grad-main);
  color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(139,92,246,.4); }
.btn-ghost {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--border-hover); background: rgba(139,92,246,.1); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-hover);
  color: var(--purple-light);
}
.btn-outline:hover { background: rgba(139,92,246,.15); transform: translateY(-1px); }
.btn-full { width: 100%; justify-content: center; }
.btn-loader {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── GRADIENT TEXT ─── */
.gradient-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── SECTION COMMONS ─── */
section { padding: 7rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block;
  padding: .35rem 1.1rem;
  background: rgba(139,92,246,.15);
  border: 1px solid rgba(139,92,246,.3);
  border-radius: var(--radius-full);
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -.03em;
  margin-bottom: .75rem;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem; max-width: 520px; margin: 0 auto;
}

/* ─── HERO ─── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 0;
}
/* Hero background and particles removed */

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 780px; padding: 2rem;
  animation: fadeUp .9s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem 1.1rem;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.3);
  border-radius: var(--radius-full);
  font-size: .8rem; font-weight: 600; letter-spacing: .05em; color: #10b981;
  margin-bottom: 1.5rem;
  animation: fadeUp .9s .1s ease both;
}
.badge-dot {
  width: 8px; height: 8px; background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;box-shadow:0 0 8px rgba(16,185,129,0.8)} 50%{opacity:.5;box-shadow:0 0 2px rgba(16,185,129,0.4)} }
.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900; letter-spacing: -.04em;
  line-height: 1.05;
  margin-bottom: 1rem;
  animation: fadeUp .9s .2s ease both;
}
.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-family: var(--font-alt);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  animation: fadeUp .9s .3s ease both;
  min-height: 2.2em;
}
.static-text { color: var(--text-secondary); }
.typewriter { color: var(--purple-light); font-weight: 600; }
.cursor-blink {
  color: var(--purple);
  animation: cursor-blink .8s steps(1) infinite;
}
@keyframes cursor-blink { 0%,50%{opacity:1} 51%,100%{opacity:0} }
.hero-description {
  color: var(--text-secondary);
  font-size: 1.05rem; max-width: 580px; margin: 0 auto 2rem;
  animation: fadeUp .9s .4s ease both;
}
.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeUp .9s .5s ease both;
}
/* Hero stats removed */
.hero-scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; text-align: center;
  color: var(--text-muted); font-size: .75rem; letter-spacing: .1em;
  animation: fadeUp 1s 1s ease both;
}
.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(139,92,246,.4);
  border-radius: 12px;
  margin: 0 auto .5rem;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 5px;
}
.scroll-wheel {
  width: 4px; height: 8px;
  background: var(--purple);
  border-radius: 2px;
  animation: scroll-wheel 1.8s ease infinite;
}
@keyframes scroll-wheel {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ─── ABOUT ─── */
.about { background: transparent; }
.about-image-card {
  position: relative;
  width: 320px;
  max-width: 100%;
  height: 420px;
  margin: 0 auto;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem; align-items: center;
}
.about-image-wrap { display: flex; justify-content: center; }
.about-image-card {
  position: relative;
  width: 320px; height: 420px;
}
.about-avatar {
  width: 270px; height: 270px;
  position: absolute; top: 45%; left: 50%;
  transform: translate(-50%,-50%);
}
.avatar-ring {
  position: absolute; inset: -5px;
  border-radius: 50%;
  background: conic-gradient(var(--purple), var(--pink), var(--cyan), var(--purple));
  animation: spin 4s linear infinite;
}
.avatar-img {
  position: absolute; inset: 4px;
  width: calc(100% - 8px); height: calc(100% - 8px);
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50%;
  z-index: 2;
  background: var(--bg-card);
  transform: scale(1.22);
  transform-origin: center 30%;
}
.about-card-badge {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  background: rgba(139,92,246,.2); border: 1px solid rgba(139,92,246,.4);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  padding: .5rem 1.2rem;
  font-size: .85rem; font-weight: 600; white-space: nowrap;
  margin-top: 1rem;
}
.about-heading {
  font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em;
  margin-bottom: 1.2rem;
}
.about-text {
  color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.8;
}
.about-text strong { color: var(--text-primary); }
.about-highlights {
  display: flex; flex-direction: column; gap: 1rem;
  margin: 1.8rem 0;
}
.highlight-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 1.2rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), background var(--transition);
}
.highlight-item:hover { border-color: var(--border-hover); background: rgba(139,92,246,.06); }
.highlight-icon { font-size: 1.5rem; flex-shrink: 0; }
.highlight-item h4 { font-size: .95rem; font-weight: 600; margin-bottom: .15rem; }
.highlight-item p  { font-size: .85rem; color: var(--text-muted); }
.about-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .5rem; }

/* ─── SKILLS ─── */
.skills { background: transparent; }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.skill-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.skill-card:hover {
  border-color: var(--border-hover);
  background: rgba(139, 92, 246, 0.06);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.skill-icon {
  font-size: 2.2rem;
}
.skill-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.skill-badge-mini {
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: var(--radius-full);
  color: var(--purple-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── PROJECTS ─── */
.projects { background: transparent; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.project-card {
  position: relative;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  overflow: visible;
  transition: all var(--transition);
  cursor: default;
  min-height: 0;
  height: auto;
}
.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.project-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
}
.project-icon {
  width: 52px; height: 52px;
  background: rgba(139,92,246,.15);
  border: 1px solid rgba(139,92,246,.3);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.project-links { display: flex; gap: .5rem; }
.project-link-btn {
  width: 36px; height: 36px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.project-link-btn:hover {
  background: rgba(139,92,246,.15);
  border-color: var(--border-hover);
  color: var(--purple-light);
  transform: translateY(-2px);
}
.project-badge {
  display: inline-block;
  padding: .25rem .75rem;
  background: var(--grad-main);
  border-radius: var(--radius-full);
  font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  margin-bottom: .75rem;
}
.concept-badge { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.project-title { font-size: 1.2rem; font-weight: 700; margin-bottom: .6rem; }
.project-desc { color: var(--text-secondary); font-size: .9rem; line-height: 1.7; margin-bottom: 1.2rem; }
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  height: auto;
  width: 100%;
  overflow: visible;
}
.tag {
  padding: .25rem .7rem;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: .75rem; font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.project-card:hover .tag { border-color: rgba(139,92,246,.25); }

/* ─── PROJECT ACTION BUTTONS ─── */
.project-actions {
  display: flex;
  gap: .75rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}
.project-action-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 600;
  font-family: var(--font-main);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.project-action-live {
  background: var(--grad-main);
  color: #fff;
}
.project-action-live:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(139,92,246,.45);
  opacity: .92;
}
.project-action-github {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
}
.project-action-github:hover {
  border-color: var(--border-hover);
  background: rgba(139,92,246,.1);
  color: var(--purple-light);
  transform: translateY(-2px);
}

/* ─── CONTACT ─── */
.contact { background: transparent; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 4rem; align-items: start;
}
.contact-info h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 1rem; }
.contact-info > p { color: var(--text-secondary); margin-bottom: 2rem; line-height: 1.8; }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.contact-card:hover { border-color: var(--border-hover); transform: translateX(4px); }
.contact-card-icon { font-size: 1.6rem; flex-shrink: 0; }
.contact-card h4 { font-size: .85rem; font-weight: 600; color: var(--text-muted); margin-bottom: .2rem; }
.contact-card a, .contact-card span { font-size: .95rem; font-weight: 500; color: var(--text-primary); }
.contact-card a:hover { color: var(--purple-light); }

.social-links { display: flex; gap: .75rem; flex-wrap: wrap; }
.social-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.2rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: .85rem; font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.social-btn:hover {
  background: rgba(139,92,246,.15);
  border-color: var(--border-hover);
  color: var(--purple-light);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label {
  font-size: .85rem; font-weight: 600;
  color: var(--text-secondary);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: .8rem 1rem;
  font-family: var(--font-main); font-size: .95rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139,92,246,.15);
}
.form-success {
  text-align: center; padding: 1rem;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.3);
  border-radius: var(--radius-md);
  color: var(--green); font-weight: 600;
}

/* ─── FOOTER ─── */
.footer {
  background: rgba(10, 10, 15, 0.4);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}
.footer-inner { text-align: center; }
.footer-logo { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
.footer-tagline { color: var(--text-secondary); margin-bottom: 1.5rem; }
.footer-nav {
  display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.footer-nav a {
  color: var(--text-muted); font-size: .9rem;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--purple-light); }
.footer-copy { color: var(--text-muted); font-size: .85rem; }

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 48px; height: 48px;
  background: var(--grad-main);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(139,92,246,.4);
  z-index: 999;
  opacity: 0; transform: translateY(20px);
  transition: all var(--transition);
  pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(139,92,246,.5); }

/* ─── EDUCATION ─── */
.education { background: transparent; }
.edu-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  max-width: 800px;
  margin: 0 auto;
}
.edu-card {
  width: 100%;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2.25rem 2.5rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
}
.edu-card:hover {
  border-color: var(--border-hover);
  transform: translateX(5px);
  box-shadow: var(--shadow-card), 0 0 24px rgba(139,92,246,0.08);
  background: rgba(139,92,246,0.05);
}
.edu-icon-wrap {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.28);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.edu-icon { font-size: 1.7rem; }
.edu-body { flex: 1; min-width: 0; }
.edu-meta {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: .45rem; flex-wrap: wrap;
}
.edu-year {
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  color: var(--purple-light);
}
.edu-status {
  display: inline-block;
  padding: .18rem .55rem;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.28);
  border-radius: var(--radius-full);
  font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--green);
}
.edu-status.ongoing {
  background: rgba(139,92,246,0.12);
  border-color: rgba(139,92,246,0.28);
  color: var(--purple-light);
}
.edu-degree {
  font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em;
  margin-bottom: .3rem;
}
.edu-institute {
  font-size: .85rem; color: var(--text-muted);
  margin-bottom: .7rem;
}
.edu-desc {
  font-size: .875rem; color: var(--text-secondary);
  line-height: 1.75; margin-bottom: .9rem;
}
.edu-tags { display: flex; flex-wrap: wrap; gap: .45rem; }

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .about-grid       { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-wrap { order: -1; }
  .contact-grid     { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .navbar { padding: 1rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; top: 70px;
    background: rgba(10,10,15,.97);
    backdrop-filter: blur(20px);
    align-items: center; justify-content: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav-links.open .nav-link { font-size: 1.5rem; }
  .about-image-card { width: 280px; height: 320px; }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .project-card {
    padding: 1.75rem;
    height: auto;
    overflow: visible;
  }
  .project-tags {
    flex-wrap: wrap;
    height: auto;
    overflow: visible;
    gap: .45rem;
  }
  .tag {
    white-space: normal;
    word-break: break-word;
    flex-shrink: 1;
  }
  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.25rem;
  }
  .footer-nav { gap: 1rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  section { padding: 4.5rem 0; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; margin: 0 auto 2rem; }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .about-actions { flex-direction: column; }
  .contact-form { padding: 1.5rem; }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .skill-card {
    padding: 1.25rem 1rem;
  }
  .project-card {
    padding: 1.25rem;
    height: auto;
    overflow: visible;
  }
  .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    height: auto;
    overflow: visible;
    width: 100%;
  }
  .tag {
    font-size: .7rem;
    padding: .2rem .55rem;
    white-space: normal;
    word-break: break-word;
    flex-shrink: 1;
    max-width: 100%;
  }
  .project-actions {
    flex-wrap: wrap;
    gap: .5rem;
  }
}

