/* Import 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');

/* CSS Variables */
:root {
  --bg-primary: #000000;
  --bg-secondary: #161617;
  --bg-card: rgba(28, 28, 30, 0.6);
  --bg-card-hover: rgba(44, 44, 46, 0.8);
  
  --color-primary: #f5f5f7;
  --color-secondary: #86868b;
  --color-muted: #6e6e73;
  
  --accent-cyan: #2997ff;
  --accent-purple: #bf5af2;
  --accent-blue: #0a84ff;
  
  --gradient-accent: linear-gradient(135deg, #2997ff 0%, #bf5af2 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.005) 100%);
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 255, 255, 0.15);
  
  --font-heading: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  
  --shadow-glow: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.6);
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  font-size: 16px;
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

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

/* Selection highlight */
::selection {
  background: rgba(41, 151, 255, 0.25);
  color: var(--accent-cyan);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border-radius: 4px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Typography utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

/* Base Layout & Wrapper */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
  position: relative;
}

/* Background Glow Effects */
.bg-glow-orb {
  position: absolute;
  width: 40vw;
  height: 40vw;
  max-width: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 151, 255, 0.08) 0%, rgba(191, 90, 242, 0.04) 50%, rgba(0,0,0,0) 100%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  animation: floatOrb 20s infinite alternate ease-in-out;
}

.orb-1 {
  top: 10%;
  right: -10%;
}

.orb-2 {
  bottom: 10%;
  left: -15%;
  animation-duration: 25s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-50px, 50px) scale(1.1);
  }
}

/* Dynamic background grid */
.grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -2;
  pointer-events: none;
}

/* Glassmorphism utility */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  transform: translateY(-5px);
}

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

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

.section-number {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: var(--transition-smooth);
  cursor: pointer;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(41, 151, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(41, 151, 255, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 0;
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 1rem 0;
  background: rgba(22, 22, 23, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-secondary);
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  z-index: 110;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 2px;
  margin: 6px auto;
  background-color: var(--color-primary);
  transition: var(--transition-fast);
}

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

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: rgba(41, 151, 255, 0.05);
  border: 1px solid rgba(41, 151, 255, 0.15);
  width: fit-content;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulseGlow 1.5s infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(0.8); opacity: 0.5; box-shadow: 0 0 0 0 rgba(41, 151, 255, 0.7); }
  100% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 10px 4px rgba(41, 151, 255, 0); }
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--color-secondary);
  font-weight: 500;
}

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

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

/* Hero Visuals / Stats */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-stats-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 400px;
}

.stat-box {
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-heading);
  margin-bottom: 0.2rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Profile Section */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.profile-img-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-glow-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px dashed rgba(41, 151, 255, 0.25);
  animation: spinSlow 30s infinite linear;
}

@keyframes spinSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.profile-avatar-frame {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  padding: 6px;
  background: var(--gradient-accent);
  box-shadow: var(--shadow-glow);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* SVG Graphic inside Profile Avatar */
.profile-avatar svg {
  width: 70%;
  height: 70%;
  fill: none;
  stroke: var(--accent-cyan);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(41, 151, 255, 0.4));
}

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

.profile-text {
  font-size: 1.1rem;
  color: var(--color-secondary);
  line-height: 1.8;
}

.profile-highlight-box {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--accent-cyan);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--color-primary);
}

/* Experience Section Timeline */
.timeline {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: var(--border-light);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 2rem 0;
  position: relative;
  width: 50%;
}

.timeline-item-left {
  left: 0;
  padding-right: 3rem;
  text-align: right;
}

.timeline-item-right {
  left: 50%;
  padding-left: 3rem;
  text-align: left;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  position: absolute;
  top: 2.5rem;
  left: 50%;
  margin-left: -8px;
  z-index: 10;
}

.timeline-date {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-content {
  padding: 2.2rem;
}

.timeline-company {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

.timeline-role {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-purple);
  margin-bottom: 0.8rem;
  display: block;
}

.timeline-loc {
  font-size: 0.85rem;
  color: var(--color-muted);
  display: block;
  margin-bottom: 1.2rem;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--color-secondary);
  margin-bottom: 1.2rem;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
}

.timeline-item-left .timeline-tags {
  justify-content: flex-end;
}

.badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--color-secondary);
  transition: var(--transition-fast);
}

