/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Color Palette (Clean SaaS White & Slate with Blue accents) */
  --bg-primary: #fcfcfd;
  --bg-secondary: #ffffff;
  --bg-neutral-light: #f8fafc;
  --bg-blue-light: #eff6ff;
  
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-faded: #94a3b8;
  
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #3b82f6;
  --accent-light: #dbeafe;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  
  --container-width: 1140px;
}

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

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

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

input, textarea, button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.bg-light {
  background-color: var(--bg-neutral-light);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
  display: inline-block;
  vertical-align: middle;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-blue {
  color: var(--primary-light);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}

.badge-primary {
  background-color: var(--bg-blue-light);
  color: var(--primary);
  border: 1px solid var(--accent-light);
}

.badge-neutral {
  background-color: var(--border-light);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.badge-accent {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.badge-dotted {
  background-color: transparent;
  color: var(--primary);
  border: 1px dashed var(--primary-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

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

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

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-neutral-light);
  border-color: var(--text-faded);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Section Header */
.section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.section-header.align-left {
  text-align: left;
  margin-bottom: 2.5rem;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.section-intro {
  max-width: 600px;
  margin: 0.75rem auto 0;
  color: var(--text-muted);
}

.section-divider {
  width: 40px;
  height: 3px;
  background-color: var(--primary);
  margin: 1rem auto 0;
}

.section-header.align-left .section-divider {
  margin-left: 0;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.nav-menu {
  display: flex;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-link:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-resume-btn {
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  position: relative;
  padding-top: 7rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

/* Subtle grid pattern via CSS */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, #e5e7eb 1px, transparent 1px),
    linear-gradient(to bottom, #e5e7eb 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.45;
}

.hero-grid-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 40%, rgba(255,255,255,1) 100%);
}

.hero-container {
  position: relative;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #0070F3;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: 'Manrope', 'Inter', var(--font-sans);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-primary);
  letter-spacing: -0.035em;
  margin-bottom: 0;
}

.hero-title-light {
  color: #9ca3af;
  font-weight: 600;
}

.hero-description {
  font-size: 1rem;
  color: #4b5563;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  line-height: 1.65;
  max-width: 40rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Outline button variant (for hero) */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #ffffff;
  color: var(--text-primary);
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  background-color: var(--bg-neutral-light);
  border-color: #d1d5db;
}

/* Contact Me link (below buttons) */
.hero-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.625rem 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.hero-contact-link:hover {
  color: #0070F3;
}

/* Bottom status bar */
.hero-status-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.8125rem;
  color: #6b7280;
}

.hero-status-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
  flex-shrink: 0;
}

/* ==========================================
   HERO ILLUSTRATION
   ========================================== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}

.hero-illust-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin: 0 auto;
}

.illust-grid-bg {
  position: absolute;
  inset: 24px;
  border-radius: 16px;
  background-image:
    linear-gradient(to right, #e5e7eb 1px, transparent 1px),
    linear-gradient(to bottom, #e5e7eb 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
}

.illust-bg-gradient {
  position: absolute;
  inset: 24px;
  border-radius: 16px;
  background: linear-gradient(to bottom right, #F5F9FF, #ffffff);
  border: 1px solid #e5e7eb;
}

/* Main dashboard card */
.illust-dashboard-card {
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-sm);
  padding: 20px;
  z-index: 2;
}

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

.illust-card-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.illust-dot {
  display: inline-block;
  border-radius: 50%;
}

.illust-dot-blue {
  width: 8px;
  height: 8px;
  background-color: #0070F3;
}

.illust-dot-gray {
  width: 8px;
  height: 8px;
  background-color: #e5e7eb;
}

.illust-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
}

.illust-card-dots {
  display: flex;
  gap: 6px;
}

/* Stats boxes */
.illust-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.illust-stat-box {
  border: 1px solid #f3f4f6;
  background-color: #f9fafb;
  border-radius: 6px;
  padding: 8px;
}

.illust-stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  font-weight: 500;
}

.illust-stat-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
  font-family: var(--font-mono);
}

/* Chart SVG */
.illust-chart-svg {
  width: 100%;
  height: 64px;
}

/* Bar chart row */
.illust-bar-row {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
  margin-top: 12px;
}

.illust-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background-color: rgba(0, 112, 243, 0.15);
}

.illust-bar-fill {
  width: 100%;
  height: 45%;
  border-radius: 3px 3px 0 0;
  background-color: #0070F3;
}

