/* Define custom color palette */
:root {
    --primary-color: #B33791;      /* Dark pink */
    --secondary-color: #C562AF;    /* Mid pink */
    --accent-color: #DB8DD0;       /* Light pink */
    --background-color: #FEC5F6;   /* Very light pink */
    --text-color: #333;            /* Dark text */
    --header-bg: #fff;             /* White header */
    --footer-bg: #B33791;          /* Match primary color */
    --link-color: var(--primary-color);
    --link-hover: var(--secondary-color);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--header-bg);
    padding: 20px 0;
    border-bottom: 4px solid var(--primary-color);
    text-align: center;
}
h4{
    margin-top: 5px;
    color: #B33791;
}
header h1 {
    color: var(--primary-color);
    font-weight: 700;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

nav ul li a {
    text-decoration: none;
    color: var(--link-color);
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 6px 8px;
    border-radius: 4px;
}

nav ul li a:hover,
nav ul li a:focus {
    color: var(--link-hover);
    outline: none;
    background-color: var(--accent-color);
}

/* Main sections */
main {
    padding: 40px 10px;
    max-width: 1000px;
    margin: 0 auto;
}

main section {
    margin-bottom: 40px;
    background-color: white;
    padding: 20px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
}

main h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}
dd {
    display: inline-block;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: white;
    text-align: center;
    padding: 15px 10px;
    margin-top: 40px;
    font-size: 0.9rem;
}

footer a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

footer a:hover, dd:hover,
footer a:focus {
    color: var(--accent-color);
    outline: none;
}
/* Hide toggle button on desktop */
.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    margin-top: 10px;
}

/* Show toggle button on small screens */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        margin: auto;
    }

    nav ul {
        display: none;
        flex-direction: column;
        align-items: center;
        background-color: white;
        padding: 10px 0;
        border: 2px solid var(--primary-color);
        margin-top: 10px;
        width: 100%;
    }

    nav.active ul,
    nav#main-nav.active ul {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }
}
