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

:root {
  /* Light / Rich Professional Theme */
  --primary: #C5A028; /* Rich Metallic Gold */
  --primary-dark: #A6831C;
  --primary-light: #E8D388; /* Soft Gold / Champagne */
  --accent: #1E293B; /* Deep Navy / Charcoal for high contrast accents */
  --bg: #FDFBF7; /* Warm Ivory / Alabaster */
  --bg-alt: #FFFFFF; /* Pure White */
  --card-bg: #FFFFFF;
  --card-border: rgba(197, 160, 40, 0.25); /* Subtle gold border */
  --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  --card-shadow-hover: 0 12px 32px rgba(197, 160, 40, 0.12);
  
  --text: #2B2F32; /* Deep Charcoal (Easier on eyes than pure black) */
  --text-muted: #646E78; /* Refined Slate Grey */
  
  --radius: 12px;
  --radius-sm: 6px;
  --transition: 0.3s ease;
  
  /* Fonts */
  --font: 'Outfit', sans-serif;
  --font-head: 'Playfair Display', serif;
}

html {
  font-size: 16px;
  scroll-behavior: auto; /* Lenis handles smooth scrolling */
}

/* Lenis Recommended CSS */
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;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(197, 160, 40, 0.04), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(197, 160, 40, 0.04), transparent 25%);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Custom Cursor removed for professional usability */
.cursor-dot, .cursor-outline {
  display: none !important;
}

/* Ambient Canvas */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-alt {
  background-color: var(--bg-alt);
}

section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
}

.section-tag {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-dark);
  background: rgba(197, 160, 40, 0.08);
  border: 1px solid rgba(197, 160, 40, 0.2);
  padding: 8px 24px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

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

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(197, 160, 40, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--primary);
  transition: width 0.1s linear;
  z-index: 10;
}

.nav-container {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 1px;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: color var(--transition), background-color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-dark);
  background-color: rgba(197, 160, 40, 0.05);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== BUTTONS (Static, Professional Hover) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 12px 26px;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

/* Recruiter friendly: No movement on hover, just elegant color/shadow changes */

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(197, 160, 40, 0.2);
}

.btn-secondary {
  background-color: var(--accent);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background-color: #0F172A;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--text);
  border-color: var(--card-border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  background-color: rgba(197, 160, 40, 0.03);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text);
}

.btn-ghost:hover {
  background-color: rgba(197, 160, 40, 0.06);
  color: var(--primary-dark);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

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

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
  max-width: 1150px;
  width: 100%;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 160, 40, 0.08);
  border: 1px solid rgba(197, 160, 40, 0.2);
  color: var(--primary-dark);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
}

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

.hero-name {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--text);
}

.hero-role {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.sep {
  margin: 0 10px;
  color: var(--primary);
  opacity: 0.6;
}

.hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 0 32px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

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

.hero-socials a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 1.1rem;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.hero-socials a:hover {
  color: var(--primary-dark);
  border-color: var(--primary);
  background-color: rgba(197, 160, 40, 0.05);
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: var(--font);
  letter-spacing: 2px;
  text-transform: uppercase;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.8;
}

.scroll-arrow {
  font-size: 1.2rem;
  color: var(--primary);
}

/* ===== HERO PHOTO ===== */
.hero-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo-ring {
  width: 380px;
  height: 480px;
  padding: 8px;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: 4px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  background-color: var(--bg-alt);
}

/* Floating badges - subtle, no bounce */
.hero-float-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 4px;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  color: var(--accent);
}

.badge-mern {
  top: 10%;
  left: -5%;
}

.badge-ai {
  bottom: 15%;
  right: -5%;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}

.about-card-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.avatar-ring {
  width: 220px;
  height: 220px;
  padding: 6px;
  background: #FFFFFF;
  border: 1px solid var(--primary-light);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.avatar-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

.stat-item {
  text-align: center;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: 4px;
  padding: 16px 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  display: block;
}

.about-text p {
  color: var(--text);
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 400;
}

.about-text p strong {
  font-weight: 600;
  color: var(--accent);
}

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-family: var(--font);
  font-weight: 500;
  color: var(--text-muted);
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  padding: 8px 16px;
  border-radius: 50px;
}

.chip i {
  color: var(--primary);
}

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

