/* Global Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #e63946;
    /* Placeholder accent */
    --text-color: #333;
    --bg-color: #fff;
    --section-padding: 80px 20px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-speed), padding var(--transition-speed);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 15px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    font-weight: 500;
    font-family: var(--font-heading);
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

header.scrolled nav a {
    color: var(--primary-color);
}

nav a:hover {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

header.scrolled .menu-toggle {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1.2s ease-out;
}

.hero h1 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid #fff;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all var(--transition-speed);
}

.btn:hover {
    background: #fff;
    color: #000;
}

/* Sections Common */
section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    /* display: block; Default */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    /* Will override per section */
}

/* Who We Are */
.who-we-are-text {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.who-we-are-text p {
    margin-bottom: 20px;
}

#who-we-are {
    background: #f9f9f9;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #eaeaea;
    transition: transform var(--transition-speed);
}

.mission-card:hover {
    transform: translateY(-10px);
}

.mandate-list-card {
    text-align: left;
    padding-left: 20px;
    margin-top: 10px;
}

.mandate-list-card li {
    margin-bottom: 10px;
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Mandate */
#mandate {
    background: #111;
    color: #fff;
}

#mandate .section-title {
    color: #fff;
}

#mandate .section-title::after {
    background: #fff;
}

#mandate figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 10px;
    font-style: italic;
}

.mandate-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.mandate-text {
    flex: 1;
    min-width: 300px;
}

.mandate-text ul {
    list-style: none;
}

.mandate-text li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
}

.mandate-text li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.5rem;
    line-height: 1.2rem;
}

.mandate-img {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

/* Team */
#team {
    background: #fff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-grid.single-member {
    display: flex;
    justify-content: center;
}

.team-grid.single-member .team-member {
    max-width: 800px;
}

.team-member {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.team-member .bio {
    margin-top: 20px;
    flex-grow: 1;
}

.team-member .bio p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    text-align: justify;
    text-transform: none;
    letter-spacing: normal;
}

.team-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member:hover .team-img {
    transform: scale(1.05);
}

.team-member h4 {
    margin-bottom: 5px;
}

.team-member p {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* What We Offer / Project */
#project {
    background: #000;
    color: #fff;
}

#project .section-title {
    color: #fff;
}

#project .section-title::after {
    background: #fff;
}

.project-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    flex-direction: row-reverse;
}

.project-text ol {
    counter-reset: my-counter;
    list-style: none;
}

.project-text li {
    counter-increment: my-counter;
    margin-bottom: 25px;
    padding-left: 40px;
    position: relative;
}

.project-text li::before {
    content: counter(my-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    text-align: center;
    line-height: 25px;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Canada on Feminism */
#canada-on-feminism {
    background: #1a1a1a;
    color: #fff;
    text-align: center;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.quote-card {
    background: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    transition: transform var(--transition-speed);
}

.quote-card:hover {
    transform: translateY(-5px);
}

.quote-text {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.quote-author {
    font-weight: 600;
    opacity: 0.8;
    font-size: 0.9rem;
    text-align: right;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    padding: 40px;
    text-align: center;
    border-top: 1px solid #222;
}

footer p {
    font-size: 0.9rem;
    color: #888;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    nav {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: #000;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }

    nav.active ul {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .mandate-container,
    .project-container {
        flex-direction: column;
    }

    .project-container {
        flex-direction: column;
    }

    /* Reset reverse */
}

/* Facts */
#facts {
    background: #f4f4f4;
}

.facts-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.fact-item img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

/* Gallery - Hidden as per user request */
#gallery {
    background: #fff;
    display: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.gallery-item:hover img {
    transform: scale(1.05);
}