.faq-container {
    width: 90%;
    max-width: 1200px; /* Added max-width for larger screens */
    margin: 0 auto; /* Center the container */
    padding: 20px; /* Added padding for better spacing */
    border-radius: 10px;
    overflow: hidden;
}

.faq-content {
    text-align: center;
}

.faq-content h1 {
    font-size: 20px;
    margin-bottom: 10px;
    color: orangered;
}

.faq-content h2 {
    font-size: 28px;
    color: white;
    font-weight: 400;
    font-size: 3.4vw;
}

.faq-content span {
    font-size: 28px;
    color: white;
    font-weight: 400;
    font-size: 3.4vw;
    line-height: 24px;
}

.faq-content h3 {
    font-size: 18px;
    font-weight: 400;
    color: white;
    margin-top: 10px;
}

.faq-list {
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

.faq-item {
    border-top: 1px solid #ccc;
    padding: 15px;
    cursor: pointer;
}

.faq-item:last-child {
    border-bottom: 1px solid #ccc;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.faq-icon {
    height: 70px; /* Reduced size for smaller screens */
    width: 70px; /* Reduced size for smaller screens */
    border-radius: 50%;
    border: 1px solid rgb(120, 120, 120);
    font-size: 20px; /* Reduced font size for smaller screens */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease-in-out;
}

.faq-item:hover .faq-icon {
    transform: rotate(120deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
}

.faq-answer p {
    text-align: left;
}

.faq-item.open .faq-answer {
    min-height: 50px;
    max-height: 800vh;
    opacity: 1;
}

.faq-item.open .faq-icon {
    transform: rotate(90deg);
    background-color: white;
    color: black;
}

.faq-item:hover .faq-icon {
    background-color: white;
    color: black;
}

.wrapper1 img {
    margin-top: 20px;
    height: 40vh; /* Reduced height for smaller screens */
    width: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.wrapper1 .overview {
    height: auto;
    width: 100%;
    margin-top: 20px;
    display: flex;
    flex-direction: column; /* Stack content vertically on smaller screens */
}

.wrapper1 .overview h1 {
    font-size: 24px; /* Reduced font size for smaller screens */
    color: white;
    margin-bottom: 20px;
    font-weight: 100;
    width: 100%; /* Full width on smaller screens */
    text-align: left;
}

.wrapper1 .overview .content {
    margin-left: 0; /* Remove margin for smaller screens */
    width: 100%; /* Full width on smaller screens */
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: column;
}

.wrapper1 .overview .content .content_i {
    display: flex;
    flex-direction: column; /* Stack content vertically on smaller screens */
    gap: 20px; /* Reduced gap for smaller screens */
    align-items: start;
    justify-content: start;
    width: 100%;
}

.wrapper1 .overview .content .content_i .first {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Reduced gap for smaller screens */
    width: 100%; /* Full width on smaller screens */
    align-items: start;
    justify-content: start;
}

.wrapper1 .overview .content .content_i .first span {
    font-size: 16px; /* Reduced font size for smaller screens */
    color: rgb(119, 114, 114);
    text-align: left;
}

.wrapper1 .overview .content .content_i .first p {
    font-size: 18px; /* Reduced font size for smaller screens */
    color: white;
    text-align: left;
    width: 100%; /* Full width on smaller screens */
}

.wrapper1 .overview .content .second {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: start;
    justify-content: start;
}

.wrapper1 .overview .content .second h2 {
    font-size: 22px; /* Reduced font size for smaller screens */
    color: white;
    text-align: left;
}

.wrapper1 .overview .content .second p {
    font-size: 16px; /* Reduced font size for smaller screens */
    color: white;
    line-height: 24px; /* Adjusted line height for smaller screens */
}

.wrapper1 .overview .content .second img {
    height: 40vh; /* Reduced height for smaller screens */
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Media Queries for Responsiveness */

@media only screen and (max-width: 768px) {
    .faq-content h2,
    .faq-content span {
        font-size: 24px; /* Adjusted font size for smaller screens */
    }

    .faq-icon {
        height: 40px; /* Further reduced size for smaller screens */
        width: 40px; /* Further reduced size for smaller screens */
        font-size: 18px; /* Further reduced font size for smaller screens */
    }

    .wrapper1 img {
        height: 30vh; /* Further reduced height for smaller screens */
    }

    .wrapper1 .overview h1 {
        font-size: 20px; /* Further reduced font size for smaller screens */
    }

    .wrapper1 .overview .content .content_i .first span {
        font-size: 14px; /* Further reduced font size for smaller screens */
    }

    .wrapper1 .overview .content .content_i .first p {
        font-size: 16px; /* Further reduced font size for smaller screens */
    }

    .wrapper1 .overview .content .second h2 {
        font-size: 20px; /* Further reduced font size for smaller screens */
    }

    .wrapper1 .overview .content .second p {
        font-size: 14px; /* Further reduced font size for smaller screens */
        line-height: 20px; /* Adjusted line height for smaller screens */
    }
}

@media only screen and (max-width: 480px) {
    .faq-content h2,
    .faq-content span {
        font-size: 20px; /* Adjusted font size for very small screens */
    }

    .faq-icon {
        height: 60px; /* Further reduced size for very small screens */
        width: 60px; /* Further reduced size for very small screens */
        font-size: 16px; /* Further reduced font size for very small screens */
    }

    .wrapper1 img {
        height: 25vh; /* Further reduced height for very small screens */
    }

    .wrapper1 .overview h1 {
        font-size: 18px; /* Further reduced font size for very small screens */
    }

    .wrapper1 .overview .content .content_i .first span {
        font-size: 12px; /* Further reduced font size for very small screens */
    }

    .wrapper1 .overview .content .content_i .first p {
        font-size: 14px; /* Further reduced font size for very small screens */
    }

    .wrapper1 .overview .content .second h2 {
        font-size: 18px; /* Further reduced font size for very small screens */
    }

    .wrapper1 .overview .content .second p {
        font-size: 12px; /* Further reduced font size for very small screens */
        line-height: 18px; /* Adjusted line height for very small screens */
    }
}