/* ===== Reset & Base ===== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #e2e8f0;
  background: #1a1a2e;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

/* ===== Utilities ===== */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section__title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2.5rem;
  text-align: center;
}

.section__title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: #0ea5e9;
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* ===== Buttons ===== */

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
  border: 2px solid transparent;
}

.btn--primary {
  background: #0ea5e9;
  color: #fff;
  border-color: #0ea5e9;
}

.btn--primary:hover {
  background: #0284c7;
  border-color: #0284c7;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.btn--outline {
  background: transparent;
  color: #0ea5e9;
  border-color: #0ea5e9;
}

.btn--outline:hover {
  background: #0ea5e9;
  color: #fff;
}

/* ===== Navigation ===== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav--scrolled {
  background: rgba(26, 26, 46, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav__logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.nav__menu {
  display: flex;
  gap: 2rem;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #94a3b8;
  transition: color 0.2s;
}

.nav__link:hover,
.nav__link--active {
  color: #0ea5e9;
}

/* Hamburger */

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Hero ===== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 6rem 1.25rem 4rem;
}

.hero__title {
  font-size: 3.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: #0ea5e9;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero__tagline {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ===== About ===== */

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.about__text p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: #cbd5e1;
}

.about__certs h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 1rem;
}

.about__certs ul {
  list-style: none;
}

.about__certs li {
  padding: 0.5rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: #94a3b8;
}

.about__certs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #0ea5e9;
  border-radius: 50%;
}

/* ===== Services ===== */

.services {
  background: #16213e;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.card {
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.12);
}

.card__icon {
  font-size: 1.5rem;
  color: #0ea5e9;
  margin-bottom: 1rem;
}

.card__title {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1rem;
}

.card__text {
  color: #94a3b8;
  line-height: 1.7;
}

/* ===== Experience ===== */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.stats__item {
  text-align: center;
}

.stats__number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #0ea5e9;
}

.stats__label {
  font-size: 0.95rem;
  color: #94a3b8;
}

.experience__columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.experience__col h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 1rem;
}

.experience__col li {
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: #cbd5e1;
}

.experience__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #0ea5e9;
  border-radius: 50%;
}

/* ===== Contact ===== */

.contact {
  background: #16213e;
  text-align: center;
}

.contact__content p {
  font-size: 1.1rem;
  color: #94a3b8;
  margin-bottom: 2rem;
}

.contact__links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.contact__location {
  font-size: 0.95rem;
  color: #64748b;
}

/* ===== Footer ===== */

.footer {
  padding: 2rem 0;
  text-align: center;
  color: #475569;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== Fade-in Animation ===== */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */

@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: 2fr 1fr;
  }

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

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

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

@media (max-width: 767px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: absolute;
    top: 4rem;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(26, 26, 46, 0.98);
    padding: 1.5rem 1.25rem;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav__menu--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__menu li {
    padding: 0.75rem 0;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__subtitle {
    font-size: 1.05rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 6rem 0;
  }

  .hero__title {
    font-size: 4rem;
  }

  .section__title {
    font-size: 2.25rem;
  }
}
