:root {
  --bg-dark: #0a1624;
  --bg-soft: #0f2133;
  --bg-card: #111f2f;
  --text-main: #f2f6ff;
  --text-muted: #92a1b5;
  --accent: #4ba3ff;
  --accent-soft: rgba(75, 163, 255, 0.25);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 30px 60px rgba(3, 10, 20, 0.6);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  background: radial-gradient(circle at top left, #13263b 0%, var(--bg-dark) 45%, #08121e 100%);
  color: var(--text-main);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-header {
  margin-bottom: 48px;
}

.section-header h3 {
  font-family: "Sora", sans-serif;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 680px;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--accent);
  color: #08121e;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 999;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(7, 15, 25, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 18px 0;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-left: auto;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  gap: 6px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
}

.hero {
  padding: 120px 0 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  margin-bottom: 12px;
}

.hero-copy h2 {
  color: var(--accent);
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 16px;
}

.eyebrow {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.lead {
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-badges span {
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(9, 20, 32, 0.6);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-main);
  transition: all 0.25s ease;
}

.btn:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(75, 163, 255, 0.2);
}

.btn-outline {
  color: var(--accent);
  border-color: var(--accent-soft);
}

.hero-card {
  background: linear-gradient(160deg, rgba(19, 38, 59, 0.9), rgba(10, 22, 36, 0.95));
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  min-height: 260px;
  animation: float 6s ease-in-out infinite;
}

.hero-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(75, 163, 255, 0.25), transparent 70%);
  top: -60px;
  right: -40px;
}

.hero-stats {
  display: grid;
  gap: 22px;
}

.hero-stats strong {
  font-size: 1.7rem;
  font-family: "Sora", sans-serif;
}

.hero-stats span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}

.about-image img {
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(-40px);
  animation: none;
}

.about.in-view .about-image img {
  animation: slideIn 1.6s ease both;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 18px;
}

.about-highlights h4 {
  font-family: "Sora", sans-serif;
  margin-bottom: 8px;
}

.about-highlights li {
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.experience-banner {
  background: linear-gradient(120deg, rgba(10, 22, 36, 0.7), rgba(14, 28, 44, 0.9));
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: 18px;
  text-align: center;
  margin-bottom: 56px;
}

.experience-banner h4 {
  font-family: "Sora", sans-serif;
  font-size: 1.8rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.service-card h5 {
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.service-card li {
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.tab {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  padding: 10px 22px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab.active,
.tab:hover {
  background: var(--accent);
  color: #05101b;
  border-color: transparent;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

@media (min-width: 1100px) {
  .work-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.work-card {
  background: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.work-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #0b1523;
  padding: 12px 16px;
}

.work-caption {
  padding: 16px 18px 20px;
}

.work-caption h6 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.work-caption p {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.work-tags span {
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.text-link {
  color: var(--accent);
  font-weight: 600;
}

.timeline {
  display: grid;
  gap: 20px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
}

.timeline-year {
  color: var(--accent);
  font-weight: 600;
}

.timeline-content h5 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline-content p {
  color: var(--text-muted);
}

.contact-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 36px;
  color: var(--text-muted);
}

.contact-item {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

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

.contact-card {
  background: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 28px;
}

.contact-card h5 {
  font-family: "Sora", sans-serif;
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.contact-card-muted {
  background: rgba(9, 20, 32, 0.6);
}

.map-embed {
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.testimonial-card p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.95rem;
}

.testimonial-meta span {
  color: var(--text-muted);
}

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

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.cert-card h6 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.cert-card p {
  color: var(--text-muted);
}

.site-footer {
  padding: 26px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  text-align: center;
}

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

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

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }

  .hero-card {
    animation: none;
  }

  .about-image img {
    animation: none;
  }
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 5vw;
    flex-direction: column;
    background: rgba(7, 15, 25, 0.98);
    border: 1px solid var(--border);
    padding: 18px 20px;
    border-radius: 12px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 90px;
  }

  .hero-card {
    padding: 30px;
  }

  .experience-banner h4 {
    font-size: 1.4rem;
  }
}
