:root {
  --primary: #00d4ff;
  --primary-dark: #0099cc;
  --secondary: #ff006e;
  --accent: #8f00ff;
  --bg-dark: #0a0e27;
  --bg-darker: #050812;
  --text-primary: #e0e0e0;
  --text-secondary: #a8a8a8;
  --border: #1f2847;
  --success: #00d084;
  --glow: rgba(0, 212, 255, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle 800px at 20% 50%, rgba(0, 212, 255, 0.03) 0%, transparent 100%),
              radial-gradient(circle 600px at 80% 80%, rgba(255, 0, 110, 0.03) 0%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(5, 8, 18, 0.98), rgba(5, 8, 18, 0.8));
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  padding: 1.2rem 0;
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.05);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.8rem 0;
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.1);
}

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

.logo {
  font-size: 1.3rem;
  font-weight: bold;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

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

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 0, 110, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 25s ease-in-out infinite reverse;
  z-index: -1;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(30px); }
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  animation: slideInDown 0.8s ease-out;
  text-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
}

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

.subtitle {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 600;
  animation: slideInUp 0.8s ease-out 0.1s both;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

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

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin-bottom: 3rem;
  line-height: 1.7;
  animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(20, 24, 41, 0.4);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  max-width: 600px;
  backdrop-filter: blur(10px);
  animation: slideInUp 0.8s ease-out 0.3s both;
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
}

.metric {
  text-align: center;
  transition: all 0.3s ease;
  padding: 1rem;
  border-radius: 8px;
}

.metric:hover {
  transform: translateY(-8px);
  background: rgba(0, 212, 255, 0.1);
}

.metric-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideInUp 0.8s ease-out 0.4s both;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn:hover::before,
.btn:focus::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--bg-dark);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(0, 212, 255, 0.5);
}

.btn-primary:hover,
.btn-primary:active {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.6),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:active {
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(0, 212, 255, 0.08);
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.btn-secondary:hover,
.btn-secondary:active {
  background: rgba(0, 212, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4),
              inset 0 0 20px rgba(0, 212, 255, 0.1);
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn-large {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

/* ===== SECTIONS ===== */
section {
  padding: 5rem 0;
  position: relative;
}

section h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), transparent);
  border-radius: 2px;
  box-shadow: 0 0 20px var(--primary);
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  transition: color 0.3s ease;
}

.about-text p:hover {
  color: var(--text-primary);
}

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

.info-block {
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
  background: rgba(0, 212, 255, 0.05);
  border-radius: 8px;
  cursor: pointer;
}

.info-block:hover,
.info-block:active {
  border-left-color: var(--secondary);
  background: rgba(0, 212, 255, 0.1);
  transform: translateX(10px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.15);
}

.info-block h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.info-block p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.95rem;
}

/* ===== EXPERIENCE - NEW MODERN TIMELINE DESIGN ===== */
.experience-list {
  position: relative;
  padding: 2rem 0;
}

.experience-list::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--secondary), var(--accent), transparent);
  top: 0;
}

.exp-item {
  margin-bottom: 4rem;
  position: relative;
  opacity: 0;
  animation: fadeInExp 0.6s ease-out forwards;
}

.exp-item:nth-child(1) { animation-delay: 0.1s; }
.exp-item:nth-child(2) { animation-delay: 0.2s; }
.exp-item:nth-child(3) { animation-delay: 0.3s; }
.exp-item:nth-child(4) { animation-delay: 0.4s; }

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

.exp-item:nth-child(odd) {
  margin-left: 0;
  margin-right: 52%;
  text-align: right;
  padding-right: 3rem;
}

.exp-item:nth-child(even) {
  margin-left: 52%;
  margin-right: 0;
  text-align: left;
  padding-left: 3rem;
}

.exp-item::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border: 4px solid var(--bg-dark);
  border-radius: 50%;
  top: 0;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
  transition: all 0.3s ease;
}

.exp-item:nth-child(odd)::before {
  right: -51px;
}

.exp-item:nth-child(even)::before {
  left: -51px;
}

.exp-item:hover::before,
.exp-item:active::before {
  width: 28px;
  height: 28px;
  background: var(--secondary);
  box-shadow: 0 0 30px rgba(255, 0, 110, 0.8);
}

