/* ============================================================
   SERVICE INDEX PAGE — service.css
   Matches the design screenshot exactly
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@700&family=Open+Sans:wght@400;500;700&display=swap");

/* ── Tokens ── */
:root {
  --cyan: #009ab5;
  --yellow: #f8cc00;
  --text: #111111;
  --gray: #555555;
  --white: #ffffff;
  --light: #f8f9fa;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--gray);
  line-height: 1.6;
}

.text-cyan {
  color: var(--cyan) !important;
}

/* ============================================================
   1. HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 300px;
  background: url("/img/bg/mian-service-hero.webp") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 80px 20px; */
  text-align: center;
}

.services-cards-section {
  position: relative;
  overflow: visible;
  background: var(--light);
  padding: 50px 0 36px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-text {
  color: #fff;
}

.hero-heading {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 18px;
  font-family: "Open Sans Condensed", sans-serif;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 28px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  font-weight: 500;
}

.hero-button {
  display: inline-block;
  background: var(--cyan);
  color: #fff;
  padding: 13px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.25s ease;
}

.hero-button:hover {
  background: #007a90;
  color: #fff;
  text-decoration: none;
}

/* ============================================================
   2. SERVICES CARDS SECTION
   ============================================================ */
.services-cards-section {
  background: var(--light);
  padding: 50px 0 36px;
}

.services-cards-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Header */
.services-header {
  text-align: center;
  margin-bottom: 36px;
}

.services-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #262262;
  margin-bottom: 10px;
}

.services-main-title {
  font-size: 30px;
  font-weight: 800;
  color: #262262;
  margin: 0 0 8px;
  font-family: "Open Sans Condensed", sans-serif;
}

.section-subtitle {
  font-size: 15px;
  color: var(--gray);
  margin: 0;
}

/* Grid — 4 columns */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* View all / less row */
.view-all-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0 4px;
}


/* ── Decorative shapes ── */
.shape {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.shape-item {
  position: absolute;
}

.ser-01 {
  top: 40%;
  left: 10%;
}

.ser-02 {
  bottom: 6%;
  left: 17%;
}

.ser-03 {
  top: 2%;
  left: 30%;
}

.services-grid,
.section-heading,
.srv-toggle-wrap {
  position: relative;
  z-index: 1;
}


.section-heading {
  color: #000;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #000;
  margin-bottom: 6px;
  text-align: center;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif !important;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #23A036;
}

.bounce-animate {
  animation-name: float-bob;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.rotateme {
  animation-name: rotateme;
  animation-duration: 60s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes float-bob {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes rotateme {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 15px 32px;
  border-radius: 4px;
  background: #FFCB2D;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  border: 2px solid #FFCB2D;
}

.view-all-link:hover {
  background: #ffffff;
  color: #000;
  transform: translateY(-2px);
  border: 2px solid #FFCB2D;
}

/* ── Card ── */
.service-list-card {
  background: #fff;
  /* border-radius: 14px; */
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  border: 1px solid #eaeaea;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.service-list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

/* Card media */
.service-media {
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Image with side padding + rounded top — exact match to design */
.service-media>a:not(.arrow-btn) {
  display: block;
}

.service-media img {
  display: block;
  /* width: calc(100% - 32px); */
  height: auto;
  /* border-top-left-radius: 40px; */
  /* border-top-right-radius: 40px; */
  /* margin: 40px 16px 0; */
  transition: transform 0.35s ease;
  object-fit: fill;
}

.service-list-card:hover .service-media img {
  transform: scale(1.04);
}

/* Yellow discount badge */
.badge-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--yellow);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1.1;
  z-index: 2;
}

.pct-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  background: #000;
  color: var(--yellow);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 800;
}

/* Teal arrow button */
.arrow-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--cyan);
  color: #fff;
  width: 52px;
  height: 22px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 12px;
  z-index: 2;
  transition: background 0.2s;
}

.arrow-btn:hover {
  background: #007a90;
  color: #fff;
  text-decoration: none;
}

/* Card text */
.service-body {
  padding: 12px 14px 16px;
  flex: 1;
  text-align: left;
}

.service-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 5px;
  line-height: 1.3;
}

.service-body h3 a {
  color: inherit;
  text-decoration: none;
}

.service-body h3 a:hover {
  color: var(--cyan);
}

.service-body p {
  font-size: 13px;
  color: var(--gray);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-slice__container {
    gap: 28px;
  }
}

@media (max-width: 768px) {

  /* Hero */
  .hero-section {
    min-height: 203px;
    padding: 60px 20px;
  }

  .hero-heading {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  /* Services */
  .services-cards-section {
    padding: 36px 0 24px;
  }

  .services-main-title {
    font-size: 24px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .service-media img {
    height: auto;
  }

  /* CTA */
  .cta-content {
    max-width: 100%;
    border-radius: 24px;
    padding: 50px 20px;
  }

  .cta-title {
    font-size: 28px;
  }

  .cta-text {
    font-size: 15px !important;
  }

  /* About */
  .about-slice__container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-slice__content h2 {
    font-size: 24px;
  }

  /* Contact */
  .contact-cta__container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .hero-heading {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .service-media img {
    height: auto;
    /* margin: 14px 10px 0; */
    /* width: calc(100% - 20px); */
  }

  .cta-content::before,
  .cta-content::after {
    width: 120px;
    height: 120px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn-form-outline,
  .btn-form-cyan {
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 400px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-heading {
    font-size: 24px;
  }
}

/* ========================================= CTA SECTION ========================================= */
.cta-section {
  position: relative;
  padding: 60px 0;
  background: #2E9E38;
  overflow: hidden;
}

.cta-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 10px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.cta-content p {
  font-size: 18px;
  color: #fff;
  margin: 0;
  font-weight: 500;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 60px 0;
  }

  .cta-row {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .cta-content h2 {
    font-size: 24px;
  }

  .cta-content p {
    font-size: 16px;
  }
}

.hs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 15px 32px;
  border-radius: 4px;
  background: #FFCB2D;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid #FFCB2D;
}

.hs-btn:hover {
  background: #ffffff;
  color: #000;
  transform: translateY(-2px);
  border: 2px solid #FFCB2D;
}

/* ========================================= TESTIMONIALS SECTION ========================================= */
.testimonials-section {
  padding: 80px 0;
  background: #fff;
}

.testimonials-header {
  text-align: left;
  margin-bottom: 40px;
}

.testimonials-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #2E9E38;
  margin-bottom: 10px;
}

h2.testimonials-title {
  font-size: 42px;
  font-weight: 700;
  color: #000;
  line-height: 1.15;
  margin: 0;
}

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

.testimonial-item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-item.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card {
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: 40px 40px 32px;
  text-align: center;
}

.testimonial-quote {
  font-size: 60px;
  font-weight: 800;
  color: #23A036;
  line-height: 1;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}

.testimonial-card p {
  font-size: 18px;
  line-height: 1.75;
  color: #000;
  margin: 0;
}

.testimonial-author {
  text-align: center;
  margin-top: 24px;
}

.testimonial-author strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.testimonial-author span {
  font-size: 15px;
  color: #888;
}

@media (max-width: 991px) {
  h2.testimonials-title {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonial-card {
    padding: 32px 24px 26px;
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 70px 0;
  }

  h2.testimonials-title {
    font-size: 28px;
  }
}

@media (max-width: 575px) {
  .testimonials-section {
    padding: 60px 0;
  }

  h2.testimonials-title {
    font-size: 26px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .testimonial-card p {
    font-size: 15px;
  }
}