@import url('https://cdn-uicons.flaticon.com/3.0.0/uicons-solid-rounded/css/uicons-solid-rounded.css');
@import url('https://cdn-uicons.flaticon.com/3.0.0/uicons-solid-straight/css/uicons-solid-straight.css');

/* ---------- ROOT ---------- */

:root {
  --bg-dark: #0b0f1a;
  --bg-light: #f7f9fc;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --glass: rgba(255, 255, 255, 0.12);
  --border-glass: rgba(255, 255, 255, 0.25);
}

/* ---------- GLOBAL ---------- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

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

/* .hero {
  min-height: 100vh;
  background: radial-gradient(circle at top right, #1e293b, #020617);
  color: white;
  display: flex;
  align-items: center;
} */

.hero {
  min-height: 100vh;
  color: white;
  display: flex;
  align-items: center;

  /* perfectly seamless dark gradient */
  background: linear-gradient(120deg,
      #01030c,
      /* near-black navy */
      #050a18,
      #0a0f26,
      #192450,
      #1f1d96,
      /* brighter indigo highlight */
      #211f6e,
      #101733,
      #0a0f26,
      #050a18,
      #01030c);

  background-size: 600% 600%;
  width: 100%;
  animation: gradientScroll 15s linear infinite;
}

@keyframes gradientScroll {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.03'/></svg>");
}

.hero-container {
  margin: 0 auto;
  padding: 6rem 1.5rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  /* display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0rem; */
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  max-width: 900px;
  text-wrap: balance; /* modern browsers */
}

.hero-text span {
  color: var(--cta-bg);
}

.hero-text p {
  margin: 1.5rem 0 2.5rem;
  font-size: 1.2rem;
  max-width: 520px;
  color: #cbd5f5;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- BUTTONS ---------- */

.btn-primary {
  display: inline-block;
  background: var(--cta-bg);
  color: white;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-5px);
  background: #1c5a95;
  /* box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px; */
}

.btn-secondary {
  border: 2px solid var(--cta-bg2);
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.btn-secondary:hover {
  background: var(--cta-bg2);
  transition: 0.25s;
}

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

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

.glass-card {
  width: 100%;
  min-width: 350px;
  max-width: 350px;
  height: 420px;
  border-radius: 24px;
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0.05));
  /* border: 1px solid var(--border-glass); */
  backdrop-filter: blur(14px);
  background: url("/images/pages/landing/landing-img.png");
  background-size: cover;
}


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

.services {
  background: var(--bg-light);
  padding: 6rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.service {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease;
}

.service:hover {
  transform: translateY(-10px);
}

.service i {
  font-size: 3rem;
  color: var(--cta-bg);
  margin-bottom: 1.2rem;
}

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

.why {
  padding: 6rem 0;
  background: white;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.why-text ul {
  list-style: none;
  padding: 0;
}

.why-text li {
  margin-bottom: 1.2rem;
  padding-left: 1.6rem;
  position: relative;
}

.why-text li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--cta-bg);
}

.why-image img {
  width: 100%;
  min-width: 350px;
  max-width: 350px;
  border-radius: 24px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18);
}

/* ---------- TESTIMONIALS ---------- */

.review-card {
  border: 1px solid #ddd;
  padding: 15px;
  margin: 15px 0;
  border-radius: 10px;
  background: #fff;
}

.review-header {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.google-attribution {
  font-size: 12px;
  opacity: 0.7;
}

.testimonials {
  background: #0f172a;
  color: white;
  padding: 6rem 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.testimonial {
  background: rgba(255, 255, 255, 0.08);
  padding: 2.5rem;
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.testimonial span {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  color: #cbd5f5;
}

.more-services-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 50px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cta-bg);
  margin-bottom: 0.5rem;
}

.why-intro {
  margin: 1rem 0 1.8rem;
  color: var(--text-muted);
  max-width: 560px;
}

.why-list li {
  margin-bottom: 0.9rem;
}

.why-badges {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.badge {
  background: var(--bg-light);
  border: 1px solid #e2e8f0;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-text h1,
.hero-text p,
.hero-text .hero-actions,
.hero-visual .glass-card {
  opacity: 0;
}

.hero-text h1 {
  animation: fadeInLanding 0.5s linear;
  animation-delay: 0.25s;
  animation-fill-mode: forwards;
}

.hero-text p {
  animation: fadeInLanding 0.5s linear;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}

.hero-text .hero-actions {
  animation: fadeInLanding 0.5s linear;
  animation-delay: 0.75s;
  animation-fill-mode: forwards;
}

.hero-visual .glass-card {
  animation: fadeInLanding 0.5s linear;
  animation-delay: 1s;
  animation-fill-mode: forwards;
}

.testimonials-section {
  padding: 80px 0;
  background: #f9fafb;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
}

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

.testimonial-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.stars {
  color: #f59e0b;
  font-size: 18px;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.testimonial-author {
  font-weight: 600;
  color: #374151;
}

.testimonial-cta {
  margin-top: 60px;
  text-align: center;
}

.btn-primary-testimonials {
  display: inline-block;
  background: #27375a;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary-testimonials:hover {
  background: #1c5a95;
  transform: translateY(-5px);
}

/* ---------- SCROLL FADE EFFECT ---------- */

.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInLanding {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ---------- BASE SECTION ANIMATION ---------- */

.fade-section {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.9s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}

.fade-left {
  transform: translateX(-80px);
}

.fade-right {
  transform: translateX(80px);
}

.fade-section.visible {
  opacity: 1;
  transform: translateX(0);
}


/* ---------- CHILD STAGGER FROM SAME DIRECTION ---------- */

.fade-section.fade-left .stagger {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-section.fade-right .stagger {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-section.visible .stagger {
  opacity: 1;
  transform: translateX(0);
}


/* Stagger delays */

.fade-section.visible .stagger:nth-child(1) {
  transition-delay: 0.1s;
}

.fade-section.visible .stagger:nth-child(2) {
  transition-delay: 0.2s;
}

.fade-section.visible .stagger:nth-child(3) {
  transition-delay: 0.3s;
}

.fade-section.visible .stagger:nth-child(4) {
  transition-delay: 0.4s;
}

.fade-section.visible .stagger:nth-child(5) {
  transition-delay: 0.5s;
}


/* ---------- LOCAL SEO ---------- */

/* ---------- NH AUTHORITY SECTION ---------- */

.nh-authority {
  padding: 6rem 0;
  /* background: var(--bg-light); */
  text-align: center;
}

.nh-authority h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.nh-authority h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: var(--cta-bg);
  margin: 1rem auto 0;
  border-radius: 10px;
}

.nh-authority p {
  max-width: 800px;
  margin: 1rem auto;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-muted);
}
/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .why-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .why-text li {
    padding-left: 0;
  }

  .why-text li::before {
    display: none;
  }

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

  .hero-actions {
    padding-bottom: 50px;
    display: flex;
    justify-content: center;
  }

  .hero {
    padding: 0;
  }

  .hero-text p {
    padding: 15px;
  }

  .hero-container {
    padding: 0;
    display: flex;
    align-items: center;
    /* position: absolute;
    top: 80px; */
  }

  .hero-visual {
    display: none;
  }

  .hero-text h1 {
    font-size: 2rem;
    padding: 5px;
  }

  .why-text .why-intro {
    justify-self: center;
  }

  .local-seo,
  .nh-web-design {
    padding: 4rem 1rem;
  }

  .nh-web-design .container {
    padding: 2rem;
  }

}

@media (max-width: 768px) {
  .fade-left {
    transform: translateX(-30px);
  }

  .fade-right {
    transform: translateX(30px);
  }
}