/* =========================================================
   Natures Eco Tech Solar Installations
   Redesigned stylesheet
   ========================================================= */

:root {
  --ink: #10202d;
  --ink-soft: #52616d;
  --navy: #005a27;
  --green-2: #005a27;
  --sun: #FFA500;
  --sun-soft: #fff2c7;
  --cream: #f7f5ef;
  --paper: #ffffff;
  --line: #e5e8e8;
  --green: #1f9d68;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 18px 50px rgba(9, 40, 61, .10);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

nav {
  position: fixed;
  inset: 0 0 auto;
  height: 76px;
  z-index: 1000;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16,32,45,.08);
  transition: box-shadow .25s ease, background .25s ease;
}

nav.scrolled {
  box-shadow: 0 8px 32px rgba(9,40,61,.10);
  background: rgba(255,255,255,.98);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 46px;
  width: auto;
  mix-blend-mode: multiply;
  filter: contrast(1.05);
}

.nav-logo:hover .nav-logo-img {
  opacity: .85;
}

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

.nav-logo-img {
  height: 46px;
  width: auto;
  mix-blend-mode: multiply;
  filter: contrast(1.05);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  border-left: 1px solid rgba(16, 32, 45, .15);
  padding-left: 14px;
}

.nav-brand-text strong {
  color: #FFC15A;
  text-shadow:
    0 0 5px rgba(255, 192, 90, 0.432),
    0 0 12px rgba(255, 192, 90, 0.171);
  font-family: "Space Grotesk", sans-serif;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .04em;
  white-space: nowrap;
}

.nav-brand-text strong span {
  color: #70D4FF;
  text-shadow:
    0 0 5px rgba(112, 212, 255, 0.247),
    0 0 12px rgba(112, 212, 255, 0.096);
  font-family: "Space Grotesk", sans-serif;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .04em;
  white-space: nowrap;
}

.nav-brand-text span {
  margin-top: 5px;
  color: var(--ink-soft);
  font-family: "Manrope", sans-serif;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}

.logo-icon {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  transition: color .2s ease;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--sun);
  transition: width .2s ease;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--green-2);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--navy) !important;
  color: #fff !important;
  padding: 11px 20px;
  border-radius: 12px;
  font-weight: 800 !important;
  box-shadow: 0 8px 18px rgba(9,40,61,.16);
}

.nav-cta:hover {
  background: var(--green-2) !important;
}

/* ---------------- HERO ---------------- */

.hero {
  min-height: 100vh;
  padding: 118px 5% 76px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(255,191,36,.18), transparent 28%),
    linear-gradient(135deg, #064e3b 0%, #15803d 60%, #22c55e 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -250px;
  bottom: -260px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -90px;
  bottom: -160px;
  border: 1px solid rgba(255,191,36,.20);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,191,36,.38);
  border-radius: 999px;
  background: rgba(255,191,36,.10);
  color: var(--sun);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  animation: fadeUp .6s ease both;
}

.hero-title {
  font-family: "Space Grotesk", sans-serif;
  max-width: 650px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 700;
  animation: fadeUp .7s .1s ease both;
}

.hero-title .blue {
  color: #1A1A1A;
}

.hero-title .yel {
  color: var(--sun);
}

.hero-desc {
  max-width: 550px;
  margin-bottom: 32px;
  color: rgba(255,255,255,.72);
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 1px;
  animation: fadeUp .7s .2s ease both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp .7s .3s ease both;
}

.btn-primary,
.btn-secondary,
.btn-white,
.btn-yellow {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-primary {
  background: var(--sun);
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(255,191,36,.18);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-white:hover,
.btn-yellow:hover {
  transform: translateY(-3px);
}

.btn-primary:hover {
  background: #ffd15a;
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.08);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255,255,255,.14);
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 42px;
  animation: fadeUp .7s .4s ease both;
}

.stat {
  position: relative;
}

