@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-space: #030712;
  --bg-card: rgba(15, 23, 42, 0.6);
  --bg-card-hover: rgba(30, 41, 59, 0.7);
  --border-glow: rgba(34, 211, 238, 0.15);
  --border-glow-hover: rgba(34, 211, 238, 0.4);
  --accent-cyan: #22d3ee;
  --accent-teal: #14b8a6;
  --accent-indigo: #6366f1;
  --accent-violet: #8b5cf6;
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-space);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  position: relative;
  background-color: var(--bg-space);
  line-height: 1.6;
}

/* Background Starfield Canvas */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #0c152b 0%, var(--bg-space) 80%);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-space);
}

::-webkit-scrollbar-thumb {
  background: rgba(34, 211, 238, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(34, 211, 238, 0.4);
}

/* Glassmorphism Container Utility */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.glass:hover {
  border-color: var(--border-glow-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 40px 0 rgba(34, 211, 238, 0.15);
}

/* Layout Utilities */
section {
  padding: 120px 8% 80px 8%;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, var(--text-secondary) 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
  border-radius: 2px;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(3, 7, 18, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 15px 8%;
  background: rgba(3, 7, 18, 0.85);
  border-bottom: 1px solid rgba(34, 211, 238, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent-cyan);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  position: relative;
  padding: 5px 0;
}

nav a:hover,
nav a.active {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.3);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: var(--transition-smooth);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  padding-top: 160px;
}

.hero-info {
  flex: 1.2;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 50px;
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 25px;
  animation: pulse-border 3s infinite;
}

@keyframes pulse-border {

  0%,
  100% {
    border-color: rgba(34, 211, 238, 0.2);
  }

  50% {
    border-color: rgba(34, 211, 238, 0.6);
  }
}

.hero-info h1 {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -0.03em;
}

.hero-info h1 span.name {
  background: linear-gradient(to right, #fff, #9ca3af, var(--accent-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  min-height: 45px;
  margin-bottom: 25px;
}

.hero-subtitle span {
  color: var(--accent-cyan);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(34, 211, 238, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(34, 211, 238, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hero-visual {
  flex: 0.8;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hud-ring {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px dashed rgba(34, 211, 238, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: rotateHUD 25s linear infinite;
}

.hud-ring::before {
  content: '';
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-top-color: var(--accent-indigo);
  animation: rotateHUD 12s linear infinite reverse;
}

.hud-ring::after {
  content: '';
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  border: 2px dotted rgba(34, 211, 238, 0.3);
  border-bottom: none;
  animation: rotateHUD 8s linear infinite;
}

.hud-center {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.2) 0%, rgba(3, 7, 18, 0.8) 70%);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.3);
  animation: pulseCenter 4s ease-in-out infinite;
}

.hud-center span {
  font-size: 3rem;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.8));
}

@keyframes rotateHUD {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulseCenter {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.3);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 0 60px rgba(34, 211, 238, 0.5);
  }
}

/* Profile Bento Grid Section */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 25px;
}

.bento-item {
  padding: 35px;
  display: flex;
  flex-direction: column;
}

.bento-about {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-details {
  grid-column: span 1;
  grid-row: span 1;
  gap: 15px;
}

.bento-soft-skills {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-languages {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 10px;
}

.bento-about p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--text-muted);
  font-weight: 500;
}

.detail-val {
  color: var(--text-primary);
  font-weight: 600;
}

.soft-skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 15px;
}

.soft-skill-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.soft-skill-badge:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-5px);
}

.soft-skill-icon {
  font-size: 1.4rem;
  color: var(--accent-indigo);
}

.soft-skill-name {
  font-weight: 500;
  font-size: 0.9rem;
}

.lang-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lang-info {
  display: flex;
  flex-direction: column;
}

.lang-name {
  font-weight: 600;
  font-size: 1rem;
}

.lang-level {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.lang-orbit {
  position: relative;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.lang-orbit::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--accent-teal);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-teal);
}

.lang-item:nth-child(1) .lang-orbit::before {
  animation: orbitRotate 4s linear infinite;
}

.lang-item:nth-child(2) .lang-orbit::before {
  animation: orbitRotate 6s linear infinite reverse;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.lang-item:nth-child(3) .lang-orbit::before {
  animation: orbitRotate 8s linear infinite;
  background-color: var(--accent-indigo);
  box-shadow: 0 0 10px var(--accent-indigo);
}

@keyframes orbitRotate {
  from {
    transform: rotate(0deg) translate(22px) rotate(0deg);
  }

  to {
    transform: rotate(360deg) translate(22px) rotate(-360deg);
  }
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}

.project-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.05) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: var(--transition-smooth);
}

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

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}

