/* ================= RESET ================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

/* ================= STAR BACKGROUND ================= */
#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* ================= DARK THEME VARIABLES ================= */
body.dark {
  --bg-main: #0A0F17;
  --bg-alt: #0D1321;
  --bg-section: #0b1220;
  --card: rgba(15, 23, 42, 0.75);
  --card-solid: #0f172a;
  --border: rgba(255,255,255,0.08);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #3b82f6;
  --accent2: #22d3ee;
  --neon-purple: #a855f7;
  --neon-blue: #3b82f6;
  --neon-gradient: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 25px 60px rgba(59, 130, 246, 0.25);
  --stars-opacity: 1;

  background: var(--bg-main);
  color: var(--text-main);
}

/* ================= LIGHT THEME VARIABLES ================= */
body.light {
  --bg-main: #f0f4ff;
  --bg-alt: #e8eeff;
  --bg-section: #eaf0ff;
  --card: rgba(255, 255, 255, 0.9);
  --card-solid: #ffffff;
  --border: rgba(59, 130, 246, 0.15);
  --text-main: #0f172a;
  --text-muted: #475569;
  --accent: #2563eb;
  --accent2: #0891b2;
  --neon-purple: #7c3aed;
  --neon-blue: #2563eb;
  --neon-gradient: linear-gradient(90deg, #2563eb, #7c3aed);
  --shadow-card: 0 4px 20px rgba(37, 99, 235, 0.1);
  --shadow-hover: 0 20px 50px rgba(37, 99, 235, 0.2);
  --stars-opacity: 0;

  background: var(--bg-main);
  color: var(--text-main);
}

/* Hide stars in light mode */
body.light #stars {
  opacity: 0;
  pointer-events: none;
}

/* ================= SHARED NEON / GRADIENT OVERRIDES ================= */
.hero-left h1 span,
.section-title span,
.logo {
  background: var(--neon-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}

.btn.primary {
  background: var(--neon-gradient) !important;
  color: #fff !important;
  border: none;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3) !important;
}

.btn.primary:hover {
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5) !important;
  transform: translateY(-2px);
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 16px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background 0.4s ease, border-color 0.4s ease;
}

body.dark .navbar { background: rgba(10, 15, 23, 0.88); }
body.light .navbar { background: rgba(240, 244, 255, 0.92); box-shadow: 0 2px 20px rgba(37,99,235,0.08); }

.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.navbar nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s;
}

.navbar nav a.active,
.navbar nav a:hover {
  color: var(--accent);
}

#themeToggle {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--accent);
  padding: 6px 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.25s, transform 0.25s;
}

#themeToggle:hover {
  background: rgba(59, 130, 246, 0.1);
  transform: rotate(20deg);
}

/* ================= HERO ================= */
.hero {
  height: 100vh;
  max-height: 100vh;
  padding: 80px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 5% 20px 8%;
}

.greeting {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.name-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.role-title {
  font-size: 52px;
  font-weight: 800;
  background: var(--neon-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
  line-height: 1.1;
  text-transform: capitalize;
  min-height: 120px; /* Prevent layout shift during typing */
  display: flex;
  align-items: center;
}

.hero-tagline {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.6;
  margin-top: -5px;
  margin-bottom: 25px;
}

.cursor {
  display: inline-block;
  color: var(--accent);
  margin-left: 5px;
  animation: blink 0.8s infinite;
}

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

.hero-socials {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.hero-socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s ease;
  background: var(--card);
}

.hero-socials a:hover {
  background: var(--neon-gradient);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.hero-actions-new {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 36px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
}

.btn.outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn.outline:hover {
  background: rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}


/* HERO RIGHT IMAGE */
.hero-right {
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: stretch;
}

.hero-circle-new {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

body.dark .hero-circle-new::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #0A0F17 0%, rgba(10,15,23,0.4) 30%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

body.dark .hero-circle-new::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0A0F17 0%, transparent 30%),
              linear-gradient(to bottom, #0A0F17 0%, transparent 10%);
  z-index: 1;
  pointer-events: none;
}

/* Fixed: Removed gradient overlays in light mode that caused photo whiteness */
body.light .hero-circle-new::before,
body.light .hero-circle-new::after {
  display: none;
}

.hero-circle-new img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  position: relative;
  z-index: 0;
}

/* ================= SECTIONS ================= */
.section {
  padding: 80px 8%;
}

#about {
  padding-top: 60px;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: var(--text-main);
}

.section-title span {
  color: var(--accent);
}

/* ================= ABOUT ================= */
.about-grid-new {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.light .about-card {
  background: #fff;
  border-color: rgba(37, 99, 235, 0.1);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.about-card h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-main);
  font-weight: 600;
}

.neon-title {
  background: var(--neon-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}

.neon-text {
  background: var(--neon-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.fact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.fact-icon {
  width: 42px;
  height: 42px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

body.light .fact-icon {
  background: #eff6ff;
  border-color: rgba(37,99,235,0.15);
}

.fact-info {
  display: flex;
  flex-direction: column;
}

.fact-label {
  font-size: 12px;
  color: var(--text-muted);
}

.fact-value {
  font-size: 14px;
  color: var(--text-main);
  font-weight: 500;
  margin-top: 2px;
}

.hobby-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-alt);
  padding: 10px 16px;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}

.hobby-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

body.light .hobby-item {
  background: #eff6ff;
}

.hobby-icon {
  font-size: 18px;
}

.hobby-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
}

.about-main p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 16px;
}

/* ================= SKILLS ================= */
.skills {
  padding: 100px 8%;
  position: relative;
}

.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 20px;
}