.stat + .stat {
  padding-left: 34px;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: rgba(255,255,255,.18);
}

.stat-num {
  font-family: "Space Grotesk", sans-serif;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.stat-num em {
  color: var(--sun);
  font-style: normal;
}

.stat-label {
  margin-top: 7px;
  color: rgba(255,255,255,.58);
  font-size: .75rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  height: 590px;
  animation: fadeRight .8s .2s ease both;
}

.hero-img-main {
  position: absolute;
  right: 0;
  top: 0;
  width: 77%;
  height: 88%;
  overflow: hidden;
  border-radius: 30px 30px 30px 100px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 32px 80px rgba(0,0,0,.28);
}

.hero-img-main img,
.hero-img-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-sub {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50%;
  height: 49%;
  overflow: hidden;
  border: 7px solid var(--navy);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
}

.hero-tag {
  position: absolute;
  top: 30px;
  left: 4%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(0,0,0,.16);
  font-size: .78rem;
  font-weight: 800;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

/* ---------------- MARQUEE ---------------- */

.marquee-strip {
  padding: 15px 0;
  overflow: hidden;
  background: var(--sun);
}

.marquee-inner {
  display: flex;
  gap: 54px;
  width: max-content;
  white-space: nowrap;
  animation: marquee 45s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.marquee-item::before {
  content: "✦";
  color: var(--navy);
}

/* ---------------- SHARED SECTIONS ---------------- */

section {
  padding: 105px 5%;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--green-2);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--sun);
}

.section-title,
.why-title,
.cta-title {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -.035em;
}

.section-title {
  max-width: 720px;
  margin-bottom: 17px;
  color: var(--ink);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.08;
  font-weight: 700;
}

.section-title .blue {
  color: var(--green-2);
}

.section-title .yel {
  color: #e4a500;
}

.section-desc {
  max-width: 590px;
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.8;
}

/* ---------------- ABOUT ---------------- */

.about {
  position: relative;
  isolation: isolate;

  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 90px;
  align-items: center;

  background:
    linear-gradient(
      rgba(248, 246, 239, 0.801),
      rgba(248, 246, 239, 0.774)
    ),
    url("../images/logo.jpeg") center / cover no-repeat;
}

.about-images {
  position: relative;
  height: 525px;
}

.about-img-1 {
  position: absolute;
  left: 0;
  top: 0;
  width: 70%;
  height: 77%;
  overflow: hidden;
  border-radius: 24px 24px 80px 24px;
  box-shadow: var(--shadow);
}

.about-img-1 img,
.about-img-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-2 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 59%;
  height: 58%;
  overflow: hidden;
  border: 7px solid var(--green-2);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.about-badge {
  position: absolute;
  left: 53%;
  top: 37%;
  z-index: 2;
  min-width: 108px;
  padding: 15px;
  border-radius: 18px;
  background: var(--navy);
  color: var(--sun);
  text-align: center;
  box-shadow: 0 16px 40px rgba(9,40,61,.18);
}

.about-badge-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

.about-badge-text {
  margin-top: 4px;
  font-size: .7rem;
  font-weight: 800;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 30px;
}

.feature-card {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  margin-bottom: 9px;
  font-size: 1.45rem;
}

.feature-title {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: .88rem;
  font-weight: 700;
}

.feature-desc {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: .77rem;
  line-height: 1.55;
}

/* ---------------- SERVICES ---------------- */

.services {
  position: relative;
  isolation: isolate;

  background:
    linear-gradient(
      rgba(248, 246, 239, 0.801),
      rgba(248, 246, 239, 0.774)
    ),
    url("../images/logo.jpeg") center / cover no-repeat;

}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 700px) {
  .services-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card-img {
  height: 225px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 23px;
}

.service-card-num {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 9px;
  border-radius: 7px;
  background: var(--sun-soft);
  color: #9a6b00;
  font-family: "Space Grotesk", sans-serif;
  font-size: .68rem;
  font-weight: 700;
}

.service-card-title {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.service-card-desc {
  color: var(--ink-soft);
  font-size: .82rem;
  line-height: 1.7;
}

.service-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 17px;
  color: var(--green-2);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 800;
  transition: gap .2s ease;
}

.service-card:hover .service-card-arrow {
  gap: 11px;
}

/* ---------------- PROJECTS ---------------- */

/* ---------------- PROJECTS ---------------- */

.projects {
    position: relative;
  isolation: isolate;

  background:
    linear-gradient(
      rgba(248, 246, 239, 0.801),
      rgba(248, 246, 239, 0.774)
    ),
    url("../images/logo.jpeg") center / cover no-repeat;

}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.proj-card {
  position: relative;
  height: 360px;
  overflow: hidden;
  border-radius: 20px;
  cursor: zoom-in;
}

.proj-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.proj-card::after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 0, 0, .82)
  );
}