.exp-header {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(139, 0, 255, 0.04));
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.exp-item:hover .exp-header,
.exp-item:active .exp-header {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(139, 0, 255, 0.08));
  border: 1px solid rgba(0, 212, 255, 0.4);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.15);
}

.exp-item h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin: 0 0 0.5rem 0;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.exp-item:hover h3,
.exp-item:active h3 {
  color: var(--secondary);
}

.exp-company {
  font-size: 0.95rem;
  color: var(--accent);
  margin: 0.3rem 0;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.exp-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0.5rem 0 0 0;
  font-style: italic;
  font-weight: 500;
}

.exp-bullets {
  list-style: none;
  margin-top: 1.5rem;
  padding: 0;
}

.exp-bullets li {
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.7;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.exp-bullets li:last-child {
  margin-bottom: 0;
}

.exp-bullets li:hover,
.exp-bullets li:active {
  color: var(--text-primary);
  transform: translateX(8px);
}

.exp-bullets li::before {
  content: '▹';
  color: var(--secondary);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2rem;
}

/* ===== SKILLS ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.skill-card {
  padding: 2rem;
  border-bottom: 2px solid var(--border);
  transition: all 0.3s ease;
  background: rgba(0, 212, 255, 0.03);
  border-radius: 8px;
  cursor: pointer;
}

.skill-card:hover,
.skill-card:active {
  border-bottom: 3px solid var(--primary);
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-8px);
  box-shadow: 0 12px 36px rgba(0, 212, 255, 0.15);
}

.skill-card h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.skill-card:hover h3,
.skill-card:active h3 {
  color: var(--secondary);
}

.skill-card ul {
  list-style: none;
}

.skill-card li {
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.skill-card li:hover,
.skill-card li:active {
  color: var(--text-primary);
  transform: translateX(5px);
}

.skill-card li::before {
  content: '✓';
  color: var(--success);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* ===== CERTIFICATIONS ===== */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.cert-item {
  padding: 1.5rem;
  border-bottom: 2px solid var(--border);
  transition: all 0.3s ease;
  background: rgba(139, 0, 255, 0.05);
  border-radius: 8px;
  cursor: pointer;
}

.cert-item:hover,
.cert-item:active {
  border-bottom: 2px solid var(--accent);
  background: rgba(139, 0, 255, 0.12);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139, 0, 255, 0.15);
}

.cert-item h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.cert-item p {
  color: var(--text-secondary);
  margin: 0.3rem 0;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.cert-item:hover p,
.cert-item:active p {
  color: var(--text-primary);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 212, 255, 0.05));
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
  touch-action: manipulation;
}

.badge:hover,
.badge:active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--bg-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

/* ===== LANGUAGES ===== */
.lang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.lang-card {
  padding: 2rem;
  border-bottom: 3px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
  background: rgba(255, 0, 110, 0.05);
  border-radius: 8px;
  cursor: pointer;
}

.lang-card:hover,
.lang-card:active {
  border-bottom: 3px solid var(--secondary);
  background: rgba(255, 0, 110, 0.12);
  transform: translateY(-8px);
  box-shadow: 0 12px 36px rgba(255, 0, 110, 0.15);
}

.lang-card h3 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.lang-card:hover h3,
.lang-card:active h3 {
  color: var(--primary);
}

.lang-card p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.9rem;
}

/* ===== CONTACT ===== */
.contact-section {
  text-align: center;
}

.contact-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  transition: color 0.3s ease;
}

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

.contact-email {
  color: var(--text-secondary);
  margin-top: 1.5rem;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(to bottom, rgba(5, 8, 18, 0.5), var(--bg-darker));
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  padding: 3rem 0;
  text-align: center;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
}

.footer p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer p:hover {
  color: var(--primary);
}

/* ===== MOBILE OPTIMIZATIONS ===== */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  section {
    padding: 4rem 0;
  }

  section h2 {
    font-size: 2rem;
  }
}

