/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden-content {
    display: none;
}

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #e74c3c;
    font-weight: 600;
}

.nav-logo i {
    margin-right: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #e74c3c;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #e74c3c 100%);
    color: white;
    padding: 10px 0 5px;
    text-align: center;
}

.hero-content {
    margin-top: 80px;
}

.hero-content-text {
    padding: 20px;
    border-radius: 15px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.1;
    white-space: nowrap;
    text-align: center;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    margin-top: 30px;
    padding: 20px 0;
    width: 100%;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-top: 30px;
    padding: 30px 0;
    width: 100%;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 800px;
    margin: 0 auto;
}

/* Mission Section */
.mission {
    background: #f8f9fa;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mission-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
}

.mission-card i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

.mission-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.mission-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Impact Section */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.impact-story {
    background: white;
    border-left: 4px solid #e74c3c;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.story-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.story-content p {
    color: #555;
    margin-bottom: 1rem;
    font-style: italic;
    line-height: 1.6;
}

.story-author {
    font-weight: 600;
    color: #e74c3c;
    font-size: 0.9rem;
}

/* Call to Action */
.cta {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #e74c3c 100%);
    color: white;
    padding: 10px 0;
    text-align: center;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-logo {
    width: 35px;
    height: 35px;
    margin-bottom: 3px;
    object-fit: contain;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section p,
.footer-section li {
    color: #bdc3c7;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #e74c3c;
}

/* Social links: */
.footer .social-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-start; /* default: left-aligned */
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer .social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%; 
	background: #34495e;
    /*background: #f2f2f2;*/
    /*color: #333;*/
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 200ms ease, background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    font-size: 16px;
}

/* Hover / focus states */
.footer .social-links a:hover {
    transform: translateY(-1px) scale(1.05);
    background-color: #e74c3c; 
    color: #fff;
    box-shadow: 0 6px 18px rgba(231,76,60,0.18);
    outline: none;
}

/* Accessibility: visible focus ring for keyboard users */
.footer .social-links a:focus {
    box-shadow: 0 0 0 3px rgba(231,76,60,0.12);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
}

/* Footer bottom credit styling */
.footer-bottom .site-credit {
    margin-top: 6px;
    font-size: 0.875rem;
    color: #A0A8B0;
}

.footer-bottom .site-credit a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

.footer-bottom .site-credit a:hover,
.footer-bottom .site-credit a:focus {
    color: #ffffff;
    text-decoration: none;
}

/* Light-mode adjustment if footer is light */
@media (prefers-color-scheme: light) {
    .footer-bottom .site-credit { color: #8a8a8a; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        white-space: normal;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .mission-grid,
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Center social links on mobile only (keeps circular icon style and hover) */
    .footer .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Additional Page Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #e74c3c 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* About Page Styles */
.our-story {
    padding: 80px 0;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.vision-mission {
    background: #f8f9fa;
    padding: 80px 0;
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.vm-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.vm-icon {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

.vm-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.vm-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.values {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-card i {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.value-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.value-card p {
    color: #555;
    line-height: 1.6;
}

/* Team Section */
.team {
    background: #f8f9fa;
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.member-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.position {
    color: #e74c3c;
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-info p {
    color: #555;
    line-height: 1.6;
}

/* Achievements */
.achievements {
    padding: 80px 0;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.achievement-item {
    padding: 2rem;
    border-left: 4px solid #e74c3c;
    background: #f8f9fa;
    border-radius: 0 10px 10px 0;
}

.achievement-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.achievement-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.achievement-item p {
    color: #555;
}

/* Programs Page Styles */
.program-section {
    padding: 80px 0;
}

.program-section:nth-child(even) {
    background: #f8f9fa;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.program-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.program-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
}

.program-badge {
    background: #e74c3c;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.program-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.program-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.detail-item i {
    color: #e74c3c;
}

/* Impact Summary */
.impact-summary {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.impact-stat {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Get Involved Page Styles */
.volunteer-section {
    padding: 80px 0;
}

.volunteer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.volunteer-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.volunteer-card:hover {
    transform: translateY(-5px);
}

.volunteer-icon {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

.volunteer-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.volunteer-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.volunteer-details {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.volunteer-details span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #666;
    font-size: 0.9rem;
}

.volunteer-details i {
    color: #e74c3c;
}

/* Donation Section */
.donation-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.donation-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.donation-card:hover {
    transform: translateY(-5px);
}

.donation-card.featured {
    border: 3px solid #e74c3c;
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #e74c3c;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.donation-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.donation-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

.donation-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.donation-benefits li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.donation-benefits li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.other-ways {
    margin-top: 4rem;
    text-align: center;
}

.other-ways h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.support-item {
    text-align: center;
    padding: 1.5rem;
}

.support-item i {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.support-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.support-item p {
    color: #555;
    line-height: 1.6;
}

/* Form Styles */
.form-section {
    padding: 80px 0;
}

.form-section:nth-child(even) {
    background: #f8f9fa;
}

.application-form,
.contact-form,
.donation-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.3rem;
    display: block;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.donation-amounts {
    margin-bottom: 2rem;
}

.donation-amounts h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.amount-btn {
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
    border-color: #e74c3c;
    background: #e74c3c;
    color: white;
}

.custom-amount {
    grid-column: 1 / -1;
}

.payment-security {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

.payment-security i {
    color: #27ae60;
    margin-right: 0.3rem;
}

/* Contact Page Styles */
.contact-info {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-icon {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.contact-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.office-hours h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
    color: #2c3e50;
}

.contact-form-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.form-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Map Section */
.map-section {
    padding: 80px 0;
}

.map-container {
    margin-top: 2rem;
}

.map-placeholder {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 15px;
    padding: 4rem 2rem;
    text-align: center;
    color: #666;
}

.map-placeholder i {
    font-size: 4rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.map-placeholder h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.directions {
    margin-top: 2rem;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.directions h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.directions ul {
    list-style: none;
    padding: 0;
}

.directions li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.2rem;
}

.directions li::before {
    content: "→";
    color: #e74c3c;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.faq-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
}

/* Emergency Contact */
.emergency-contact {
    background: #e74c3c;
    color: white;
    padding: 2rem 0;
}

.emergency-banner {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 1.5rem;
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.emergency-content i {
    font-size: 2rem;
    color: #fff;
}

.emergency-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.emergency-text p {
    opacity: 0.9;
}

.emergency-number {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Mobile Responsiveness for New Elements */
@media (max-width: 768px) {
    .vm-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .amount-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .donation-card.featured {
        transform: none;
    }
}

/* Left-align donation section description while keeping the h2 unchanged */
.donation-section .section-header p {
    text-align: left;
}

/* Navbar logo sizing moved from inline HTML to CSS */
.navbar .nav-logo h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 1.125rem;
}

.navbar .nav-logo .nav-logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: inline-block;
    margin: -12px 0 -12px 0;
}

/* Gallery Section Styles */
.gallery-section {
    position: relative;
    width: 100%;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0px 0;
    background: #f8f9fa;
    margin: 0px 0;
    border-radius: 20px;
}

.gallery-section .section-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 50%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.gallery-section .section-header {
    margin-bottom: 10px;
}

.gallery-section .section-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-weight: 300;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    perspective: 1500px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -40px;
}

.slides-wrapper {
    position: relative;
    width: 100%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    position: absolute;
    width: 50%;
    height: 80%;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    background: #fff;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slide.active:hover .video-controls {
    opacity: 1;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #e74c3c;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.video-play-btn:hover {
    transform: scale(1.1);
    background: white;
}

.video-play-btn.playing {
    width: 60px;
    height: 60px;
    font-size: 24px;
}

.fullscreen-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #e74c3c;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 6;
    opacity: 0;
}

.slide.active:hover .fullscreen-btn {
    opacity: 1;
}

.fullscreen-btn:hover {
    transform: scale(1.1);
    background: white;
}

.slide video:fullscreen,
.slide video:-webkit-full-screen,
.slide video:-moz-full-screen,
.slide video:-ms-fullscreen {
    object-fit: contain;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, 
        rgba(0,0,0,0.95) 0%, 
        rgba(0,0,0,0.7) 50%,
        transparent 100%);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.slide.active .slide-overlay {
    transform: translateY(0);
}

.slide-number {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.slide-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    line-height: 1.2;
}

.slide-description {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    font-weight: 300;
}

/* Slide positioning */
.slide.active {
    z-index: 3;
    transform: translateX(0) scale(1);
    filter: blur(0) brightness(1);
    opacity: 1;
}

.slide.prev {
    z-index: 2;
    transform: translateX(-70%) scale(0.75);
    filter: blur(4px) brightness(0.5);
    opacity: 0.4;
}

.slide.next {
    z-index: 2;
    transform: translateX(70%) scale(0.75);
    filter: blur(4px) brightness(0.5);
    opacity: 0.4;
}

.slide.hidden {
    z-index: 1;
    transform: translateX(0) scale(0.5);
    opacity: 0;
    pointer-events: none;
}

/* Navigation */
.nav-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.nav-btn {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(231, 76, 60, 0.3);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: #e74c3c;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: #e74c3c;
    border-color: #c0392b;
    color: white;
    transform: scale(1.1);
}

.progress-indicators {
    display: flex;
    gap: 12px;
    align-items: center;
}

.progress-dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(231, 76, 60, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.progress-dot:hover {
    background: rgba(231, 76, 60, 0.6);
}

.progress-dot.active {
    background: #e74c3c;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.6);
}

.progress-dot.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid rgba(231, 76, 60, 0.3);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.slide-counter {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 600;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.9);
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.slide-counter span {
    color: #e74c3c;
    font-size: 1.3rem;
}

/* Background decoration */
.bg-decoration {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    z-index: 0;
}

.bg-decoration.one {
    top: 10%;
    left: 10%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    animation: float 8s ease-in-out infinite;
}

.bg-decoration.two {
    bottom: 10%;
    right: 10%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

/* Gallery Responsive Design */
@media (max-width: 1024px) {
    .slide {
        width: 70%;
    }

    .carousel-container {
        margin-top: -30px;
    }

    .gallery-section .section-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .carousel-wrapper {
        height: 500px;
    }

    .carousel-container {
        margin-top: -20px;
    }

    .slide {
        width: 85%;
        height: 70%;
    }

    .slide.prev, .slide.next {
        transform: translateX(0) scale(0.85);
        opacity: 0;
    }

    .gallery-section .section-header h1 {
        font-size: 2rem;
    }

    .slide-title {
        font-size: 1.5rem;
    }

    .slide-description {
        font-size: 0.95rem;
    }

    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}