/* =========================================
   BASE (MOBILE FIRST)
========================================= */

.service-page section {
  padding: 2.5rem 0;
  font-family: "Inter", sans-serif;
  color: #1a1a1a;
  line-height: 1.7;
}

.service-page .container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.service-page h1,
.service-page h2,
.service-page h3,
.service-page h4 {
  font-weight: 700;
  color: #0b1f3a;
}


/* =========================================
   HERO (MOBILE FIRST)
========================================= */

.service-hero {
  text-align: center;
  padding-top: 3rem;
}

.service-hero-img {
  width: 100%;
  max-width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
}

.service-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.service-hero .subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  background: #1a73e8;
  color: white;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.25s ease;
}

.btn-primary:hover {
  background: #1259b3;
}


/* =========================================
   OVERVIEW
========================================= */

.service-overview h2 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.service-overview p {
  color: #444;
}


/* =========================================
   FEATURES GRID (MOBILE FIRST)
========================================= */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr; /* MOBILE: single column */
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature-item {
  background: #fff;
  padding: 1.25rem;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.feature-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.feature-item p {
  color: #555;
}


/* =========================================
   WHY IT MATTERS
========================================= */

.why-it-matters p {
  color: #444;
}


/* =========================================
   PRICING (MOBILE FIRST)
========================================= */

.pricing-wrapper {
  display: grid;
  grid-template-columns: 1fr; /* MOBILE: one column */
  gap: 1.5rem;
  margin-top: 2rem;
}

.pricing-box {
  background: #fff;
  padding: 1.6rem;
  border-radius: 16px;
  border: 1px solid #e5e8ec;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.pricing-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.pricing-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.pricing-box .price {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a73e8;
  margin-bottom: 1rem;
}

.pricing-box .price span {
  font-size: 0.85rem;
  color: #666;
}

.pricing-box ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.pricing-box ul li {
  margin-bottom: 0.45rem;
  color: #444;
}

.btn-outline {
  display: inline-block;
  border: 2px solid #1a73e8;
  padding: 0.65rem 1.4rem;
  border-radius: 10px;
  color: #1a73e8;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease;
}

.btn-outline:hover {
  background: #1a73e8;
  color: white;
}


/* =========================================
   FAQ
========================================= */

.faq-item {
  margin-bottom: 1.6rem;
}

.faq-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.faq-item p {
  color: #555;
}


/* =========================================
   CTA (BOTTOM)
========================================= */

.cta {
  text-align: center;
  padding: 3rem 0;
}

.cta h2 {
  font-size: 1.7rem;
  margin-bottom: 0.7rem;
}

.cta p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1.5rem;
}


/* =========================================
   TABLET & DESKTOP BREAKPOINTS
========================================= */

@media (min-width: 640px) {
  .service-hero h1 {
    font-size: 2.4rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .service-hero {
    padding-top: 5rem;
  }

  .service-hero h1 {
    font-size: 3rem;
  }

  .service-hero .subtitle {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 2rem;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* =========================================
   DESKTOP FIXES
========================================= */
@media (min-width: 1024px) {

  /* Reduce huge top padding */
  .service-hero {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }

  /* Make hero image smaller and less dominant */
  .service-hero-img {
    max-width: 620px;
    margin-bottom: 1.5rem;
  }

  /* Make H1 more balanced on desktop */
  .service-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 0.6rem;
  }

  /* Subtitle narrower + better line height */
  .service-hero .subtitle {
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto 1.8rem;
    line-height: 1.5;
  }

  /* Better spacing below button */
  .btn-primary {
    margin-bottom: 0.4rem;
  }
}

@media (min-width: 1024px) {

  .service-hero {
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .service-hero-img {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

/* Center hero image */
.service-hero-img {
  display: block;
  margin: 0 auto;        /* centers the image */
  max-width: 700px;      /* limits oversized width */
  width: 100%;
  height: auto;
}

/* For larger desktops, ensure spacing is balanced */
@media (min-width: 1024px) {
  .service-hero .container {
    text-align: center;
    max-width: 900px;
  }

  .service-hero-img {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

