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

:root {
  --primary: #0a0e27;
  --secondary: #10152d;
  --tertiary: #1a2644;
  --accent: #00d4ff;
  --accent-2: #ff006e;
  --accent-3: #8338ec;
  --text-primary: #ffffff;
  --text-secondary: #b0b8d4;
  --border-color: rgba(255, 255, 255, 0.1);
  --glass: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  --glass-strong: linear-gradient(145deg, rgba(0, 212, 255, 0.08), rgba(255, 255, 255, 0.01));
  --card-border: rgba(255, 255, 255, 0.12);
  --success: #29da77;
  --warning: #ffbe0b;
  --navbar-height: 70px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  background: rgba(10, 14, 39, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  animation: slideDown 0.6s ease-out;
  height: var(--navbar-height);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  width: 100%;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  flex-shrink: 0;
}

.logo {
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  font-family: 'Space Mono', monospace;
}

.logo-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  display: none;
}

@media (min-width: 768px) {
  .logo-title {
    display: block;
  }
}

.nav-menu {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
  padding: 5px 0;
}

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

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

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
}

.hamburger span {
  width: 22px;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Quick Action Buttons in Navbar */
.quick-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: 20px;
  flex-shrink: 0;
}

.nav-cta-group {
  display: flex;
  gap: 10px;
  margin-left: 16px;
}

.nav-cta {
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-cta.primary {
  background: linear-gradient(135deg, var(--accent), #00b0ff);
  color: var(--primary);
  border: none;
  box-shadow: 0 10px 28px rgba(0, 212, 255, 0.35);
}

.nav-cta.secondary {
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  border-color: rgba(0, 212, 255, 0.5);
}

.quick-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 14px;
  padding: 0;
  min-height: 44px; /* touch-friendly */
}

.quick-btn:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
  border-color: var(--accent);
}

@media (max-width: 1024px) {
  .nav-menu {
    gap: 20px;
  }

  .nav-link {
    font-size: 12px;
  }

  .quick-actions {
    gap: 6px;
    margin-left: 10px;
  }

  .quick-btn {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .nav-cta-group {
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 14, 39, 0.98);
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .quick-actions {
    display: none;
  }

  .nav-cta-group {
    display: none;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
  margin-top: var(--navbar-height);
}

.stars {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.stars::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 50%;
  top: 20%;
  left: 10%;
  opacity: 0.5;
  animation: twinkle 3s infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 140px 20px 60px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 320px);
  align-items: center;
  gap: 24px;
  justify-content: center;
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-primary);
  animation: slideUp 0.8s ease-out 0.2s both;
  margin: 0;
  flex: 1;
  min-width: 240px;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  animation: slideUp 0.8s ease-out 0.2s both;
  margin: 0;
  flex: 1;
  min-width: 280px;
  max-width: 720px;
  font-size: 15px;
}

.hero-headline {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 320px;
  max-width: 620px;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--text-primary);
  font-weight: 600;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 4px 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.hero-list li::before {
  content: '•';
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}

.hero-list li:hover {
  transform: translateX(6px);
  color: var(--text-primary);
}

.hero-actions {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: center;
  justify-content: center;
  width: 260px;
  flex-shrink: 0;
}

.hero-cta .btn {
  width: 100%;
  background: linear-gradient(140deg, rgba(0, 212, 255, 0.18), rgba(0, 0, 0, 0.55));
  border: 1px solid rgba(0, 212, 255, 0.35);
  color: var(--text-primary);
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.15);
}

.hero-cta .btn:hover {
  background: linear-gradient(140deg, rgba(0, 212, 255, 0.3), rgba(0, 0, 0, 0.45));
  box-shadow: 0 16px 36px rgba(0, 212, 255, 0.25);
}

.hero-cta .btn-primary {
  color: var(--primary);
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25), transparent 45%), linear-gradient(135deg, #00d4ff 0%, #00b0ff 45%, #00a0e0 100%);
  border: none;
}

@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .hero-headline {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-subtitle {
    text-align: center;
    max-width: 100%;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    text-align: center;
  }

  .hero-cta {
    width: 100%;
    align-items: center;
    align-self: center;
  }
}

@media (min-width: 900px) {
  .hero-cta {
    flex-wrap: nowrap;
  }
}