.skill-card {
  position: relative;
  padding: 30px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: var(--shadow-card);
}

body.dark .skill-card {
  background: linear-gradient(145deg, rgba(30, 58, 138, 0.18), rgba(2, 6, 23, 0.9));
}

body.light .skill-card {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.1);
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(59, 130, 246, 0.4);
}

body.light .skill-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
}

.skill-card.highlight {
  border-color: rgba(34, 211, 238, 0.35);
}

body.light .skill-card.highlight {
  border-color: rgba(8, 145, 178, 0.3);
}

.skill-card h3 {
  margin-bottom: 18px;
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
}

/* ─── Unified Skill List ─── */
.skills-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.skill-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  transition: all 0.3s ease;
}

body.light .skill-item {
  background: rgba(255,255,255,0.8);
  border-color: rgba(37,99,235,0.1);
}

.skill-item:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}

.skill-item-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.skill-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.skill-item-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.skill-item-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ─── Category Specific Overrides ─── */
.skill-card.soft-skills {
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.12), rgba(59, 130, 246, 0.05));
  border-color: rgba(168, 85, 247, 0.2);
}

body.light .skill-card.soft-skills {
  background: linear-gradient(145deg, #f5f3ff, #f0f9ff);
  border-color: rgba(124, 58, 237, 0.15);
}

.skill-item-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.skill-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.skill-item-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.skill-item-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ================= TRAINING / CERTIFICATES ================= */
.training {
  padding: 100px 8%;
}

.training-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-top: -30px;
  margin-bottom: 50px;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.cert-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: var(--shadow-card);
}

body.light .cert-card {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.1);
}

.cert-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.cert-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
}

body.light .cert-img-wrap {
  background: #eff6ff;
}

.cert-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.cert-card:hover .cert-img-wrap img {
  transform: scale(1.06);
}

/* Overlay on hover */
.cert-overlay {
  position: absolute;
  inset: 0;
  background: rgba(59, 130, 246, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cert-card:hover .cert-overlay {
  opacity: 1;
}

.cert-overlay span {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  background: rgba(0,0,0,0.4);
  padding: 8px 20px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
}

/* Placeholder cards (no image yet) */
.cert-img-wrap.no-img img {
  display: none;
}

.cert-no-img-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  font-style: italic;
  display: none;
}

.cert-img-wrap.no-img .cert-no-img-text {
  display: flex;
}

.cert-info {
  padding: 18px 20px 20px;
}

.cert-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 5px;
}

.cert-org {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 4px;
}

.cert-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* ================= LIGHTBOX ================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  padding: 20px;
}

.lightbox.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

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

.lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  text-align: center;
  animation: scaleIn 0.25s ease;
}

@keyframes scaleIn {
  from { transform: scale(0.9); }
  to   { transform: scale(1); }
}

.lightbox-inner img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
}

#lightboxCaption {
  margin-top: 14px;
  color: #e2e8f0;
  font-size: 14px;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #ef4444;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
}

.lightbox-close:hover {
  background: #dc2626;
  transform: scale(1.1);
}

/* ================= PROJECTS ================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.3s;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

body.dark .project-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

body.light .project-card {
  background: #ffffff;
  border-color: rgba(37,99,235,0.1);
}

.project-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.project-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrap img {
  transform: scale(1.1);
}

/* Ashirwad Slider Specifics */
.ashirwad-slider {
  position: relative;
}

.ashirwad-slider img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out, transform 0.5s ease;
}

.ashirwad-slider img.active {
  opacity: 1;
  position: relative;
}

