:root {
  --primary: #009dff;
  --secondary: #def3ff;
  --text-main: #059eff;
  --text-dark: #1a1a1a;
  --gray-bg: #f5f5f5;
  --gray-border: #dcdcdc;
  --bg: #ffffff;
  --green-accent: #86c150;
  --green-dark: #3b6713;
  --navy: #34495e;
  --orange: #e86c2f;
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--navy);
  text-align: center;
  margin-top: 10px;
  letter-spacing: 0.5px;
}

.sp-subtitle {
  color: var(--navy);
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
  text-align: center;
  font-weight: 600;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary);
  color: #fff;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background-color: #0482d6;
  box-shadow: 0 4px 12px rgba(5, 158, 255, 0.3);
}

.service-page-hero {
  height: 550px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-page-hero .hero-title {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  margin: 0;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(0, 0, 0, 0.6);
  letter-spacing: 1px;
  text-align: center;
}
.hero-sub-heading {
  max-width: 660px;
  margin: 20px auto 30px auto;
  font-size: 18px;
  line-height: 1.7;
  text-shadow:
    2px 2px 2px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(0, 0, 0, 0.6);
  text-align: center;
  color: #fff;
}
.hero-cta-btn {
  background: var(--green-accent);
  border: none;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  width: fit-content;
  margin: 0 auto;
  border-radius: 5px;
}
.hero-cta-btn:hover {
  background: #34495e;
  color: #ffffff;
}

.sp-services-section {
  background-color: #f0f4f8;
}
.sp-header {
  margin-bottom: 50px;
}
.sp-desc {
  max-width: 620px;
  margin: 15px auto 0;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  color: #555;
  line-height: 1.6;
}

.sp-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sp-service-card-link {
  display: block;
  text-decoration: none;
  height: 100%;
}

.sp-service-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  /* height: 280px; */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.sp-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.sp-card-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.sp-card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.sp-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.sp-card-watermark {
  position: absolute;
  left: 8px;
  top: 70%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 1px;
  white-space: nowrap;
  text-transform: uppercase;
  z-index: 2;
}

.sp-card-title-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--green-accent);
  padding: 12px 15px 12px 35px;
  z-index: 2;
}

.sp-card-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sp-view-more-wrapper {
  text-align: center;
  margin-top: 40px;
}

.sp-contact-section {
  background-color: #ffffff;
}

.sp-contact-box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  background: #ffffff;
}

.sp-contact-subtitle {
  color: var(--green-accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.sp-contact-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 30px;
}

.sp-form .input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.sp-form input,
.sp-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #ffffff;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-dark);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  outline: none;
}

.sp-form input:focus,
.sp-form textarea:focus {
  border-color: var(--green-accent);
  box-shadow: 0 0 0 3px rgba(134, 193, 80, 0.15);
}

.sp-form input::placeholder,
.sp-form textarea::placeholder {
  color: #999;
}

.sp-form textarea {
  resize: vertical;
  min-height: 120px;
  margin-bottom: 20px;
}

.form-error {
  color: #dc3545;
  font-size: 12px;
  display: block;
  margin-top: 4px;
  grid-column: 1 / -1;
}

.sp-form-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.sp-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.sp-btn-outline:hover {
  background: var(--navy);
  color: #ffffff;
}

.sp-btn-solid {
  display: inline-block;
  background: #86c150;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.sp-btn-solid:hover {
  background: #2c3e50;
}

.ct-alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
}
.ct-alert-success {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
}
.ct-alert-error {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
}

.sp-info-col {
  padding-left: 20px;
}

.contact-detail-group {
  margin-bottom: 28px;
}

.contact-detail-group h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.contact-detail-group .primary-text {
  margin: 0;
  color: var(--green-accent);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
}

.contact-detail-group .primary-text a {
  color: var(--green-accent);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-detail-group .primary-text a:hover {
  color: var(--green-dark);
}

@media (max-width: 1024px) {
  .sp-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-contact-box {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .sp-info-col {
    padding-left: 0;
    border-top: 1px solid #eee;
    padding-top: 40px;
  }
}
@media (max-width: 450px) {
  .top-bar__phone {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .service-page-hero {
    height: 450px;
  }
  .service-page-hero .hero-title {
    font-size: 32px;
  }
  .hero-sub-heading {
    font-size: 16px;
    padding: 0 20px;
  }
  .sp-services-grid {
    grid-template-columns: 1fr;
  }
  .sp-service-card {
    /* height: 240px; */
  }
  .sp-form .input-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .sp-form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .sp-btn-outline,
  .sp-btn-solid {
    text-align: center;
  }
  .section-padding {
    padding: 50px 0;
  }
  .section-title {
    font-size: 24px;
  }
}

.hidden-card {
  display: none !important;
}

.show-card {
  display: block;
  animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sp-view-more-wrapper {
  text-align: center;
  margin-top: 40px;
}

.sp-view-more-btn {
  display: inline-block;
  background: #86c150;
  color: #ffffff;
  padding: 14px 40px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.sp-view-more-btn:hover {
  background: #2c3e50;
  box-shadow: 0 4px 15px rgba(52, 73, 94, 0.3);
}

/* ============================================================
   3. CTA BANNER
   ============================================================ */
.cta-section {
  background: #fff;
  position: relative;
  margin-bottom: 30px;
}

.cta-contentA {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 700px;
  place-self: center;
}

.cta-section .cta-discount::before,
.cta-section .cta-discount::after {
  background: #fff !important;
}

.cta-content {
  max-width: 100%;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(/images/slider/upholstery-cleaning.jpg) center bottom / cover no-repeat;
  padding: 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-bottom: 60px;
  min-height: 450px;
}

.cta-discount {
  color: #26a69a;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 18px;
}

.cta-title {
  font-size: 40px !important;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow:
    0 4px 15px rgba(0, 0, 0, 0.9),
    0 2px 8px rgba(0, 0, 0, 0.7);
  color: white;
}

@media (max-width: 420px) {
  .cta-button {
    display: block;
    margin-top: 15px;
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .stat-item {
    border-right: none !important;
    border-bottom: 1px solid white !important;
  }
  .cta-button {
    display: block;
    margin-top: 10px;
  }
}
.cta-button:hover {
  background: #34495e;
  color: #ffffff;
}

.cta-button-outline {
  background: transparent;
  color: #fff;
}

.cta-button {
  padding: 14px 32px;
  border-radius: 5px !important;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  background: #86c150;
  transition: all 0.3s;
}

/* ============================================================
   5. APPROACH SECTION (Image Left + Text Right)
   ============================================================ */
.sd-approach {
  background: #ffffff;
  padding: 60px 0;
}

.sd-approach__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.sd-approach__image {
  overflow: hidden;
  width: 100%;
  max-width: 587px;
  margin: 0 auto;
}

.sd-approach__image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(11, 46, 69, 0.15);
  object-fit: cover;
  display: block;
}
.sd-approach__content h4 {
  color: #34495e;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: 600;
}

.sd-approach__content h2 {
  font-size: 36px;
  color: #34495e;
  margin-bottom: 20px;
  margin: 0 0 15px;
  font-weight: 700;
}

.sd-approach__content h2 span {
  color: #044793;
}

.sd-approach__content p {
  max-width: 100%;
  margin: 0;
  color: #34495e;
  line-height: 1.8;
  text-align: left;
  font-size: 15px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .sd-approach__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sd-approach__content h2 {
    font-size: 26px;
  }

  .sd-approach__image {
    max-width: 100%;
  }
}