.proj-info {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
}

.proj-info span {
  display: inline-block;
  margin-bottom: 6px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--sun);
}

.proj-info h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.proj-info p {
  margin: 4px 0 0;
  font-size: .75rem;
  color: rgba(255,255,255,.75);
}

.proj-card:hover img {
  transform: scale(1.04);
}


/* MOBILE */

@media (max-width: 700px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .proj-card {
    height: 260px;
  }
}

/* ---------------- WHY ---------------- */

.why-section {
  position: relative;
  overflow: hidden;
  padding: 110px 5%;
  background: var(--navy);
  color: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 90px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

/* LEFT SIDE */

.why-content {
  max-width: 650px;
}

.why-section .section-label {
  margin-bottom: 18px;
  color: var(--sun);
}

.why-title {
  margin: 0 0 22px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 700;
}

.why-title span {
  color: var(--sun);
}

.why-desc {
  max-width: 590px;
  margin: 0;
  color: rgba(255,255,255,.66);
  font-size: .98rem;
  line-height: 1.8;
}


/* BENEFITS */

.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.why-card {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 23px 20px 23px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: transform .25s ease;
}

.why-card:nth-child(odd) {
  margin-right: 20px;
}

.why-card:hover {
  transform: translateX(4px);
}

.why-card-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,193,7,.12);
  color: var(--sun);
  font-size: 1rem;
}

.why-card-title {
  margin-bottom: 5px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: .9rem;
  font-weight: 700;
}

.why-card-desc {
  color: rgba(255,255,255,.52);
  font-size: .76rem;
  line-height: 1.6;
}


/* RIGHT SIDE */

.why-visual {
  position: relative;
  padding: 15px 0 35px 20px;
}

.why-image {
  position: relative;
  overflow: hidden;
  border-radius: 35px 35px 35px 100px;
  box-shadow: 0 35px 90px rgba(0,0,0,.35);
}

.why-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0) 55%,
    rgba(0,0,0,.28)
  );
  pointer-events: none;
}

.why-image img {
  display: block;
  width: 100%;
  height: 570px;
  object-fit: cover;
  transition: transform .6s ease;
}

.why-image:hover img {
  transform: scale(1.035);
}


/* FLOATING BADGE */

.why-badge {
  position: absolute;
  left: -5px;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: orange;
  color: #111;
  box-shadow: 0 18px 45px rgba(0,0,0,.3);
  letter-spacing: 0.2px;
}

.why-badge > i {
  font-size: 1.30rem;
}

.why-badge strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.why-badge span {
  display: block;
  margin-top: 2px;
  font-size: .67rem;
  opacity: .7;
}


/* MOBILE */

@media (max-width: 900px) {

  .why-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .why-content {
    max-width: none;
  }

  .why-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }

  .why-visual {
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
    padding-left: 0;
  }

  .why-image img {
    height: 480px;
  }

  .why-badge {
    left: 15px;
  }
}

