/* --- Fonts and Basic Setup --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Roboto:wght@400;500&display=swap');

:root {
    --primary-color: #000000;
    --secondary-color: #FFFFFF;
    --accent-color: #f0f0f0;
    --text-color: #333;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    margin: 0;
    padding: 0;
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-top: 0;
}

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

h2::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

p {
    margin-bottom: 1.2rem;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

a {
    color: var(--primary-color);
    font-weight: 500;
}

/* --- Banner --- */
.banner {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.banner p { margin: 0; }
.banner a { color: var(--secondary-color); font-weight: bold; text-decoration: underline; margin-left: 10px; }
.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    right: 20px;
}

/* --- Navigation --- */
nav {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--accent-color);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-family: var(--heading-font);
    font-size: 1.2rem;
}
.nav-logo img {
    height: 50px;
    margin-right: 15px;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
nav ul li a {
    padding: 20px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
    white-space: nowrap;
}
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease-out;
}
nav ul li a:hover::after,
nav ul li a.active::after {
    width: 70%;
}

/* --- Hero Section (Home Page) --- */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--secondary-color);
    position: relative;
    background-image: url('assets/team/everyone.jpeg');
    background-repeat: no-repeat;
    background-size: cover; 
    background-position: center 25%;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}
.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}
.hero p {
    font-size: 1.3rem;
    max-width: 600px;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.btn {
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}
.btn-primary:hover {
    background-color: #333;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    margin-left: 15px;
}
.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}
.btn-large {
    font-size: 1.2rem;
    padding: 15px 40px;
}

/* --- Page Sections --- */
.page-section {
    padding: 80px 0;
}
.alt-bg {
    background-color: var(--accent-color);
}

/* --- Social Links (Home Page) --- */
.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}
.social-card {
    background: var(--secondary-color);
    border: 1px solid var(--accent-color);
    padding: 30px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s, box-shadow 0.3s;
}
.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
/* --- THE NEW STYLE for social card logos --- */
.social-card img {
    height: 45px;
    margin-bottom: 15px;
}
.social-card h3 { 
    font-size: 1.8rem; 
    margin-bottom: 10px; 
}

/* --- About Page --- */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    margin-bottom: 40px;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.mission-text {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: center;
}
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
.team-member {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}
.member-info h3 { margin-bottom: 10px; font-size: 1.8rem;}

/* --- Donate Page --- */
.donate-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.incentive-box {
    background: var(--accent-color);
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}
.incentive-box small {
    display: block;
    margin-top: 5px;
    font-size: 0.9rem;
}

/* --- Contact Page (Google Form Embed) --- */
.form-container {
    position: relative;
    width: 100%;
    max-width: 850px;
    height: 750px;
    margin: 40px auto 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.form-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Footer --- */
footer {
    background: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 25px 0;
    margin-top: auto;
}
footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- ================================== --- */
/* ---        RESPONSIVE DESIGN           --- */
/* --- ================================== --- */

/* For Tablets and smaller */
@media (max-width: 992px) {
    .team-member {
        flex-direction: column;
        text-align: center;
    }
}

/* For Mobile Phones */
@media (max-width: 768px) {
    /* --- MOBILE NAVIGATION --- */
    nav {
        flex-direction: column;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .nav-logo {
        margin-bottom: 10px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
     nav ul li a {
        padding: 8px 12px;
        font-size: 0.95rem;
    }

    /* --- MOBILE TYPOGRAPHY & SPACING --- */
    .page-section {
        padding: 60px 0;
    }
    h2 {
        font-size: 2.2rem;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .section-intro {
        margin-bottom: 30px;
    }
    .hero {
        background-position: center 30%; /* Slightly adjust focus for mobile */
    }

    /* --- MOBILE LAYOUTS --- */
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    .social-card {
        width: 90%;
    }
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    .team-member {
        padding: 20px;
    }
    .team-member img {
        width: 150px;
        height: 150px;
    }
    .form-container {
        height: 800px;
    }
}
