.bg-claims {
  width: 100%;
  height: clamp(1px, 53.5vw, 1988px);
  background-image: url("../../images/custom/Claims and Support/bg-claim.png");
  background-repeat: no-repeat;
  background-size: cover;
}

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

.claims-form-text {
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 2px solid #076abd !important;
  background-color: transparent !important;
  margin-top: -1rem !important;
}

.submit-btn {
  background-color: transparent !important;
  margin-top: 1rem !important;
}

.claim-arrow {
  width: auto;
  height: clamp(1px, 13.021vw, 450px);
  position: relative;
}

.claim-arrow-sm {
  width: auto;
  height: clamp(1px, 25.021vw, 450px);
  position: relative;
  margin-top: -180px;
}

.arrow-head {
  position: absolute;
  top: 0;
  width: auto;
  height: 100%;
}

.arrow-dash{
  position: absolute;
  top: clamp(1px, 4vw, 70px);
  right: clamp(1px, 5vw, 60px);
  width: auto;
  height: 60%;
}
.animation-icon {
  width: clamp(1px, 52.761vw, 2026px);
}
/* stars */

.star-icon {
  width: clamp(1px, 10vw, 106px);
  height: auto;
}

.star-anim {
  width: clamp(1px, 10.8vw, 130px);
  height: auto;
  position: absolute;
}

.border-white {
  border: 1px solid white;
  margin-left: 1rem;
}

.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: #333333 !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;
}

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

@media (max-width: 991px) {
  .accordion-padding {
    padding-left: 0rem !important;
    padding-right: 0rem !important;
  }
}

#form {
  scroll-margin-top: 100px; 
}

#faqs {
  scroll-margin-top: 100px; 
}

/* contact form */

.claims-form input:-webkit-autofill,
.claims-form textarea:-webkit-autofill,
.claims-form 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; 
}

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

.claims-form input {
  width: 100%;
  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: fit-content;
    margin: 0 !important;
}

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

.claims-form input:focus,
.claims-form 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: 2px 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;
}

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

.claims-form 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 */
.claims-form div:focus-within label,
.claims-form input:not(:placeholder-shown) + label,
.claims-form 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 */
.claims-form input:focus + label,
.claims-form textarea:focus + label,
.claims-form input.filled + label,
.claims-form textarea.filled + label {
  opacity: 1 !important;
  animation: bounce 0.5s;
}

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

.arrow-bounce {
  animation: bounce-subtle 2s infinite ease-in-out;
}

@keyframes bounce-subtle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* pagination in FAQs */

.pagination-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 300px; /* Adjust width as needed */
}

.pagination-arrow {
  font-size: 24px;
  text-decoration: none;
  color: black;
  cursor: pointer;
  transition: color 0.3s;
}

.pagination-arrow:hover {
  color: #888;
}

.pagination-arrow.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* Progress bar styles */
.progress-bar-container {
  flex-grow: 1;
  margin: 0 10px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: #ccc;
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: black;
  transition: width 0.3s ease-in-out;
}

@media (max-width: 767px) {
  .bg-claims {
    height: 100%;
  }

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

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

  .submit-btn {
    text-align: center !important;
  }

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

  .bg-claims {
    padding-bottom: 0px;
  }
}