/* Mobile Portrait (480px - 768px) */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
  }

  .subtitle {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }

  .hero-desc {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .metric {
    padding: 0.8rem;
  }

  .metric-number {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
  }

  .metric-label {
    font-size: 0.7rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  .about-grid,
  .cert-grid,
  .skills-grid,
  .lang-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .nav-menu {
    gap: 1.2rem;
    font-size: 0.8rem;
  }

  .nav-menu a {
    padding: 0.3rem 0;
  }

  section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  section h2::after {
    width: 60px;
  }

  .hero {
    padding: 2rem 1rem;
    min-height: auto;
  }

  /* Experience Mobile */
  .experience-list {
    padding: 1rem 0;
  }

  .experience-list::before {
    left: 0;
    transform: translateX(0);
  }

  .exp-item,
  .exp-item:nth-child(odd),
  .exp-item:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    padding-left: 2.5rem;
    padding-right: 0;
    margin-bottom: 2.5rem;
  }

  .exp-item::before {
    left: -42px !important;
    right: auto;
    width: 16px;
    height: 16px;
    border-width: 3px;
  }

  .exp-item:hover::before,
  .exp-item:active::before {
    width: 22px;
    height: 22px;
  }

  .exp-header {
    padding: 1.5rem;
  }

  .exp-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
  }

  .exp-company {
    font-size: 0.85rem;
  }

  .exp-date {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .exp-bullets {
    margin-top: 1rem;
  }

  .exp-bullets li {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    line-height: 1.6;
  }

  .skill-card {
    padding: 1.5rem;
  }

  .skill-card h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .skill-card li {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }

  .cert-item {
    padding: 1.2rem;
  }

  .cert-item h3 {
    font-size: 1rem;
  }

  .cert-item p {
    font-size: 0.85rem;
  }

  .badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }

  .lang-card {
    padding: 1.5rem;
  }

  .lang-card h3 {
    font-size: 1.1rem;
  }

  .lang-card p {
    font-size: 0.85rem;
  }

  .about-text p {
    font-size: 0.95rem;
  }

  .info-block {
    padding: 1.2rem;
  }

  .info-block h3 {
    font-size: 0.95rem;
  }

  .info-block p {
    font-size: 0.9rem;
  }
}

/* Mobile Landscape & Small Devices (360px - 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

  .subtitle {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
  }

  .metric {
    padding: 0.6rem;
  }

  .metric-number {
    font-size: 1.2rem;
  }

  .metric-label {
    font-size: 0.65rem;
    letter-spacing: 0;
  }

  .nav-menu {
    gap: 0.8rem;
    font-size: 0.75rem;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  .cta-buttons {
    gap: 0.8rem;
  }

  .btn {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    border-radius: 6px;
  }

  .hero {
    padding: 1.5rem 1rem;
    min-height: auto;
  }

  section {
    padding: 2.5rem 0;
  }

  section h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }

  /* Experience Ultra Mobile */
  .experience-list {
    padding: 0;
  }

  .experience-list::before {
    left: 8px;
  }

  .exp-item {
    margin-bottom: 2rem;
    padding-left: 2rem;
  }

  .exp-item::before {
    left: -38px !important;
    width: 14px;
    height: 14px;
    border-width: 2px;
  }

  .exp-item:hover::before,
  .exp-item:active::before {
    width: 20px;
    height: 20px;
  }

  .exp-header {
    padding: 1.2rem;
    border-radius: 8px;
  }

  .exp-item h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }

  .exp-company {
    font-size: 0.8rem;
  }

  .exp-date {
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
  }

  .exp-bullets li {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
  }

  .skill-card {
    padding: 1rem;
  }

  .skill-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
  }

  .skill-card li {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .skills-grid {
    gap: 1rem;
  }

  .cert-grid,
  .lang-grid {
    gap: 1rem;
  }

  .cert-item {
    padding: 1rem;
  }

  .cert-item h3 {
    font-size: 0.95rem;
  }

  .cert-item p {
    font-size: 0.8rem;
  }

  .badge {
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
  }

  .lang-card {
    padding: 1rem;
  }

  .lang-card h3 {
    font-size: 1rem;
  }

  .lang-card p {
    font-size: 0.8rem;
  }

  .about-text p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .info-block {
    padding: 1rem;
  }

  .info-block h3 {
    font-size: 0.9rem;
  }

  .info-block p {
    font-size: 0.85rem;
  }

  .contact-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .contact-email {
    font-size: 0.9rem;
  }

  .footer p {
    font-size: 0.85rem;
  }
}

/* Ultra Small (320px) */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  section h2 {
    font-size: 1.2rem;
  }

  .nav-menu a {
    font-size: 0.7rem;
  }
}