.btn {
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  min-height: 44px; /* touch-friendly */
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #00bfff 100%);
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.4);
}

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

.btn-secondary:hover {
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-3px);
}

.btn-tertiary {
  border: 2px solid rgba(0, 212, 255, 0.3);
  color: var(--text-primary);
  background: transparent;
  transition: all 0.3s ease;
}

.btn-tertiary:hover {
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.05);
  color: var(--accent);
  transform: translateY(-3px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: var(--text-primary);
  border: none;
  box-shadow: 0 12px 30px rgba(255, 0, 110, 0.3);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(255, 0, 110, 0.35);
  filter: brightness(1.05);
}


/* Hero Stats */
.hero-stats {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin: 12px auto 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  animation: slideUp 0.8s ease-out 0.6s both;
  width: 100%;
  max-width: 1100px;
  align-items: stretch;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  background: rgba(0, 212, 255, 0.05);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  min-width: 180px;
  flex: 1;
  max-width: 220px;
}

.stat-box:hover {
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
}



/* ===== MODAL STYLES ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
  align-items: center;
  justify-content: center;
}

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

.modal.show {
  display: flex;
}

.modal-content {
  background: var(--secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-content.modal-lg {
  max-width: 900px;
}

.modal-header {
  padding: 25px 30px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.modal-header h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 24px;
  flex: 1;
}

.modal-body {
  padding: 30px;
}

.close {
  position: absolute;
  right: 25px;
  top: 22px;
  font-size: 28px;
  font-weight: bold;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.3s ease;
  background: none;
  border: none;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close:hover {
  color: var(--accent);
}

/* Papers List */
.papers-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.paper-preview {
  background: rgba(0, 212, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.paper-preview:hover {
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.08);
}

.paper-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
  align-items: flex-start;
}

.paper-header h3 {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.4;
  flex: 1;
  margin: 0;
}

.paper-year {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}

.paper-authors {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 8px 0;
}

.paper-stats {
  color: var(--accent);
  font-size: 12px;
  margin-bottom: 12px;
}

.paper-actions {
  display: flex;
  gap: 10px;
}

.btn-small {
  padding: 8px 14px;
  font-size: 12px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
}

.btn-small:hover {
  background: var(--accent);
  color: var(--primary);
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
  position: relative;
  scroll-margin-top: var(--navbar-height);
}

.section#about,
.about-section {
  padding-top: 60px;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.section-card {
  background: var(--glass);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.section-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.section-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.section-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 212, 255, 0.4);
}

.section-header {
  margin-bottom: 60px;
  text-align: left;
}

.section-header.centered {
  text-align: center;
}

.section-header h2 {
  font-size: 44px;
  font-weight: 900;
  margin: 0 0 15px 0;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 20px;
}

.header-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  margin-top: 20px;
}

.section-header.centered .header-line {
  margin: 20px auto 0;
}

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

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

.education-section {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-color);
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.education-card {
  background: var(--glass);
  border: 1px solid var(--card-border);
  padding: 25px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 230px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.education-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  border-color: rgba(0, 212, 255, 0.35);
}

.edu-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.edu-meta h3 {
  font-size: 20px;
  margin: 0;
  color: var(--text-primary);
}

.edu-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.edu-institution {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}

.edu-status {
  color: var(--accent-2);
  font-size: 13px;
  margin: 0;
}

.edu-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0;
}

.edu-coursework {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.edu-coursework li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}

.edu-coursework li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.about-left {
  position: relative;
}

