/* SGOA NGO - Header & Slider Styles */
/* Color scheme: Deep Teal (#003E57) + Warm Gold (#C9A227) - Change these variables to update colors */
:root {
    --sgoa-primary: #003E57;
    --sgoa-secondary: #C9A227;
    --sgoa-primary-light: #005a7a;
    --sgoa-secondary-light: #e0b83a;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER / MENU ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--sgoa-primary);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease;
}

.header-top {
    width: 100%;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    color: var(--sgoa-secondary);
}

/* Main Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2px;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 24px 16px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: all 0.2s ease;
}

.nav-item > a:hover {
    background: rgba(201, 162, 39, 0.2);
    color: var(--sgoa-secondary);
}

/* Dropdown */
.nav-item {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    border-top: 3px solid var(--sgoa-secondary);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.85rem;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
}

.dropdown li:last-child a {
    border-bottom: none;
}

.dropdown li a:hover {
    background: var(--sgoa-primary);
    color: var(--text-light);
    padding-left: 24px;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    padding: 8px;
    cursor: pointer;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    margin-top: 70px;
    height: 65vh;
    min-height: 420px;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide-content {
    text-align: center;
    max-width: 800px;
    padding: 40px 32px;
    color: var(--text-light);
}

.slide-content h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: var(--text-light);
}

.slide-lead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    margin-bottom: 28px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.slide-list {
    list-style: none;
    text-align: left;
    display: inline-block;
    margin-bottom: 24px;
}

.slide-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 1.1rem;
}

.slide-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--sgoa-secondary);
    font-weight: bold;
    font-size: 1.2rem;
}

.slide-provinces {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px 24px;
    text-align: center;
}

.slide-provinces li::before {
    display: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--sgoa-secondary);
    color: var(--sgoa-primary);
    border: 2px solid var(--sgoa-secondary);
}

.btn-primary:hover {
    background: var(--sgoa-secondary-light);
    border-color: var(--sgoa-secondary-light);
    color: var(--sgoa-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.4);
}

/* Slider Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: var(--sgoa-secondary);
    border-color: var(--sgoa-secondary);
    color: var(--sgoa-primary);
}

.slider-prev {
    left: 24px;
}

.slider-next {
    right: 24px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover,
.dot.active {
    background: var(--sgoa-secondary);
    border-color: var(--sgoa-secondary);
}

/* ===== NEWSLETTER BANNER ===== */
.newsletter-banner {
    background: var(--sgoa-primary);
    padding: 24px 32px;
    text-align: center;
}

.newsletter-inner {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.newsletter-text {
    color: var(--text-light);
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0;
}

.btn-subscribe {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: #E85D04;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
}

.btn-subscribe:hover {
    background: #f07a1f;
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 93, 4, 0.4);
}

.btn-subscribe i {
    font-size: 1rem;
}

/* ===== WHO WE ARE SECTION ===== */
.who-we-are {
    background: white;
    padding: 80px 24px;
}

.who-we-are-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.who-we-are-text .section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-dark);
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.who-we-are-text .section-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 2px;
    background: #E85D04;
}

.who-we-are-text .section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.3;
}

.who-we-are-text p {
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
    margin-bottom: 20px;
}

.learn-more-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #E85D04;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    margin-top: 8px;
    transition: gap 0.3s ease;
}

.learn-more-link:hover {
    gap: 16px;
}

.learn-more-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #E85D04;
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
}

.who-we-are-image {
    position: relative;
    overflow: hidden;
}

.who-we-are-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 400px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-inner {
        padding: 0 16px;
    }

    .slide-content {
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
        min-height: 380px;
    }

    .slider-nav {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .slider-prev {
        left: 12px;
    }

    .slider-next {
        right: 12px;
    }

    .slide-provinces {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-inner {
        flex-direction: column;
        gap: 16px;
    }

    .newsletter-text {
        font-size: 1rem;
    }

    .who-we-are-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .who-we-are-image {
        order: -1;
    }

    .who-we-are-image img {
        min-height: 280px;
    }
}

/* ===== ABOUT US PAGE ===== */
.about-page { margin-top: 70px; }

.about-banner {
    background: var(--sgoa-primary);
    padding: 32px 24px;
    text-align: center;
}

.about-banner h1 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0;
}

.about-hero {
    width: 100%;
    overflow: hidden;
}

.about-hero img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 450px;
}

