:root {
    --primary-color: #e6f3ff;
    --secondary-color: #6fa9d7;
    --accent-color: #013c8a;
    --text-color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
}

header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    margin-right: auto;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px; /* Adjust this value based on your logo size */
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

nav a:hover {
    color: var(--accent-color);
}

main {
    margin-top: 70px;
}

section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    padding: 6rem 5%;
    background-color: var(--accent-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    border-radius:15px;
}

.hero-content {
    text-align: left;
}

.villain {
    text-align: justify;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: white;
}

.hero-image {
    max-width: 100%;
    height: auto;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
}

.cta-button:hover {
    background-color: #1976d2;
}

.program-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.program-card {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.program-card button {
    background-color: var(--accent-color); /* Keeps it blue */
    color: white;
    padding: 1rem 2rem; /* Slightly reduced padding */
    border: none;
    border-radius: 5px;
    font-size: 1rem; /* Reduced font size */
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block; /* Ensures button is inline */
    margin-top: 1rem; /* Adds spacing above the button */
}

.program-card button:hover {
    background-color: #1976d2; /* Darker blue on hover */
}


h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

footer {
    background: #004c80; /* Footer blue */
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.5rem;
    }

    nav ul li {
        margin-left: 1rem;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 4rem 5%;
    }

    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-image img {
        height: 300px;
    }
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--accent-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #1976d2;
}

.contact-info {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-info h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-details p {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    line-height: 1.6;
    max-width: 600px;
}

.contact-details i {
    color: var(--accent-color);
    width: 20px;
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-details strong {
    margin-right: 8px;
}

.contact-details .address-text {
    display: inline-block;
    padding-left: 4px;
}

.social-links {
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-icon {
    color: var(--accent-color);
    font-size: 2rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: #1976d2;
}

@media (max-width: 768px) {
    .contact-info {
        padding: 2rem;
    }
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #1565c0;
}

.about-content {
    text-align: left;
    padding-right: 2rem;
    border-right: 1px solid #e0e0e0;
}

.about-intro, 
.about-objective {
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-video {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    height: 100%;
}

.about-video video,
.about-video iframe {
    width: 100%;
    height: 100%;
    min-height: 315px;
    border-radius: 10px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .about-content {
        padding-right: 0;
        border-right: none;
        margin-bottom: 2rem;
    }

    .about-video video,
    .about-video iframe {
        min-height: 250px;
    }
}

.gallery-section {
    margin-top: 100px;  /* Added to account for fixed header */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem;
    text-align: center;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        min-height: 250px;
    }
} 

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
    text-align: center;
}

.lightbox img {
    margin-top: 5%;
    max-width: 90%;
    max-height: 80%;
}

.lightbox-caption {
    margin: 10px 0;
    color: white;
    font-size: 18px;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    cursor: pointer;
}

.lightbox .prev,
.lightbox .next {
    position: absolute;
    top: 50%;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transform: translateY(-50%);
    padding: 10px;
    user-select: none;
}

.lightbox .prev {
    left: 20px;
}

.lightbox .next {
    right: 20px;
}

.lightbox .prev:hover,
.lightbox .next:hover {
    color: #ddd;
}

.donate-button {
    background-color: var(--accent-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.donate-button:hover {
    background-color: #1976d2;
}
