:root {
  --blue: #00173c;
  --red: #e1251a;
  --yellow: #ffd899;
  --light: #f7f7f7;
}

.header-question a:hover {
  color: var(--blue);
  background-color: transparent;
  text-decoration: none;
}
/* ===== Estimator section background ===== */
.estimator-section {
  background:
    radial-gradient(
      circle at top center,
      rgba(5, 40, 95, 0.26),
      rgba(5, 40, 95, 0.14) 55%,
      transparent 70%
    ),
    linear-gradient(
      180deg,
      rgba(5, 40, 95, 0.18) 0%,
      rgba(5, 40, 95, 0.08) 100%
    );
  padding: 10px 20px;
}
.estimator-section .container {
  background: #ffffff;
  border-radius: 18px;
  padding: 48px 44px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
}
.estimator-section h1 {
  text-align: center;
  font-weight: 700;
  color: #05285f;
  margin-bottom: 36px;
}

.container {
  max-width: 900px;
  margin: 40px auto;
  background: white;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  margin: 40px auto;
}

.container h1 {
  background: linear-gradient(
    135deg,
    var(--blue) 0%,
    #002b6b 70%,
    var(--red) 100%
  );
  color: #fff;
  padding: 22px;
  border-radius: 14px;
  margin: -25px -25px 30px -25px;
  text-align: center;
  letter-spacing: 0.4px;
}


.section {
  margin-top: 25px;
}

.section-title-text {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--blue);
}

label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.location-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.location-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

input, select {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 700px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.service-card {
  padding: 16px;
  border-radius: 10px;
  background: var(--light);
  border: 2px solid transparent;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
}

.service-card.active {
  border-color: var(--blue);
  background: #eef3ff;
}

.service-card:hover {
  background: var(--blue);   /* or var(--navy) */
  color: #fff;
  border-color: var(--blue);
}

.hidden {
  display: none;
}

.result {
  margin-top: 20px;
  padding: 16px;
  background: #f0f7ff;
  border-left: 5px solid var(--blue);
  border-radius: 6px;
  text-align: center;
}

.container button {
  padding: 14px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
}

.container button:hover {
  background: #002b6b;
}

.note {
  font-size: 0.85rem;
  color: #666;
  margin-top: 6px;
}

.suggestions {
  position: absolute;
  z-index: 20;
  width: 100%;
  margin-top: 6px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid #eee;
}

.suggestions li {
  list-style: none;
  padding: 12px 14px;
  cursor: pointer;
  font-size: 14px;
}

.suggestions li:hover {
  background: #f3f4f6;
}

.button-center {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.button-center button {
  min-width: 200px;          /* 👈 wider & equal */
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
}


/* Secondary button */
.secondary-btn {
  background: #fff;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.secondary-btn:hover {
  background: #f0f4ff;
}


/* Notes below buttons */
.button-notes {
  margin-top: 16px;
  text-align: center;
  font-size: 0.85rem;
  color: #555;
  display: flex;
  flex-direction: column;   /* 👈 vertical */
  gap: 6px;
}

.button-notes span {
  display: block;
}



/* ================= REVIEWS ================= */

/* ===== Reviews section – soft red tint ===== */
.reviews-section {
  background:
    radial-gradient(
      circle at top center,
      rgba(225, 37, 26, 0.10),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      rgba(225, 37, 26, 0.06) 100%
    );
  padding: 80px 30px;
}

.review-card {
  background: #fff;
  border: 1px solid rgba(225, 37, 26, 0.08);
}

.reviews-container {
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.reviews-container h2 {
    color: #00173c;
    margin-bottom: 40px;
    font-size: 1.8rem;
}

.reviews-slider-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.reviews-slider {
  flex: 1 1 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 10px 6px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.reviews-track {
  display: flex;
  gap: 18px;
}

/* Make review cards equal sized inside the slider (desktop: 3 visible) */
.reviews-slider .review-card {
  flex: 0 0 calc((100% / 3) - 6px);
  box-sizing: border-box;
  background: #fff;
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: center;
  min-height: 140px;
  border: 1px solid rgba(17,24,39,0.06);
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.review-text {
  font-style: italic;
  margin-bottom: 12px;
  color: #333;
}


.review-card strong {
  color: var(--blue);
  font-size: 0.95rem;
}

.reviews-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--blue);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 5;
}
.reviews-prev {
  left: -24px;
}

.reviews-next {
  right: -24px;
}
.reviews-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

@media (max-width: 900px) {
  .reviews-slider .review-card { flex: 0 0 calc((100% / 2) - 9px); }
}

@media (max-width: 540px) {
  .reviews-slider-wrapper { gap: 8px; }
  /* Keep nav buttons visible on small screens and inset them slightly
     so they don't overlap the page edges. Use a slightly smaller size. */
  .reviews-nav {
    display: block;
    width: 36px;
    height: 36px;
    font-size: 1rem;
    opacity: 0.95;
    padding-bottom: 30px;
  }
  .reviews-prev { left: 8px; }
  .reviews-next { right: 8px; }
  .reviews-slider .review-card { flex: 0 0 100%; }
  .reviews-slider {
    scroll-snap-type: x mandatory;
  }
}

/* ================= HEADER LINK ================= */

.site-title-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
}

.site-title-link:hover {
  opacity: 0.9;
}