.skill-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.skill-card:hover {
  border-color: var(--primary);
  box-shadow: var(--card-shadow-hover);
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.skill-icon {
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.skill-card-header h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-gold {
  background: #FFFFFF;
  color: var(--text);
  border: 1px solid rgba(197, 160, 40, 0.3);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
}

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

.project-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--card-shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  border-color: var(--primary);
  box-shadow: var(--card-shadow-hover);
}

.project-card.flagship {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(197, 160, 40, 0.03), #FFFFFF);
  border-color: rgba(197, 160, 40, 0.4);
}

.project-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-dark);
  background: rgba(197, 160, 40, 0.1);
  padding: 6px 16px;
  border-radius: 4px;
  width: fit-content;
}

.project-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.project-icon-wrap {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary-light);
  background: #FFFFFF;
  border-radius: 4px;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.project-meta h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.project-duration {
  font-size: 0.85rem;
  color: var(--primary-dark);
  font-weight: 500;
}

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

.project-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}

.highlight-item i {
  color: var(--primary-dark);
  margin-top: 4px;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.stack-tag {
  color: var(--text-muted);
  background: #F8F9FA;
  font-size: 0.8rem;
  padding: 4px 12px;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
}

.project-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

/* ===== TIMELINE (EXPERIENCE) ===== */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  height: 100%;
  width: 2px;
  background: var(--primary-light);
}

.timeline-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 48px;
}

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

.timeline-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  background: #FFFFFF;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary-dark);
  border-radius: 50%;
  z-index: 2;
}

.timeline-content {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.timeline-content:hover {
  border-color: var(--primary);
  box-shadow: var(--card-shadow-hover);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.timeline-header h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.timeline-role {
  font-size: 0.95rem;
  color: var(--primary-dark);
  font-weight: 500;
}

.timeline-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: #F8F9FA;
  border: 1px solid #E2E8F0;
  padding: 4px 12px;
  border-radius: 4px;
}

.timeline-bullets {
  list-style: none;
}

.timeline-bullets li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.95rem;
}

.timeline-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.2rem;
  line-height: 1.2;
}

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

.edu-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 32px;
  display: flex;
  gap: 20px;
  box-shadow: var(--card-shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.edu-card:hover {
  border-color: var(--primary);
  box-shadow: var(--card-shadow-hover);
}

.edu-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--primary-dark);
  background: rgba(197, 160, 40, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.edu-info h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.edu-degree {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.edu-year {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.edu-score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.edu-score span {
  color: var(--text-muted);
}

.edu-score strong {
  color: var(--primary-dark);
}

/* ===== CERTIFICATIONS ===== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  padding: 20px;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cert-card:hover {
  border-color: var(--primary);
  box-shadow: var(--card-shadow-hover);
}

.cert-icon {
  font-size: 1.2rem;
  color: var(--primary-dark);
}

.cert-info h4 {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 2px;
}

.cert-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-link:hover {
  border-color: var(--primary);
  box-shadow: var(--card-shadow-hover);
}

.contact-link-icon {
  width: 44px;
  height: 44px;
  color: var(--primary-dark);
  background: rgba(197, 160, 40, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-link div strong {
  display: block;
  color: var(--accent);
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 2px;
}

.contact-link div span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-form-wrap {
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 40px;
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: #FDFBF7;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(197, 160, 40, 0.1);
}

.form-msg {
  margin-top: 20px;
  padding: 16px;
  font-size: 0.95rem;
  display: none;
  border-radius: 4px;
}
.form-msg.success { display: block; background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }
.form-msg.error { display: block; background: #FEF2F2; color: #DC2626; border: 1px solid #FECACA; }

/* ===== FOOTER ===== */
footer {
  background: #FFFFFF;
  padding: 40px 0;
  border-top: 1px solid var(--card-border);
  text-align: center;
}

.footer-name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-socials a {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: var(--primary-dark);
}

.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  z-index: 99;
  cursor: pointer;
  box-shadow: var(--card-shadow);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  border-color: var(--primary);
  box-shadow: var(--card-shadow-hover);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-content { text-align: center; }
  .hero-content .hero-btns, .hero-content .hero-socials { justify-content: center; }
  .hero-desc { margin: 0 auto 40px; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-chips { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 30px 24px; gap: 20px;
    transform: translateY(-150%);
    border-bottom: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .timeline::before { left: 24px; }
  .timeline-item { padding-left: 70px; }
  .timeline-dot { left: 0px; }
}