/* ═══════════════════════════════════════════════════════
   Design System: Calm Editorial Light Mode, Deep Premium Dark Mode
   Accent: Teal / Cyan (OKLCH Color Space)
   ═══════════════════════════════════════════════════════ */

:root {
  --radius: 0.875rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: calc(var(--radius) + 8px);
  --radius-3xl: calc(var(--radius) + 12px);

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* High Contrast Light Mode Tokens (OKLCH) */
  --background: oklch(0.985 0.004 106);
  --foreground: oklch(0.14 0.012 250);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.14 0.012 250);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.14 0.012 250);
  --primary: oklch(0.48 0.11 205);
  --primary-foreground: oklch(0.99 0.005 200);
  --secondary: oklch(0.95 0.006 106);
  --secondary-foreground: oklch(0.2 0.012 250);
  --muted: oklch(0.94 0.006 106);
  --muted-foreground: oklch(0.42 0.012 250);
  --accent: oklch(0.93 0.025 200);
  --accent-foreground: oklch(0.3 0.07 205);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.88 0.008 106);
  --input: oklch(0.88 0.008 106);
  --ring: oklch(0.48 0.11 205);

  --shadow-soft:
    0 2px 4px oklch(0.14 0.012 250 / 0.04),
    0 8px 24px oklch(0.14 0.012 250 / 0.06);
  --shadow-lift:
    0 4px 10px oklch(0.14 0.012 250 / 0.08),
    0 16px 36px oklch(0.14 0.012 250 / 0.12);
  --grid-line: oklch(0.14 0.012 250 / 0.05);

  --container-max: 1140px;
  --nav-height: 72px;
  --transition-fast: 0.18s ease;
  --transition-base: 0.28s ease;
}

/* Deep High Contrast Dark Mode Overrides (OKLCH) */
html.dark,
[data-theme="dark"] {
  --background: oklch(0.13 0.008 250);
  --foreground: oklch(0.98 0.004 250);
  --card: oklch(0.18 0.01 250);
  --card-foreground: oklch(0.98 0.004 250);
  --popover: oklch(0.18 0.01 250);
  --popover-foreground: oklch(0.98 0.004 250);
  --primary: oklch(0.78 0.12 195);
  --primary-foreground: oklch(0.12 0.02 220);
  --secondary: oklch(0.22 0.012 250);
  --secondary-foreground: oklch(0.98 0.004 250);
  --muted: oklch(0.22 0.012 250);
  --muted-foreground: oklch(0.75 0.012 250);
  --accent: oklch(0.26 0.035 200);
  --accent-foreground: oklch(0.9 0.09 195);
  --destructive: oklch(0.7 0.19 22);
  --border: oklch(1 0 0 / 12%);
  --input: oklch(1 0 0 / 16%);
  --ring: oklch(0.78 0.12 195);

  --shadow-soft: 0 2px 4px oklch(0 0 0 / 0.4), 0 8px 24px oklch(0 0 0 / 0.35);
  --shadow-lift: 0 4px 12px oklch(0 0 0 / 0.45), 0 18px 44px oklch(0 0 0 / 0.5);
  --grid-line: oklch(1 0 0 / 0.06);
}

/* ═══════════════════════════════════════════════════════
   BASE & UTILITIES
   ═══════════════════════════════════════════════════════ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--foreground);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button {
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.grid-bg {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
}

.card-surface {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.lift {
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease;
}

.lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: color-mix(in oklab, var(--primary) 45%, var(--border));
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 85px 0;
}

/* ═══════════════════════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════════════════════ */
.skeleton-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--background);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.skeleton-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.preloader-gear-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  color: var(--primary);
  filter: drop-shadow(
    0 0 12px color-mix(in oklab, var(--primary) 60%, transparent)
  );
  animation: gear-spin 2.4s linear infinite;
}

@keyframes gear-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.preloader-text {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--primary);
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: color-mix(in oklab, var(--background) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition-base);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo-avatar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--foreground);
}

.nav-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.logo-status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
  animation: pulse-online 2s infinite;
}

@keyframes pulse-online {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.25);
  }
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted-foreground);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--foreground);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  background: var(--secondary);
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

.theme-toggle .icon-sun {
  display: none;
}
.theme-toggle .icon-moon {
  display: block;
}

