/* This CSS file is responsible for supporting the old page only, remove this file if we're not using the old page in the homepage or in the builders-risk page */

.header-height { min-height: 60px; }
.section0-height { min-height: 589px; }
.section1-height { min-height: 575px; }
.section2-height { min-height: 596px; }
.section3-height { min-height: 459px; }
.section4-height { min-height: 461px; }
.section5-height { min-height: 878px; }
.section6-height { min-height: 768px; }
.footer-height { min-height: 546px; }

@media (max-width: 768px) {
  .section0-height { min-height: 770px; }
  .section1-height { min-height: 1035px; }
  .section2-height { min-height: 1271px; }
  .section3-height { min-height: 854px; }
  .section4-height { min-height: 633px; }
  .section5-height { min-height: 940px; }
  .section6-height { min-height: 966px; }
  .footer-height { min-height: 793px; }
}

.hero-background {
  background-position: center;
  background-size: cover;
  opacity: 1; /* Slightly increased opacity for glossiness */
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  /* filter: grayscale(80%) brightness(0.8) contrast(200%); */
}

/* Mobile background image */


/* Desktop background image */
@media (min-width: 768px) {
    .hero-background {
        background-image: url('../../images/Commercial-Property-Desktop-v4 (1).png');
    }
}

.faq-section-bg {
  background: #EDF2F7;
}
.faq-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07), 0 1.5px 4px 0 rgba(0,0,0,0.03);
  max-width: 950px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}
.doc-page {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07), 0 1.5px 4px 0 rgba(0,0,0,0.03);
  /* max-width: 950px; */
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}
.faq-title {
  font-size: 2.25rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 2.5rem;
}
.faq-item {
  border: none;
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  background: #f8fafc;
  transition: box-shadow 0.2s;
}
.faq-item.open {
  box-shadow: 0 2px 8px 0 rgba(18,91,154,0.08);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: 1.15rem;
  font-weight: 400;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
  border-left: 4px solid #125b9a;
}
.faq-question:hover {
  background: #e6f0fa;
}
.faq-arrow {
  transition: transform 0.3s cubic-bezier(.4,2,.6,1), color 0.2s;
  color: #125b9a;
}
.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: #18446a;
}
.faq-answer {
  padding: 0 1.5rem 0 1.5rem;
  font-size: 1rem;
  color: #333;
  max-height: 0;
  overflow: hidden;
  background: none;
  transition: max-height 0.7s cubic-bezier(.4,2,.6,1), padding-top 0.5s cubic-bezier(.4,2,.6,1);
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-top: 0.5rem;
}
@media (max-width: 600px) {
  .faq-card { padding: 1.5rem 0.5rem; }
  .faq-title { font-size: 1.5rem; }
  .faq-question { font-size: 1rem; padding: 1rem 1rem; }
  .faq-answer { font-size: 0.95rem; padding: 0 1rem 1rem 1rem; }
}

