/* Base Styles */
:root {
    --primary-color: #2c7be5;
    --secondary-color: #00d97e;
    --dark-color: #12263f;
    --light-color: #f9fafc;
    --gray-color: #95aac9;
    --danger-color: #e63757;
    --warning-color: #f6c343;
    --success-color: #00d97e;
    --font-primary: 'Open Sans', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: #1a68c7;
}

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

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.25rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: #1a68c7;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #00b96b;
}

/* Header Styles */


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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    height: 50px;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.primary-navigation ul {
    display: flex;
    gap: 1.5rem;
}

.primary-navigation a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.primary-navigation a:hover,
.primary-navigation a.active {
    color: var(--primary-color);
}

.primary-navigation a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.donate-btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
    transition: var(--transition);
}

.donate-btn:hover {
    background-color: #00b96b;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nav-container {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .nav-container {
        order: 3;
        width: 100%;
        justify-content: space-between;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .primary-navigation {
        position: fixed;
        top: 82px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease-out;
        z-index: 999;
    }
    
    .primary-navigation[data-visible="true"] {
        transform: translateY(0);
    }
    
    .primary-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .primary-navigation a {
        display: block;
        padding: 0.75rem;
    }
    
    .header-actions {
        margin-left: auto;
    }
}

@media (max-width: 576px) {
    .header-content {
        padding: 0.5rem 0;
    }
    
    .logo {
        height: 40px;
    }
    
    .donate-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}












.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    height: 50px;
}

.primary-navigation ul {
    display: flex;
    gap: 1.5rem;
}

.primary-navigation a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

.primary-navigation a:hover,
.primary-navigation a.active {
    color: var(--primary-color);
}

.primary-navigation a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Slider */
.slider-container {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    margin-top: 72px; /* Account for fixed header */
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.slide-caption {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    max-width: 600px;
    border-radius: 0.5rem;
}

.slide-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.slide-caption p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.slider-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.slider-nav button {
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.slider-nav button:hover {
    background-color: var(--primary-color);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

.welcome-section {
    text-align: center;
    padding: 4rem 0;
}

.welcome-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

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

.welcome-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 3rem 0;
}

.stats-section .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-box {
    padding: 1.5rem;
}

.stat-box h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Events Section */
.events-section {
    background-color: var(--light-color);
}

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

.event-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    padding: 2rem;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.event-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.event-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

/* Contact Page Styles */
.contact-hero {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin-top: 72px;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-section {
    padding: 4rem 0;
}

.contact-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.contact-info p {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 123, 229, 0.2);
}

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

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1.5rem;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1.5rem;
}

.map-section {
    padding: 0 0 4rem;
}

.map-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
}

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

