/* ==========================================================================
   Service Detail Page Stylesheet
   ========================================================================== */

.sd-hero {
    min-height: 280px;
    background: linear-gradient(135deg, var(--primary) 0%, #03326d 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.sd-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    z-index: 1;
}

.sd-hero .container-1200 {
    position: relative;
    z-index: 2;
}

.sd-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.sd-hero-subtitle {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 760px;
    margin: 0 auto;
}

/* 2-Column Content/Sidebar Layout */
.sd-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.sd-content {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
}

.sd-main-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 28px;
    box-shadow: var(--shadow-md);
}

.sd-content h2, .sd-content h3 {
    color: var(--slate-900);
    font-weight: 700;
    margin: 28px 0 14px;
    line-height: 1.3;
}

.sd-content p {
    color: var(--slate-700);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.sd-two-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}

.sd-two-images img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    object-fit: cover;
    height: 220px;
}

/* Sidebar Widgets */
.sd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sd-widget {
    background-color: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.sd-widget-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 18px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 8px;
}

.sd-widget-title span {
    color: var(--primary);
}

.sd-services-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sd-services-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    color: var(--slate-700);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    background-color: var(--gray-50);
}

.sd-services-list li.active a,
.sd-services-list li a:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.sd-emergency-widget {
    background: linear-gradient(135deg, var(--slate-900) 0%, #03326d 100%);
    color: #ffffff;
    text-align: center;
}

.sd-emergency-widget h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 16px;
}

.sd-phone-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.sd-phone-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.emg-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 8px 0;
}

/* Process Section */
.sd-process-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.sd-process-box {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.sd-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

/* ==========================================================================
   Pricing Table Section
   ========================================================================== */

.sd-pricing-section {
    background-color: var(--gray-50);
}

.pricing-table-container {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-top: 32px;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.pricing-table th {
    background-color: var(--slate-900);
    color: #ffffff;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 700;
}

.pricing-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.95rem;
    color: var(--slate-700);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:hover td {
    background-color: var(--primary-light);
}

.price-tag {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.05rem;
}

.price-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    background-color: #e0f2fe;
    color: #0369a1;
}

.stat-container {
    display: table;
    width: 100%;
    margin: 12px 0;
}

.stat-box {
    display: table-cell;
    width: 25%;
    text-align: center;
    background-color: #edf2f7;
    padding: 8px;
    border-right: 2px solid #ffffff;
}

.stat-box:last-child {
    border-right: none;
}

.stat-num {
    font-size: 13pt;
    font-weight: 700;
    color: #2b6cb0;
    display: block;
}

.stat-label {
    font-size: 7.5pt;
    color: #4a5568;
    text-transform: uppercase;
}

/* ==========================================================================
   TRUSTED BY GOOGLE
   ========================================================================== */
.trusted-google-section {
  padding: 40px 20px;
  background: var(--white);
}

.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-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;
  max-width: 700px;
  margin: 10px auto;
}

.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-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

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

.testimonial-card {
  background: rgba(43, 134, 183, 0.08);
  border-radius: var(--radius-lg);
  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 #40b3f1;
  background: var(--primary);
  color: #40b3f1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  font-size: 23px;
}

.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: var(--black);
  color: gold;
  border-radius: 50%;
  font-size: 15px;
  padding: 1px;
  position: absolute;
  bottom: -3px;
  right: -8px;
  border: 2px solid var(--white);
  z-index: 2;
  pointer-events: none;
}

.reviewer-role {
  font-size: 14px;
  color: #718096;
}

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

.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;
}

.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: var(--transition);
  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;
}

.google-review-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;

  background-color: #40b3f1;
  border-radius: 50px;
  font-weight: 600;
  font-size: 18px;
  color: white;
  text-decoration: none;
}
.google-review-btn:hover {
  color: #000000;
  transform: scale(1.05);
}

.rating-review {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .rating-review {
      justify-content: center;

  }
}
#toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #111;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 9999;
}

#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}



/* Responsive Design */
@media (max-width: 991px) {
    .sd-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sd-hero-title {
        font-size: 1.85rem;
    }
    .sd-two-images {
        grid-template-columns: 1fr;
    }
    .pricing-table-container {
        overflow-x: auto;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .google-header .section-heading {
        font-size: 32px;
    }
    .rating-badge {
        flex-wrap: wrap;
        justify-content: center;
    }
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    .slider-prev {
        left: 10px;
    }
    .slider-next {
        right: 10px;
    }
    .top-margin {
        margin-top: 0;
    }

}