@media (max-width: 600px) {

  .why-section {
    padding: 80px 5%;
  }

  .why-cards {
    grid-template-columns: 1fr;
  }

  .why-card:nth-child(odd) {
    margin-right: 0;
  }

  .why-card {
    padding-right: 0;
  }

  .why-image {
    border-radius: 25px 25px 25px 70px;
  }

  .why-image img {
    height: 380px;
  }

  .why-badge {
    left: 10px;
    padding: 13px 15px;
  }
}

/* ---------------- TESTIMONIALS ---------------- */
.testimonials {
  overflow: hidden;
    position: relative;
  isolation: isolate;

  background:
    linear-gradient(
      rgba(248, 246, 239, 0.801),
      rgba(248, 246, 239, 0.774)
    ),
    url("../images/logo.jpeg") center / cover no-repeat;

}

.testimonials-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.google-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 7px;
  color: var(--ink-soft);
  font-size: .78rem;
  white-space: nowrap;
}

.google-rating-stars {
  display: flex;
  gap: 3px;
  color: #e4a500;
  font-size: .75rem;
}


/* CAROUSEL */

.reviews-carousel {
  width: 100vw;
  margin-top: 45px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: reviewsScroll 2400s linear infinite;
  will-change: transform;
}

/* Pause the carousel while visitors read a review */
.reviews-carousel:hover .reviews-track {
  animation-play-state: paused;
}

/* Also pause when a visitor focuses a review using the keyboard */
.reviews-track:focus-within {
  animation-play-state: paused;
}

/* Respect visitors who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reviews-track {
    animation: none;
    transform: none;
  }
}

/* CARD */

.testi-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 390px;
  min-height: 285px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--cream);
  color: inherit;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.testi-card:hover {
  transform: translateY(-5px);
  border-color: rgba(228,165,0,.35);
  box-shadow: 0 18px 45px rgba(9,40,61,.10);
}


/* TOP */

.testi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.testi-quote {
  height: 34px;

  color: var(--sun);

  font-family: Georgia, serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: .8;
}

.testi-stars {
  display: flex;
  gap: 3px;

  color: #e4a500;
  font-size: .7rem;
}


/* TEXT */

.testi-text {
  margin: 0;

  color: var(--ink-soft);

  font-size: .84rem;
  line-height: 1.75;
}


/* AUTHOR */

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(9,40,61,.09);
}

.testi-avatar {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 43px;
  height: 43px;
  flex: 0 0 43px;

  border-radius: 50%;

  background: var(--navy);
  color: var(--sun);

  font-family: "Space Grotesk", sans-serif;
  font-size: .78rem;
  font-weight: 700;
}

.testi-name {
  color: var(--ink);

  font-family: "Space Grotesk", sans-serif;
  font-size: .82rem;
  font-weight: 700;
}

.testi-role {
  margin-top: 3px;

  color: var(--ink-soft);
  font-size: .68rem;
}

.testi-link-icon {
  margin-left: auto;
  color: rgba(9,40,61,.35);
  font-size: .72rem;

  transition: color .2s ease, transform .2s ease;
}

.testi-card:hover .testi-link-icon {
  color: var(--sun);
  transform: translate(2px,-2px);
}


/* MOVEMENT */

@keyframes reviewsScroll {

  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }

}


/* FOOTER */

.reviews-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  max-width: 1400px;
  margin: 25px auto 0;
  padding-top: 20px;

  border-top: 1px solid var(--line);

  color: var(--ink-soft);
  font-size: .75rem;
}

.reviews-footer span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviews-footer span i {
  font-size: 1rem;
}

.reviews-footer a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.reviews-footer a:hover {
  color: var(--sun);
}


/* MOBILE */

