:root {
  --bg: #05080b;
  --card: #101820;
  --card2: #151f29;
  --green: #21c335;
  --green2: #57e65f;
  --text: #ffffff;
  --muted: #a9b3bd;
  --line: rgba(255,255,255,0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f6f8;
  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
}

/* HEADER */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 82px;
  z-index: 100;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(3, 8, 12, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo img {
  height: 52px;
  width: auto;
  display: block;
}

.footer-logo img {
  width: 230px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 18px;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav a {
  color: #fff;
  opacity: .9;
}

.nav a.active,
.nav a:hover {
  color: var(--green2);
}

.quote-btn {
  background: linear-gradient(135deg, var(--green), #129322);
  padding: 15px 28px;
  border-radius: 6px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.menu-btn {
  display: none;
  background: none;
  color: white;
  border: 0;
  font-size: 30px;
}

.mobile-nav {
  display: none;
}

/* HERO */

.hero-slider {
  position: relative;
  height: 610px;
  margin-top: 82px;
  overflow: hidden;
  background: #05080b;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  transition: opacity 900ms ease, visibility 900ms ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slider-btn {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  color: white;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
}

.slider-btn:hover {
  background: rgba(33,195,53,.75);
}

.slider-btn.prev {
  left: 22px;
}

.slider-btn.next {
  right: 22px;
}

.slider-dots {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 34px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  cursor: pointer;
}

.dot.active {
  background: var(--green);
}

.diy-slide {
  background-position: center center;
}

.pcb-slide {
  background-position: center center;
}

.proto-slide {
  background-position: center center;
}

.print-slide {
  background-position: center center;
}

@media (max-width: 900px) {
  .hero-slider {
    height: 58vw;
    min-height: 430px;
    max-height: 620px;
  }
}

@media (max-width: 650px) {
  .hero-slider {
    height: 520px;
  }

  .slide {
    background-size: cover;
  }

  .diy-slide {
    background-position: 45% center;
  }

  .pcb-slide {
    background-position: 58% center;
  }

  .proto-slide {
    background-position: 58% center;
  }

  .print-slide {
    background-position: 62% center;
  }
}

@media (max-width: 650px) {
  .hero-slider {
    height: 72vw;
    min-height: 360px;
    margin-top: 82px;
  }

  .slider-btn {
    display: none;
  }

  .slider-dots {
    bottom: 14px;
  }
}

/* FEATURES */

.features {
  background: rgba(5, 10, 14, 0.97);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px 70px;
  gap: 30px;
}

.features div {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 16px;
  align-items: center;
}

.features span {
  grid-row: span 2;
  color: var(--green);
  font-size: 28px;
}

.features strong {
  font-size: 15px;
}

.features small {
  color: var(--muted);
}

/* SERVICES */

.service-grid {
  padding: 34px 46px 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 300px;
  padding: 34px 30px;
  border-radius: 12px;
  overflow: hidden;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.54) 50%, rgba(0,0,0,.25) 100%),
    linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.88) 100%);
  z-index: 0;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(0,0,0,.32);
}

#printing {
  background-image:
    linear-gradient(
      90deg,
      rgba(0,0,0,.86) 0%,
      rgba(0,0,0,.54) 50%,
      rgba(0,0,0,.25) 100%
    ),
    url("https://greenzonetechnology.com/assets/3d.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#pcb {
  background-image:
    linear-gradient(
      90deg,
      rgba(0,0,0,.86) 0%,
      rgba(0,0,0,.54) 50%,
      rgba(0,0,0,.25) 100%
    ),
    url("https://greenzonetechnology.com/assets/hero_pcb.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#diy {
  background-image:
    linear-gradient(
      90deg,
      rgba(0,0,0,.86) 0%,
      rgba(0,0,0,.54) 50%,
      rgba(0,0,0,.25) 100%
    ),
    url("https://greenzonetechnology.com/assets/diy.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-card h3 {
  margin: 24px 0 14px;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.service-card p {
  max-width: 420px;
  color: #e8eef2;
  line-height: 1.6;
  font-size: 16px;
}

.service-card a {
  display: inline-block;
  margin-top: 26px;
  color: var(--green2);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 14px;
}

.icon {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 900;
}

.green { background: #19b92e; }
.blue { background: #2c7be5; }
.purple { background: #7b4de8; }

@media (max-width: 1050px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 280px;
  }
}

@media (max-width: 650px) {
  .service-grid {
    padding: 24px 20px 12px;
    gap: 16px;
  }

  .service-card {
    min-height: 250px;
    padding: 28px 24px;
  }
}

/* ESTIMATOR / REQUEST */

.estimator {
  margin: 10px 46px 20px;
  padding: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #05090d, #101820);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
}

.estimator h2 {
  font-size: 30px;
  text-transform: uppercase;
}

.estimator p {
  color: var(--muted);
  margin: 8px 0 24px;
}

.request-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

input,
select,
textarea {
  width: 100%;
  background: #0d141c;
  border: 1px solid var(--line);
  color: white;
  padding: 15px;
  border-radius: 7px;
  outline: none;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.file-box {
  border: 1px dashed rgba(87,230,95,.7);
  background: rgba(33,195,53,.08);
  padding: 18px;
  border-radius: 7px;
  color: var(--green2);
  cursor: pointer;
}

.file-box input {
  display: none;
}

.request-form button {
  border: 0;
  background: linear-gradient(135deg, var(--green), #129322);
  padding: 17px;
  color: white;
  border-radius: 7px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.estimate-box {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: 10px;
  padding: 30px;
}

.estimate-box h4 {
  font-size: 22px;
  margin-bottom: 20px;
}

.estimate-box li {
  list-style: none;
  margin-bottom: 14px;
  color: #e9f0f4;
}

.stripe-note {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.stripe-note strong {
  color: #9b7cff;
  font-size: 24px;
}

/* PRODUCTS */

.products {
  color: #111;
  padding: 10px 56px 34px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.section-title h2 {
  font-size: 28px;
  text-transform: uppercase;
}

.section-title a {
  color: var(--green);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.product-card {
  background: white;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}

.product-img {
  height: 170px;
  background: linear-gradient(135deg, #e8edf0, #ffffff);
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #222;
  font-weight: 900;
  font-size: 24px;
}

.product-card h3 {
  margin: 14px 0 8px;
  font-size: 15px;
}

.product-card p {
  color: #ffb400;
  font-size: 13px;
}

.product-card p span {
  color: #777;
}

.product-card strong {
  display: block;
  color: var(--green);
  font-size: 19px;
  margin: 10px 0;
}

.cart-btn {
  display: block;
  text-align: center;
  background: var(--green);
  color: white;
  padding: 10px;
  border-radius: 5px;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
}

/* TRUST */

.trust-row {
  background: #070d12;
  padding: 36px 58px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.trust-row div {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 18px;
}

.trust-row span {
  grid-row: span 2;
  width: 56px;
  height: 56px;
  background: rgba(33,195,53,.12);
  color: var(--green);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 28px;
}

.trust-row p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

/* FOOTER */

.footer {
  background: #05080b;
  padding: 46px 58px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 46px;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}

.footer-col {
  min-width: 0;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-logo img {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
}

.footer p,
.footer a {
  color: var(--muted);
  display: block;
  margin-top: 12px;
  line-height: 1.6;
  font-size: 15px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 16px;
}

.footer a:hover {
  color: var(--green2);
}

@media (max-width: 900px) {
  .footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  .footer {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }

  .footer-logo img {
    width: 200px;
  }
}

/* RESPONSIVE */

@media (max-width: 1050px) {
  .nav,
  .quote-btn {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .mobile-nav.show {
    display: flex;
  }

  .mobile-nav {
    position: fixed;
    top: 82px;
    left: 0;
    width: 100%;
    z-index: 99;
    background: #05080b;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  .service-grid,
  .product-grid,
  .features,
  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .estimator {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .site-header {
    padding: 0 20px;
  }

  .hero {
    padding: 140px 24px 70px;
  }

  .hero p {
    font-size: 17px;
  }

  .features,
  .service-grid,
  .product-grid,
  .trust-row,
  .footer {
    grid-template-columns: 1fr;
    padding-left: 22px;
    padding-right: 22px;
  }

  .estimator {
    margin: 20px;
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .products {
    padding-left: 22px;
    padding-right: 22px;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

.logo img {
  height: 52px;
  width: auto;
  display: block;
}

.footer-logo img {
  width: 185px;
  max-width: 80%;
  height: auto;
  display: block;
  margin-bottom: 18px;
}

@media (max-width: 650px) {
  .logo img {
    height: 42px;
  }

  .footer-logo img {
    width: 210px;
  }
}