/* Background covering full width */
.background-wrapper {
    background-color: #11151c;
    width: 100vw;
}

/* Content wrapper centered with limited width */
.content-wrapper {
    max-width: 80vw; /* Adjusted for view width */
    margin: 0 auto;
    padding: 2vh; /* Adjusted padding for view height */
}

/* Layout for FAQ and form side-by-side */
.faq-and-form-container {
    display: grid;
    grid-template-columns: 2fr 1fr; /* FAQ takes 2/3, form takes 1/3 */
    gap: 2vh; /* Space between the FAQ and form */
    align-items: flex-start; /* Aligns form and FAQ at the top */
}

/* Styling for the FAQ Section */
.faq-main {
    padding: 2vh; /* Remove padding to align with the form */
    color: #f8f0ed;
}

.faq-main .container {
    max-width: 100vw;
    margin: auto;
}

/* FAQ heading styles */
.faq-main h1 {
    font-size: 5vh; /* Adjusted to view height */
    color: #A68463;
    text-align: center;
    border-bottom: 0.3vh solid #A68463;
    padding-bottom: 1vh;
    margin-bottom: 3vh;
}

.faq-main h2 {
    font-size: 3vh; /* Adjusted to view height */
    color: #A68463;
    margin-top: 3vh;
    margin-bottom: 2vh;
}

/* FAQ Items */
.faq-item {
    margin-bottom: 2vh;

}

.faq-question {
    background-color: #A68463;
    color: #11151c;
    border: none;
    width: 90%;
    text-align: left;
    border-radius: 1vh;
    padding: 2vh;
    font-size: 2.5vh;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background-color: #e5ab71;
}

.faq-question.active {
    background-color: #e5ab71;
}

.faq-answer {
    max-height: 0;
    width: 90%;
    overflow: hidden;
    padding: 0 1vh;
    background-color: #282c34;
    color: #f8f0ed;
    border-left: 0.5vh solid #A68463;
    font-size: 1.8vh; /* Adjusted to view height */
    line-height: 1.5;
    margin-top: 1vh;    
    text-align: justify;
    transition: max-height 0.3s ease;
}

/* Arrow Icon Styling */
.arrow-icon {
    transition: transform 0.3s ease;
}

.arrow-icon i.rotate {
    transform: rotate(180deg);
}

/* Callback Form Styling */
.callback-form-section {
    text-align: center;
    padding: 3vh;
    border: 0.5vh solid #A68463; /* Adjusted for view height */
    border-radius: 3vh;
    background-color: rgba(0, 0, 0, 0.7);
    position: sticky; /* Make the form sticky */
    margin-top: 20vh;
    top: 2vh; /* The form will stick 2vh from the top of the viewport */
}

.callback-form-section h2 {
    font-size: 3vh; /* Adjusted to view height */
    color: white;
    letter-spacing: .1vh;
    margin-bottom: 3vh;
}

.callback-form-section form {
    display: flex;
    gap: 1.5vh;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

/* Input fields styling */
.callback-form-section input[type="text"],
.callback-form-section input[type="tel"] {
    padding: 1.5vh;
    border: 0.3vh solid #A68463;
    border-radius: 3vh;
    width: 40vh; /* Full width for better responsiveness */
    font-size: 2vh;
    color: black;
}

/* Send button styling */
.send-btn {
    padding: 1.5vh 3vh;
    border: 0.3vh solid #A68463;
    border-radius: 3vh;
    width: 40vh;
    background-color: rgba(166, 132, 99, 0.5);
    color: white;
    font-size: 2vh;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.send-btn:hover {
    background-color: #A68463;
    color: black;
}
@media (max-width: 2400px) {
    .faq-question {
        width: 100%
    }
    .faq-answer {
        width: 100%;
        letter-spacing: 0.15vw;
    }

}
@media (max-width: 1920px) {
    .faq-question {
        width: 95%
    }
    .faq-answer {
        width: 95%;
        letter-spacing: 0.15vw;
    }

}
@media (max-width: 1337px) {
    .content-wrapper {
        max-width: 90vw; /* Adjusted for view width */
        margin: 0 auto;
        padding: 2vh; /* Adjusted padding for view height */
    }
    .faq-question {
        width: 100%;
    }
    .faq-answer {
        width: 100%;
        letter-spacing: .4vh;
    }

}
@media (max-width: 1280px) {
    .faq-question {
        width: 100%;
    }
    .faq-answer {
        width: 100%;
        letter-spacing: .3vh;
    }

}
@media (max-width: 1024px) {
    .content-wrapper {
        max-width: 90vw; /* Adjusted for view width */
        margin: 0 auto;
        padding: 2vh; /* Adjusted padding for view height */
    }
    .faq-question {
        width: 100%;
    }
    .faq-answer {
        width: 100%;
    }
    .callback-form-section {
        width: 90%;
        padding: 2vh;
    }
    .callback-form-section h2 {
        font-size: 2.5vh; /* Adjusted to view height */
        color: white;
        letter-spacing: .1vh;
        margin-bottom: 3vh;
    }
    .callback-form-section input[type="text"],
    .callback-form-section input[type="tel"] {
        width: 100%;
    }
    .send-btn {
        width: 100%;
    }

}
/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        max-width: 90vw; /* Adjusted for view width */
        margin: 0 auto;
        padding: 2vh; /* Adjusted padding for view height */
    }
    
    .faq-and-form-container {
        grid-template-columns: 1fr; /* Stack form and FAQ vertically */
    }

    .callback-form-section {
        width: 50%;
        padding: 2vh;
        margin-top: 2vh; /* Add space on top when form is below FAQ */
        margin: auto;
        position: static; /* Remove sticky on smaller screens */
    }
    .callback-form-section h2 {
        font-size: 2.5vh; /* Adjusted to view height */
        color: white;
        letter-spacing: .1vh;
        margin-bottom: 3vh;
    }

    .callback-form-section input[type="text"],
    .callback-form-section input[type="tel"] {
        width: 100%; /* Full-width for input fields */
    }

    .send-btn {
        width: 70%; /* Full-width button */
    }
}
@media (max-width: 601px) {

}

@media (max-width: 480px) {
    .content-wrapper {
        max-width: 100vw; /* Adjusted for view width */
        margin: 0 auto;
        padding: 2vh; /* Adjusted padding for view height */
    }
    .faq-main h1 {
        font-size: 4vh;
    }

    .faq-main h2 {
        font-size: 3vh;
    }

    .faq-question {
        font-size: 2vh;
    }
    .faq-answer {
        letter-spacing: 0.2vh;
        font-size: 2vh;
    }
    .callback-form-section {
        width: 90%;
        padding: 3vh;
    }

    .callback-form-section input[type="text"],
    .callback-form-section input[type="tel"] {
        width: 100%;
        margin-bottom: 2vh; /* Space between inputs */
    }

    .send-btn {
        width: 100%;
    }
}

@media (max-width: 414px) {

}
@media (max-width: 360px) {

}
