* {
    margin: 0;
    padding: 0;
    font-family: "Lato", Arial, sans-serif;
    box-sizing: border-box;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.header-section {
    position: relative;
    overflow: visible;
    height: 100%;
    width: 100vw;
}

.header-section::before {
    border-radius: 100%;
    position: absolute;
    background: radial-gradient(76.53% 29.28% at 68.11% 81.16%, #FFFAFB 0%, #FFEDF0 100%);
    right: -150px;
    left: -180px;
    top: -300px;
    content: '';
    bottom: 0;
    z-index: 1; /* Add this */
}

.header {
    margin-top: 12%;
    position: relative; /* Add this */
    z-index: 2; /* Add this */
}

.header h1 {
    margin-bottom: 5%;
    color: #E21E5B;
    text-align: center;
    font-family: "Lato", sans-serif;
    font-weight: 800;
    font-size: 32px;
}

.wave-svg {
    position: absolute;
    top: 40%;
    right: 0;
    z-index: 4;
}


main {
    min-height: 100vh;
    padding: 4rem 1rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.faq-title {
    color: #ff4d6d;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border-bottom: 1px solid #ffe0e0;
    padding-bottom: 0;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    font-weight: 500;
    font-size: 20px;
}

.faq-toggle {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 1rem;
    position: relative;
}

/* Position icons in the same place */
.icon {
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Hide minus icon by default */
.minus-icon {
    opacity: 0;
    visibility: hidden;
}

/* Show plus icon by default */
.plus-icon {
    opacity: 1;
    visibility: visible;
}

/* When active, hide plus icon */
.faq-item.active .plus-icon {
    opacity: 0;
    visibility: hidden;
}

/* When active, show minus icon */
.faq-item.active .minus-icon {
    opacity: 1;
    visibility: visible;
}

/* Smooth transition for answer */
.faq-answer {
    height: 0;
    width: 90%;
    line-height: 32px;
    overflow: hidden;
    opacity: 0;
    padding: 0;
    transition: all 0.3s ease;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    color: #806C7E;
}

.faq-item.active .faq-answer {
    height: auto;
    opacity: 1;
    margin-bottom: 1.5rem;
}

@media screen and (max-width: 480px) {
    .wave-svg {
        display: none;
    }

    .header-section {
        padding-top: 65px; /* Adjusted for mobile navbar height */
        min-height: 200px; /* Minimum height for mobile */
    }

    .header-section::before {
        right: -50px;
        left: -50px;
        top: -200px;
    }

    .header {
        margin-top: 15%;
        padding: 0 16px;
    }

    .header h1 {
        font-size: 26px;
        margin-bottom: 8%;
    }
    
    /* FAQ specific responsive adjustments */
    .faq-title {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 16px;
    }

    .faq-answer {
        font-size: 14px;
    }
}