:root {
  --ink: #141719;
  --muted: #667085;
  --line: #e7ecf0;
  --paper: #f8fafb;
  --brand: #0f766e;
  --brand-2: #f97316;
  --brand-dark: #073b3a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  max-width: 100%;
}

.glass-nav {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(231, 236, 240, 0.9);
  backdrop-filter: blur(16px);
}

.navbar-brand {
  color: var(--ink);
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  background: var(--brand);
  border-radius: 8px;
  font-weight: 900;
  letter-spacing: 0;
}

.nav-link {
  color: #344054;
  font-weight: 600;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand);
}

.btn {
  border-radius: 8px;
  font-weight: 700;
}

.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 14px 32px rgba(15, 118, 110, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
  background: #0b5f59;
  border-color: #0b5f59;
}

.btn-outline-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(7, 59, 58, 0.96), rgba(16, 24, 40, 0.92)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: #9ff3e8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--brand);
}

.lead {
  color: rgba(255, 255, 255, 0.78);
  max-width: 680px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 560px;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats strong {
  display: block;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.profile-visual {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(15, 118, 110, 0.16));
}

.profile-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(7, 59, 58, 0) 45%, rgba(7, 59, 58, 0.34));
  pointer-events: none;
}

.profile-visual img {
  object-position: center top;
}

.floating-panel {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
  font-weight: 800;
}

.floating-panel i {
  color: var(--brand-2);
}

.panel-top {
  top: 24px;
  left: 24px;
}

.panel-bottom {
  right: 24px;
  bottom: 24px;
}

.section-strip {
  color: #ffffff;
  background: var(--brand-dark);
}

.strip-label {
  font-weight: 800;
}

.section-title {
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 850;
  line-height: 1.05;
}

.section-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-card {
  height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 118, 110, 0.25);
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.08);
}

.service-card i {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--brand);
  background: #e5fbf7;
  border-radius: 8px;
  font-size: 1.45rem;
}

.service-card h3,
.project-card h3,
.timeline-item h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.service-card p,
.project-card p,
.timeline-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.projects-section,
.contact-section {
  background: var(--paper);
}

.link-arrow {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.project-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(16, 24, 40, 0.06);
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-body {
  padding: 24px;
}

.project-body span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.timeline-item span {
  display: inline-grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: #ffffff;
  background: var(--brand-dark);
  border-radius: 8px;
  font-weight: 900;
}

.cta-band {
  padding: 72px 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-dark), #154a45 58%, #b95019);
}

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

.cta-inner h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 850;
  line-height: 1.08;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.contact-list i {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #ffffff;
  background: var(--brand);
  border-radius: 8px;
}

.contact-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 52px rgba(16, 24, 40, 0.08);
}

.form-control,
.form-select {
  min-height: 52px;
  border-color: #d0d5dd;
  border-radius: 8px;
}

textarea.form-control {
  min-height: 132px;
}

footer {
  color: #d9f5f1;
  background: #101828;
}

footer p {
  color: rgba(255, 255, 255, 0.7);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  text-decoration: none;
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 96px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 420px;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 340px;
  }

  .floating-panel {
    position: static;
    margin: 12px;
  }

  .hero-visual {
    display: flex;
    flex-direction: column;
    background: #ffffff;
  }

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

  .contact-form {
    padding: 20px;
  }
}