.project-links-wrap {
  display: flex;
  gap: 12px;
  margin: -20px 20px 0;
  position: relative;
  z-index: 10;
}

.project-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  text-decoration: none;
  font-size: 22px;
  color: var(--text-main);
  transition: all 0.35s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

body.light .project-link-icon {
  background: #ffffff;
  border-color: rgba(37,99,235,0.15);
  box-shadow: 0 4px 12px rgba(37,99,235,0.08);
}

.project-link-icon:hover {
  background: var(--neon-gradient);
  transform: translateY(-4px) scale(1.1);
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.project-link-icon.video:hover {
  background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.project-content {
  padding: 16px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.project-card p {
  margin: 8px 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.project-card ul {
  margin: 10px 0;
  padding-left: 18px;
  list-style-type: none;
}

.project-card li {
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 13px;
  position: relative;
}

.project-card li::before {
  content: "▹";
  position: absolute;
  left: -18px;
  color: var(--accent);
}

.tech {
  margin-top: auto;
  padding-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* ================= ACHIEVEMENTS – TAB STRUCTURE ================= */
.achievements {
  padding: 100px 8%;
}

body.dark .achievements {
  background: radial-gradient(circle at top, #0b1220, #020617);
}

body.light .achievements {
  background: linear-gradient(160deg, #f0f6ff, #f5f0ff);
}

/* Tab Buttons */
.tab-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: var(--card);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

body.light .tab-btn {
  background: #fff;
  border-color: rgba(37,99,235,0.15);
}

.tab-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tab-btn.active {
  background: var(--neon-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

/* Tab Content */
.tab-content {
  max-width: 1100px;
  margin: 0 auto;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-pane.active {
  display: block;
}

.tab-pane-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-card);
}

body.light .tab-pane-inner {
  background: #ffffff;
  border-color: rgba(37,99,235,0.1);
}

.tab-image-side .achievement-image img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 14px;
  filter: drop-shadow(0 8px 20px rgba(59,130,246,0.3));
}

.tab-text-side h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
}

.ach-list {
  padding-left: 20px;
  margin-bottom: 24px;
}

.ach-list li {
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.ach-list li strong {
  color: var(--accent);
}

.ach-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.ach-stat-row {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.ach-stat {
  text-align: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 28px;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  min-width: 100px;
}

body.light .ach-stat {
  background: #eff6ff;
  border-color: rgba(37,99,235,0.15);
}

.ach-stat p {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.topic-tags span {
  padding: 5px 14px;
  background: rgba(59,130,246,0.1);
  color: var(--accent);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

body.light .topic-tags span {
  background: #eff6ff;
  border-color: rgba(37,99,235,0.2);
  color: #1d4ed8;
}

/* Hackathon */
.hack-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(168,85,247,0.1));
  border-radius: 18px;
  min-height: 180px;
}

.hack-emoji {
  font-size: 80px;
  filter: drop-shadow(0 0 20px rgba(59,130,246,0.5));
}

.hack-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hack-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 14px 18px;
  border: 1px solid var(--border);
}

body.light .hack-item {
  background: #eff6ff;
  border-color: rgba(37,99,235,0.1);
}

.hack-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

.hack-item.green .hack-dot { background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.hack-item.blue .hack-dot  { background: #3b82f6; box-shadow: 0 0 8px #3b82f6; }

.hack-item strong {
  font-size: 14px;
  color: var(--text-main);
  display: block;
  margin-bottom: 4px;
}

.hack-item p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Microsoft Learn Tab */
.ms-badge-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 164, 239, 0.15), rgba(127, 186, 0, 0.15));
  border-radius: 20px;
  min-height: 200px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.ms-logo {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #00a4ef, #7fba00, #f25022, #ffb900);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
  font-family: 'Segoe UI', system-ui, sans-serif;
}

/* Highlights Tab */
.highlights-pane .tab-text-side {
  grid-column: 1 / -1;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.highlight-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  transition: all 0.3s ease;
  text-align: center;
}

body.light .highlight-card {
  background: #f8faff;
  border-color: rgba(37,99,235,0.1);
}

.highlight-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(59,130,246,0.15);
}

.hi-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}

.highlight-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.highlight-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================= EDUCATION ================= */
.education {
  padding: 100px 8%;
}

body.dark .education {
  background: radial-gradient(circle at top, #0b1220, #020617);
}

body.light .education {
  background: linear-gradient(160deg, #f5f3ff, #f0f4ff);
}

.education-timeline {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.education-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-card);
}

body.light .education-card {
  background: #ffffff;
  border-color: rgba(37,99,235,0.1);
}

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

.edu-year {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  background: rgba(59,130,246,0.1);
  padding: 3px 12px;
  border-radius: 20px;
  border: 1px solid rgba(59,130,246,0.2);
}

.education-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text-main);
}

.edu-place {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.edu-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ================= CONTACT ================= */
.contact {
  padding: 100px 8%;
  text-align: center;
}

body.dark .contact {
  background: radial-gradient(circle at top, #0b1220, #020617);
}

body.light .contact {
  background: linear-gradient(160deg, #eff6ff, #f5f0ff);
}

.contact .section-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-main);
}

.contact-subtitle {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.contact-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.contact-left h3 {
  margin-bottom: 22px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--card);
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  transition: border-color 0.25s, transform 0.25s;
}

body.light .contact-item {
  background: #fff;
  border-color: rgba(37,99,235,0.1);
}

.contact-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.contact-item span {
  font-size: 20px;
}

.contact-item small {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}

.contact-item p {
  font-size: 14px;
  color: var(--text-main);
  font-weight: 500;
  margin: 0;
}

.follow-title {
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
}

.follow-icons {
  display: flex;
  gap: 12px;
}

.follow-icons a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  transition: 0.25s;
}

body.light .follow-icons a {
  background: #fff;
}

.follow-icons a:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.contact-right {
  background: var(--card);
  padding: 32px;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

body.light .contact-right {
  background: #fff;
  border-color: rgba(37,99,235,0.1);
}

.contact-right h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.contact-right p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-btn {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 14px;
  transition: 0.25s;
  font-size: 14px;
}

.contact-btn.primary {
  background: var(--neon-gradient);
  color: #fff;
}

.contact-btn.primary:hover {
  opacity: 0.9;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.availability {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 30px 20px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.back-to-home-wrap {
  margin-bottom: 15px;
}

.back-to-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 99px;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: 0.3s;
}

.back-to-home-btn:hover {
  background: var(--neon-gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.back-to-home-btn i {
  font-size: 16px;
}

/* ================= SCROLL REVEAL ================= */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    height: auto;
    max-height: none;
    padding: 100px 0 0;
  }

  .hero-left {
    padding: 40px 6% 40px;
    order: 2;
    align-items: center;
  }

  .hero-right {
    order: 1;
    min-height: 55vh;
  }

  .hero-circle-new {
    width: 100%;
    height: 55vh;
  }

  .role-title {
    font-size: 38px;
  }

  .hero-stats {
    justify-content: center;
    padding: 16px 20px;
  }

  .stat.divider {
    height: 28px;
  }

  .hero-socials,
  .hero-actions-new {
    justify-content: center;
  }

  .about-grid-new {
    grid-template-columns: 1fr;
  }

  .tab-pane-inner {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 28px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .navbar nav {
    gap: 12px;
  }

  .navbar nav a {
    font-size: 12px;
    display: none;
  }

  .navbar nav a.active {
    display: inline;
  }
}

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

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

  .tab-pane-inner {
    padding: 20px;
  }

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

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

/* ================= RESUME SECTION ================= */
.resume-section {
  padding: 100px 8%;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.resume-contact {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: -20px;
  margin-bottom: 35px;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 13px;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.contact-pill:hover {
  border-color: var(--accent);
  background: rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.15);
}

.resume-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.resume-tab-btn {
  padding: 10px 24px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.resume-tab-btn:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--text-main);
}

.resume-tab-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

.resume-content {
  max-width: 900px;
  margin: 0 auto;
  min-height: 400px;
}

.resume-pane {
  display: none;
  animation: resumeFadeIn 0.4s ease-out;
}

.resume-pane.active {
  display: block;
}

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

.resume-card {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.resume-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(15, 23, 42, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.resume-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.resume-card .card-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.resume-card h3 {
  font-size: 18px;
  color: var(--text-main);
  font-weight: 700;
}

.resume-card .card-org {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.resume-card .card-date {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.resume-card ul {
  list-style: none;
  margin-top: 15px;
}

.resume-card ul li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.resume-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.tech-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.tech-tag {
  font-size: 11px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.resume-download {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px !important;
  font-size: 15px !important;
  border-radius: 10px !important;
  background: var(--neon-gradient) !important;
  color: #fff !important;
}

.download-btn span {
  font-size: 18px;
}

@media (max-width: 768px) {
  .resume-contact { gap: 8px; }
  .contact-pill { padding: 6px 14px; font-size: 12px; }
  .resume-tabs { gap: 8px; }
  .resume-tab-btn { padding: 8px 16px; font-size: 13px; }
  .resume-card .card-header { flex-direction: column; gap: 8px; }
  .resume-card .card-date { align-self: flex-start; }
}