.about-img-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.about-img {
  width: 100%;
  max-width: 350px;
  border-radius: 16px;
  border: 2px solid var(--border-color);
  object-fit: cover;
  aspect-ratio: 1;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-item {
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.stat-item h4 {
  font-size: 28px;
  color: var(--accent);
  margin: 0 0 5px 0;
}

.stat-item p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.about-right h3 {
  font-size: 28px;
  margin: 0 0 20px 0;
  color: var(--text-primary);
}

.about-right p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 15px;
}

.about-right strong {
  color: var(--accent);
}


/* ===== EXPERIENCE SECTION ===== */
.experience-section {
  border-bottom: 1px solid var(--border-color);
}

.timeline {
  position: relative;
  padding: 40px 0;
  padding-left: 60px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 45px;
  width: 32px;
  height: 32px;
  background: var(--primary);
  border: 3px solid var(--accent);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.timeline-item.active .timeline-marker {
  width: 48px;
  height: 48px;
  left: -8px;
  top: 37px;
  box-shadow: 0 0 0 8px rgba(0, 212, 255, 0.1);
}

.timeline-date {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 5px;
}

.timeline-content h3 {
  font-size: 20px;
  margin: 0 0 5px 0;
}

.company-name {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}

.role-description {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 15px;
}

.achievements {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  padding: 0;
}

.achievements li {
  color: var(--text-secondary);
  font-size: 15px;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

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

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-badge {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}

.experience-column {
  display: grid;
  gap: 20px;
}

.experience-card {
  background: var(--glass);
  border: 1px solid var(--card-border);
  padding: 25px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
}

.experience-card:hover {
  border-color: rgba(0, 212, 255, 0.45);
  background: var(--glass-strong);
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.48);
}

.experience-card-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.experience-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.experience-card-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 20px;
}

.company-name {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  margin: 0;
}

.achievements {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.achievements li {
  color: var(--text-secondary);
  font-size: 14px;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

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

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== ADDITIONAL EXPERIENCE & AWARDS ===== */
.extra-section {
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
}

.extra-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.extra-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.extra-item strong {
  color: var(--accent);
  font-size: 14px;
}

.extra-item span {
  color: var(--text-secondary);
  font-size: 13px;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
  border-bottom: 1px solid var(--border-color);
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  container-type: inline-size;
  container-name: projects;
}

@container (max-width: 640px) {
  .projects-container {
    grid-template-columns: 1fr;
  }
}

@container (min-width: 900px) {
  .projects-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@container (min-width: 1200px) {
  .projects-container {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.project-card {
  background: var(--glass);
  border: 1px solid var(--card-border);
  padding: 30px;
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover {
  border-color: rgba(0, 212, 255, 0.45);
  background: var(--glass-strong);
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
}

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

.project-card.large {
  grid-column: span 2;
}

.project-content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.project-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.project-card h3 {
  font-size: 20px;
  margin: 0 0 15px 0;
  color: var(--text-primary);
}

.project-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 0 20px 0;
}

.project-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.highlight i {
  color: var(--accent);
  font-size: 16px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-tech span {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

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

.project-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 6px;
  transition: all 0.3s ease;
  min-height: 44px;
}

.project-link:hover {
  background: var(--accent);
  color: var(--primary);
}

/* ===== PUBLICATIONS SECTION ===== */
.publications-section {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-color);
}

.publications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.publication-card {
  background: var(--glass);
  border: 1px solid var(--card-border);
  padding: 30px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.publication-card:hover {
  border-color: rgba(0, 212, 255, 0.45);
  background: var(--glass-strong);
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.5);
}

.pub-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.pub-header h3 {
  font-size: 18px;
  flex: 1;
  line-height: 1.4;
  margin: 0;
}

.pub-year {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

.pub-authors {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0 0 10px 0;
}

.pub-abstract {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 15px 0;
}

.pub-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 13px;
  color: var(--accent);
}

.pub-stats i {
  margin-right: 5px;
}

.pub-actions {
  display: flex;
  gap: 15px;
}

.pub-actions a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 14px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 6px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.pub-actions a:hover {
  background: var(--accent);
  color: var(--primary);
}

/* ===== SKILLS SECTION ===== */
.skills-section {
  border-bottom: 1px solid var(--border-color);
}

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

.skill-group {
  background: var(--glass);
  border: 1px solid var(--card-border);
  padding: 25px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.skill-group:hover {
  border-color: rgba(0, 212, 255, 0.45);
  background: var(--glass-strong);
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.48);
}

.skill-group h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  margin: 0 0 20px 0;
  font-size: 16px;
}

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

.skill-item {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--accent);
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.skill-item:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ===== CERTIFICATIONS SECTION ===== */
.certifications-section {
  border-bottom: 1px solid var(--border-color);
}

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

.cert-card {
  background: var(--glass);
  border: 1px solid var(--card-border);
  padding: 25px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.cert-card:hover {
  border-color: rgba(0, 212, 255, 0.45);
  background: var(--glass-strong);
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5);
}

.cert-card h4 {
  color: var(--accent);
  margin: 0 0 15px 0;
  font-size: 16px;
}

.cert-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.cert-card li {
  color: var(--text-secondary);
  font-size: 14px;
  padding-left: 20px;
  position: relative;
}

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

/* Additional Experience Section */
.additional-section {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-color);
}

.additional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.additional-card {
  background: var(--glass);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px;
  transition: all 0.3s ease;
}

.additional-card h4 {
  font-size: 16px;
  color: var(--text-primary);
  margin: 0 0 10px 0;
  font-weight: 700;
}

.additional-card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

.additional-card:hover {
  border-color: rgba(0, 212, 255, 0.45);
  background: var(--glass-strong);
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.48);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 24px;
}

.contact-main-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.contact-form-wrapper {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  flex: 1;
  width: 100%;
}

.contact-form label {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
}

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

.contact-form button {
  align-self: flex-start;
  padding: 10px 24px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  padding: 30px;
  background: var(--glass);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  min-height: 120px;
}

.contact-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.contact-item:hover {
  border-color: rgba(0, 212, 255, 0.45);
  background: var(--glass-strong);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.48);
}

.contact-item:hover::after {
  opacity: 1;
}

.contact-item:focus-visible {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.35);
}

.contact-item i {
  font-size: 32px;
  color: var(--accent);
}

.contact-item span {
  color: var(--text-primary);
  font-weight: 600;
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 14px;
  text-align: center;
  margin: 0;
}

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

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-brand {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-brand p {
  margin: 0;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.14), rgba(255, 255, 255, 0.03));
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  min-height: 44px;
}

