/* =========================
   FAQ Hero
   ========================= */
.faq_hero {
  background-image: url('../images-faq/faq_banner.png') !important;
  width: 100%;
  height: 430px !important;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* =========================
   FAQ Section
   ========================= */
.coftea-faq {
  background-color: #fffbef;
  padding: 50px 0;
}

.faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 20px 60px;
  font-family: "Segoe UI", sans-serif;
  box-shadow: 0px 4px 20px 0px #00000040;
  background-color: #fff;
  border-radius: 10px;
}

.faq-title {
  text-align: left;
  font-size: 12px;
  color: #666666;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  cursor: pointer;
}

/* =========================
   Question
   ========================= */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 0;
  color: #E27900;
  user-select: none;
}

.faq-question .icon {
  transition: transform 0.3s ease;
  font-weight: bold;
  font-size: 18px;
  display: inline-block;
  line-height: 1;
}

.faq-item.open .faq-question .icon {
  transform: rotate(90deg);
}

/* =========================
   Answer (Smooth Transition)
   ========================= */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0;
  transform-origin: top;
  transform: scaleY(0.98);
  transition:
    max-height 0.5s ease,
    opacity 0.4s ease,
    transform 0.4s ease,
    padding 0.4s ease;
  will-change: max-height, opacity, transform, padding;
}

.faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

.faq-item.open .faq-answer {
  max-height: 1000px;
  /* adjust for longest content */
  padding: 10px 0;
  opacity: 1;
  transform: scaleY(1);
}

/* =========================
   Responsive
   ========================= */
@media (max-width:768px) {
  .faq-question {
    padding: 20px;
    font-size: 14px;
  }

  .faq-answer p {
    font-size: 14px;
  }
}

@media (max-width:575px) {
  .faq-question .icon {
    font-size: 16px;
  }
}

/* =========================
   Ask Expert
   ========================= */
.ask_expert {
  background-image: url(../images-faq/expert.jpg);
  width: 100%;
  max-height: 200px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.ask_expert::before {
  content: "";
  position: absolute;
  background-color: #000;
  opacity: 0.5;
  width: 100%;
  height: 100%;
  top: 0;
}

.ask_expert .ask_expert_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 44px 0;
}

@media (max-width:768px) {
  .ask_expert .ask_expert_content {
    flex-direction: column;
    padding: 35px 0;
  }
}

.ask_expert .ask_expert_content .ask_expert_left {
  text-align: left;
  margin-bottom: 12px;
}

@media (max-width:768px) {
  .ask_expert .ask_expert_content .ask_expert_left {
    text-align: center;
  }
}

.ask_expert .ask_expert_content .ask_expert_left h3 {
  font-weight: 600;
  font-size: 48px;
  color: #FFFFFF;
}

@media (max-width:1199px) {
  .ask_expert .ask_expert_content .ask_expert_left h3 {
    font-size: 40px;
  }
}

@media (max-width:991px) {
  .ask_expert .ask_expert_content .ask_expert_left h3 {
    font-size: 32px;
  }
}

@media (max-width:575px) {
  .ask_expert .ask_expert_content .ask_expert_left h3 {
    font-size: 28px;
  }
}

.ask_expert .ask_expert_content .ask_expert_left p {
  font-weight: 400;
  font-size: 32px;
  color: #fff;
}

@media (max-width:1199px) {
  .ask_expert .ask_expert_content .ask_expert_left p {
    font-size: 26px;
  }
}

@media (max-width:991px) {
  .ask_expert .ask_expert_content .ask_expert_left p {
    font-size: 22px;
  }
}

@media (max-width:575px) {
  .ask_expert .ask_expert_content .ask_expert_left p {
    font-size: 20px;
  }
}

.ask_expert .ask_expert_content .ask_expert_right a {
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  color: #9D400C;
  background-color: #fff;
  border: 2px solid #fff;
  padding: 5px 10px;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
}

@media (max-width:991px) {
  .ask_expert .ask_expert_content .ask_expert_right a {
    font-size: 16px;
  }
}

@media (max-width:575px) {
  .ask_expert .ask_expert_content .ask_expert_right a {
    font-size: 14px;
  }
}

.ask_expert .ask_expert_content .ask_expert_right a:hover {
  background-color: transparent;
  color: #fff;
}

/* =========================
   Coftea FAQ Form
   ========================= */
.coftea_faq_form {
  padding: 60px 0;
  background-color: #fffbef;
}

.left-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.left-col img {
  width: 80px;
}

.left-col .form_para {
  font-weight: 500;
  font-size: 22px;
  color: #545353;
}

@media (max-width:768px) {
  .left-col .form_para {
    font-size: 19px;
  }
}

@media (max-width: 575px) {
  .left-col .form_para {
    font-size: 16px;
    line-height: 20px;
  }
}

.contact-info span {
  color: #000;
  font-weight: 600;
}

.right-col form {
  padding: 0 30px;
  border-radius: 10px;
}

@media (max-width:991px) {
  .right-col form {
    padding: 0;
  }
}

.right-col input,
.right-col textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 14px;
}

.right-col textarea {
  margin-bottom: 40px;
}

.right-col input:focus,
.right-col textarea:focus {
  outline: none;
}

.right-col form button {
  width: 100%;
  padding: 10px;
  background-color: #9D400C;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
  margin-top: 25px;
}

.right-col form button:hover {
  background-color: #c04e0c;
}

@media (max-width:991px) {
  .right-col {
    margin-top: 50px !important;
  }
}

.contact-info .contact_box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info .contact_box img {
  width: 28px;
}

.contact-info .contact_box p {
  font-size: 15px;
  font-weight: 400;
  margin: 0;
}

.contact-info .contact_box a {
  text-decoration: none;
  color: #545353;
}

.left-col .contact-info {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.right-col form h3 {
  font-weight: 500;
  font-size: 24px;
  color: #000000;
  margin-bottom: 5px;
}

.right-col form .col-lg-6:first-child {
  padding-right: 12px;
}

.right-col form .col-lg-6:last-child {
  padding-left: 12px;
}

@media(max-width:575px) {
  .left-col .contact-info {
    gap: 10px;
  }
}