/* Global Styles */
:root {
    --primary-color: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #81c784;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --text-color: #444444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-dark);
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

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

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 100px;
    width: auto;
    margin-right: 15px;
}

.logo-text h1 {
    margin: 0;
    font-size: 1.8rem;
    color: #2e7d32;
}

.logo-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #333;
}

/* Social Icons Styles */
.header-social {
    display: flex;
    align-items: center;
    margin-left: 30px;
}

.header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #2e7d32;
    color: white;
    transition: all 0.3s ease;
}

.header-social a:hover {
    background-color: #1b5e20;
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .header-social {
        margin-left: 15px;
    }
}

@media (max-width: 768px) {
    .header-social {
        display: none;
    }
    
    .logo-img {
        height: 40px;
    }
}


/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.logo p {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
    position: relative;
}

.nav-item a {
    color: var(--dark-gray);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

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

.nav-item a:hover::after,
.nav-item.active a::after {
    width: 100%;
}

.nav-item.active a {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-gray);
    transition: all 0.3s ease;
}

/* Banner Slider */
.banner-slider {
    margin-top: 80px;
	position: relative;
    margin-bottom: 5px; /* Space between banner and border */
	box-shadow: 0 5px 0 #2e7d32; /* Green shadow at bottom */
    margin-bottom: 10px; /* Adjust spacing */
}

.banner-slider::after {
    content: "";
    position: absolute;
    bottom: -5px; /* Positions it right below the banner */
    left: 0;
    width: 100%;
    height: 10px; /* Border thickness */
    background-color: #2e7d32; /* Your primary green color */
    z-index: 10; /* Ensures it stays above other elements */
}

.swiper {
    width: 100%;
    height: 500px;
}

.swiper-slide {
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 50px;
    left: 50px;
    color: var(--white);
    max-width: 600px;
    background-color: rgba(46, 125, 50, 0.8);
    padding: 30px;
    border-radius: 5px;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 1.1rem;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--white);
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(46, 125, 50, 0.8);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.5rem;
}

/* Welcome Section */
.welcome-section {
    padding: 20px 0;
    text-align: center;
    background-color: var(--light-gray);
}

.welcome-section h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.welcome-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* President Message */
.president-message {
    padding: 80px 0;
    background-color: var(--white);
}

.president-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.president-image {
    text-align: center;
    flex: 0 0 300px;
}

.president-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-light);
    margin-bottom: 20px;
}

.president-image h3 {
    color: var(--primary-dark);
    font-size: 1.3rem;
}

.president-text blockquote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    position: relative;
}

/* Page Banner */
.page-banner {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 80px;
}

.page-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 1.2rem;
}


/* About Us Section */
.about-section {
    padding: 20px 0;
    background-color: #f9f9f9;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Disability Empowerment Section */
.disability-section {
    padding: 20px 0;
    background-color: #2e7d32;
    color: white;
}

.disability-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

.disability-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.disability-list {
    list-style: none;
    text-align: left;
    max-width: 600px;
    margin: 30px auto;
}

.disability-list li {
    padding: 10px 0;
    font-size: 1.1rem;
    position: relative;
    padding-left: 30px;
}

.disability-list i {
    color: #81c784;
    position: absolute;
    left: 0;
    top: 12px;
}

.disability-mission {
    font-style: italic;
    margin-top: 30px;
    font-size: 1.2rem;
}





/* Reports Section */
.reports-section {
    padding: 60px 0;
}

.responsive-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: var(--primary-color);
    color: var(--white);
}

tr:hover {
    background-color: #f5f5f5;
}

.view-btn, .download-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn {
    background-color: #2196F3;
    color: white;
}

.view-btn:hover {
    background-color: #0b7dda;
}

.download-btn {
    background-color: #4CAF50;
    color: white;
}

.download-btn:hover {
    background-color: #45a049;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 900px;
    border-radius: 5px;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

#pdfViewer, #fileViewer {
    width: 100%;
    height: 80vh;
}

/* Gallery Section */
.gallery-section {
    padding: 60px 0;
}

.gallery-filter {
    text-align: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    margin: 0 5px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 125, 50, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

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

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.page-btn {
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    color: var(--text-color);
    transition: all 0.3s ease;
}

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

/* Contact Section */
.contact-section {
    padding: 60px 0;
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info h3, .contact-form h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 30px;
    position: relative;
}

.contact-info h3::after, .contact-form h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
}

#form-message {
    margin-top: 20px;
}

.success {
    color: var(--primary-color);
    padding: 10px;
    background-color: rgba(46, 125, 50, 0.1);
    border-left: 4px solid var(--primary-color);
}

.error {
    color: #f44336;
    padding: 10px;
    background-color: rgba(244, 67, 54, 0.1);
    border-left: 4px solid #f44336;
}

.map-container h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 30px;
    position: relative;
}

.map-container h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.map {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 5px;
}

/* Donation Page Styles */
.donate-banner {
    background: linear-gradient(rgba(46, 125, 50, 0.8), rgba(46, 125, 50, 0.9)), 
                url('../images/donate-banner.jpg') center/cover;
    color: white;
    text-align: center;
    padding: 100px 0;
    margin-top: 80px;
}

.donate-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

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

.method-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.method-card:hover {
    transform: translateY(-5px);
}

.method-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.amount-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.amount-btn {
    padding: 8px 15px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

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

#customAmount {
    flex: 1;
    min-width: 120px;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.donate-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 15px;
}

.donate-btn:hover {
    background: var(--primary-dark);
}

.payment-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.payment-options img {
    height: 30px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.payment-options img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.bank-details {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}

.bank-details p {
    margin-bottom: 10px;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 8px 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.other-options {
    list-style: none;
    margin-top: 20px;
}

.other-options li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.other-options li:last-child {
    border-bottom: none;
}

.other-options i {
    color: var(--primary-color);
    width: 20px;
}

.donation-impact {
    padding: 80px 0;
    background: #f9f9f9;
}

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

.impact-card {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.impact-icon {
    font-size: 2rem;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.education-icon { background: rgba(33, 150, 243, 0.1); color: #2196F3; }
.health-icon { background: rgba(244, 67, 54, 0.1); color: #F44336; }
.food-icon { background: rgba(255, 152, 0, 0.1); color: #FF9800; }
.disability-icon { background: rgba(156, 39, 176, 0.1); color: #9C27B0; }

@media (max-width: 768px) {
    .donate-banner {
        padding: 80px 0;
    }
    
    .donate-banner h1 {
        font-size: 2rem;
    }
    
    .method-card {
        padding: 20px;
    }
}


/* Footer Styles */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h4 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.footer-col p {
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-col ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


/* Footer Social Icons */
.footer-social {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-social {
        justify-content: center;
        margin-top: 25px;
    }
    
    .footer-col:first-child {
        text-align: center;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .swiper {
        height: 400px;
    }
    
    .slide-content {
        bottom: 30px;
        left: 30px;
        max-width: 500px;
        padding: 20px;
    }
    
    .president-content {
        flex-direction: column;
    }
    
    .president-image {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .swiper {
        height: 350px;
    }
    
    .slide-content {
        bottom: 20px;
        left: 20px;
        max-width: 80%;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .swiper {
        height: 300px;
    }
    
    .slide-content {
        padding: 15px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .welcome-section h2 {
        font-size: 1.6rem;
    }
    
    .page-banner h2 {
        font-size: 2rem;
    }
    
    .contact-row {
        flex-direction: column;
    }
}