/* =========================================
   MAIN SERVICE PAGE - EXACT FIGMA MATCH
   ========================================= */

:root {
  --primary: #4ab7ac; /* Teal */
  --dark: #348b83; /* Dark Teal */
  --text-dark: #222222;
  --text-body: #000000;
  --bg-page: #ffffff;
  --border-color: #e0e0e0;
}

body {
  background-color: var(--bg-page);
  overflow-x: hidden;
}

.section-padding {
  padding: 80px 0;
}
.section-padding-top {
  padding-top: 50px;
}
.container-1200 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.text-center {
  text-align: center;
}
.mt-5 {
  margin-top: 40px;
}
.text-primary {
  color: var(--primary);
}

/* --- Global Buttons --- */
.btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary);
  color: #ffffff;
  padding: 14px 35px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background-color: var(--dark);
}

.btn-dark-teal {
  display: inline-block;
  background-color: var(--dark);
  color: #fff;
  padding: 14px 35px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-dark-teal:hover {
  background-color: var(--primary);
}

.btn-outline-teal {
  display: inline-block;
  background-color: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 35px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-outline-teal:hover {
  background-color: var(--primary);
  color: #fff;
}

.btn-outline-white {
  display: inline-block;
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 12px 35px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-outline-white:hover {
  background-color: #fff;
  color: var(--primary);
}

/* --- 1. Hero Banner --- */
.sp-hero-banner {
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-hero-content {
  max-width: 800px;
  margin: 0 auto;
}
.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 15px 0;
  text-shadow:
    2px 2px 8px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(0, 0, 0, 0.6);
}
.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-weight: 500;
  line-height: 1.6;
  text-shadow:
    0px 0px 4px  rgba(0, 0, 0, 0.9)
    ;
}

/* --- 2. Features Grid (Flush) --- */
.sp-features-section {
  margin-top: 0;
}
.features-flush-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.feature-box {
  padding: 50px 30px;
  text-align: center;
  color: #fff;
}
.feature-box.box-dark {
  background-color: var(--dark);
}
.feature-box.box-light {
  background-color: var(--primary);
}

.feature-icon {
  margin-bottom: 20px;
}
.feature-icon svg {
  width: 40px;
  height: 40px;
  color: #fff;
}
.feature-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 15px 0;
}
.feature-box p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.9;
}

/* --- 3. Intro Text --- */
.intro-heading {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 15px;
  text-align: left;
}
.intro-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  text-align: left;
  margin: 0;
}

/* --- 4. Services Grid --- */
.grid-heading {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 5px 0;
  text-align: left;
}
.grid-subheading {
  color: var(--text-body);
  font-size: 15px;
  margin-bottom: 30px;
  text-align: left;
}

.sp-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.sp-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.sp-card.hidden-card {
  display: none;
}
.sp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}

.sp-card-img {
  height: 200px;
  overflow: hidden;
}
.sp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.sp-card:hover .sp-card-img img {
  transform: scale(1.08);
}

.sp-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.sp-card-header h3 {
  font-size: 20px;
  color: var(--text-dark);
  font-weight: 700;
  margin: 0;
  transition: color 0.3s;
}
.sp-card:hover .sp-card-header h3 {
  color: var(--primary);
}
.card-arrow {
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
  transition: transform 0.3s;
}
.sp-card:hover .card-arrow {
  transform: translateX(5px);
}

.sp-card-content p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

.view-all-text-link {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-block;
  border-bottom: 1px solid transparent;
}
.view-all-text-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* --- 5. Testimonials (Teal Background & Outer Arrows) --- */
.sp-testimonials-section {
  background-color: var(--primary);
  padding: 60px 0;
  position: relative;
}
.testi-heading {
  font-size: 32px;
  font-weight: 750;
  margin-bottom: 40px;
  text-align: left;
  color: #fff;
}
.position-relative {
  position: relative;
}

/* KEY FIX: Window must be a block with defined width & no overflow */
.testi-slider-window {
  overflow: hidden;
  width: 100%;
  display: block;
}

/* KEY FIX: Track is flex but must NOT constrain card sizing */
.testi-slider-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

/* KEY FIX: Cards sized by JS — these are fallback defaults only */
.testi-card {
  flex-shrink: 0;
  flex-grow: 0;
  background: #fff;
  padding: 30px;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  /* width is set dynamically by JS */
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.testi-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.testi-header h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
  color: var(--text-dark);
}
.stars {
  color: #4ab7ac;
  font-size: 14px;
}
.testi-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

/* Arrows positioned on the outer edges */
.testi-nav {
  position: absolute;
  top: 65%;
  transform: translateY(-50%);
  background: var(--dark);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testi-nav:hover {
  background: #2b7069;
}
.testi-nav.prev {
  left: -60px;
}
.testi-nav.next {
  right: -60px;
}

/* --- 6. Full-Width Discount CTA Banner --- */
.sp-discount-banner-full {
  margin-top: 80px;
  width: 100%;
  background-color: var(--primary);
  overflow: hidden;
}

.discount-flex-container {
  display: flex;
  align-items: stretch;
  width: 100%;
}

/* Left Side (Text) */
.discount-text-side {
  width: 50%;
  display: flex;
  justify-content: flex-end;
  background-color: var(--primary);
}

.discount-text-inner {
  width: 100%;
  max-width: 600px;
  padding: 35px 40px 35px 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.discount-badge {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  background: var(--dark);
  padding: 6px 15px;
  border-radius: 4px;
}

.discount-text-inner h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.discount-text-inner p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 16px;
  opacity: 0.95;
}

.discount-buttons {
  display: flex;
  gap: 15px;
}

/* Right Side (Image) */
.discount-img-side {
  width: 50%;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.discount-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-top-left-radius: 50% 100%;
  border-bottom-left-radius: 50% 100%;
  transform: scale(1.05);
}

/* --- 7. Contact Section (Premium Card Design) --- */
.sp-contact-section {
  background-color: #f9f9f9;
}

.contact-card-wrapper {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  padding: 60px;
  margin-top: 20px;
}

.contact-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}