html.dark .theme-toggle .icon-sun,
[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}
html.dark .theme-toggle .icon-moon,
[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--secondary);
  color: var(--primary);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  cursor: pointer;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-overlay {
  display: none;
}

/* ═══════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-foreground);
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
}

.hero-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}

.highlight {
  color: var(--primary);
}

.hero-subtitle-container {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  height: 32px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.typewriter-cursor {
  animation: blink 0.8s infinite;
  margin-left: 2px;
  color: var(--primary);
}

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

.hero-description {
  font-size: 16px;
  color: var(--muted-foreground);
  max-width: 540px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

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

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  transition: all var(--transition-fast);
}

.social-link:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  max-width: 360px;
  margin: 0 auto;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ═══════════════════════════════════════════════════════
   SECTION HEADERS & ABOUT SECTION
   ═══════════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--muted-foreground);
}

.about-card {
  padding: 40px;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-paragraph {
  font-size: 16px;
  line-height: 1.7;
  color: var(--foreground);
}

.highlight-quote {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--primary);
  border-left: 3px solid var(--primary);
  padding-left: 16px;
  margin: 8px 0;
}

.about-meta-info {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: 10px;
}

.meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-foreground);
  background: var(--secondary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.meta-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* ═══════════════════════════════════════════════════════
   SKILLS SECTION
   ═══════════════════════════════════════════════════════ */
.learning-board-banner {
  padding: 28px;
  margin-bottom: 40px;
}

.lb-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.lb-header h3 {
  font-size: 18px;
  font-weight: 600;
}

.lb-pulse {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: pulse-online 1.8s infinite;
}

.lb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.lb-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.lb-icon {
  font-size: 22px;
  display: flex;
  align-items: center;
  margin-top: 2px;
}
.lb-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--foreground);
}
.lb-item p {
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.4;
}

.skills-progress-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.skill-category-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.category-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
}

.category-card-title svg {
  color: var(--primary);
}

.progress-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
}
.skill-name {
  color: var(--foreground);
}
.skill-percentage {
  font-family: var(--font-mono);
  color: var(--primary);
  font-weight: 600;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: var(--secondary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: width 1s ease-in-out;
}

/* ═══════════════════════════════════════════════════════
   TIMELINE (EDUCATION & EXPERIENCE STANDALONE)
   ═══════════════════════════════════════════════════════ */
.single-column-timeline {
  max-width: 820px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -32px;
  top: 24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--background);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 30%, transparent);
}

.education-marker {
  background: oklch(0.68 0.16 200);
}

.timeline-content {
  padding: 28px;
}
.timeline-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.timeline-title {
  font-size: 18.5px;
  font-weight: 600;
}
.timeline-date {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--primary);
  font-weight: 600;
}
.timeline-company {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-foreground);
  margin-bottom: 14px;
}
.timeline-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.timeline-details li {
  font-size: 14px;
  color: var(--foreground);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
.timeline-details li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.education-timeline-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.edu-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 3px 10px;
  background: var(--secondary);
  color: var(--muted-foreground);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.edu-gpa {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════════
   CARD THUMBNAILS & BANNER SLOTS (UNIFIED DESIGN)
   ═══════════════════════════════════════════════════════ */
.card-thumbnail-box {
  width: 100%;
  height: 220px;
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════
   UNIFIED CARD HEIGHTS & ALIGNMENT
   ═══════════════════════════════════════════════════════ */

/* Ensure all card types have consistent structure */
.project-card,
.research-card,
.blog-card,
.cert-card,
.honor-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Make card bodies fill remaining space */
.project-card-body,
.research-card-body,
.blog-card-body,
.cert-card-body,
.honor-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Ensure content stretches properly */
.blog-excerpt,
.research-desc,
.honor-desc,
.project-description {
  flex: 1;
}

/* Keep buttons/links at bottom */
.blog-read-link,
.project-icon-link {
  margin-top: auto;
}

.card-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.card-surface:hover .card-banner-img {
  transform: scale(1.05);
}

.thumbnail-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
  opacity: 0.75;
}

.thumbnail-placeholder svg {
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════════
   PROJECTS SECTION
   ═══════════════════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  display: flex;
  flex-direction: column;
}

.project-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.project-title {
  font-size: 18px;
  font-weight: 600;
}
.project-icon-link {
  color: var(--muted-foreground);
}
.project-icon-link:hover {
  color: var(--primary);
}

.project-description {
  font-size: 13.5px;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 3px 10px;
  background: var(--secondary);
  color: var(--foreground);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.github-action-banner {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* ═══════════════════════════════════════════════════════
   RESEARCH, BLOGS, CERTIFICATIONS & HONORS SECTIONS
   ═══════════════════════════════════════════════════════ */
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.research-card {
  display: flex;
  flex-direction: column;
}

.research-card-body {
  padding: 28px;
}

.research-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--secondary);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
  width: fit-content;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  font-weight: 600;
}

.research-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}
.research-desc {
  font-size: 15px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
}
.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.blog-platform-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 3px 10px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  width: fit-content;
  font-weight: 600;
}

