/* ==========================================
   SERVICES
========================================== */

.services-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url("../../img/gallery-3.png") center/cover no-repeat;
}

/* ==========================================
SERVICE ESTIMATE CARDS
========================================== */

/* ==========================================
   SERVICE ESTIMATE CARDS
========================================== */

.service-estimate-card {
  height: 100%;
  padding: 2.5rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}

.service-estimate-card:hover {
  transform: translateY(-8px);
}

/* ICON */

.service-icon {
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(198, 40, 40, 0.1);
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

/* TITLE */

.service-estimate-card h3 {
  font-weight: 700;
  margin-bottom: 1rem;
}

/* DESCRIPTION */

.service-estimate-card p {
  color: #6c757d;
  line-height: 1.8;
  margin-bottom: 0;
}

/* MANUAL SERVICE LIST */

.manual-services {
  padding: 0;
  margin: 1.5rem 0;
  list-style: none;
}

.manual-services li {
  margin-bottom: 0.75rem;
}

.manual-services li::before {
  content: "✓";
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* FOOTER AREA OF CARD */

.service-footer {
  margin-top: auto;
  padding-top: 2rem;
  text-align: center;
}

/* PRICE */

.service-price {
  font-size: 0.9rem;
  color: #777;
}

.service-price span {
  display: block;
  color: #777;
  font-size: 0.9rem;
}

.service-price strong {
  display: block;
  font-size: 2rem;
  color: var(--primary-color);
  margin: 0.25rem 0;
}

/* NOTE */

.service-note {
  margin-top: 0.5rem;
  color: var(--primary-color);
  font-size: 0.85rem;
}

.service-note em {
  font-style: italic;
}

/* BUTTON */

.estimate-btn {
  width: 100%;
  margin-top: 1.5rem;
}

/* ==========================================
   SERVICE PRICING
========================================== */

.service-pricing-section {
  background: var(--background-color);
}

.pricing-estimate-card {
  padding: 4rem;

  border-radius: 1.5rem;

  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-color)
  );

  color: var(--white);

  box-shadow: var(--shadow-lg);
}

.pricing-estimate-card h2 {
  margin: 1rem 0;

  font-weight: 700;
}

.pricing-estimate-card p {
  color: rgba(255, 255, 255, 0.9);

  line-height: 1.8;
}

.pricing-estimate-card .section-subtitle {
  background: rgba(255, 255, 255, 0.15);

  color: var(--white);
}

.pricing-list {
  list-style: none;

  padding: 0;

  margin: 2rem 0 0;
}

.pricing-list li {
  display: flex;

  align-items: center;

  gap: 0.75rem;

  margin-bottom: 1rem;
}

.pricing-list i {
  color: #fff;
}

.rate-box {
  padding: 3rem 2rem;

  text-align: center;

  border-radius: 1rem;

  background: #fff;

  color: var(--text-color);
}

.rate-box span {
  font-weight: 600;

  color: #777;
}

.rate-box h3 {
  margin: 1rem 0 0.5rem;

  font-size: 3.5rem;

  font-weight: 800;

  color: var(--primary-color);
}

.rate-box p {
  color: #777;
}

.rate-box .btn {
  margin-top: 1rem;

  background: var(--primary-color);

  color: #fff;
}

@media (max-width: 991px) {
  .pricing-estimate-card {
    padding: 2rem;
  }
}

/* ==========================================
   SERVICES WHY US
========================================== */

.services-why-section {
  background: var(--white);
}

.services-why-image {
  overflow: hidden;

  border-radius: 1rem;

  box-shadow: var(--shadow-lg);
}

.services-why-image img {
  transition: 0.4s ease;
}

.services-why-image:hover img {
  transform: scale(1.05);
}

.services-check-list {
  list-style: none;

  padding: 0;

  margin: 2rem 0 0;
}

.services-check-list li {
  display: flex;

  align-items: center;

  gap: 1rem;

  margin-bottom: 1rem;

  color: var(--text-color);

  font-weight: 500;
}

.services-check-list i {
  color: var(--primary-color);

  font-size: 1.2rem;
}

/* ==========================================
   SERVICES CTA
========================================== */

.services-cta-section {
  padding: 100px 0;

  background: var(--background-color);
}

.services-cta-wrapper {
  padding: 70px;

  border-radius: 1.5rem;

  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-color)
  );

  color: var(--white);

  box-shadow: var(--shadow-lg);
}