.contact-info-side h2,
.contact-form-side h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.contact-subtitle {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 40px;
  line-height: 1.6;
}

.info-group {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 30px;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: rgba(74, 183, 172, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 20px;
  height: 20px;
}

.info-group h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 5px 0;
}

.info-group p {
  font-size: 15px;
  color: var(--text-body);
  margin: 0;
  line-height: 1.6;
}

/* Contact Form Styling */
.modern-contact-form {
  margin-top: 30px;
}

.modern-contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.modern-contact-form .form-row-single {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.modern-contact-form input,
.modern-contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  box-sizing: border-box;
  background: #fafafa;
}

.modern-contact-form input:focus,
.modern-contact-form textarea:focus {
  border-color: var(--primary);
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(74, 183, 172, 0.1);
}

.modern-contact-form textarea {
  resize: vertical;
}

.form-buttons-row {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

/* --- Responsive --- */
@media (max-width: 1300px) {
  .testi-nav.prev {
    left: 10px;
  }
  .testi-nav.next {
    right: 10px;
  }
}

@media (max-width: 991px) {
  .features-flush-grid {
    grid-template-columns: 1fr;
  }
  .sp-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .discount-flex-container {
    flex-direction: column;
  }
  .discount-text-side {
    width: 100%;
    justify-content: center;
  }
  .discount-text-inner {
    max-width: 100%;
    padding: 60px 20px;
    text-align: center;
    align-items: center;
  }
  .discount-img-side {
    width: 100%;
    height: 400px;
    min-height: 400px;
  }
  .discount-img-side img {
    border-radius: 0;
    transform: none;
    position: relative;
  }
  .contact-card-wrapper {
    padding: 40px;
  }
  .contact-grid-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 36px;
  }
  .sp-photo-grid {
    grid-template-columns: 1fr;
  }
  .discount-text-inner h2 {
    font-size: 30px;
  }
  .discount-badge {
    align-self: center;
  }
  .discount-buttons {
    flex-direction: column;
    width: 100%;
  }
  .discount-buttons a {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  .discount-img-side {
    height: 300px;
    min-height: 300px;
  }
  .contact-card-wrapper {
    padding: 30px 20px;
  }
  .modern-contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .form-buttons-row {
    flex-direction: column;
  }
  .btn-outline-teal,
  .btn-primary {
    width: 100%;
    text-align: center;
    justify-content: center;
    box-sizing: border-box;
  }
}





/* ============================================
   SECTION 3: TRUSTED BY GOOGLE
   ============================================ */
.trusted-google-section {
    padding: 0px 20px 40px 20px;
    background: #ffffff;
}

.google-header {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.google-header .section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #4a5568;
    margin-bottom: 16px;
    font-weight: 500;
}

.google-header .section-heading {
    font-size: 40px;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.2;
    margin-bottom: 16px;
}

/* Google Colored Text */
.google-text .g-blue { color: #4285F4; }
.google-text .g-red { color: #EA4335; }
.google-text .g-yellow { color: #FBBC05; }
.google-text .g-green { color: #34A853; }

.google-header .section-description {
    font-size: 17px;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Rating Badge */
.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: #f7fafc;
    border-radius: 50px;
}

.rating-score {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 22px;
}

.star.filled {
    color: #fbbf24;
}

.rating-count {
    font-size: 15px;
    color: #718096;
}

/* Testimonials */
.testimonials-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

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

.testimonial-card {
    background: #e8f4f1;
    border-radius: 12px;
    padding: 32px;
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.quote-icon {
    flex-shrink: 0;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.star-gold {
    color: #fbbf24;
    font-size: 20px;
}

.review-text {
    font-size: 16px;
    color: #2d3748;
    line-height: 1.7;
    margin-bottom: 24px;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    margin-top: 30px;
    bottom: 0;
    left: 30px;
    right: 30px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    font-size: 23px !important;
}
.reviewer-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
}

.name-star {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.name-star::after {
    content: '\2605';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #000;
    color: gold;
    border-radius: 50%;
    font-size: 15px;
    padding: 1px;
    position: absolute;
    bottom: -3px;
    right: -8px;
    border: 2px solid #ffffff;
    z-index: 2;
    pointer-events: none;
}
.reviewer-role {
    font-size: 14px;
    color: #718096;
}

.google-logo {
    flex-shrink: 0;
}


/* Responsive */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .google-header .section-heading {
        font-size: 32px;
    }
    .rating-badge {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 24px;
    }
}
/* Carousel Navigation - NO DOTS */
.testimonials-wrapper {
    position: relative;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #e2e8f0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #4a5568;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slider-nav:hover {
    background: #38b2ac;
    border-color: #38b2ac;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: -25px;
}

.slider-next {
    right: -25px;
}

.top-margin{
  margin-top: 40px;
}

/* Hide arrows on mobile */
@media (max-width: 768px) {
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    .slider-prev {
        left: 10px;
    }
    .slider-next {
        right: 10px;
    }
    .top-margin{
      margin-top: 0px;
    }

}

@media (max-width: 480px) {
    .slider-nav {
        display: none; /* Hide arrows on very small screens */
    }
}

.feature-title::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #38b2ac;
  border-radius: 50%;
  flex-shrink: 0;
}