html {
  scroll-behavior: smooth;
}

:root {
  --bg: radial-gradient(circle at top, #11606f 0%, #031c22 65%);
  --surface: rgba(6, 33, 41, 0.9);
  --surface-strong: rgba(7, 46, 56, 0.95);
  --primary: #48d0db;
  --primary-dark: #22a6b5;
  --accent: #7df5cd;
  --text: #e7f6ff;
  --muted: #8dbac5;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 35px 70px rgba(3, 12, 15, 0.65);
  --radius: 28px;
}

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

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

section {
  scroll-margin-top: 90px;
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 6vw;
  background: rgba(1, 10, 14, 0.9);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.logo {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  font-weight: 500;
}

nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

nav a:hover,
nav a:focus {
  color: var(--primary);
}

.btn {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #031c22;
  box-shadow: 0 12px 30px rgba(72, 208, 219, 0.35);
}

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

.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn.secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn.ghost {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

.btn.ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.section {
  padding: 4.5rem 0;
}

.section-shell {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.hero {
  padding-top: 6rem;
}

.hero-card {
  background: var(--surface-strong);
  border-radius: 36px;
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.8rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
}

.hero-card > *:not(.hero-bg) {
  position: relative;
  z-index: 1;
}

.bubble {
  position: absolute;
  border-radius: 999px;
  background: rgba(72, 208, 219, 0.12);
}

.bubble-one {
  width: 320px;
  height: 320px;
  top: -100px;
  right: -40px;
}

.bubble-two {
  width: 200px;
  height: 200px;
  bottom: -60px;
  left: 10%;
  background: rgba(125, 245, 205, 0.18);
}

.bubble-three {
  width: 140px;
  height: 140px;
  top: 35%;
  left: 45%;
  background: rgba(255, 255, 255, 0.25);
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.45;
}

.hero-text h1 span {
  color: var(--accent);
}

.hero-cta {
  margin-top: 1.8rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-media {
  display: flex;
  justify-content: flex-end;
}

.photo-frame {
  position: relative;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.photo-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  filter: saturate(0.9);
}

.accent-pill {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(3, 18, 24, 0.8);
  padding: 0.8rem 1.2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
}

.section-header {
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.about-grid,
.project-list,
.service-grid,
.skills-grid,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

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

.about-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.about-card.stats .value {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--accent);
}

.about-card ul {
  padding-left: 1.1rem;
  color: var(--muted);
}

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

.chips span {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(72, 208, 219, 0.18);
  color: var(--accent);
  font-size: 0.9rem;
}

.project-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  background: var(--surface-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.project-media img {
  height: 100%;
  object-fit: cover;
}

.project-content {
  padding: 2.2rem;
}

.project-points {
  margin: 1rem 0 1.5rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.project-points li + li {
  margin-top: 0.4rem;
}

.project-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(72, 208, 219, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.icon-circle img {
  width: 26px;
  height: 26px;
  filter: invert(67%) sepia(41%) saturate(478%) hue-rotate(140deg)
    brightness(102%) contrast(102%);
}

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

.skill-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.6rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.skill-head {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.progress-bar {
  background: rgba(72, 208, 219, 0.15);
  border-radius: 999px;
  margin-top: 0.8rem;
  height: 8px;
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

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

.contact-info {
  display: grid;
  gap: 1rem;
}

.info-card,
.contact-form {
  background: var(--surface-strong);
  padding: 1.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 500;
}

.info-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(72, 208, 219, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border 0.2s ease, box-shadow 0.2s ease;
  background: rgba(2, 16, 20, 0.8);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(72, 208, 219, 0.25);
}

.site-footer {
  padding: 2.5rem 6vw;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    gap: 1rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-card {
    text-align: center;
  }

  .hero-media {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .site-header {
    position: static;
  }

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

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

