/* Custom Fonts */

/* --- General Styles --- */
:root {
    --primary-color: #007bff; /* A vibrant blue for NGO feel */
    --secondary-color: #28a745; /* Green for action/sustainability */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* --- Header & Navigation --- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px; /* Adjust logo size */
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5em;
    color: var(--dark-bg);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.nav ul {
    list-style: none;
    display: flex;
}

.nav ul li {
    margin: 0 20px;
}

.nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav ul li a:hover {
    color: var(--primary-color);
}

.donate-btn {
    text-decoration: none;
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.donate-btn:hover {
    background-color: #1e7e34; /* Darker secondary color */
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero-bg.jpg') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* --- Gallery Section (Moving Images) --- */
.gallery-section {
    padding: 90px 0;
    background-color: var(--light-bg);
    overflow: hidden; /* Hide the extra images for the moving effect */
}

.image-carousel-container {
    width: 175%;
}

@keyframes slide {
    0% { transform: translateX(0); }
    80% { transform: translateX(-70%); } /* Scrolls through the original set of images */
}

.image-carousel {
    display: flex;
    animation: slide 60s linear infinite; /* Adjust time for speed */
    width: 175%; /* Important: set the width to double the container to allow smooth loop */
}

.image-carousel img {
    width: calc(150% / 7); /* Divide by the number of unique images + 2 repeated ones */
    height: 300px;
    object-fit: cover;
    display: block;
    padding: 5px;
}

/* --- About Us & How To Help Sections --- */
section {
    padding: 70px 5%;
}

.about-us {
    background-color: white;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.how-to-help {
    background-color: var(--light-bg);
}

.help-options {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.option {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex: 1;
    transition: transform 0.3s;
}

.option:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.option h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.action-btn {
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
    color: white;
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.action-btn:hover {
    background-color: #0056b3;
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-bg);
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

.footer p {
    margin: 5px 0;
}