.footer-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: radial-gradient(circle at top left, rgba(0, 212, 255, 0.3), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.footer-link i {
  font-size: 16px;
  color: var(--accent);
}

.footer-link:hover {
  border-color: rgba(0, 212, 255, 0.65);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.22), rgba(0, 0, 0, 0.65));
  transform: translateY(-4px);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.45);
}

.footer-link:hover::after {
  opacity: 1;
}

.footer-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.4), 0 15px 30px rgba(0, 0, 0, 0.35);
  border-color: rgba(0, 212, 255, 0.8);
}

.footer-link.email-link {
  background: #010511;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 12px 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  font-size: 15px;
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  min-height: 46px;
}

.footer-link.email-link i {
  font-size: 18px;
  color: var(--accent);
}

.footer-link.email-link:hover,
.footer-link.email-link:focus-visible {
  background: #05070f;
  border-color: rgba(0, 212, 255, 0.9);
  transform: translateY(-6px);
  box-shadow: 0 30px 45px rgba(0, 0, 0, 0.7);
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 18px;
  border: 1px solid rgba(0, 212, 255, 0.5);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(0, 0, 0, 0.6));
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  min-height: 46px;
}

.footer-contact-link:hover,
.footer-contact-link:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 30px 45px rgba(0, 0, 0, 0.6);
  border-color: rgba(0, 212, 255, 0.85);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.45), rgba(0, 0, 0, 0.7));
}

