/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Titillium Web', sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header and Navigation */
.header {
    background-color: white;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 80px;
    width: auto;
}

.logo-text {
    display: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #064174;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0c81e4;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #064174;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn i {
    display: block;
    line-height: 1;
}

/* Main Content */
.main-content {
    flex: 1 0 auto;
    width: 100%;
    max-width: 1200px;
    margin: 7rem auto 2rem;
    padding: 0 1rem;
}

/* Section Styles */
.section {
    margin-bottom: 3rem;
}

.section h2 {
    color: #064174;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.section p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(6, 65, 116, 0.9), rgba(12, 129, 228, 0.8));
    margin: -7rem -1rem 2rem;
    padding: 10rem 1rem 5rem;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

/* Impact Areas */
.impact-areas {
    padding: 4rem 0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.impact-card {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.impact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0c81e4;
}

.impact-icon i {
    width: 1em;
    height: 1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.impact-card h3 {
    color: #064174;
    margin-bottom: 1rem;
}

/* Latest Updates */
.latest-updates {
    padding: 4rem 0;
    background: #f5f5f5;
    margin: 0 -1rem;
    padding: 4rem 1rem;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.update-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.update-card h3 {
    color: #064174;
    margin-bottom: 1rem;
}

.link-button {
    display: inline-block;
    color: #064174;
    text-decoration: none;
    margin-top: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.link-button:hover {
    color: #0c81e4;
}

/* Impact Stats */
.impact-stats {
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0c81e4;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #9f9d9e;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 4rem 0;
    background: #f5f5f5;
    margin: 0 -1rem;
    padding: 4rem 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid #064174;
    color: #064174;
}

.cta-button.secondary:hover {
    background-color: #064174;
    color: white;
}

/* Buttons */
.cta-button, .donation-button {
    display: inline-block;
    background-color: #064174;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 2rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover, .donation-button:hover {
    background-color: #0c81e4;
}

/* Board Sections */
.board-section {
    margin-bottom: 4rem;
}

.board-section h2 {
    color: #003366;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.liaison-note {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

/* Board Members Grid */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.board-member {
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.board-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.member-photo {
    width: 100%;
    height: 320px;
    object-fit: cover;
    background-color: #ddd;
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    color: #064174;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.member-title {
    color: #9f9d9e;
    font-size: 0.95rem;
    line-height: 1.4;
}

.member-bio {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.hidden {
    display: none;
}

/* Board Liaisons */
.liaisons .board-member {
    background: #f9f9f9;
    padding: 1.5rem;
}

.liaisons .member-info {
    padding: 0;
}

/* Meetings List */
.meetings-list {
    display: grid;
    gap: 1.5rem;
}

.meeting-card {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.meeting-date {
    font-size: 1.2rem;
    color: #064174;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.meeting-details {
    display: grid;
    gap: 0.5rem;
}

.meeting-location, .meeting-time {
    color: #666;
}

/* Donation Options */
.donation-options {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.donation-card {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.donation-card h2 {
    color: #003366;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.donation-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

.contact-info {
    margin-top: 3rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Bylaws Section */
.bylaws {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 5px;
}

.bylaws h3 {
    color: #003366;
    margin-bottom: 1rem;
}

.bylaws ul {
    list-style-position: inside;
    margin-bottom: 1rem;
}

/* Headings */
h1 {
    color: #064174;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

/* Section Headers */
section h2 {
    text-align: center;
    color: #064174;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* PDF Document Link */
.document-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f8f8f8;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    color: #064174;
    text-decoration: none;
    margin: 1rem 0;
    border: 1px solid #9f9d9e;
    transition: all 0.3s ease;
}

.document-link:hover {
    background-color: #e8e8e8;
    border-color: #0c81e4;
    color: #0c81e4;
}

.document-link i {
    font-size: 1.2rem;
    color: #0c81e4;
    transition: color 0.3s ease;
}

.document-link:hover i {
    color: #064174;
}

/* Footer */
.footer {
    flex-shrink: 0;
    background-color: #3b3c3d;
    color: white;
    padding: 3rem 1rem;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h3 {
    color: #57a2e3;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p, 
.footer-section address {
    color: #ffffff;
    font-style: normal;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    max-width: 400px;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #57a2e3;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

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

    .hero p {
        font-size: 1rem;
    }

    .board-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }

    .member-photo {
        height: 280px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-section {
        text-align: center;
    }
    
    .footer-section h3 {
        text-align: center;
    }
    
    .footer-section p, 
    .footer-section address {
        text-align: center;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .board-grid {
        grid-template-columns: 1fr;
    }

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

    section h2 {
        font-size: 2rem;
    }
}