.badge:hover {
  background: rgba(41, 151, 255, 0.05);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Projects Section Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.project-visual {
  height: 200px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.project-svg {
  width: 45%;
  height: 45%;
  fill: none;
  stroke: var(--accent-cyan);
  stroke-width: 1.5;
  transition: var(--transition-smooth);
}

.project-card:hover .project-svg {
  transform: scale(1.1);
  stroke: var(--accent-purple);
  filter: drop-shadow(0 0 8px rgba(191, 90, 242, 0.4));
}

.project-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 1rem;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-client {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-type {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.project-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
}

.project-desc {
  font-size: 0.95rem;
  color: var(--color-secondary);
  flex-grow: 1;
}

.project-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  margin: 0.5rem 0;
}

.project-stat-item:first-child {
  border-right: 1px solid var(--border-light);
}

.project-stat-val {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--color-primary);
}

.project-stat-lbl {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-transform: uppercase;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

.project-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.project-arrow svg {
  transition: var(--transition-fast);
}

.project-card:hover .project-arrow svg {
  transform: translateX(4px);
}

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

.skills-card {
  padding: 2.5rem 2rem;
}

.skills-icon-container {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(41, 151, 255, 0.05);
  border: 1px solid rgba(41, 151, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--accent-cyan);
}

.skills-icon-container svg {
  width: 24px;
  height: 24px;
}

.skills-card:hover .skills-icon-container {
  background: rgba(191, 90, 242, 0.1);
  border-color: var(--accent-purple);
  color: var(--accent-purple);
}

.skills-category {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

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

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-secondary);
}

.skill-bar {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.skill-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 5px;
  background: var(--gradient-accent);
  width: 0; /* Animated via CSS class */
  transition: width 1.5s cubic-bezier(0.1, 1, 0.1, 1);
}

/* Contact Section & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

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

.contact-header-text {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-desc {
  color: var(--color-secondary);
}

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

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(41, 151, 255, 0.05);
  border: 1px solid rgba(41, 151, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.8rem;
  color: var(--color-muted);
  text-transform: uppercase;
}

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

.contact-form {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

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

.form-input {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

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

/* Footer Section */
.footer {
  padding: 5rem 0 3rem 0;
  border-top: 1px solid var(--border-light);
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
}

.footer-quote {
  font-size: 1.4rem;
  font-style: italic;
  max-width: 650px;
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.5;
}

.footer-quote::before {
  content: '“';
  font-size: 3rem;
  color: var(--accent-cyan);
  vertical-align: middle;
  line-height: 0;
  margin-right: 0.5rem;
}

.footer-quote::after {
  content: '”';
  font-size: 3rem;
  color: var(--accent-cyan);
  vertical-align: middle;
  line-height: 0;
  margin-left: 0.2rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-link {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.footer-link:hover {
  color: var(--accent-cyan);
}

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

/* Scroll Animation classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive Media Queries */

/* Tablet & Smaller */
@media (max-width: 1024px) {
  section {
    padding: 6rem 0;
  }
  
  .hero-title {
    font-size: 3.2rem;
  }
  
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  
  .profile-img-container {
    margin-bottom: 1rem;
  }
  
  .profile-highlight-box {
    border-left: none;
    border-top: 3px solid var(--accent-cyan);
    border-radius: 0 0 12px 12px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  section {
    padding: 5rem 0;
  }

  .section-title {
    font-size: 2rem;
  }
  
  /* Navbar adjustments */
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(22, 22, 23, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--border-light);
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    padding: 2rem;
    transition: var(--transition-smooth);
    z-index: 105;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  /* Hamburger active state */
  .hamburger.open .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.open .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.open .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  /* Hero adjust */
  .hero {
    padding-top: 6rem;
    min-height: auto;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-badge {
    margin: 0 auto;
  }
  
  .hero-desc {
    margin: 0 auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-visual {
    margin-top: 1rem;
  }
  
  .hero-stats-panel {
    max-width: 100%;
  }
  
  /* Timeline adjust to single column */
  .timeline::after {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 45px;
    padding-right: 0;
    text-align: left;
  }
  
  .timeline-item-left {
    left: 0;
  }
  
  .timeline-item-right {
    left: 0;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .timeline-item-left .timeline-tags {
    justify-content: flex-start;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
}

/* Small screen optimization */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
  
  .stat-box {
    padding: 1.5rem 1rem;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
