/* Import modern, premium typography from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Custom Properties - Theme Agnostic & Dark Mode (Default) */
:root {
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', sans-serif;
  
  /* HSL Color System - Default Dark Theme (Cool Grey with Blue Accent) */
  --bg-primary: hsl(220, 10%, 10%);      /* Deep Dark Grey */
  --bg-secondary: hsl(220, 10%, 14%);    /* Muted Dark Grey */
  --bg-card: hsla(220, 10%, 18%, 0.75);  /* Card Grey */
  --bg-card-hover: hsla(220, 10%, 22%, 0.9);
  --border-color: hsla(220, 10%, 30%, 0.35);
  --border-focus: hsl(217, 91%, 56%);
  
  --text-main: hsl(210, 20%, 96%);
  --text-muted: hsl(215, 12%, 70%);
  --text-inverse: hsl(220, 10%, 10%);
  
  --accent: hsl(217, 91%, 56%);          /* Classic Premium Blue */
  --accent-light: hsl(204, 94%, 72%);
  --accent-dark: hsl(217, 91%, 40%);
  --accent-secondary: hsl(196, 90%, 50%); /* Cyan Blue */
  --accent-gradient: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  --accent-glow: hsla(217, 91%, 56%, 0.15);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px hsla(217, 91%, 56%, 0.25);
  
  --glass-blur: blur(12px);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  scroll-behavior: smooth;
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: hsl(220, 10%, 94%);      /* Light Grey */
  --bg-secondary: hsl(220, 10%, 90%);    /* Slightly Darker Light Grey */
  --bg-card: hsla(0, 0%, 100%, 0.8);      /* Semi-transparent White */
  --bg-card-hover: hsla(0, 0%, 100%, 0.98);
  --border-color: hsla(220, 10%, 75%, 0.45);
  --border-focus: hsl(217, 90%, 45%);
  
  --text-main: hsl(220, 15%, 15%);
  --text-muted: hsl(220, 10%, 45%);
  --text-inverse: hsl(220, 10%, 94%);
  
  --accent: hsl(217, 90%, 45%);
  --accent-light: hsl(204, 90%, 60%);
  --accent-dark: hsl(217, 90%, 30%);
  --accent-secondary: hsl(196, 90%, 38%);
  --accent-glow: hsla(217, 90%, 45%, 0.08);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(27, 38, 59, 0.06);
  --shadow-lg: 0 16px 40px rgba(27, 38, 59, 0.1);
  --shadow-glow: 0 0 20px hsla(217, 90%, 45%, 0.15);
}

/* Base Document Configuration */
body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

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

ul {
  list-style: none;
}

button, input, textarea {
  font-family: inherit;
  outline: none;
  border: none;
}

/* Background Decorative Blobs */
.bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(100px);
  opacity: 0.12;
  mix-blend-mode: screen;
  animation: float-blob 20s infinite alternate;
}

[data-theme="light"] .blob {
  opacity: 0.08;
  mix-blend-mode: multiply;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -100px;
  right: -50px;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-secondary);
  top: 40vh;
  left: -100px;
  animation-delay: -5s;
}

.blob-3 {
  width: 600px;
  height: 600px;
  background: var(--accent-dark);
  bottom: -200px;
  right: 10%;
  animation-delay: -10s;
}

/* Header & Sticky Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: background-color var(--transition-smooth), backdrop-filter var(--transition-smooth);
}

header.scrolled {
  background-color: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-display);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-item {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
  opacity: 0.85;
}

.nav-item:hover, .nav-item.active {
  opacity: 1;
  color: var(--accent);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--transition-fast);
}

.nav-item:hover::after, .nav-item.active::after {
  width: 100%;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Toggle Button */
.lang-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.lang-toggle:hover {
  transform: scale(1.05);
  background-color: var(--bg-card-hover);
  border-color: var(--accent);
}

.lang-btn-text {
  letter-spacing: -0.5px;
}

/* Language Display Switching Logic */
[data-lang-active="en"] .lang-pt {
  display: none !important;
}

[data-lang-active="pt"] .lang-en {
  display: none !important;
}

/* Theme Toggle Switch */
.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.theme-toggle:hover {
  transform: scale(1.05);
  background-color: var(--bg-card-hover);
  border-color: var(--accent);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.5s ease;
}

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

[data-theme="light"] .theme-toggle .moon-icon {
  display: none;
}

[data-theme="light"] .theme-toggle .sun-icon {
  display: block;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  color: var(--text-main);
  cursor: pointer;
  font-size: 1.5rem;
}