.services-cta-wrapper h2 {
  margin: 1rem 0;

  font-size: clamp(2rem, 4vw, 3rem);

  font-weight: 700;
}

.services-cta-wrapper p {
  max-width: 650px;

  margin: 0;

  line-height: 1.8;

  color: rgba(255, 255, 255, 0.9);
}

.services-cta-wrapper .section-subtitle {
  background: rgba(255, 255, 255, 0.15);

  color: var(--white);
}

.services-cta-wrapper .btn {
  color: var(--primary-color);

  font-weight: 700;
}

@media (max-width: 991.98px) {
  .services-cta-wrapper {
    padding: 50px 30px;

    text-align: center;
  }

  .services-cta-wrapper .btn {
    width: 100%;

    margin-top: 1.5rem;
  }
}

/* ==========================================
   ESTIMATE MODAL
========================================== */

.estimate-modal {
  border: 0;

  border-radius: 1.5rem;

  overflow: hidden;
}

.estimate-modal .modal-header {
  padding: 2rem;

  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-color)
  );

  color: #fff;
}

.estimate-label {
  font-size: 0.85rem;

  opacity: 0.8;
}

.estimate-form-card {
  padding: 1.5rem;

  background: #fff;

  border-radius: 1rem;

  box-shadow: var(--shadow-md);
}

.estimate-form-card label {
  font-weight: 600;

  margin-bottom: 0.5rem;
}

.estimate-map-wrapper {
  height: 100%;

  min-height: 500px;

  border-radius: 1rem;

  overflow: hidden;

  box-shadow: var(--shadow-md);
}

#estimateMap {
  width: 100%;

  height: 500px;
}

.estimate-summary {
  padding: 1.5rem;

  border-radius: 1rem;

  background: #f8f9fa;
}

.estimate-summary div {
  display: flex;

  justify-content: space-between;

  margin-bottom: 1rem;
}

.estimate-summary div:last-child {
  margin-bottom: 0;
}

.estimate-summary strong {
  color: var(--primary-color);

  font-size: 1.3rem;
}

@media (max-width: 991px) {
  #estimateMap {
    height: 350px;
  }
}

/* ==========================================
   LOCATION AUTOCOMPLETE
========================================== */

.location-autocomplete {
  position: relative;
}

#locationSuggestions {
  position: absolute;

  top: 100%;

  left: 0;

  right: 0;

  background: #fff;

  border-radius: 0.75rem;

  overflow: hidden;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

  z-index: 9999;

  max-height: 260px;

  overflow-y: auto;
}

.location-suggestion {
  padding: 0.85rem 1rem;

  font-size: 0.9rem;

  color: #212121;

  cursor: pointer;

  display: flex;

  align-items: flex-start;

  gap: 0.5rem;

  border-bottom: 1px solid #f1f1f1;

  transition: 0.2s ease;
}

.location-suggestion:last-child {
  border-bottom: 0;
}

.location-suggestion i {
  color: var(--primary-color);

  margin-top: 0.2rem;
}

.location-suggestion:hover {
  background: #f8f9fa;

  color: var(--primary-color);
}

/* ==========================================
   LEAFLET MAP CUSTOMIZATION
========================================== */

#estimateMap {
  width: 100%;

  height: 500px;

  border-radius: 1rem;

  overflow: hidden;
}

.leaflet-control-zoom a {
  color: var(--primary-color);
}

.leaflet-popup-content-wrapper {
  border-radius: 0.75rem;
}

.leaflet-popup-content {
  font-size: 0.9rem;
}

/* ==========================================
   ESTIMATE MODAL IMPROVEMENT
========================================== */

.estimate-modal .modal-body {
  background: #f8f9fa;

  padding: 2rem;
}

.estimate-form-card {
  height: 100%;
}

.estimate-form-card input {
  border-radius: 0.75rem;

  padding: 0.75rem 1rem;
}

.estimate-summary {
  border-left: 4px solid var(--primary-color);
}

.estimate-summary span {
  color: #777;

  font-size: 0.9rem;
}

.estimate-summary strong {
  font-weight: 800;
}

@media (max-width: 991px) {
  .estimate-map-wrapper {
    min-height: 350px;

    margin-top: 1rem;
  }

  #estimateMap {
    height: 350px;
  }
}
