.faq {
    counter-reset: faq-counter;
}

.faq-question {
    font-size: 22px;
    display: flex;
    align-items: center;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(99deg, #616161 0, #fff0 50%);
    background-size: 200% 100%;
    background-position-x: 100%;
    transition: background-position .8s cubic-bezier(.25, .1, .14, .91);
}

.toggle-container:hover .faq-question {
    background-position-x: 0;
}

.faq-question::before {
    font-size: 22px;
    counter-increment: faq-counter;
    content: counter(faq-counter, decimal-leading-zero);
    margin-right: 1.5rem;
    flex-shrink: 0;
    color: #999;
    background: none;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: initial;
}

.faq-question span {
    display: inline-block;
}

.faq-item {
    margin-bottom: 24px;
}

.toggle-container {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.toggle-container.active {
    border-bottom: 1px solid #282828;
}

.arrow {
    font-size: 24px;
    margin-top: -4px;
}

.toggle-container .arrow {
    position: relative;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.toggle-container.active .arrow {
    transform: rotate(180deg);
}

.toggle-content {
    margin-top: 8px;
    padding-left: 52px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

.form-control,
.form-control:focus {
    background-color: transparent;
    color: white;
    border: none;
    border-bottom: 1px solid #282828;
    border-radius: 0;
    box-shadow: none;
}

.form-control::placeholder {
    color: #b6b6b6;
    opacity: 0.5;
    font-weight: 100;
}

/* Custom dropdown arrow for select elements */
select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23b6b6b6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select.form-control:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

a {
    color: #fff;
}

ul {
    color: #b6b6b6;
}

.contact-form-container {
    background-color: #191919;
    /* display: flex;
    flex-direction: column;
    justify-content: center; */
    height: 636px;
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
    border-color: #282828;
    background-image: none;
}

.form-control.is-invalid:focus,
.was-validated .form-control:invalid:focus {
    border-color: #282828;
    box-shadow: none;
}

.warranty-form-container {
    background-color: #191919;
    padding: 48px 24px;
}

.recaptcha-wrapper {
    display: inline-block;
}

/* Custom File Input Styling */
.custom-file-wrapper {
    position: relative;
    width: 100%;
}

.custom-file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.custom-file-button {
    width: 100%;
    background-color: transparent;
    color: #b6b6b6;
    border: none;
    border-bottom: 1px solid #282828;
    border-radius: 0;
    padding: 0.375rem 0;
    text-align: left;
    font-weight: 100;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    padding-left: 12px;
}

.custom-file-button:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.file-text {
    opacity: 0.5;
}

.file-name {
    color: #fff;
    opacity: 1;
}

.proof-of-purchase-info {
    text-align: right;
    font-size: 12px;
    color: #b6b6b6;
    opacity: 0.5;
    font-weight: 100;
}

@media only screen and (max-width: 1399px) {
    .contact-form-container {
        height: 655px;
    }
}

@media only screen and (max-width: 1199px) {
    .contact-form-container {
        height: 710px;
    }
}

@media only screen and (max-width: 991px) {
    .contact-form-container {
        height: auto;
        padding: 48px 24px;
    }
}