.about-mission {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 24px;
    text-align: center;
}

.mission-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0;
}

/* Two-column cards */
.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
}

.about-card {
    display: flex;
    flex-direction: column;
}

.card-image {
    width: 100%;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 32px 36px 40px;
    position: relative;
}

.about-card-yellow .card-content {
    background: var(--sgoa-secondary);
}

.about-card-teal .card-content {
    background: var(--sgoa-primary-light);
}

.about-card-teal .card-content h2,
.about-card-teal .card-content p {
    color: white;
}

.card-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.about-card-yellow .card-content h2 {
    color: var(--sgoa-primary);
}

.card-content p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 20px 0;
}

.about-card-yellow .card-content p {
    color: var(--sgoa-primary);
    opacity: 0.95;
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.about-card-yellow .learn-more-btn {
    color: var(--sgoa-primary);
}

.about-card-teal .learn-more-btn {
    color: white;
}

.learn-more-btn:hover { gap: 14px; }

.learn-more-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: currentColor;
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
}

.about-card-yellow .learn-more-btn i {
    background: var(--sgoa-primary);
    color: var(--sgoa-secondary);
}

.about-card-teal .learn-more-btn i {
    background: white;
    color: var(--sgoa-primary-light);
}

/* Governance & Team */
.about-governance {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

.governance-main h2,
.about-accountability h2,
.about-partners h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 20px 0;
}

.governance-main p {
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
    margin: 0 0 28px 0;
}

.governance-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.gov-btn {
    display: inline-block;
    padding: 14px 24px;
    background: #e8f4f8;
    color: var(--sgoa-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    border: 2px solid var(--sgoa-primary);
    transition: all 0.3s ease;
}

.gov-btn:hover {
    background: var(--sgoa-primary);
    color: white;
}

.about-team-box {
    background: #E85D04;
    padding: 36px 28px;
}

.about-team-box h2 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.about-team-box p {
    color: rgba(255,255,255,0.95);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.about-team-box .learn-more-btn {
    color: white;
}

.about-team-box .learn-more-btn i {
    background: white;
    color: #E85D04;
}

/* Our Donors */
.about-donors {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

.about-donors h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 20px 0;
}

.about-donors p {
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
    margin: 0 0 20px 0;
    max-width: 800px;
}

.about-donors .learn-more-btn {
    color: #E85D04;
}

.about-donors .learn-more-btn i {
    background: #E85D04;
    color: white;
}

/* Accountability */
.about-accountability {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

.about-accountability p {
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
    margin: 0 0 20px 0;
    max-width: 800px;
}

.about-accountability .learn-more-btn {
    color: #E85D04;
}

.about-accountability .learn-more-btn i {
    background: #E85D04;
    color: white;
}

/* Partners */
.about-partners {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

.about-partners > p {
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
    margin: 0 0 24px 0;
    max-width: 800px;
}

.about-partners > .learn-more-btn {
    color: #E85D04;
}

.about-partners > .learn-more-btn i {
    background: #E85D04;
    color: white;
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px 40px;
    margin-top: 40px;
    align-items: center;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    padding: 16px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(20%);
}

.partner-placeholder {
    background: #f0f0f0;
    color: #999;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Footer images */
.about-footer-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.about-footer-images img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* About page responsive */
@media (max-width: 1024px) {
    .about-cards { grid-template-columns: 1fr; }
    .about-governance { grid-template-columns: 1fr; }
    .partners-logos { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .partners-logos { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .about-footer-images { grid-template-columns: 1fr; }
    .about-footer-images img { height: 200px; }
}

/* ===== SUB PAGES (Board, Executive, Leadership) ===== */
.sub-page { margin-top: 70px; }

.sub-page-banner {
    background: var(--sgoa-primary);
    padding: 32px 24px;
    text-align: center;
}

.sub-page-banner h1 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0;
}

.sub-page-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px 64px;
}

.sub-page-intro {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #444;
    margin: 0 0 48px 0;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.team-member {
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.team-member-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    padding: 20px 20px 4px;
}

.team-member .team-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sgoa-primary);
    margin: 0;
    padding: 0 20px;
}

.team-member p:last-of-type {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
    padding: 12px 20px 24px;
}

.sub-page-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.sub-page-nav .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sgoa-primary);
    font-weight: 600;
    text-decoration: none;
}

.sub-page-nav .back-link:hover {
    text-decoration: underline;
}

.sub-page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
