* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    overflow-x: hidden;
}

/* Header  */
header {
    background: linear-gradient(135deg, #156e93, #19849f);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: slideDown 0.8s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 0;
    flex-wrap: wrap;
}

.logo {
    /* width: 80px; */
    cursor: pointer;
    animation: fadeIn 1s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 80px;
    /* filter: brightness(0) invert(1); */
}
.logo-name{
    display: flex;
    align-items: start;
    flex-direction: column;
}
.logo-text{
    font-size: 20px;
    letter-spacing: 1px;
    font-weight: 600;
    /* padding: 25px 0px 0px 0px; */
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

.menupages ul {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.menupages ul a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.menupages ul a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e7a133;
    transition: width 0.3s ease;
}

.menupages ul a:hover::after {
    width: 100%;
}

.menupages ul a:hover {
    color: #e7a133;
}

.donate-btn {
    padding: 12px 35px;
    border: none;
    border-radius: 25px;
    background-color: #d27d32;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(210, 125, 50, 0.3);
}

.donate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(210, 125, 50, 0.5);
    background-color: #e7a133;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(21, 110, 147, 0.9), rgba(25, 132, 159, 0.9)), url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=1600');
    background-size: cover;
    background-position: center;
    padding: 120px 20px 80px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 56px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.page-header p {
    font-size: 22px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 32px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

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

/* Filter Buttons */
.filter-section {
    padding: 60px 20px 40px;
    background: white;
    text-align: center;
}

.filter-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.filter-btn {
    padding: 12px 30px;
    border: 2px solid #156e93;
    background: white;
    color: #156e93;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #156e93, #19849f);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(21, 110, 147, 0.3);
}

/* Gallery Grid */
.gallery-section {
    padding: 40px 20px 80px;
    background: white;
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease backwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.15s; }
.gallery-item:nth-child(3) { animation-delay: 0.2s; }
.gallery-item:nth-child(4) { animation-delay: 0.25s; }
.gallery-item:nth-child(5) { animation-delay: 0.3s; }
.gallery-item:nth-child(6) { animation-delay: 0.35s; }

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.gallery-image {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #156e93, #19849f);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
    position: relative;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 8px;
}

.gallery-overlay p {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    line-height: 22px;
}

.gallery-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(210, 125, 50, 0.9);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Video Section */
.video-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.video-container h2 {
    font-size: 42px;
    color: #156e93;
    margin-bottom: 20px;
}

.video-container > p {
    font-size: 20px;
    color: #666;
    margin-bottom: 50px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease backwards;
}

.video-card:nth-child(1) { animation-delay: 0.1s; }
.video-card:nth-child(2) { animation-delay: 0.2s; }
.video-card:nth-child(3) { animation-delay: 0.3s; }

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.video-thumbnail video:not([src]) {
    display: none;
}


.video-thumbnail {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #d27d32, #e7a133);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.7;
}

.video-thumbnail:hover video {
    opacity: 1;
}

.play-icon {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #d27d32;
    transition: all 0.3s ease;
    z-index: 2;
    padding-left: 5px;
}

.video-card:hover .play-icon {
    transform: scale(1.1);
    background: white;
}

.video-info {
    padding: 25px;
    text-align: left;
}

.video-info h3 {
    font-size: 20px;
    color: #156e93;
    margin-bottom: 10px;
}

.video-info p {
    font-size: 15px;
    color: #666;
    line-height: 24px;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 1000px;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
}

.close-modal:hover {
    color: #e7a133;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .video-thumbnail {
        height: 200px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .close-modal {
        font-size: 30px;
        top: -35px;
    }
}

/* Statistics Banner */
.stats-banner {
    padding: 80px 20px;
    background: linear-gradient(135deg, #156e93, #19849f);
    color: white;
    text-align: center;
}

.stats-banner h2 {
    font-size: 42px;
    margin-bottom: 50px;
}

.stats-flex {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-box {
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease backwards;
}

.stat-box:nth-child(1) { animation-delay: 0.1s; }
.stat-box:nth-child(2) { animation-delay: 0.2s; }
.stat-box:nth-child(3) { animation-delay: 0.3s; }
.stat-box:nth-child(4) { animation-delay: 0.4s; }

.stat-box:hover {
    background: rgba(255,255,255,0.15);
    transform: scale(1.05);
}

.stat-box h3 {
    font-size: 48px;
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 18px;
    opacity: 0.95;
}

/* Modal  */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #e7a133;
    transform: rotate(90deg);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #156e93, #19849f);
    color: white;
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #e7a133;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.9);
    line-height: 28px;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: #e7a133;
    padding-left: 5px;
    transition: all 0.3s ease;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #e7a133;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
}




/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        order: 3;
    }
    nav{
        position: relative;
    }

    .menupages {
        display: none;
        width: 100%;
        background: linear-gradient(135deg, #156e93, #19849f);
        margin-top: 15px;
        border-radius: 10px;
        position: absolute;
        top: 100%;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    .menupages.active {
        display: block;
    }
    .donate-btn {
        margin-top: 15px;
        display: none;
    }

    .menupages ul {
        flex-direction: column;
        padding: 20px 0;
        gap: 20px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