/* Floating mini-cards */
.illust-float-card {
  position: absolute;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.illust-float-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.illust-float-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  font-weight: 500;
}

.illust-float-value {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1f2937;
  font-family: var(--font-mono);
}

.illust-float-source {
  bottom: 40px;
  left: 16px;
}

.illust-float-pipeline {
  top: 56px;
  right: 8px;
}

.illust-float-report {
  bottom: 8px;
  right: 32px;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
  background-color: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 2.5rem;
  align-items: start;
}

.about-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #0070F3;
  margin-bottom: 0.75rem;
}

.about-title {
  font-family: 'Manrope', 'Inter', var(--font-sans);
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.about-p {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.625;
  margin-top: 0;
}

.about-p strong {
  font-weight: 600;
  color: #111827;
}

.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.about-info-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: all var(--transition-fast);
}

.about-info-card:hover {
  border-color: #d1d5db;
  box-shadow: var(--shadow-sm);
}

.about-card-label {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.about-card-value {
  font-family: 'Manrope', 'Inter', var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.about-card-sub {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* ==========================================
   TECH STACK SECTION
   ========================================== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tech-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.tech-card:hover {
  border-color: var(--primary-light);
}

.tech-category-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background-color: var(--bg-neutral-light);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 0.375rem 0.625rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.bullet-blue {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--primary-light);
}

/* ==========================================
   PROJECTS SECTION
   ========================================== */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.project-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.project-item:nth-child(even) {
  direction: rtl;
}

.project-item:nth-child(even) .project-details {
  direction: ltr;
}

.project-image-container {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-neutral-light);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.project-image {
  width: 100%;
  height: auto;
  transition: transform var(--transition-normal);
}

.project-image-container:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-image-container:hover .project-image {
  transform: scale(1.02);
}

.project-index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  display: block;
  margin-bottom: 0.5rem;
}

.project-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.project-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.project-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.highlight-bullet-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.bullet-blue-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--primary);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.project-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tech-badge {
  font-family: var(--font-mono);
  background-color: var(--bg-neutral-light);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 4px;
}

/* ==========================================
   EXPERIENCE SECTION
   ========================================== */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: calc(-2rem - 6px);
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 2px solid var(--bg-primary);
}

.timeline-header {
  margin-bottom: 1rem;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  display: block;
  margin-bottom: 0.25rem;
}

.timeline-role {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.timeline-company {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
  padding-left: 1.25rem;
  list-style-type: disc;
}

/* ==========================================
   SKILLS VISUALIZATION
   ========================================== */
.skills-viz-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.skills-meters {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-meter-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skill-meter-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
}

.skill-meter-name {
  color: var(--text-primary);
}

.skill-meter-val {
  color: var(--primary-light);
}

.skill-meter-track {
  width: 100%;
  height: 8px;
  background-color: var(--border-light);
  border-radius: 9999px;
  overflow: hidden;
}

.skill-meter-fill {
  height: 100%;
  background-color: var(--primary-light);
  border-radius: 9999px;
}

.skills-viz-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.skills-intro-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.skills-p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.skill-chip {
  background-color: var(--bg-blue-light);
  color: var(--primary);
  border: 1px solid var(--accent-light);
  padding: 0.375rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
}

/* ==========================================
   ACHIEVEMENTS, CERTIFICATIONS, VOLUNTEER
   ========================================== */
.section-grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.award-card, .cert-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform var(--transition-normal);
}

.award-card:hover, .cert-card:hover {
  transform: translateY(-2px);
}

.award-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.award-title, .cert-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}

.award-desc, .cert-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.cert-card {
  flex-direction: column;
  gap: 0.5rem;
}

.cert-card .badge {
  align-self: flex-start;
  margin-bottom: 0.25rem;
}

.cert-card-future {
  border-style: dashed;
  background-color: transparent;
  box-shadow: none;
}

.font-faded {
  color: var(--text-faded);
}

.font-accent {
  color: var(--primary);
}

/* ==========================================
   LEARNING ROADMAP
   ========================================== */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.roadmap-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.roadmap-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: #dbeafe;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.roadmap-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.roadmap-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.contact-intro-text {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 6px;
  background-color: var(--bg-blue-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.125rem;
}

.contact-detail-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

a.contact-detail-value:hover {
  color: var(--primary);
}