@media (max-width: 700px) {

  .testimonials-header {
    display: block;
  }

  .google-rating {
    margin-top: 15px;
    padding-bottom: 0;
  }

  .testi-card {
    flex-basis: 320px;
    min-height: 300px;
    padding: 24px;
  }

  .reviews-track {
    gap: 14px;
    animation-duration: 2400s;
  }

  .reviews-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

}


/* ---------------- CTA ---------------- */

.cta-section {
  padding: 60px 5%;
  background: var(--navy);
  text-align: center;
}

.cta-title {
  margin: 0 0 12px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 700;
}

.cta-title span {
  color: var(--sun);
}

.cta-desc {
  max-width: 500px;
  margin: 0 auto 24px;
  color: rgba(255,255,255,.62);
  font-size: .88rem;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cta-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
  transition: .2s ease;
}

.btn-yellow {
  background: orange;
  border: 1px solid rgba(255,255,255,.2);
  color: var(--navy);
}

.btn-yellow:hover {
  background: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: #fff;
}

.btn-outline:hover {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.06);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .cta-section {
    padding: 50px 5%;
  }

  .cta-actions {
    flex-direction: column;
    max-width: 320px;
    margin: 0 auto;
  }

  .cta-actions a {
    width: 100%;
  }
}

/* ---------------- FOOTER ---------------- */

footer {
  padding: 55px 5% 22px;
  background:  #0b1f15;
  color: rgba(255,255,255,.6);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 80px;
  max-width: 1300px;
  margin: 0 auto;
  padding-bottom: 45px;
}

.footer-brand {
  max-width: 340px;
}

.footer-logo-img {
  display: block;
  width: auto;
  height: 42px;
  margin-bottom: 17px;
}

.footer-desc {
  max-width: 300px;
  margin: 0;
  font-size: .78rem;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: .82rem;
  transition: .2s ease;
}

.footer-social a:hover {
  border-color: var(--sun);
  background: var(--sun);
  color: var(--navy);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column h3 {
  margin: 3px 0 17px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: .78rem;
  font-weight: 700;
}

.footer-column a,
.footer-column span {
  margin-bottom: 10px;
  color: rgba(255,255,255,.5);
  font-size: .74rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color .2s ease;
}

.footer-column a:hover {
  color: var(--sun);
}

.footer-column span {
  margin-bottom: 0;
}


/* Bottom bar */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.35);
  font-size: .68rem;
}

/* footer credit */
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-credit a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-credit a:hover {
  color: var(--sun);
}


/* Mobile */

@media (max-width: 800px) {

  footer {
    padding: 45px 5% 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 35px;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-nav {
    gap: 25px;
  }

}

@media (max-width: 550px) {

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 35px 20px;
  }

  .footer-column:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

}


@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes fadeRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
  @keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------------- MOBILE MENU ---------------- */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: all .3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------------- TABLET ---------------- */