/* ===== FOOTER CTA ===== */
.footer-cta {
  padding: 80px 0 50px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(255, 0, 110, 0.06));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-kicker {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.cta-copy h3 {
  margin: 0;
  font-size: 24px;
  color: var(--text-primary);
  line-height: 1.4;
  max-width: 720px;
}

.cta-subtext {
  margin: 4px 0 0 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.cta-subtext a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.cta-subtext a:hover {
  text-decoration: underline;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Icon sizing for consistency */
i,
.fa,
.fab,
.fas {
  line-height: 1;
}

.btn i,
.quick-btn i,
.project-link i,
.footer-link i,
.footer-link.email-link i,
.footer-contact-link i,
.btn-small i {
  font-size: 1.05em;
}

/* ===== CONSULTING PAGE ===== */
.consulting-page {
  background: radial-gradient(120% 120% at 10% 10%, rgba(0, 212, 255, 0.08), transparent), radial-gradient(120% 120% at 90% 20%, rgba(255, 0, 110, 0.08), transparent), linear-gradient(135deg, #060a1d 0%, #0b1028 100%);
}

.consult-hero {
  position: relative;
  overflow: hidden;
  padding: 140px 20px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 420px);
  gap: 28px;
  align-items: stretch;
}

.consult-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(255, 0, 110, 0.06));
  opacity: 0.6;
}

.consult-hero__content {
  position: relative;
  z-index: 1;
  padding: 32px;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--card-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.consult-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 10px 0;
  font-size: 12px;
}

.consult-hero h1 {
  margin: 0 0 12px 0;
  font-size: 38px;
  line-height: 1.15;
}

.consult-lead {
  margin: 0 0 10px 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.consult-subtitle {
  margin: 0 0 8px 0;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.consult-lead.secondary {
  color: var(--text-primary);
}

.consult-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.consult-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.shortcut-btn {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.shortcut-btn:hover {
  border-color: rgba(0, 212, 255, 0.6);
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-1px);
}

.consult-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.consult-tags span {
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: var(--text-primary);
}

.consult-panel {
  position: relative;
  z-index: 1;
  padding: 24px;
  border-radius: 18px;
  background: var(--glass-strong);
  border: 1px solid var(--card-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.consult-panel h3 {
  margin: 0 0 10px 0;
}

.consult-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.consult-panel__cta {
  padding: 14px;
  border-radius: 14px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
}

.consult-panel__cta p {
  margin: 0 0 10px 0;
  color: var(--text-primary);
}

.consult-section {
  padding: 60px 20px;
}

.consult-grid {
  display: grid;
  gap: 24px;
}

.consult-grid.two {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: stretch;
}

.consult-card {
  background: var(--glass);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.consult-card h2 {
  margin: 0 0 12px 0;
}

.consult-card ol {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.consult-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.consult-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.consult-chips span {
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

.consult-bottom-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.process-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.process-row .process-card {
  min-width: 220px;
  scroll-snap-align: start;
}

.process-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  gap: 6px;
}

.process-step {
  font-weight: 800;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.process-card h4 {
  margin: 0;
}

.process-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

.final-cta {
  padding: 70px 20px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(255, 0, 110, 0.08));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.final-cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.final-cta__box h2 {
  margin: 0 0 6px 0;
}

.final-cta__box p {
  margin: 0;
  color: var(--text-secondary);
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 960px) {
  .consult-hero {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }

  .final-cta__box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .consult-hero {
    padding: 110px 16px 60px;
    gap: 18px;
  }

  .consult-hero__content,
  .consult-panel {
    padding: 20px;
  }

  .consult-hero h1 {
    font-size: 30px;
  }

  .consult-actions .btn,
  .consult-bottom-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .consult-shortcuts {
    width: 100%;
  }

  .shortcut-btn {
    flex: 1 1 48%;
    text-align: center;
  }

  .consult-tags {
    gap: 8px;
  }

  .consult-grid.two {
    grid-template-columns: 1fr;
  }

  .consult-bottom-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .final-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 540px) {
  .consult-hero {
    padding: 100px 14px 50px;
  }

  .consult-hero h1 {
    font-size: 26px;
  }

  .consult-panel,
  .consult-card {
    padding: 18px;
  }

  .consult-chips span,
  .consult-tags span {
    font-size: 11px;
    padding: 6px 9px;
  }

  .final-cta__box {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-grid {
    gap: 22px;
  }

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

  .about-highlights-grid {
    grid-template-columns: 1fr;
  }

  .project-card.large {
    grid-column: span 1;
  }

  .section-header h2 {
    font-size: 36px;
  }
}

@media (min-width: 1024px) {\r\n  .contact-main-content {\r\n    flex-direction: row;\r\n    align-items: flex-start;\r\n  }\r\n}\r\n\r\n@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --navbar-height: 60px;
  }

  .contact-grid,
  .contact-form-wrapper {
    width: 100%;
    margin-top: 0;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .stat-box {
    padding: 15px;
  }

  .stat-number {
    font-size: 24px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .project-highlights {
    grid-template-columns: 1fr;
  }

  .pub-header {
    flex-direction: column;
  }

  .modal-content {
    width: 95%;
    max-height: 90vh;
  }

  .modal-header {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .modal-body {
    padding: 20px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 28px;
  }

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

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    align-items: center;
  }

  .footer-links {
    width: 100%;
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }

  .footer-link,
  .footer-link.email-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 80px 0 40px;
  }

  .hero-container {
    padding: 120px 16px 40px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-box {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .floating-orbit {
    width: 220px;
    height: 220px;
  }

  .section-header h2 {
    font-size: 24px;
  }

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

  .modal-header h2 {
    font-size: 18px;
  }
}