.contact-form-panel {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input, .form-group textarea {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.625rem 0.875rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background-color: var(--bg-secondary);
}

.form-feedback {
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.5rem;
  text-align: center;
}

.form-feedback.success {
  color: #16a34a;
}

.form-feedback.error {
  color: #dc2626;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 2.5rem 0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    align-items: center;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-brand {
    align-items: flex-start;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Manrope', 'Inter', var(--font-sans);
  font-weight: 700;
  font-size: 1.125rem;
  color: #111827;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.footer-logo-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background-color: #0070F3;
}

.footer-design {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  color: #4b5563;
  transition: all var(--transition-fast);
}

.footer-icon-btn:hover {
  color: #0070F3;
  border-color: #d1d5db;
}

.footer-back-top {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  padding: 0 0.75rem;
  height: 2.5rem;
  margin-left: 0.25rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer-back-top:hover {
  color: #111827;
  border-color: #d1d5db;
}

/* ==========================================
   RESPONSIVE DESIGN Breakpoints
   ========================================== */
@media (max-width: 992px) {
  .section-padding {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-tagline {
    font-size: 0.7rem;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-contact-link {
    justify-content: center;
  }
  
  .hero-status-bar {
    justify-content: center;
  }
  
  .hero-illust-wrapper {
    max-width: 380px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .project-item {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .project-item:nth-child(even) {
    direction: ltr;
  }
  
  .skills-viz-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .section-grid-two {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .about-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Navigation mobile menu */
  .nav-menu {
    display: none;
    position: absolute;
    top: 4rem;
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-md);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding-top: 4rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-visual {
    display: none;
  }
  
  .about-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .contact-form-panel {
    padding: 1.5rem;
  }
  
  .header-resume-btn {
    display: none !important;
  }
}

/* ==========================================
   PRINT LAYOUT (ATS RESUME EXPORT)
   ========================================== */
#ats-resume-layout {
  display: none;
}

@media print {
  html, body {
    background-color: #ffffff !important;
    color: #000000 !important;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
    font-size: 10.5pt !important;
    line-height: 1.35 !important;
  }

  /* Hide the entire web container and scroll reveal containers */
  #web-layout {
    display: none !important;
  }

  /* Expose printing layout */
  #ats-resume-layout {
    display: block !important;
    padding: 0;
    margin: 0;
  }

  /* Page setup */
  @page {
    size: letter;
    margin: 0.5in 0.5in 0.5in 0.5in;
  }

  /* ATS Resume Specific Elements */
  .resume-header {
    text-align: center;
    margin-bottom: 8pt;
  }

  .resume-name {
    font-size: 18pt !important;
    font-weight: bold !important;
    color: #000000 !important;
    margin: 0 0 2pt 0;
    letter-spacing: -0.5px;
  }

  .resume-contact, .resume-links {
    font-size: 8.5pt !important;
    color: #333333 !important;
    margin-bottom: 2pt;
  }

  .resume-line {
    border: none;
    border-top: 1px solid #111111;
    margin: 4pt 0 8pt 0;
  }

  .resume-section {
    margin-bottom: 10pt;
    page-break-inside: avoid;
  }

  .resume-section-title {
    font-size: 10pt !important;
    text-transform: uppercase;
    font-weight: bold !important;
    letter-spacing: 0.5px;
    margin: 0 0 3pt 0;
    padding-bottom: 1pt;
    border-bottom: 0.5px solid #444444;
  }

  .resume-text {
    font-size: 9pt !important;
    text-align: justify;
    margin: 0 0 4pt 0;
  }

  .resume-skills-list {
    font-size: 9pt !important;
    padding-left: 0;
    list-style: none;
    margin: 0;
  }

  .resume-skills-list li {
    margin-bottom: 2pt;
  }

  .resume-exp-item, .resume-proj-item, .resume-edu-item {
    margin-bottom: 6pt;
    page-break-inside: avoid;
  }

  .resume-exp-header, .resume-proj-header, .resume-edu-header {
    display: flex;
    justify-content: space-between;
    font-size: 9pt !important;
    margin-bottom: 2pt;
  }

  .resume-right {
    font-weight: normal;
    font-size: 8.5pt !important;
  }

  .resume-list, .resume-bullet-list {
    font-size: 8.5pt !important;
    padding-left: 12pt;
    margin: 0;
    list-style-type: disc;
  }

  .resume-list li, .resume-bullet-list li {
    margin-bottom: 2pt;
    text-align: justify;
  }
  
  .resume-coursework {
    font-size: 8pt !important;
    color: #444444 !important;
    margin-top: 1pt;
  }
}

/* ==========================================
   LENIS SMOOTH SCROLLING
   ========================================== */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}