@media (max-width: 1024px) {
  .nav-links { gap: 21px; }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 105px;
    gap: 45px;
  }
  .hero-content { order: 2; }
  .hero-visual {
    order: 1;
    width: 100%;
    max-width: 620px;
    height: 430px;
    margin: 0 auto;
  }
  .about,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }
  .about-images {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  .why-image {
    max-width: 650px;
  }
  .why-image img { height: 430px; }
  .services-header { grid-template-columns: 1fr; gap: 15px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-card,
  .proj-card.large { grid-column: span 6; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------------- MOBILE ---------------- */

@media (max-width: 768px) {
  nav {
    height: 66px;
    padding: 0 5%;
  }

  .nav-logo-img { height: 40px; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 66px 0 auto;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 35px rgba(9,40,61,.12);
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 14px 6%;
    border-bottom: 1px solid var(--line);
    font-size: .93rem;
  }

  .nav-links a:not(.nav-cta)::after { display: none; }

  .nav-links li:last-child a {
    margin: 12px 6% 0;
    padding: 12px;
    border: 0;
    border-radius: 11px;
    text-align: center;
  }

  .hamburger { display: flex; }

  section,
  .why-section {
    padding: 70px 5%;
  }

  .hero {
    min-height: auto;
    padding: 92px 5% 64px;
    gap: 30px;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: clamp(2.25rem, 9vw, 3.3rem);
  }

  .hero-desc {
    max-width: 100%;
    font-size: .9rem;
  }

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

  .hero-stats {
    justify-content: center;
    gap: 22px;
  }

  .stat + .stat {
    padding-left: 22px;
  }

  .hero-visual {
    height: 300px;
    max-width: 480px;
  }

  .hero-img-main {
    width: 78%;
    height: 88%;
    border-radius: 22px 22px 22px 65px;
  }

  .hero-img-sub {
    width: 52%;
    height: 50%;
    border-width: 5px;
  }

  .hero-tag {
    top: auto;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: 8px 12px;
    font-size: .68rem;
  }

  .about-images {
    height: 340px;
  }

  .about-features,
  .why-cards {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .service-card-img {
    height: 210px;
  }

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

  .proj-card,
  .proj-card.large {
    grid-column: span 1;
    min-height: 240px;
  }

  .proj-card img {
    min-height: 240px;
  }

  .proj-overlay {
    opacity: 1;
    transform: none;
    inset: auto 10px 10px;
  }

  .why-image img {
    height: 310px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ---------------- SMALL MOBILE ---------------- */

@media (max-width: 480px) {

  
  nav { height: 60px; }
  .nav-logo-img { height: 36px; }
  .nav-links { inset: 60px 0 auto; }
  

  section,
  .why-section {
    padding: 58px 4.5%;
  }

  .hero {
    padding: 82px 4.5% 52px;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary,
  .btn-white,
  .btn-yellow {
    width: 100%;
  }

  .hero-stats {
    gap: 14px;
  }

  .stat + .stat {
    padding-left: 14px;
  }

  .stat-num { font-size: 1.45rem; }
  .stat-label { font-size: .67rem; }

  .hero-visual {
    height: 245px;
  }

  .about {
    padding: 58px 4.5%;
    gap: 34px;
  }

  .about-images {
    height: 285px;
  }

  .about-features,
  .why-cards {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .why-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
  }

  .feature-icon,
  .why-card-icon {
    margin: 0;
    flex-shrink: 0;
    font-size: 1.3rem;
  }

  .service-card-img {
    height: 185px;
  }

  .proj-card,
  .proj-card.large {
    min-height: 205px;
  }

  .proj-card img {
    min-height: 205px;
  }

  .why-image img {
    height: 230px;
  }

  .cta-section {
    padding: 58px 4.5%;
  }

  footer {
    padding: 50px 4.5% 28px;
  }
}

@media (max-width: 360px) {
  .hero-title { font-size: 1.8rem; }
  .hero-visual { height: 215px; }
  .about-images { height: 250px; }
  .why-image img { height: 195px; }
}


/* ---------------- PROJECT LIGHTBOX ---------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px;

  background: rgba(0, 0, 0, .9);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity .25s ease, visibility .25s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox img {
  display: block;

  max-width: 92vw;
  max-height: 90vh;

  width: auto;
  height: auto;

  object-fit: contain;

  border-radius: 8px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;

  width: 45px;
  height: 45px;

  border: none;
  border-radius: 50%;

  background: rgba(255, 255, 255, .12);
  color: #fff;

  font-size: 32px;
  line-height: 1;

  cursor: pointer;

  transition: background .2s ease, transform .2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, .22);
  transform: rotate(90deg);
}


/* Make project images feel clickable */

.proj-card img {
  cursor: zoom-in;
}


/* see more projects btn */
.see-more-projects .btn-primary{
  background: transparent;
  color: var(--green-2);
  border: 1px solid var(--green-2);
}

.see-more-projects .btn-primary:active {
  transform: scale(0.94);
  box-shadow: 0 3px 8px rgba(9,40,61,.15);
}