.faq-container {
    display: flex;
    position: relative;
}

.faq-categories-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
    max-height: calc(100vh - 40px); 
    overflow-y: auto;
    padding-right: 15px;
    flex: 0 0 250px;
}

.faq-content {
    flex: 1;
    overflow-y: auto;
    margin-left: 42px;
}


.faq-section {
    padding-top: 20px;
    margin-bottom: 40px;
    display: block;
}

.faq-category-item.faq-active {
    background-color: #f5f5f5;
    font-weight: bold;
}

.faq-section {
    padding-top: 20px;
    margin-bottom: 40px;
    display: block; 
}


.faq-category-item.faq-active {
    background-color: #f5f5f5;
    font-weight: bold;
}


.faq-category-item a {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.faq-category-item a img {
    margin-right: 10px;
}

.faq-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    color: #333;
}


.faq-categories-sidebar {
    width: 250px;
    background-color: #fff;
    padding: 20px 0 0 0;
    border: 2px solid #e2e0e0;
}
.faq-categories-sidebar h2 {
    color: #e91e63;
    font-size: 24px;
    padding: 0 15px 10px;
    margin: 0 0 10px;
}

.faq-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-category-item {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    cursor: pointer;
    transition: background-color 0.faq-2s;
    border-bottom: 2px solid #e2e0e0;
}

.faq-category-item-first {
    border-top: 2px solid #e2e0e0;
}

.faq-category-item-last {
    border-bottom: 0px solid #e2e0e0;
}

.faq-category-item img {
    width: 42px;
    height: 42px;
}

.faq-category-item.faq-active {
    background-color: #fff0f5;
    border-left: 3px solid #e91e63;
}

.faq-category-item:hover {
    background-color: #f9f9f9;
}

.faq-section {
    display: none;
    margin-bottom: 30px;
}

.faq-section.faq-active {
    display: block;
}

.faq-section-title {
    font-size: 24px;
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: #595959;
    font-weight: bold;
}

.faq-section-title img {
    width: 52px;
    height: 52px;
    margin-right: 10px;
}

/* Question/Answer styling */
.faq-question {
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
    border-bottom: 2px solid #e2e0e0
}

.faq-answer-text {
    color: #595959;
    font-weight: 600;
}

.faq-question-header {
    display: flex;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    background-color: #fff;
    position: relative;
}

.faq-question-icon, .faq-answer-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 40px;
    flex-shrink: 0;
    font-weight: bold;
}

.faq-answer-icon img {
    width: 52px;
    height: 52px;
}

.faq-question-icon img {
    width: 52px;
    height: 52px;

}

.faq-question-icon {
    background-color: #e91e63;
    color: white;
}

.faq-answer-icon {
    background-color: #666;
    color: white;
}

.faq-question-text {
    flex: 1;
    color: #595959;
    font-weight: 600;
}

.faq-toggle-icon {
    margin-left: 10px;
    font-size: 24px;
    color: #e91e63;
    font-weight: bold;
    transition: transform 0.faq-3s;
    user-select: none;

}

.faq-question-header[aria-expanded="true"] .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-question-answer {
    padding: 15px;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column ;
    align-items: flex-start;
    border-top: 1px solid #f0f0f0;
}



.faq-question-header[aria-expanded="true"] .faq-toggle-icon::after {
    transform: rotate(0);
}

.faq-collapse:not(.faq-show) {
    display: none;
}

.faq-category-item span{
    font-size: 14px;
    font-weight: 700;
    color: #595959;
}

.faq-answer-container {
    display: flex;
    margin-top: 24px;
    align-items: center;
    padding: 16px 8px;
}
.faq-section {
    padding-top: 20px;
    margin-bottom: 40px;
    display: block;
}

.faq-category-item.faq-active {
    background-color: #f5f5f5;
    font-weight: bold;
}
.faq-container {
	display: flex;
	align-items: flex-start;
	gap: 2rem;
}

.faq-categories-sidebar {
	width: 250px;
	flex-shrink: 0;
	position: sticky;
	top: 4rem;
}

.faq-content {
	flex-grow: 1;
}

.faq-content-container {
    width: 100%;
    justify-content: center;
    align-items: center;
}
@media (max-width: 768px) {
	.faq-container {
		display: flex;
		flex-direction: column;
		height: 100vh; /* full screen */
		overflow: hidden;
        gap:0;
	}

	.faq-categories-sidebar {
		width: 100%;
		position: sticky;
		top: 0;
		z-index: 10;
		background-color: white;
		padding: 10px 10px 0;
		border: none;
		box-shadow: 0 2px 4px rgba(0,0,0,0.faq-05);
	}

	.faq-content {
		flex: 1;
		overflow-y: auto;
		padding: 10px 0px;
        width: 90%;
        margin-left: 18px;
        display: flex;
        flex-direction: column;
        width: 100%;
	}

	.faq-category-list {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 0.faq-5rem;
		margin: 0;
	}

	.faq-category-item {
		flex: 1 1 30%;
		min-width: 100px;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 0.faq-3rem 0.faq-5rem;
		border: 1px solid #ccc;
		border-radius: 6px;
		background-color: #f9f9f9;
		font-size: 0.faq-85rem;
	}

	.faq-category-item a {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		text-align: center;
		gap: 0.faq-2rem;
		color: #333;
		text-decoration: none;
		width: 100%;
        padding: 0px;
	}

	.faq-category-item img {
		width: 32px;
		height: 32px;
	}

    .faq-category-item {
        margin: 6px;

    }

	.faq-category-item.faq-active  {
		background-color: #fff0f5;
		border-left: none;
		border-top: 2px solid #e91e63;
	}

    .faq-section-title {
        font-size: 18px;
    }

    .faq-section{
        padding: 0px;

    }

    .faq-toggle-icon {
        font-size: 18px;
    }

    .faq-question-icon img {
        width: 34px;
        height: 40px;
    }
    .faq-answer-icon img {
        width: 34px;
        height: 40px;
    }

    .faq-answer-container {
        margin-top: 12px;
        padding: 8px 0px;
    }
    .faq-content-container {
        overflow-y: auto;
        width: 90%;
    }

    .faq-categories-sidebar {
        flex: none;
    }
    .faq-section-title img {
        width: 38px;
        height: 38px;
    }

    .faq-question-icon, .faq-answer-icon {
        margin-right: 16px;
    }
    
}