.project-icon {
  font-size: 2.5rem;
}

.badge-achievement {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 50px;
  color: #f59e0b;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.project-info h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.project-card:hover h3 {
  color: var(--accent-cyan);
}

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

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.tech-tag {
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  padding: 4px 10px;
  color: var(--text-secondary);
}

.project-card:hover .tech-tag {
  border-color: rgba(34, 211, 238, 0.2);
  color: var(--accent-cyan);
}

/* Skills Section */
.skills-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.skill-category {
  padding: 30px;
}

.skill-category h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--accent-cyan);
  border-bottom: 1px solid rgba(34, 211, 238, 0.2);
  padding-bottom: 10px;
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.skill-bar-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.skill-bar-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--accent-indigo), var(--accent-cyan));
  width: 0%;
  transition: width 1.5s cubic-bezier(0.1, 1, 0.1, 1);
}

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

.skill-cloud-tag {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  cursor: default;
}

.skill-cloud-tag:hover {
  background: rgba(34, 211, 238, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.2);
}

/* Timeline (Flight Log) Section */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-indigo) 50%, rgba(99, 102, 241, 0) 100%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 30px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-space);
  border: 3px solid var(--accent-cyan);
  z-index: 10;
  box-shadow: 0 0 10px var(--accent-cyan);
  transition: var(--transition-smooth);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-item:hover .timeline-dot {
  background: var(--accent-cyan);
  box-shadow: 0 0 20px var(--accent-cyan);
  transform: scale(1.3);
}

.timeline-card {
  padding: 25px;
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.timeline-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.timeline-org {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 12px;
}

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

/* Contact / Control Tower Section */
.contact-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  width: 100%;
}

.contact-info-card {
  display: flex;
  align-items: center;
  /* ⭐ Vertically centers the icon and text */
  justify-content: flex-start;
  gap: 20px;
  padding: 30px;
}

.contact-icon {
  width: 70px;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

.contact-info-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* ⭐ Centers the text vertically */
}

.contact-info-card:hover {
  transform: translateX(5px);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: var(--accent-cyan);
  transition: var(--transition-smooth);
}

.contact-info-card:hover .contact-card-icon {
  background: var(--accent-cyan);
  color: var(--bg-space);
  box-shadow: 0 0 15px var(--accent-cyan);
}

.contact-card-details h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-card-details p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-card-details .copy-tip {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

/* Contact Form */
.contact-form-container {
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--accent-cyan);
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-input {
  width: 100%;
  height: 52px;
}

textarea.form-input {
  min-height: 160px;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.1);
}

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

.form-label {
  position: absolute;
  left: 18px;
  top: 14px;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
  top: -10px;
  left: 12px;
  font-size: 0.75rem;
  padding: 0 6px;
  background: #0d1222;
  color: var(--accent-cyan);
  border-radius: 4px;
}

/* Notification Toast */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--accent-teal);
  font-size: 1.2rem;
}

/* Footer styling */
footer {
  text-align: center;
  padding: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
  background: rgba(3, 7, 18, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

footer a {
  color: var(--accent-cyan);
  text-decoration: none;
}

/* Scroll Animation Utilities */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 140px;
    justify-content: center;
  }

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

  .hero-description {
    margin: 0 auto 30px auto;
  }


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

  .skills-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 80px 6% 40px 6%;
  }

  header {
    padding: 15px 6%;
  }

  .hero-info h1 {
    font-size: 3rem;
  }

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

  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 40px;
    gap: 30px;
    transition: var(--transition-smooth);
    border-left: 1px solid rgba(34, 211, 238, 0.1);
  }

  nav.open ul {
    right: 0;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 110;
  }

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

  .bento-about,
  .bento-details,
  .bento-languages,
  .bento-soft-skills {
    grid-column: span 1;
  }

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

  #contact {
  align-items: center;
  }

  .timeline-container::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    text-align: left !important;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-dot {
    left: 11px !important;
    right: auto !important;
  }

  .contact-form-container {
    padding: 30px 20px;
  }

  .contact-info-cards {
    grid-template-columns: 1fr;
  }

  .contact-info-card {
    padding: 20px;
  }

  .contact-card-icon {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
}