/* ===== ACCORDION STYLING ===== */
.accordion-item {
  background: transparent;
  border: none;
}

.accordion-button {
  font-weight: 700;
  color: #333;
  padding: 1.5rem 1.75rem;
  font-size: 1.15rem;
  border: none !important;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  position: relative;
}

.accordion-button:hover,
.accordion-button:focus {
  color: #D8B385 !important;
  text-decoration: none;
  background-color: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.accordion-button:not(.collapsed) {
  color: #D8B385;
  background: #fff !important;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee !important;
}

.accordion-button::after {
  margin-left: auto;
  content: "\f107" !important;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 1rem;
  color: #D8B385;
  background-image: none !important;
  /* Hide default Bootstrap 5 icons */
  background: none;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.accordion-button::before {
  content: none !important;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

.step-num {
  background: #f8f9fa;
  color: #D8B385;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 15px;
  font-size: 0.9rem;
  font-weight: 800;
  border: 1px solid #eee;
  flex-shrink: 0;
}

.accordion-button:not(.collapsed) .step-num {
  background: #D8B385;
  color: #fff;
  border-color: #D8B385;
}

/* ===== CONSTRUCTION OPTIONS ===== */
.constructionOption {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #eef0f2;
  background: #fff;
  border-radius: 12px !important;
}

.constructionOption:hover {
  border-color: #D8B385;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
}

.constructionOption.active {
  background: #fff !important;
  border: 2px solid #D8B385;
  box-shadow: 0 10px 25px rgba(216, 179, 133, 0.15) !important;
}

.option-icon {
  font-size: 2rem;
  color: #D8B385;
}

/* ensure icons stay gold when active/hover */
.constructionOption.active .option-icon,
.constructionOption:hover .option-icon {
  color: #D8B385;
}

.xsmall {
  font-size: 0.8rem;
  line-height: 1.4;
}

/* ===== BUTTONS & GROUPS ===== */
.btn-group-toggle .btn {
  border-radius: 8px !important;
  margin: 0 4px;
  border: 1px solid #dee2e6;
  padding: 10px 15px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-group-toggle .btn.active {
  background-color: #D8B385 !important;
  border-color: #D8B385 !important;
  color: #fff !important;
  box-shadow: 0 4px 10px rgba(216, 179, 133, 0.3);
}

.btn-primary {
  background-color: #D8B385;
  border-color: #D8B385;
  color: #fff;
  font-weight: 800;
  padding: 15px 45px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #c49d6d;
  border-color: #c49d6d;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(216, 179, 133, 0.4);
}

.btn-primary:disabled {
  background-color: #e9ecef;
  border-color: #dee2e6;
  color: #adb5bd;
}

/* ===== RESULTS MINI REPORT ===== */
.results-report {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.results-report::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #D8B385;
}

.result-item {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 10px;
}

.text-gold {
  color: #D8B385;
}

/* override muted text to appear black */
.text-muted,
.small.text-muted,
.p-small.text-muted {
  color: #000 !important;
}

/* FAQ answer styling: black and bold */
.faq-section .accordion-body {
  color: #000;
  font-weight: 600;
}

/* ===== SLIDER ===== */
.irs--round .irs-bar {
  background: #D8B385;
}

.irs--round .irs-handle {
  border-color: #D8B385;
}

.irs--round .irs-single {
  background: #D8B385;
  color: #000;
}

.slider-milestones span {
  width: 20px;
  text-align: center;
}

/* ===== BANNER SECTION ===== */
.banner-section {
  background-image: url(https://www.urbatect.com/wp-content/uploads/2025/10/Roadmap-to-a-Successful-Home-Build.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 50vh;
  display: flex;
  position: relative;
  color: #fff;
  border-bottom: 4px solid #D8B385;
}

.banner-overlay {
  /*   background-color: rgba(0, 0, 0, 0.5); */
  width: 100%;
  display: flex;
  align-items: center;

}

.banner-section .cal-h1 {
  color: #fff !important;
  font-size: 2.8rem;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.banner-section .desc {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  max-width: 850px;
  margin: 0 auto;
  font-weight: 400;
}

/* ===== TYPOGRAPHY ===== */
.cal-h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cal-h2 {
  font-size: 1.25rem;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* ===== UTILITY ===== */
.bold {
  font-weight: 700;
}

.bg-light {
  background-color: #f8f9fa !important;
}

/* Mobile */
@media (max-width: 767.98px) {
  .banner-section h1 {
    font-size: 1.8rem !important;
  }

  .banner-section .desc {
    font-size: 1rem !important;
    padding: 0 15px;
  }

  .accordion-button {
    font-size: 0.95rem;
    padding: 1rem 1rem !important;
  }

  .step-num {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    font-size: 0.8rem;
  }

  .faq-section .accordion-button {
    font-size: 0.9rem;
  }

  .result-item h3 {
    font-size: 1rem;
  }

  .result-item .h4 {
    font-size: 1.15rem;
  }
}

.gold {
  color: #D8B385;
}

.accordion-button {
  text-wrap: auto !important;
}

.irs--round .irs-grid-text{
  color:#000 !important;
}
.btn-outline-secondary{
  color: #000 !important;
}
.result-tab{
  display: none;
}

/* ===== EXCEL BREAKDOWN BOX STYLES ===== */
.breakdown-box {
    background: #f8f9fa !important;
    border-radius: 12px;
}

.breakdown-box table td {
    padding: 6px 0;
    color: #000 !important;
}

.breakdown-box hr {
    border-top: 1px solid #dee2e6;
    margin: 8px 0;
}

.xsmall {
    font-size: 0.7rem;
    line-height: 1.3;
}

/* ===== RESULT TAB STYLES ===== */
.result-tab {
    display: none;
}

.result-tab.show {
    display: block;
}

/* ===== IMPROVED RESULTS DISPLAY ===== */
.result-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
    color: #333;
}

.gold {
    color: #D8B385;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767.98px) {
    .breakdown-box table td {
        font-size: 0.7rem;
    }
    
    .result-item h3 {
        font-size: 0.9rem;
    }
    
    .breakdown-box h6 {
        font-size: 0.85rem;
    }
}