/* Cost Estimator Page Styles */
.cost-estimator {
  padding: 80px 0;
}

.estimator-intro {
  text-align: center;
  margin-bottom: 50px;
}

.estimator-intro h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.estimator-intro p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #fff8e1;
  padding: 15px;
  border-radius: 8px;
  max-width: 600px;
  margin: 20px auto 0;
}

.disclaimer i {
  color: #ffa000;
  font-size: 1.5rem;
}

.disclaimer p {
  margin: 0;
  font-size: 0.95rem;
}

.estimator-container {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.estimator-form {
  flex: 1;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.estimator-results {
  flex: 1;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.results-placeholder {
  text-align: center;
  color: #666;
}

.results-placeholder i {
  font-size: 3rem;
  color: #e0e0e0;
  margin-bottom: 15px;
}

.results-placeholder h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.results-placeholder p {
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

#calculateBtn {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
}

/* Results Display */
.estimate-result {
  width: 100%;
}

.estimate-result h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.estimate-details {
  margin-bottom: 20px;
}

.estimate-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.estimate-row:last-child {
  border-bottom: none;
}

.estimate-label {
  font-weight: 600;
}

.estimate-value {
  font-weight: 600;
  color: var(--primary);
}

.price-range {
  font-size: 1.8rem;
  text-align: center;
  margin: 25px 0;
  font-weight: 700;
  color: var(--primary);
}

.time-estimate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #666;
  margin-bottom: 20px;
}

.time-estimate i {
  color: var(--primary);
}

.note {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin-top: 20px;
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 6px;
}

/* Price Table */
.price-table {
  margin-bottom: 60px;
}

.price-table h3 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
  color: var(--primary);
}

.table-responsive {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

th,
td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: var(--primary);
  color: white;
  font-weight: 600;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

tr:hover {
  background-color: #f1f1f1;
}

.table-disclaimer {
  background-color: #fff8e1;
  padding: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-disclaimer i {
  color: #ffa000;
  font-size: 1.2rem;
}

.table-disclaimer p {
  margin: 0;
  font-size: 0.9rem;
}

/* CTA Section */
.estimator-cta {
  background-color: var(--secondary);
  color: var(--light);
  padding: 50px;
  border-radius: 10px;
  text-align: center;
}

.estimator-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.estimator-cta p {
  max-width: 600px;
  margin: 0 auto 25px;
  font-size: 1.1rem;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btns :hover {
  background-color: var(--light);
  color: var(--secondary);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .estimator-container {
    flex-direction: column;
  }

  .price-range {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .estimator-intro h2 {
    font-size: 1.8rem;
  }

  .price-table h3 {
    font-size: 1.5rem;
  }

  th,
  td {
    padding: 12px 10px;
    font-size: 0.9rem;
  }

  .estimator-cta {
    padding: 40px 20px;
  }

  .estimator-cta h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .estimator-container {
    padding: 20px;
  }

  .estimate-row {
    flex-direction: column;
    gap: 5px;
    padding: 10px 0;
  }

  .price-range {
    font-size: 1.3rem;
  }

  .estimator-cta h3 {
    font-size: 1.3rem;
  }

  .estimator-cta p {
    font-size: 1rem;
  }
}
