/* ==================== GLOBAL STYLES ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette - Beige Pink Theme */
  --primary-color: #d4a5a5;
  --secondary-color: #e8b4b8;
  --accent-color: #f4c7ab;
  --dark-bg: #4a3f3a;
  --darker-bg: #3d3532;
  --light-bg: #f9f4f0;
  --text-dark: #3d3532;
  --text-light: #f5ede6;
  --text-muted: #b5a399;
  --border-color: #6b5d56;

  /* Typography */
  --font-primary: 'Manrope', sans-serif;
  --font-display: 'Manrope', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max-width: 1200px;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
  scroll-behavior: smooth;
}

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

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

/* ==================== NAVIGATION ==================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#navbar.scrolled {
  background-color: rgba(15, 23, 42, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: width 0.3s ease;
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  transition: var(--transition-smooth);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
  animation: gradientShift 15s ease infinite;
}

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

.hero-content {
  text-align: center;
  z-index: 1;
  padding: 0 20px;
  animation: fadeInUp 1s ease;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-line {
  display: block;
  animation: slideIn 0.8s ease forwards;
  opacity: 0;
}

.title-line:nth-child(1) {
  animation-delay: 0.2s;
}

.title-line:nth-child(2) {
  animation-delay: 0.4s;
}

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

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  animation: fadeIn 1s ease 0.6s forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeIn 1s ease 0.8s forwards;
  opacity: 0;
}

.btn {
  padding: 15px 35px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

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

.btn-secondary:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-line {
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, var(--primary-color), transparent);
}

/* ==================== SECTION HEADERS ==================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50px;
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 20px;
}

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

.about-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text .lead {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: var(--transition-smooth);
}

.stat-item:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

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

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.image-placeholder:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

/* ==================== INTERESTS SECTION ==================== */
.interests-section {
  padding: var(--section-padding);
  background: var(--darker-bg);
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.interest-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.interest-card:hover {
  background: rgba(99, 102, 241, 0.05);
  border-color: var(--primary-color);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.interest-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: var(--transition-bounce);
}

.interest-card:hover .interest-icon {
  transform: scale(1.1) rotate(10deg);
}

.interest-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

.interest-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.interest-toggle {
  padding: 10px 25px;
  background: transparent;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.interest-toggle:hover {
  background: var(--primary-color);
  color: white;
}

.interest-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  margin-top: 0;
}

.interest-card.expanded .interest-details {
  max-height: 300px;
  margin-top: 20px;
}

.interest-card.expanded .interest-toggle {
  background: var(--primary-color);
  color: white;
}

.interest-details ul {
  list-style: none;
  text-align: left;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 20px;
}

.interest-details li {
  padding: 8px 0;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.interest-details li:last-child {
  border-bottom: none;
}

.interest-details li::before {
  content: '✓';
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 10px;
}

/* ==================== PROJECTS SECTION ==================== */
.projects-section {
  padding: var(--section-padding);
  background: var(--dark-bg);
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
  opacity: 1;
  transform: scale(1);
}

.project-card.hidden {
  opacity: 0;
  transform: scale(0.8);
  position: absolute;
  pointer-events: none;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-color);
}

.project-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.project-image .image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(236, 72, 153, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.3);
  transition: var(--transition-smooth);
}

.project-card:hover .image-placeholder {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.btn-view {
  padding: 12px 30px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-view:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.project-info {
  padding: 25px;
}

.project-category {
  display: inline-block;
  padding: 5px 15px;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 50px;
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.project-info h3 {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.project-info p {
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==================== EXPERIENCE SECTION ==================== */
.experience-section {
  padding: var(--section-padding);
  background: var(--darker-bg);
}

.timeline-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.timeline-tab {
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.timeline-tab:hover,
.timeline-tab.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.timeline-content {
  display: none;
  animation: fadeInUp 0.5s ease;
}

.timeline-content.active {
  display: block;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  margin-bottom: 50px;
  position: relative;
}

.timeline-item:nth-child(even) .timeline-card {
  grid-column: 1;
  grid-row: 1;
}

.timeline-item:nth-child(even) .timeline-date {
  grid-column: 3;
  grid-row: 1;
  text-align: left;
}

.timeline-dot {
  grid-column: 2;
  grid-row: 1;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border: 4px solid var(--dark-bg);
  border-radius: 50%;
  position: relative;
  z-index: 1;
  align-self: start;
  margin-top: 10px;
}

.timeline-date {
  color: var(--primary-color);
  font-weight: 600;
  text-align: right;
  padding-top: 10px;
}

.timeline-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  transition: var(--transition-smooth);
}

.timeline-card:hover {
  background: rgba(99, 102, 241, 0.05);
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.timeline-card h3 {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.timeline-card h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.timeline-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 15px;
}

.achievement-list {
  list-style: none;
  padding-left: 0;
}

.achievement-list li {
  padding: 8px 0 8px 25px;
  color: var(--text-muted);
  position: relative;
}

.achievement-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* ==================== SKILLS GRID ==================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.skill-category h3 {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 1.5rem;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

.skill-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  transition: var(--transition-smooth);
}

.skill-item:hover {
  background: rgba(99, 102, 241, 0.05);
  border-color: var(--primary-color);
}

.skill-name {
  color: var(--text-light);
  margin-bottom: 10px;
  font-weight: 600;
}

.skill-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 50px;
  transition: width 1s ease;
  width: 0;
}

.skill-item.animated .skill-progress {
  width: var(--progress-width);
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
  padding: var(--section-padding);
  background: var(--dark-bg);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-intro {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: start;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: var(--transition-smooth);
}

.contact-item:hover {
  background: rgba(99, 102, 241, 0.05);
  border-color: var(--primary-color);
  transform: translateX(10px);
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 5px;
}

.contact-item h4 {
  color: var(--text-light);
  margin-bottom: 5px;
}

.contact-item a,
.contact-item p {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.2rem;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-5px) rotate(10deg);
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-light);
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(99, 102, 241, 0.05);
}

.form-group label {
  position: absolute;
  left: 20px;
  top: 15px;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 15px;
  font-size: 0.85rem;
  color: var(--primary-color);
  background: var(--dark-bg);
  padding: 0 10px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  align-self: flex-start;
}

/* ==================== FOOTER ==================== */
.footer {
  padding: 40px 0;
  background: var(--darker-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  text-align: center;
  color: var(--text-muted);
}

.footer-content p {
  margin: 5px 0;
}

.footer-content i {
  color: var(--accent-color);
}

/* ==================== BACK TO TOP BUTTON ==================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 999;
  box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

.back-to-top.visible {
  display: flex;
}

.back-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline::before {
    left: 0;
  }

  .timeline-item {
    grid-template-columns: auto 1fr;
    gap: 20px;
  }

  .timeline-item .timeline-card,
  .timeline-item:nth-child(even) .timeline-card {
    grid-column: 2;
    grid-row: 1;
  }

  .timeline-date,
  .timeline-item:nth-child(even) .timeline-date {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }

  .timeline-dot {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.98);
    padding: 30px;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .interests-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  .timeline-card {
    padding: 20px;
  }

  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
}