/* Sections Standard Layout */
section {
  padding: 7rem 2rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--accent-glow);
  border: 1px solid rgba(var(--accent), 0.1);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-greeting {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
}

.hero-name {
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
}

.hero-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

.hero-title span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* Standard Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-inverse);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4), var(--shadow-glow);
}

.btn-secondary {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background-color: var(--bg-card-hover);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

/* Animated Photo Frame in Hero */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo-container {
  position: relative;
  width: 340px;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, hsla(217, 91%, 56%, 0.12) 0%, hsla(196, 90%, 50%, 0.08) 100%), var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-end; /* Align transparent portrait bottom to the frame edge */
  justify-content: center;
  z-index: 2;
}

.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(185deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  color: var(--text-muted);
  gap: 1rem;
}

.placeholder-avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  font-size: 3rem;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: var(--shadow-glow);
  animation: glow-pulse 3s infinite alternate;
}

.hero-photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-blob-bg {
  position: absolute;
  width: 110%;
  height: 110%;
  background: var(--accent-gradient);
  opacity: 0.15;
  border-radius: 43% 57% 62% 38% / 45% 40% 60% 55%;
  z-index: 1;
  animation: morph-blob 8s ease-in-out infinite alternate;
  filter: blur(8px);
}

/* About / Stats Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.about-bio {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-intro-text {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
}

.about-paragraph {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.stat-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.stat-num {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-display);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Experience / Timeline Section */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 2.5rem;
}

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

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

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

.timeline-dot {
  position: absolute;
  left: calc(-2.5rem + 2px);
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background-color: var(--bg-primary);
  border: 3px solid var(--accent);
  box-shadow: 0 0 10px var(--accent);
  z-index: 2;
  transition: background-color var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
  background-color: var(--accent);
}

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

.timeline-role {
  font-size: 1.35rem;
  font-weight: 700;
}

.timeline-company {
  font-size: 1.05rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.timeline-date {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.timeline-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
  transform: translateX(5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.timeline-bullets {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.timeline-bullets li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.timeline-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Certifications Section */
.cert-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.cert-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

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

.cert-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.cert-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.cert-issuer {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.cert-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.skill-category-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

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

.skill-cat-title {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.skill-cat-title svg {
  color: var(--accent);
  width: 24px;
  height: 24px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-badge {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.skill-badge:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.contact-text h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.contact-text p {
  font-size: 1.05rem;
  font-weight: 600;
}

/* Form Styling */
.contact-form {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

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

.form-input {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem;
  color: var(--text-main);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--border-focus);
}

textarea.form-input {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: none;
  animation: slideIn 0.3s ease;
}

.form-status.success {
  background-color: hsla(150, 75%, 45%, 0.15);
  color: var(--accent);
  border: 1px solid var(--accent);
  display: block;
}

.form-status.error {
  background-color: rgba(239, 68, 68, 0.15);
  color: hsl(0, 84%, 60%);
  border: 1px solid hsl(0, 84%, 60%);
  display: block;
}

/* Footer styling */
footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 2rem;
  background-color: var(--bg-secondary);
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.footer-links {
  display: flex;
  gap: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Scroll Animation Reveal Classes (triggered by JS) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Custom Keyframe Animations */
@keyframes float-blob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -50px) scale(1.1);
  }
  100% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

@keyframes morph-blob {
  0% {
    border-radius: 43% 57% 62% 38% / 45% 40% 60% 55%;
  }
  100% {
    border-radius: 65% 35% 40% 60% / 60% 55% 45% 40%;
  }
}

@keyframes glow-pulse {
  0% {
    box-shadow: 0 0 15px hsla(217, 91%, 56%, 0.2);
  }
  100% {
    box-shadow: 0 0 30px hsla(217, 91%, 56%, 0.45);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-name {
    font-size: 3.5rem;
  }
  
  .hero-image-wrap {
    order: -1;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  header {
    background-color: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
  }

  .nav-container {
    padding: 1rem;
  }

  .nav-controls {
    gap: 0.5rem;
  }

  .theme-toggle, .lang-toggle {
    width: 38px;
    height: 38px;
    font-size: 0.75rem;
  }
  
  .nav-links {
    display: none; /* Mobile toggle can display it */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-name {
    font-size: 2.8rem;
  }
  
  .hero-photo-container {
    width: 280px;
    height: 320px;
  }
  
  .timeline::before {
    left: 8px;
  }
  
  .timeline-dot {
    left: calc(-2.5rem + 0px);
  }
  
  .contact-form {
    padding: 2rem;
  }
}