/* Footer Styles */
.site-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 0;
}

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

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-col p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

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

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

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-col i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.newsletter-form input {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

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

.footer-bottom p {
    opacity: 0.7;
    margin-bottom: 0;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0.5rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #1a68c7;
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-section .container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu-toggle[aria-expanded="true"] .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .primary-navigation {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease-out;
        z-index: 999;
    }
    
    .primary-navigation[data-visible="true"] {
        transform: translateY(0);
    }
    
    .primary-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .primary-navigation a {
        display: block;
        padding: 0.75rem;
    }
    
    .slide-caption {
        left: 5%;
        right: 5%;
        max-width: 90%;
        bottom: 10%;
    }
    
    .slide-caption h2 {
        font-size: 1.8rem;
    }
    
    .stats-section .container {
        grid-template-columns: 1fr 1fr;
    }
    
    .welcome-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .slide-caption h2 {
        font-size: 1.5rem;
    }
    
    .slide-caption p {
        font-size: 1rem;
    }
    
    .stats-section .container {
        grid-template-columns: 1fr;
    }
    
    .stat-box h3 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}







/* About Page Styles */
.page-hero {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 5rem 0;
    margin-top: 72px;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 3rem 0;
}

.about-image img {
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
}

.mission-section {
    background-color: var(--light-color);
    padding: 4rem 0;
}

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

.mission-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.mission-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-section {
    padding: 4rem 0;
    text-align: center;
}

.section-subtitle {
    color: var(--gray-color);
    margin-bottom: 2rem;
}

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

.team-member {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 5px solid var(--light-color);
}

.position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.bio {
    color: var(--gray-color);
}

.partners-section {
    background-color: var(--light-color);
    padding: 4rem 0;
    text-align: center;
}

.partners-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.partners-grid img {
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partners-grid img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Programs Page Styles */
.program-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.program-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.program-card img {
    border-radius: 0.5rem;
    height: 100%;
    object-fit: cover;
}

.program-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.program-stats li {
    background-color: var(--light-color);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.program-stats strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.impact-section {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

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

.impact-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.impact-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.impact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section {
    text-align: center;
    padding: 4rem 0;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Donate Page Styles */
.donate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.donation-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 2rem;
}

.donation-tab {
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.donation-tab.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

.amount-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.amount-options input[type="radio"] {
    display: none;
}

.amount-options label {
    display: block;
    padding: 0.75rem;
    background-color: var(--light-color);
    border-radius: 0.25rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.amount-options input[type="radio"]:checked + label {
    background-color: var(--primary-color);
    color: white;
}

.other-giving-option {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--box-shadow);
}

.impact-visual {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
    box-shadow: var(--box-shadow);
}

.impact-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.impact-item:last-child {
    border-bottom: none;
}

.impact-amount {
    font-weight: 700;
    color: var(--primary-color);
    min-width: 80px;
    font-size: 1.25rem;
}

.testimonial {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
    box-shadow: var(--box-shadow);
}

.testimonial blockquote {
    font-style: italic;
    color: #555;
}

.testimonial cite {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    font-style: normal;
}

.security-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-color);
}

.security-info i {
    color: var(--success-color);
}

/* Thank You Page Styles */
.thank-you-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 2rem;
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about-grid,
    .program-card,
    .donate-grid {
        grid-template-columns: 1fr;
    }
    
    .program-card img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .mission-grid,
    .team-grid,
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .program-tabs,
    .donation-tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .tab-btn,
    .donation-tab {
        border-bottom: none;
        border-left: 3px solid transparent;
        text-align: left;
    }
    
    .tab-btn.active,
    .donation-tab.active {
        border-left-color: var(--primary-color);
        border-bottom-color: transparent;
    }
}

@media (max-width: 576px) {
    .thank-you-actions,
    .cta-buttons {
        flex-direction: column;
    }
    
    .amount-options {
        grid-template-columns: 1fr 1fr;
    }
}













/* Thank You Page Styles */
.donation-summary {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 600;
}

.summary-value {
    color: var(--primary-color);
}















/* Gallery Page Styles */
.gallery-hero {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin-top: 72px;
}

.gallery-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background-color: var(--light-color);
    border: none;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.filter-btn:hover:not(.active) {
    background-color: #e0e6ef;
}

.view-options {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    padding: 0.5rem;
    background-color: var(--light-color);
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.view-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.gallery-content {
    display: grid;
    gap: 1.5rem;
}

/* Grid View Layout */
.gallery-content.grid-view {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.gallery-content.grid-view .gallery-item {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.gallery-content.grid-view .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gallery-content.grid-view .item-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.gallery-content.grid-view .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-content.grid-view .gallery-item:hover .item-image img {
    transform: scale(1.05);
}

.gallery-content.grid-view .image-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    transition: var(--transition);
}

.gallery-content.grid-view .gallery-item:hover .image-overlay {
    bottom: 0;
}

.gallery-content.grid-view .category-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.gallery-content.grid-view .item-details {
    padding: 1rem;
    display: none; /* Only show in list view */
}

/* List View Layout */
.gallery-content.list-view {
    grid-template-columns: 1fr;
}

.gallery-content.list-view .gallery-item {
    display: flex;
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.gallery-content.list-view .item-image {
    width: 250px;
    height: 180px;
    flex-shrink: 0;
}

.gallery-content.list-view .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-content.list-view .item-details {
    padding: 1.5rem;
    flex-grow: 1;
}

.gallery-content.list-view .item-details h3 {
    margin-bottom: 0.5rem;
}

.gallery-content.list-view .item-meta {
    display: flex;
    gap: 1rem;
    color: var(--gray-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.gallery-content.list-view .item-meta i {
    margin-right: 0.25rem;
}

.gallery-content.list-view .image-overlay {
    display: none;
}

.load-more {
    text-align: center;
    margin-top: 3rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .gallery-filter {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .gallery-content.list-view .gallery-item {
        flex-direction: column;
    }
    
    .gallery-content.list-view .item-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 576px) {
    .gallery-content.grid-view {
        grid-template-columns: 1fr;
    }
}












/* Gallery Pagination Styles */
.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    background-color: var(--light-color);
    border-radius: 0.25rem;
    color: var(--dark-color);
    font-weight: 600;
    transition: var(--transition);
}

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

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-numbers a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.25rem;
    background-color: var(--light-color);
    color: var(--dark-color);
    font-weight: 600;
    transition: var(--transition);
}

.page-numbers a:hover:not(.active) {
    background-color: #e0e6ef;
}

.page-numbers a.active {
    background-color: var(--primary-color);
    color: white;
}

.loading, .no-items {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: var(--gray-color);
}

.error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: var(--danger-color);
}

/* Responsive Pagination */
@media (max-width: 576px) {
    .gallery-pagination {
        gap: 0.5rem;
    }
    
    .pagination-btn {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    
    .page-numbers a {
        width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
    }
}