.faq-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 80px 20px 80px;
    min-height: 85vh;
}

.faq-sidebar {
    flex: 1;
    position: relative;
    padding: 20px;
    min-width: 260px;
    max-width: 350px;
}

.faq-sidebar ul {
    list-style-type: none;
    padding: 0;
    width: 85%;
}

.faq-sidebar ul li {
    margin-bottom: 10px;
}

.faq-sidebar ul li a {
    display: block;
    padding: 12px 30px;
    border-radius: 50px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.faq-sidebar ul li a:hover,
.faq-sidebar ul li.active a {
    background-color: #491e0b;
    color: #fff;
    font-weight: 400;
}

.faq-content {
    flex: 4;
    border-radius: 15px;
    padding: 20px 0 20px 60px;
    width: 100%;
}

.faq-header {
    font-size: 22px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.faq-header svg {
    margin-left: 20px;
    width: 60px;
    height: auto;
}

.faq-category-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #491e0b;
}

.faq-accordion {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.faq-accordion-item {
    border-bottom: 1px solid #ddd;
}

.faq-accordion-header {
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    background-color: #f2f2f2;
}

.faq-accordion-header:hover {
    background-color: #dcdcdc;
}

.faq-accordion-header span {
    font-size: 14px;
    font-weight: 500;
    color: #491e0b;
}

.faq-accordion-header svg {
    /* transform: rotate(0deg);
    transition: transform 0.3s ease; */
    color: #491e0b;
    margin-right: 15px;
}

.faq-accordion-content {
    display: none;
    padding: 15px;
    background-color: #f2f2f2;
    max-width: 100%;
    overflow: hidden;
}

.faq-accordion-content p {
    margin: 0;
    font-size: 12px;
    color: #666;
    padding: 0px 10px 0px 35px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.faq-accordion-item.active .faq-accordion-content {
    display: block;
}

/* .faq-accordion-item.active .faq-accordion-header svg {
    transform: rotate(45deg);
} */

.faq-container .line-right {
    border-right: 1px solid rgba(15, 15, 15, 0.2);
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
}

.faq-container .line-bottom {
    border-bottom: 1px solid rgba(15, 15, 15, 0.2);
    width: 100%;
    margin-bottom: 35px;
    margin-top: 20px;
}

.faq-sidebar {
    position: relative;
}

.faq-menu {
    list-style-type: none;
    padding: 0;
    display: block;
    transition: max-height 0.3s ease;
    max-height: 500px;
    overflow: hidden;
    padding-right: 20px;
    margin-top: 48px;
}

.faq-menu.open {
    max-height: 0;
}

.faq-menu-header {
    display: none;
}

.toggle-btn {
    display: none;
}

.faq-icon {
    width: 25px;
    position: absolute;
    margin-top: -30px;
    margin-left: -17px;
}

.faq-question-icon {
    width: 50px;
    margin-top: -30px;
    margin-left: 15px;
}

@media (max-width: 1000px) {
    .faq-container {
        flex-direction: column;
        padding: 0px;
    }

    .faq-menu.open {
        max-height: 0;
    }

    .faq-menu-header {
        display: block;
        font-size: 20px;
        font-weight: 600;
        display: flex;
        border-bottom: 1px solid #b7b7b7;
        color: #491e0b;
        padding: 20px !important;
    }

    .toggle-btn {
        display: block;
        background: none;
        border: none;
        font-size: 16px;
        cursor: pointer;
        margin-bottom: 10px;
        float: right;
        margin-left: auto;
        margin-right: 0;
        color: #491e0b;
    }

    .faq-menu {
        max-height: 0;
    }

    .faq-menu.open {
        max-height: 500px;
        width: 100%;
    }

    .faq-menu-header {
        padding: 0px 20px 20px 25px !important;
    }

    .faq-sidebar {
        padding-right: 0;
        margin-bottom: 0px;
        height: fit-content;
        flex: none;
    }

    .line-right {
        display: none;
    }

    .faq-sidebar ul li a {
        border-radius: 0;
        font-weight: normal;
        text-align: left !important;
    }

    .faq-sidebar ul li a:hover,
    .faq-sidebar ul li.active a {
        background-color: #f7f7f7;
        color: #491e0b;
    }

    .faq-sidebar ul li {
        margin-bottom: 0px;
        padding: 8px 15px;
        background-color: #f7f7f7;
        border-bottom: 1px solid #dedede;
        color: #491e0b !important;
    }

    .faq-content {
        padding: 10px 25px;
    }

    .faq-header {
        font-size: 20px;
        text-align: left;
        color: #491e0b;
    }

    .faq-header svg {
        width: 45px;
        height: auto;
        margin-left: 15px;
    }

    .faq-accordion {
        margin-top: 30px;
    }

    .faq-accordion-header {
        padding: 10px;
    }

    .faq-accordion-content {
        padding: 10px;
    }

    .faq-sidebar ul li a {
        text-align: center;
    }

    .faq-question-icon {
        order: -1;
        width: 32px;
        margin-left: 0px;
        margin-top: 0px;
        margin-right: 5px;
    }
    .faq-icon {
        order: 2;
        position: unset;
        transform: scaleX(-1);
        width: 20px;
        margin-left: -10px;
        margin-top: -20px;
    }
}

@media (max-width: 480px) {
    .faq-header {
        font-size: 18px;
    }

    .faq-sidebar ul li a {
        padding: 8px;
        font-size: 12px;
    }

    .faq-accordion-header {
        padding: 8px;
    }

    .faq-accordion-content p {
        font-size: 12px;
    }
}

/* Profile page styles*/
.profile-container {
    display: flex;
    margin: 0 auto;
    padding: 0px 80px;
}

.profile-content {
    flex: 4;
    padding: 00px 0px 20px 60px;
    width: 100%;
}

.profile-content img {
    width: 50px;
    height: auto;
    margin-left: -30px;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    background-color: #ede9e6;
    border-radius: 20px;
    position: relative;
    margin-bottom: 40px;
}

.profile-header h1 {
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

.profile-header p {
    color: #000;
    margin-top: 10px;
    padding-right: 300px;
}

.profile-header img {
    height: 200px;
    width: auto;
    object-fit: contain;
    position: absolute;
    right: 0;
    top: -50px;
}

.profile-details h2 {
    font-size: 22px;
    font-weight: 600;
    color: #491e0b;
    text-transform: none;
    margin-top: 5px;
}

.profile-details h2 img {
    width: 45px;
    height: auto;
    margin-top: -10px;
    margin-left: 5px;
}

.edit-button img {
    width: 22px;
    height: auto;
    margin-right: 5px;
    margin-top: -10px;
}

.edit-btn {
    float: right;
    padding: 10px 0px;
    width: 160px;
    height: auto;
    border: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    display: flex;
    font-size: 10pt;
    position: relative;
    transition: all 0.3s ease;
    background-color: transparent;
    text-decoration: none !important;
}

.edit-btn i {
    position: relative;
    top: 0px;
    left: 0px;
    font-weight: 500;
    color: #ffffff;
    font-style: normal;
    z-index: 4;
}

.edit-btn::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: 2px solid #491e0b;
    transition: all 0.3s ease;
    z-index: 5;
}

.edit-btn::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-color: #fbaf31;
    z-index: 2;
}

.edit-btn:hover::before {
    top: 0px;
    left: 0px;
    text-decoration: none !important;
}

.edit-btn-mobile {
    display: none;
}

.profile-details-header {
    margin-bottom: -20px;
}

.profile-details ul {
    border-top: 1px solid #b7b7b7;
    list-style-type: none;
    padding: 0;
    padding-top: 20px;
}

.profile-details ul li {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.profile-details ul li span {
    font-size: 14px;
    color: #86868b;
    font-weight: 500;
    margin-right: 20px;
    width: 150px;
}

.profile-details ul li strong {
    color: #0f0f0f;
    font-size: 14px;
}

.profile-container .line-right {
    border-right: 1px solid rgba(15, 15, 15, 0.2);
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
}

.email-link {
    color: #fbaf31;
    text-decoration: none;
}

@media (max-width: 1122px) {
    .profile-container {
        flex-direction: column;
        padding: 0;
        width: 100% !important;
    }

    .profile-content {
        margin: 0;
        padding: 0px 30px;
        overflow-x: hidden;
    }

    .profile-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }

    .profile-header img {
        position: static;
        margin-top: 20px;
        height: 100px;
        align-self: center;
    }

    .profile-header h1 {
        text-align: left;
    }

    .profile-header p {
        text-align: left;
        padding: 0;
    }

    .profile-header img {
        width: 200px;
        height: auto;
        margin-left: auto;
    }

    .profile-details-header {
        margin-bottom: 10px;
        flex-direction: row;
    }

    .profile-details ul li span,
    .profile-details ul li strong {
        font-size: 14px;
    }

    .profile-details ul li span {
        width: 80px;
    }

    .edit-btn,
    .edit-button .bling-img {
        display: none;
    }

    .edit-btn-mobile {
        display: inline-block;
        margin-top: 16px;
    }
}

@media (max-width: 480px) {
    .profile-header h1 {
        font-size: 20px;
    }

    .profile-header p {
        font-size: 14px;
    }

    .profile-details h2 {
        font-size: 18px;
    }

    .profile-details ul li span,
    .profile-details ul li strong {
        font-size: 13px;
    }
}