.blog-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted-foreground);
  background: var(--secondary);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.blog-date svg {
  width: 13px;
  height: 13px;
  color: var(--primary);
  flex-shrink: 0;
}

.blog-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-excerpt {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}
.blog-read-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.blog-read-link:hover {
  text-decoration: underline;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cert-card {
  display: flex;
  flex-direction: column;
}
.cert-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.cert-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--secondary);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  width: fit-content;
  font-weight: 600;
}
.cert-title {
  font-size: 16px;
  font-weight: 600;
}
.cert-org {
  font-size: 13px;
  color: var(--muted-foreground);
}
.cert-status {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--primary);
  font-weight: 500;
}

.honors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.honor-card {
  display: flex;
  flex-direction: column;
}
.honor-body {
  padding: 24px;
  flex: 1;
}
.honor-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary);
  background: var(--secondary);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 8px;
  display: inline-block;
  width: fit-content;
  font-weight: 600;
}
.honor-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}
.honor-desc {
  font-size: 13.5px;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
}

.contact-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--secondary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.contact-label {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 2px;
}
.contact-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--foreground);
}

.contact-resume-block {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.contact-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--secondary);
  border: 1px solid var(--border);
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.contact-social-link:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.contact-form {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  font-family: inherit;
  font-size: 14px;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--ring);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.btn-full {
  width: 100%;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════
   UPGRADED MULTI-COLUMN FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 60%, var(--background));
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 14px;
}

.footer-avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.footer-bio {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 320px;
}

.footer-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--foreground);
  background: var(--secondary);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

.location-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-list a {
  font-size: 14px;
  color: var(--muted-foreground);
  transition:
    color var(--transition-fast),
    transform var(--transition-fast);
  display: inline-block;
}

.footer-link-list a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-social-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--secondary);
  border: 1px solid var(--border);
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-resume-btn {
  width: 100%;
  justify-content: center;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--muted-foreground);
}

.footer-back-link {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--primary);
}

.footer-back-link:hover {
  text-decoration: underline;
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 90px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  z-index: 900;
  box-shadow: var(--shadow-soft);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ═══════════════════════════════════════════════════════
   FLOATING ANIMATED TERMINAL BUTTON & DRAWER
   ═══════════════════════════════════════════════════════ */
.floating-term-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.term-pulse-ring {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: term-ring-pulse 2.2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

@keyframes term-ring-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.term-tooltip {
  position: absolute;
  right: 60px;
  white-space: nowrap;
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--primary);
  padding: 5px 12px;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: all var(--transition-fast);
}

.floating-term-wrapper:hover .term-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.floating-term-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  border: 1px solid var(--ring);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px oklch(0 0 0 / 0.35);
  transition: all var(--transition-fast);
  animation: term-btn-bounce 4s ease-in-out infinite;
}

@keyframes term-btn-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.floating-term-wrapper:hover .floating-term-btn {
  animation-play-state: paused;
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 24px oklch(0 0 0 / 0.45);
}

.terminal-drawer {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 480px;
  max-width: calc(100vw - 48px);
  height: 340px;
  background: #090d16;
  border: 1px solid #334155;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lift);
  display: flex;
  flex-direction: column;
  z-index: 1050;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.35s ease;
  transform: translateY(120%) scale(0.95);
  opacity: 0;
  pointer-events: none;
}

