/* basic reset */
@import url('https://fonts.googleapis.com/css2?family=Calibre:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    overflow-y: scroll;        /* make sure scroll container is explicit */
}

body {
    font-family: 'Calibre', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    /* enable snap scrolling on vertical axis */
    scroll-behavior: smooth;          /* optional smooth transition when jumping */
    scroll-snap-type: y mandatory;
}

/* ensure each direct section of the document is a snap point */
main > section,
header,
footer {
    scroll-snap-align: start;
}

/* make sections cover full viewport so snapping feels instant */
main > section {
    min-height: 100vh;
}

header {
    background: rgba(0,0,0,0.4);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s, color 0.3s;
}

/* when hero is out of view we want a transparent header and darker text */
header.light {
    background: transparent;
}
header.light .nav-links a,
header.light .logo span {
    color: rgba(0,0,0,0.4);
}

.header-inner {
    /* span the full width so logo is flushed to the left edge */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem; /* more vertical padding */
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: 80px;
    margin-right: 0.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.logo span {
    color: #fff;
    font-weight: bold;
    font-size: 1.4rem; /* larger text */
    white-space: nowrap;
}

nav {
    position: relative;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem;
}

.nav-links a:hover {
    text-decoration: underline;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    margin-left: 1rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: rgba(0,0,0,0.8);
        position: absolute;
        top: 100%;
        right: 0;
        width: 200px;
    }
    .nav-links li {
        margin: 0;
    }
    .menu-toggle {
        display: block;
    }
}


.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    /* background image and enhancement filters */
    background: url('bmaai.png') no-repeat center center/cover;
    filter: brightness(0.9) contrast(1.1) saturate(1.2);
}

/* if you want an overlay on top of the background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.2);
    pointer-events: none;
}

.hero img {
    /* removed, kept for reference if needed */
    display: none;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    /* make background fully transparent to match screenshot */
    background: transparent;
    padding: 0 1rem;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.button {
    display: inline-block;
    /* translucent yellow / gold with rounded pill shape */
    background: rgba(244, 180, 0, 0.5);
    color: #333;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid rgba(244, 180, 0, 0.8);
    transition: background 0.3s, color 0.3s;
}

.button:hover {
    background: rgba(244, 180, 0, 0.7);
    color: #000;
}
.button:hover {
    background: rgba(244, 180, 0, 1);
    color: #000;
}

/* footer / ownership info */
.site-footer {
    text-align: center;
    padding: 1rem 0.75rem;
    background: linear-gradient(180deg,#fbfbfd,#eef0ff);
    position: relative;
    width: 100%;
    bottom: 0;
    font-size: 0.95rem;
    color: #333;
    box-shadow: 0 -1px 8px rgba(18,16,38,0.03);
}

.site-footer a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 600;
}
.site-footer a:hover {
    text-decoration: underline;
}

/* content section below hero */
.content-section {
    padding: 6rem 0 2rem 0;
    background: #f9f9ff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
}

.sidebar {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: #333;
}

.card ul {
    list-style: none;
}

.card.stories ul li,
.card.upcoming-events ul li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.card.stories img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.about {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.about h2 {
    margin-bottom: 1rem;
    color: #2a2a8c;
}

.about p {
    margin-bottom: 3rem;
    line-height: 1.6;
}

.board-members {
    margin-top: 3rem;
    text-align: center;
}

.board-members h2 {
    margin-bottom: 1.5rem;
    color: #2a2a8c;
}

.board-members .cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.member-card {
    background: #fff;
    border-radius: 8px;
    width: 150px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.member-card img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 0.75rem;
}

.member-card h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.member-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .sidebar {
        flex: none;
        width: 100%;
    }
    .about {
        width: 100%;
    }

    /* board members become a horizontal carousel on small screens */
    .board-members .cards {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 1rem; /* give space for scrollbar */
        padding-left: 1rem; /* align first card with content */;
        justify-content: flex-start; /* ensure first card is visible at left edge */
    }
    .board-members .cards .member-card {
        flex: 0 0 auto;
    }
    /* optional custom scrollbar styling */
    .board-members .cards::-webkit-scrollbar {
        height: 6px;
    }
    .board-members .cards::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.2);
        border-radius: 3px;
    }
}
