.faqs-bg {
  width: 100%;
  height: auto;
  background-image: url("../../images/custom/Faqs/banner.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.c-start-icon {
  position: relative;
  width: clamp(1px, 34vw, 640px);
  height: clamp(1px,23vw, 440px);
}

.c-start-icon img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #076abd !important;
  background-color: transparent !important;
  font-family: Aeonik Medium !important;
}

.sticky-nav {
  position: sticky;
  top: clamp(1px, 7vw, 200px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.fixed-nav {
  position: fixed;
  top: clamp(1px, 7vw, 120px);
  width: 18%; 
}

#scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  cursor: pointer;
  display: flex; 
  align-items: center;
  justify-content: center;
  background: none; 
  border: none; 
  padding: 0; 
}

#scrollToTopBtn img {
  width: 65px !important;
  height: 65px !important;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' fill='currentColor' class='bi bi-plus' viewBox='0 0 16 16'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
  transition: all 0.5s;
  font-size: clamp(1px, 1.15vw, 22px) !important;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' fill='currentColor' class='bi bi-dash' viewBox='0 0 16 16'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E");

}

.accordion-button:not(.collapsed){
  color: black !important;
  box-shadow: 0 0 0 0 transparent; 
  border-bottom: 1px solid gray !important;
}

.accordion-button {
  background-color: transparent !important;
  border: none !important;
  border-radius: 0% !important;
  padding: 10px 0;
}

.accordion-body{
  padding: 10px 0;
}

.accordion-item {
  background-color: transparent !important;
  border: none !important;
  transition: all 0.5s;
  border-radius: 0% !important;
  border-bottom: 1px solid gray !important;
}

/* faqs form */
.contact-label input {
  width: clamp(1px, 32.813vw, 1260px);
  height: clamp(1px, 3.386vw, 130px);
  margin: 0;
  border: none;
  background-color: transparent !important;
  border-bottom: clamp(1px, 0.2vw, 4px) solid #076abd;
  padding: 0px 5px;
}

.wpcf7-submit {
    background: transparent;
    width: clamp(1px, 8.8542vw, 340px);
    height: clamp(1px, 2.865vw, 110px);
    border: clamp(1px, 0.2vw, 6px) solid #076ABD;
    border-radius: 100px;
    padding: 0 !important;
}

.form-btn p {
    position: relative;
    width: 100%;
    margin: 0 !important;
}

.wpcf7-submit:hover {
    background-color: #076abd;
    border: clamp(1px, 0.2vw, 6px) solid #076abd;
    color: white !important;
}

.contact-label input:focus,
.contact-label input:focus-visible {
  outline: none;
  box-shadow: none;
}

textarea {
  width: clamp(1px, 32.813vw, 1260px);
  min-height: clamp(1px, 3.6vw, 140px);
  border: none;
  background-color: transparent !important;
  border-bottom: clamp(1px, 0.2vw, 4px) solid #076abd;
  padding: clamp(1px, 1.1vw, 40px) 5px;
  margin: 0;
  max-height: clamp(1px, 3.6vw, 140px);
  transition: max-height 0.2s ease;
}

textarea:focus,
textarea:focus-visible {
  outline: none;
  box-shadow: none;
  max-height: clamp(1px, 10.5vw, 400px);
  border-bottom: 2px solid #076abd;
}

.contact-label label {
  color: #076abd !important;
  padding-top: 6px;
}

.contact-label label {
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

@keyframes bounce {
  0% {
    transform: translateY(100%) scale(1);
  }

  80% {
    transform: translateY(0%) scale(1);
  }

  100% {
    transform: translateY(0%) scale(1.05);
  }
}

/* Ensure the label becomes visible when input is focused or filled */
.contact-label div:focus-within label,
.contact-label input:not(:placeholder-shown) + label,
.contact-label textarea:not(:placeholder-shown) + label {
  opacity: 1 !important;
  animation: bounce 0.5s;
}

/* For input and textarea, hide placeholder when filled or focused */
input:focus::placeholder,
textarea:focus::placeholder,
input:not(:placeholder-shown)::placeholder,
textarea:not(:placeholder-shown)::placeholder {
  opacity: 0;
  animation: bounce 0.5s;
}

/* When the input or textarea is focused, show the label */
.contact-label input:focus + label,
.contact-label textarea:focus + label,
.contact-label input.filled + label,
.contact-label textarea.filled + label {
  opacity: 1 !important;
  animation: bounce 0.5s;
}

.contact-label div.focused label,
.contact-label div.filled label {
  opacity: 1 !important;
}

.contact-label :-webkit-autofill,
.contact-label textarea:-webkit-autofill,
.contact-label select:-webkit-autofill {
  background-color: transparent !important;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: #333333 !important;
  caret-color: #333333 !important;
  transition: background-color 5000s ease-in-out 0s; 
}

.contact-label input:focus,
.contact-label textarea:focus {
  outline: none;
  background-color: transparent !important;
}

.con-container {
    width: clamp(1px, 33.1771vw, 1274px);
}

.animation-icon,
.mail-animation {
  position: relative;
}

.animation-icon img {
  width: clamp(1px, 57.292vw, 2200px);
  height: 100%;
}

.con-icon {
  position: absolute;
  top: 0;
  left: 0;
}

.mail-animation img {
  width: clamp(1px, 24.896vw, 956px);
  height: 100%;
}

.mail-animation-sm img {
  width: auto;
  height: clamp(1px, 15.021vw, 450px);
  position: relative;
}

.mail-icon-sm {
  width: auto;
  height: clamp(1px, 7vw, 450px) !important;
  position: relative;
}

.mail-icon {
  position: absolute;
  top: 0;
  left: 0;
}

.faq-question, .faq-answer{
	color: #333333 !important;
	text-decoration: none !important;
	-webkit-user-select: text !important; /* Allow text selection */
    user-select: text !important;
}

@media (max-width: 767px) {
  .sticky-nav {
    position: sticky;
    top: clamp(1px, 7vw, 200px);
    z-index: 1000;
    transition: all 0.3s ease;
  }
  
  .fixed-nav {
    position: fixed;
    top: clamp(1px, 15vw, 120px);
    width: 80%;
    background-color: white;
  }

  .accordion-button:not(.collapsed){
    color: #333333;
  }

  .contact-label input {
    width: 100%;
    height: clamp(1px, 12.096vw, 65px);
  }

  textarea {
    width: 100%;
    min-height: clamp(1px, 12.096vw, 70px);
  }

  .wpcf7-submit {
    width: clamp(1px, 30.931vw, 170px);
    height: clamp(1px, 11.63vw, 50px) !important;
    border: clamp(1px, 0.6vw, 3px) solid #076abd;
  }
}

/* ===== 1. Disable Safari's automatic link styling ===== */
.faq-item,
.faq-question,
.faq-answer,
.faq-question *,
.faq-answer * {
    color: #333333 !important;
    text-decoration: none !important;
    -webkit-text-fill-color: #333333 !important; 
    -webkit-tap-highlight-color: transparent !important; 
}

.faq-item a[href^="tel"],
.faq-item a[href^="mailto"] {
    color: #333333 !important;
    text-decoration: none !important;
}

@supports (-webkit-touch-callout: none) {
    .faq-question,
    .faq-answer {
        -webkit-text-fill-color: #333333 !important;
        -webkit-user-select: text !important; 
    }
}