.terminal-drawer.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e293b;
  padding: 10px 16px;
  border-bottom: 1px solid #334155;
  user-select: none;
}

.terminal-controls {
  display: flex;
  gap: 6px;
}
.term-btn {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.term-close {
  background: #ef4444;
}
.term-min {
  background: #f59e0b;
}
.term-max {
  background: #10b981;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}
.terminal-actions button {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #64748b;
}
.terminal-actions button:hover {
  color: #f8fafc;
}

.terminal-body {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: #f8fafc;
}

.term-line {
  margin-bottom: 6px;
}
.term-line.banner {
  color: #38bdf8;
  font-weight: 600;
}
.term-line.info {
  color: #94a3b8;
}
.term-line.success {
  color: #34d399;
}
.term-line.error {
  color: #f87171;
}
.term-cmd {
  color: #facc15;
}

.terminal-input-row {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  background: #030712;
  border-top: 1px solid #1e293b;
}

.term-prompt {
  color: #34d399;
  font-family: var(--font-mono);
  font-size: 12.5px;
  margin-right: 8px;
  font-weight: 600;
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #f8fafc;
  font-family: var(--font-mono);
  font-size: 13px;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2000;
  pointer-events: none;
}

.toast {
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--primary);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lift);
  display: flex;
  align-items: center;
  gap: 10px;
  animation:
    toast-in 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    toast-out 0.3s forwards 2.7s;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════ */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description {
    margin: 0 auto 30px;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-socials {
    justify-content: center;
  }
  .skills-progress-grid,
  .projects-grid,
  .blogs-grid,
  .cert-grid,
  .honors-grid,
  .research-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lb-grid {
    grid-template-columns: 1fr;
  }
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .card-thumbnail-box {
    height: 140px;
  }
}

@media (max-width: 768px) {
  .skills-progress-grid,
  .projects-grid,
  .blogs-grid,
  .cert-grid,
  .honors-grid,
  .research-grid {
    grid-template-columns: 1fr;
  }
  .card-thumbnail-box {
    height: 180px;
  }

  .hamburger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    right: -100%;
    width: 260px;
    height: calc(100vh - var(--nav-height));
    background: var(--card);
    border-left: 1px solid var(--border);
    flex-direction: column;
    padding: 30px;
    gap: 18px;
    transition: right var(--transition-base);
  }
  .nav-links.active {
    right: 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Small Mobile: Adjust thumbnail */
@media (max-width: 480px) {
  .card-thumbnail-box {
    height: 160px;
  }
}

/* ═══════════════════════════════════════════════════════
EXPANDABLE GRIDS (View All / Show Less)
═══════════════════════════════════════════════════════ */
.hidden-card {
  display: none;
}

/* When the parent grid has the 'grid-expanded' class, show hidden cards */
.grid-expanded .hidden-card {
  display: flex; /* Matches the flex display of your card classes */
  animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.view-all-btn {
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-all-btn .arrow {
  transition: transform 0.3s ease;
  display: inline-block;
}

.view-all-btn.expanded .arrow {
  transform: rotate(180deg);
}

/* ═══════════════════════════════════════════════════════
POLISHED TERMINAL UI
═══════════════════════════════════════════════════════ */
/* Sleek Scrollbar */
.terminal-body::-webkit-scrollbar {
  width: 6px;
}
.terminal-body::-webkit-scrollbar-track {
  background: transparent;
}
.terminal-body::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 3px;
}
.terminal-body::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Input Placeholder */
.terminal-input::placeholder {
  color: #475569;
  font-style: italic;
}

/* Clean Output Blocks for better readability */
.term-block {
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid #38bdf8;
  padding: 12px 16px;
  margin: 8px 0;
  border-radius: 0 8px 8px 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: #e2e8f0;
}

.term-block strong {
  color: #38bdf8;
  font-weight: 600;
}

.term-block .highlight-text {
  color: #facc15;
}

/* Prompt Echo (When user presses enter) */
.term-echo {
  color: #94a3b8;
  margin-bottom: 4px;
  font-size: 12.5px;
}
.term-echo .cmd-text {
  color: #f8fafc;
  font-weight: 500;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  z-index: 10000;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 20px;
}

/* Case Study Modal (Native Dialog) */
.case-study-modal {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 600px;
  width: 90vw;
  border-radius: var(--radius-xl);
}
.case-study-modal::backdrop {
  background: oklch(0 0 0 / 0.6);
  backdrop-filter: blur(4px);
}
.modal-content {
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  padding: 0;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.modal-header h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}
.modal-close-btn {
  background: var(--secondary);
  border: 1px solid var(--border);
  color: var(--foreground);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.modal-close-btn:hover {
  background: var(--destructive);
  color: white;
  border-color: var(--destructive);
}
.modal-body {
  padding: 24px;
  overflow-y: auto;
  line-height: 1.6;
}
.modal-body h4 {
  font-size: 15px;
  color: var(--primary);
  margin: 20px 0 8px 0;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.modal-body h4:first-child {
  margin-top: 0;
}
.modal-body p,
.modal-body li {
  font-size: 14px;
  color: var(--muted-foreground);
}
.modal-body ul {
  padding-left: 20px;
  margin: 8px 0;
}
.modal-body li {
  margin-bottom: 6px;
}

/* ═══════════════════════════════════════════════════════
   REDESIGNED TECHNICAL BREAKDOWN MODAL (4:3 Ratio)
   ═══════════════════════════════════════════════════════ */
.project-actions {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
}
.project-actions .breakdown-btn {
  flex: 1;
  justify-content: center;
}
.project-repo-btn {
  flex: 1;
  justify-content: center;
  font-size: 13px;
  gap: 8px;
}
.project-repo-btn:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

/* Native dialog centers perfectly with margin: auto */
.breakdown-modal {
  border: none;
  background: transparent;
  padding: 0;
  width: min(90vw, 800px);
  aspect-ratio: 4 / 3; /* Enforces the 4:3 ratio */
  border-radius: var(--radius-2xl);
  margin: auto;
}

.breakdown-modal::backdrop {
  background: oklch(0 0 0 / 0.6);
  backdrop-filter: blur(8px);
}

.breakdown-modal .modal-content {
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Maintains rounded corners */
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

/* Matches your website's .lift hover effect */
.breakdown-modal .modal-content:hover {
  border-color: color-mix(in oklab, var(--primary) 45%, var(--border));
  box-shadow: var(--shadow-lift);
}

.breakdown-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 98%, var(--primary));
  flex-shrink: 0;
}

.breakdown-modal .modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Subtle glowing dot next to the title */
.breakdown-modal .modal-header h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
}

.breakdown-modal .modal-close-btn {
  background: var(--secondary);
  border: 1px solid var(--border);
  color: var(--foreground);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.breakdown-modal .modal-close-btn:hover {
  background: var(--destructive);
  color: white;
  border-color: var(--destructive);
}

.breakdown-modal .modal-body {
  padding: 32px;
  overflow-y: auto;
  line-height: 1.7;
  flex: 1; /* Takes remaining space, allowing internal scroll */
}

/* Custom scrollbar matching the terminal */
.breakdown-modal .modal-body::-webkit-scrollbar {
  width: 6px;
}
.breakdown-modal .modal-body::-webkit-scrollbar-track {
  background: transparent;
}
.breakdown-modal .modal-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
.breakdown-modal .modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--muted-foreground);
}

.breakdown-modal .modal-body h4 {
  font-size: 14px;
  color: var(--primary);
  margin: 24px 0 12px 0;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.breakdown-modal .modal-body h4:first-child {
  margin-top: 0;
}

.breakdown-modal .modal-body h4 svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.breakdown-modal .modal-body p,
.breakdown-modal .modal-body li {
  font-size: 14.5px;
  color: var(--muted-foreground);
}

.breakdown-modal .modal-body ul {
  padding-left: 0;
  margin: 12px 0;
  list-style: none;
}

.breakdown-modal .modal-body li {
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
}

/* Custom bullet points matching the theme */
.breakdown-modal .modal-body li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.7;
}

.breakdown-modal .modal-body code {
  background: var(--secondary);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px solid var(--border);
}

.breakdown-modal .modal-body strong {
  color: var(--foreground);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   HONORS CERTIFICATE FIX
   ═══════════════════════════════════════════════════════ */
.honor-card .card-banner-img {
  object-fit: cover;
}
