:root {
    --primary-color: #502688;
    --secondary-color: #8F61DB;
	--answer-color: #FC90AF;
    --light-color: #EFDCCE;
    --dark-color: #502688;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 900px;
    margin: auto;
    padding: 1rem;
}

header {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1rem 0;
}

h1 {
	font-family: 'Poppins', sans-serif;
    margin: 0;
    font-size: 2.5rem;
}

h2 {
	font-family: 'Poppins', sans-serif;
	font-weight: bold;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1rem; /* Adds spacing between paragraphs globally */
    line-height: 1.6; /* Improves readability */
}

.banner-image {
    max-width: 100%; /* Keep the banner responsive */
    height: auto; /* Maintain aspect ratio */
    display: block;
    margin: 0 auto; /* Center the image */
    padding: 5px; /* Add padding to create space for the gradient */
    background: linear-gradient(45deg, var(--light-color), var(--dark-color)); /* Gradient for the border */
    border-radius: 8px; /* Optional: Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Optional: Shadow */
    position: relative;
    z-index: 1;
}

.banner-image::before {
    content: '';
    position: absolute;
    top: -5px; /* Matches the padding */
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: -1;
    background: linear-gradient(45deg, var(--light-color), var(--dark-color));
    border-radius: 12px; /* Slightly larger than the image's border-radius */
}

main {
    margin: 2rem 0;
}

.chevron-up {
    transform: rotate(180deg);
}
.chevron-down {
    transform: rotate(0deg);
}


.faq {
    margin-bottom: 2rem;
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--primary-color);
    padding: 0.5rem 0;
    position: relative;
}

.faq-question {
	font-family: 'Poppins', sans-serif;
    background: none;
    border: none;
    font-size: 1.2rem;
	font-weight: bold;
    color: var(--secondary-color);
    text-align: left;
    width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-answer {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    color: var(--answer-color);
    background: var(--light-color);
    border-left: 2px solid var(--primary-color);
    transition: max-height 0.2s ease, padding 0.2s ease;
}

.faq-answer.open {
    max-height: none; /* Allow it to grow with the content */
    padding: 1rem 3rem 1rem 1.5rem;
}

.faq-link {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--primary-color);
    opacity: 0;
    pointer-events: none;
    text-decoration: none;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.faq-answer.open + .faq-link {
    opacity: 0.7;
    pointer-events: auto;
}

.faq-link:hover {
    opacity: 1;
}

.links {
    text-align: center;
}

.links-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.link-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: color 0.3s;
}

.link-icon:hover {
    color: var(--secondary-color);
}

footer {
    background: var(--dark-color);
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
	font-size: 0.8rem;
}
