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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #0d1b2a;
  background: #f7fbff;
  line-height: 1.6;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  padding: 20px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(2, 9, 17, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
}

.logo-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 1.65rem;
  font-weight: 950;
  letter-spacing: -2px;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(0, 140, 255, 0.09);
  box-shadow:
    0 0 25px rgba(0, 140, 255, 0.22),
    inset 0 0 18px rgba(255, 255, 255, 0.05);
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  border: 1px solid rgba(0, 168, 232, 0.45);
  pointer-events: none;
}

.logo-m {
  color: white;
}

.logo-r {
  color: #00a8e8;
  text-shadow: 0 0 18px rgba(0, 168, 232, 0.7);
  margin-left: -2px;
}

.logo-word {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: #ffffff;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.25s ease;
}

.desktop-nav a:hover {
  color: #00a8e8;
}

.desktop-nav .nav-cta {
  color: white;
  background: linear-gradient(135deg, #008cff, #00c2ff);
  padding: 13px 20px;
  border-radius: 999px;
  box-shadow: 0 12px 35px rgba(0, 140, 255, 0.35);
}

.desktop-nav .nav-cta:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(0, 140, 255, 0.5);
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 145px 7% 85px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 15% 45%, rgba(0, 168, 232, 0.22), transparent 28%),
    radial-gradient(circle at 82% 42%, rgba(0, 140, 255, 0.28), transparent 31%),
    linear-gradient(180deg, #020911 0%, #041626 55%, #020911 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 75%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.65;
  pointer-events: none;
}

.hero-glow-left {
  left: -120px;
  top: 35%;
  background: rgba(0, 168, 232, 0.35);
}

.hero-glow-right {
  right: -100px;
  top: 22%;
  background: rgba(0, 140, 255, 0.4);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1350px;
  margin: 0 auto;
}

.hero-banner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-banner img {
  width: min(100%, 1250px);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 35px 60px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 28px rgba(0, 168, 232, 0.12));
}

.hero-buttons {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 25px;
  min-height: 52px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
  letter-spacing: 0.2px;
}

.primary {
  background: linear-gradient(135deg, #008cff, #00c2ff);
  color: white;
  box-shadow: 0 16px 42px rgba(0, 140, 255, 0.35);
}

.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}

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

.primary:hover {
  box-shadow: 0 20px 52px rgba(0, 140, 255, 0.55);
}

.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.dark-text-btn {
  color: white;
}

/* GENERAL SECTIONS */
section {
  padding: 95px 7%;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 900;
  color: #008cff;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: 18px;
  color: #061726;
}

/* INTRO */
.intro {
  text-align: center;
  max-width: 1150px;
  margin: 0 auto;
}

.intro > p {
  max-width: 760px;
  margin: 0 auto 42px;
  font-size: 1.15rem;
  color: #405466;
}

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

.stats div {
  position: relative;
  overflow: hidden;
  background: white;
  padding: 32px 24px;
  border-radius: 26px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 140, 255, 0.08);
}

.stats div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 140, 255, 0.09), transparent 55%);
  pointer-events: none;
}

.stats h3 {
  position: relative;
  font-size: 2rem;
  color: #0077b6;
  margin-bottom: 4px;
}

.stats p {
  position: relative;
  color: #405466;
}

/* FEATURE */
.feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 54px;
  align-items: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 168, 232, 0.14), transparent 30%),
    #eaf7ff;
}

.feature-image {
  min-height: 520px;
  border-radius: 34px;
  background: url("assets/images/featured-pool.jpg") center/cover no-repeat;
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.16);
  border: 8px solid white;
}

.feature-text {
  max-width: 560px;
}

.feature-text p {
  margin-bottom: 28px;
  font-size: 1.1rem;
  color: #405466;
}

/* SERVICES */
.services {
  text-align: center;
  background: #f7fbff;
}

.service-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  overflow: hidden;
  background: white;
  padding: 34px 26px;
  border-radius: 26px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 140, 255, 0.08);
  font-size: 1.15rem;
  font-weight: 900;
  transition: 0.25s ease;
}

.card::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -35px;
  top: -35px;
  border-radius: 999px;
  background: rgba(0, 168, 232, 0.15);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.11);
}

/* GALLERY */
.gallery {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 168, 232, 0.18), transparent 30%),
    #061726;
  color: white;
  text-align: center;
}

.gallery h2 {
  color: white;
}

.gallery-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  height: 285px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.3);
  transition: 0.25s ease;
}

.gallery-grid img:hover {
  transform: translateY(-5px) scale(1.015);
}

/* ESTIMATE */
.estimate {
  background:
    radial-gradient(circle at 20% 15%, rgba(0, 168, 232, 0.17), transparent 28%),
    linear-gradient(135deg, #dff6ff, #ffffff);
}

.estimate-box {
  max-width: 880px;
  margin: 0 auto;
  background: white;
  padding: 54px;
  border-radius: 36px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 140, 255, 0.1);
}

.estimate-box > p {
  color: #405466;
  margin-bottom: 26px;
  font-size: 1.08rem;
}

form {
  margin-top: 28px;
  display: grid;
  gap: 15px;
}

input,
textarea {
  width: 100%;
  padding: 17px 18px;
  border-radius: 16px;
  border: 1px solid #d5e3ec;
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
  outline: none;
  transition: 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: #008cff;
  box-shadow: 0 0 0 4px rgba(0, 140, 255, 0.12);
}

textarea {
  min-height: 135px;
  resize: vertical;
}

.form-btn {
  width: fit-content;
  margin-top: 4px;
}

/* FOOTER */
footer {
  position: relative;
  overflow: hidden;
  padding: 85px 7%;
  text-align: center;
  background:
    radial-gradient(circle at 50% -20%, rgba(0, 168, 232, 0.22), transparent 38%),
    #020911;
  color: white;
}

footer h2 {
  color: white;
}

footer p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.website {
  margin-top: 30px;
  font-weight: 800;
  color: white;
}

.small {
  margin-top: 38px;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* MOBILE */
@media (max-width: 950px) {
  .desktop-nav {
    display: none;
  }

  .site-header {
    padding: 18px 6%;
  }

  .hero {
    min-height: auto;
    padding: 125px 5% 65px;
  }

  .hero-banner img {
    width: 100%;
  }

  .stats,
  .service-grid,
  .gallery-grid,
  .feature {
    grid-template-columns: 1fr;
  }

  .feature-image {
    min-height: 360px;
  }

  .feature-text {
    max-width: none;
  }

  .estimate-box {
    padding: 34px;
    border-radius: 28px;
  }

  section {
    padding: 72px 6%;
  }
}

@media (max-width: 520px) {
  .logo-word {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  .logo-mark {
    font-size: 1.4rem;
  }

  .hero-buttons,
  .footer-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .gallery-grid img {
    height: 235px;
  }
}
