:root {
    /* Brand Colors - Updated per Reference Image */
    --primary-color: #6a359c;
    /* Deep Purple (kept for body/waves) */
    --header-text-color: #e5958e;
    /* Salmon/Pink from Image */
    --header-btn-color: #5ce688;
    /* Bright Green from Image */
    --secondary-color: #fec20f;
    /* Bright Yellow */
    --accent-color: #e91e63;
    /* Hot Pink */
    --text-color: #2D3436;
    --light-bg: #fff9f0;
    --white: #FFFFFF;

    /* Typography */
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;

    /* Spacing */
    --container-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    margin-top: 2rem;
}

/* Header - Matched to Image */
header {
    background: var(--white);
    padding: 0.5rem 0;
    /* Slimmer padding */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

/* Logo Section */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    /* Bigger logo as per image */
}

/* Header Title */
.header-title {
    font-family: var(--font-heading);
    color: var(--header-text-color);
    font-size: 1.6rem;
    /* Reduced size */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-align: left;
}

/* Header Button */
.btn-header {
    background-color: var(--header-btn-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 0px rgba(76, 209, 55, 0.2);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-header:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

header nav {
    margin-left: auto;
}

/* General Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--accent-color), #ff4081);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero Section with Wave */
.hero {
    background: linear-gradient(135deg, var(--primary-color), #8e44ad);
    color: var(--white);
    padding: 6rem 0 10rem 0;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.hero::before {
    width: 300px;
    height: 300px;
    top: -50px;
    left: -50px;
}

.hero::after {
    width: 200px;
    height: 200px;
    bottom: 50px;
    right: 10%;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Wave */
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
    transform: rotateY(180deg);
}

.wave .shape-fill {
    fill: var(--light-bg);
}

/* Intro Card */
.intro-card {
    background: var(--white);
    max-width: 900px;
    margin: -5rem auto 3rem auto;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
    border-top: 5px solid var(--secondary-color);
}

/* Topics */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.topic-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    text-align: center;
}

.topic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.topic-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--light-bg);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    color: var(--primary-color);
}

/* List */
.styled-list li {
    background: var(--white);
    margin-bottom: 0.8rem;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    list-style: none;
    display: flex;
    align-items: center;
}

.styled-list i {
    color: #00b894;
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Accordion */
.faq-section {
    margin-top: 4rem;
}

.accordion-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #f8f8f8;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
    background: #fafafa;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding: 1.5rem;
    border-top: 1px solid #eee;
}

.accordion-item.active .icon-plus {
    transform: rotate(45deg);
}

.icon-plus {
    transition: transform 0.3s;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem 0;
    position: relative;
    margin-top: 6rem;
}

.footer-wave {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
}

.footer-wave .shape-fill {
    fill: var(--primary-color);
}

.social-links a {
    color: var(--secondary-color);
    margin-right: 1rem;
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 900px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .header-title {
        font-size: 1.5rem;
        margin: 0.5rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 4rem 0 8rem 0;
    }
}