/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #1a5490;
    --secondary-color: #2d7ab9;
    --accent-color: #f39c12;
    --dark-bg: #1a1a2e;
    --light-bg: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #27ae60;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 20px;
    --container-max-width: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--text-light);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Main Banner */
.main-banner {
    width: 100%;
    overflow: hidden;
    background: var(--dark-bg);
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 400px;
}

@media (max-width: 768px) {
    .banner-image {
        max-height: 250px;
    }
}

/* Featured Video Styling */
.video-item.featured-video {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: 3px solid var(--accent-color);
}

.video-item.featured-video h3 {
    color: white;
    font-size: 1.4rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 100px 20px;
    text-align: center;
}

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

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.hero-intro {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-description {
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.hero-description p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.fun-fact {
    background: rgba(243, 156, 18, 0.2);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid var(--accent-color);
}

.fun-fact h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.hero-closing {
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.3);
}

/* About Section */
.about-section {
    padding: var(--section-padding);
    background: var(--light-bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.values-list {
    list-style: none;
}

.values-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.values-list strong {
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #e67e22 100%);
    color: var(--text-light);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid white;
    cursor: pointer;
}

.btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Projects Section */
.projects-section {
    padding: var(--section-padding);
    background: white;
}

.projects-section h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.project-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.project-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.project-date {
    font-size: 1.1rem;
    margin-top: 1rem;
    opacity: 0.9;
}

.project-description {
    text-align: center;
    margin: 3rem 0;
}

.project-description h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.project-description h4 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

.initiative-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.initiative-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.initiative-card h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.initiative-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Impact Section */
.impact-section {
    padding: var(--section-padding);
    background: var(--light-bg);
}

.impact-section h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.impact-text {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.impact-text h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.impact-text ul {
    list-style: none;
    padding-left: 0;
}

.impact-text li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.impact-text li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.community-goal {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.community-goal h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.community-goal p {
    margin-bottom: 0.5rem;
}

/* Services Section */
.services-section {
    padding: var(--section-padding);
    background: white;
}

.services-section h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* Donation Section */
.donation-section {
    padding: var(--section-padding);
    background: var(--light-bg);
}

.donation-section h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.donation-section > .container > p {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.donation-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.radio-group {
    display: flex;
    gap: 2rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.amount-btn {
    padding: 0.75rem;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
    background: var(--primary-color);
    color: white;
}

#customAmount {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#customAmount:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s ease;
}

textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.875rem;
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background: white;
}

.contact-section h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Stories, Videos, Blog Sections */
.stories-section,
.videos-section,
.blog-section {
    padding: var(--section-padding);
    text-align: center;
}

.stories-section {
    background: var(--light-bg);
}

.videos-section {
    background: white;
}

.blog-section {
    background: var(--light-bg);
}

.stories-section h2,
.videos-section h2,
.blog-section h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

/* Video Grid */
.videos-grid {
    text-align: left;
}

.video-item {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.video-item video {
    width: 100%;
    height: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Hero Video */
.hero-video {
    margin: 2rem 0;
}

.hero-video video {
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    background: white;
}

/* Image Galleries */
.about-images img,
.project-images img,
.services-showcase img,
.impact-images img,
.seniors-images img,
.blog-gallery img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
    height: 300px;
    object-position: top;
}

.about-images img:hover,
.project-images img:hover,
.services-showcase img:hover,
.impact-images img:hover,
.seniors-images img:hover,
.blog-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.blog-gallery img {
    height: 200px;
}

/* Partner Logos */
.partner-logos img {
    transition: transform 0.3s ease;
}

.partner-logos img:hover {
    transform: scale(1.1);
}

/* Logo in navbar */
.logo-img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 3rem 20px;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer .social-links {
    margin-top: 1.5rem;
    gap: 2rem;
}

.footer .social-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .social-links a:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        align-items: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

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

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .values-grid,
    .initiatives-grid,
    .services-grid,
    .impact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .amount-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-description {
        text-align: center;
    }

    /* Responsive video grid */
    .videos-grid {
        grid-template-columns: 1fr !important;
    }

    /* Responsive image galleries */
    .about-images,
    .project-images,
    .services-showcase,
    .impact-images,
    .seniors-images,
    .blog-gallery {
        grid-template-columns: 1fr !important;
    }

    .about-images img,
    .project-images img,
    .services-showcase img,
    .impact-images img,
    .seniors-images img {
        height: auto;
    }

    .partner-logos {
        flex-direction: column;
        gap: 1.5rem !important;
    }

    .partner-logos img {
        height: 60px !important;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }

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

    .hero-subtitle {
        font-size: 1.3rem;
    }

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

    .projects-section h2,
    .impact-section h2,
    .services-section h2 {
        font-size: 1.8rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}


