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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #813236;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 90px;
}

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

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    height: 60px;
    width: auto;
    /* Removed complex filter that was making logo invisible */
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #FBE7C2;
    margin-bottom: 6px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-menu span:last-child {
    margin-bottom: 0;
}

/* Hamburger animation when active */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation Menu */
.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: #FBE7C2;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #fff;
}

.nav-menu a.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #813236 0%, #a04147 100%);
    padding: 120px 0 80px;
    color: #FBE7C2;
    text-align: center;
    padding-top: 0;
}

.hero.fullscreen {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    padding: 100px 0 0 0;
    flex: 1;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
    max-width: 1400px;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-content h1 {
    font-size: 5.2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #FBE7C2;
    line-height: 1.2;
}

.hero-content h3 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
}

.tagline {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #FBE7C2;
}

.cta-button {
    background: linear-gradient(45deg, #FBE7C2, #f5d49a);
    color: #813236;
    padding: 18px 45px;
    font-size: 1.4rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-image {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about {
    background-color: #FBE7C2;
    padding: 80px 0;
    color: #333;
    flex: 1;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding-top: 0;
}

/* Vision Section */
.vision {
    background-color: #FBE7C2;
    padding: 80px 0;
    color: #333;
    flex: 1;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding-top: 0;
}

.bio {
    background-color: #FBE7C2;
    padding: 80px 0;
    color: #333;
    flex: 1;
    display: flex;
    align-items: start;
    min-height: calc(100vh - 200px);
    padding-top: 0;
}


.press-release {
    background-color: #FBE7C2;
    padding: 80px 0;
    color: #333;
    flex: 1;
    display: flex;
    align-items: start;
    min-height: calc(100vh - 200px);
    padding-top: 0;
}

/* Values Section */
.values {
    background-color: #FBE7C2;
    padding: 80px 0;
    color: #333;
    flex: 1;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding-top: 0;
}

.about .container {
    width: 100%;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #813236;
    font-weight: 800;
}

.bio .container {
    width: 100%;
}

.bio h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    color: #813236;
    font-weight: 800;
}

.bio-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.bio-content p {
    margin-bottom: 1.5rem;
}

.press-release .container {
    width: 100%;
}

.press-release .container p{
    margin-bottom: 1.5rem;
}

.press-release h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-top: 2rem;
    color: #813236;
    font-weight: 800;
}

.press-release h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 1rem;
    color: #000;
    font-weight: 800;
}

.press-release-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.vision .container {
    width: 100%;
}

.vision h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    color: #813236;
    font-weight: 800;
}

.vision-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.vision-point {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    border-left: 4px solid #813236;
}

.vision-point p {
    margin: 0;
}

.vision-signature {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.2rem;
}

.vision-signature p {
    margin: 0.5rem 0;
    color: #813236;
}

/* Donate Section */
.donate {
    background-color: #f8f8f8;
    padding: 80px 0;
    color: #333;
    flex: 1;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding-top: 0;
}

.donate .container {
    width: 100%;
}

.donate h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #813236;
    font-weight: 800;
}

.legal-notice {
    background-color: #fff3cd;
    border: 2px solid #ffeaa7;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 0.95rem;
}

.donation-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus {
    border-color: #813236;
    outline: none;
}

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

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

/* Amount Buttons */
.amount-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.amount-btn {
    padding: 10px;
    border: 2px solid #813236;
    background: white;
    color: #813236;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.selected {
    background: #813236;
    color: white;
}

/* Donor Fields */
.donor-fields {
    border: 2px solid #eee;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.donor-fields h3 {
    color: #813236;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Payment Section */
.payment-section {
    border: 2px solid #eee;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.payment-section h3 {
    color: #813236;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

#card-element {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
}

#card-errors {
    color: #fa755a;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Legal Section */
.legal-section {
    margin-bottom: 2rem;
}

.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-group label {
    display: block;
    font-weight: normal;
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: left;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 2px;
    vertical-align: top;
}

.checkbox-group a {
    color: #813236;
    text-decoration: underline;
}

.privacy-policy-link {
    white-space: nowrap;
    color: #813236 !important;
    text-decoration: underline;
    cursor: pointer;
}

.privacy-policy-link:hover {
    color: #a64950 !important;
}

/* Donate Button */
.donate-button {
    width: 100%;
    background: linear-gradient(45deg, #813236, #a04147);
    color: white;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.donate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(129, 50, 54, 0.3);
}

.donate-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
footer {
    background-color: #813236;
    color: #FBE7C2;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #FBE7C2;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(251, 231, 194, 0.1);
    border: 2px solid #FBE7C2;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #FBE7C2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 231, 194, 0.3);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: #FBE7C2;
    transition: fill 0.3s ease;
}

.social-icon:hover svg {
    fill: #813236;
}

.social-icon.twitter:hover {
    border-color: #1DA1F2;
    background-color: #1DA1F2;
}

.social-icon.twitter:hover svg {
    fill: #ffffff;
}

.social-icon.instagram:hover {
    border-color: #E4405F;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.instagram:hover svg {
    fill: #ffffff;
}

.social-icon.linkedin:hover {
    border-color: #0077B5;
    background-color: #0077B5;
}

.social-icon.linkedin:hover svg {
    fill: #ffffff;
}

.social-icon.facebook:hover {
    border-color: #1877F3;
    background-color: #1877F3;
}

.social-icon.facebook:hover svg {
    fill: #fff;
}

/* Footer content layout */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-info a, .footer-info a:visited {
    color: #FBE7C2;
    text-decoration: underline;
    transition: color 0.2s;
}
.footer-info a:hover {
    color: #fff;
}

/* Press Social Section */
.press-social-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding: 2.5rem 1rem;
    border-radius: 18px;
    background: #fbe7c2;
    border: 2px solid #a04147;
    text-align: center;
    box-shadow: 0 4px 24px rgba(129, 50, 54, 0.08);
}

.press-social-section h4 {
    color: #813236;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.press-social-section .social-icons {
    justify-content: center;
    margin: 0;
    gap: 2.5rem;
}

.press-social-section .social-icon {
    width: 60px;
    height: 60px;
    border-width: 3px;
}

.press-social-section .social-icon svg {
    width: 30px;
    height: 30px;
    fill: #813236;
    transition: fill 0.3s ease;
}

.press-social-section .social-icon:hover svg {
    fill: #fbe7c2;
}

/* For press-social-section, ensure Facebook icon is visible by default and inverts on hover */
.press-social-section .social-icon.facebook svg {
    fill: #813236;
}
.press-social-section .social-icon.facebook:hover svg {
    fill: #fbe7c2;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

.modal-content {
    background-color: #ffffff;
    margin: 2% auto;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #813236, #a64950);
    color: #FBE7C2;
    padding: 1.5rem 2rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: #000;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
    float: right;
}

.close:hover {
    color: #ffffff;
}

.modal-body {
    padding: 2rem;
    line-height: 1.6;
    color: #333;
}

.modal-body h3 {
    color: #813236;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

.modal-body a {
    color: #813236;
    text-decoration: none;
    border-bottom: 1px solid #813236;
    transition: all 0.3s ease;
}

.modal-body a:hover {
    color: #a64950;
    border-bottom-color: #a64950;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Header fixes for mobile */
    header {
        padding: 0.5rem 0;
    }
    
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
    }
    
    .logo {
        height: 50px;
    }

    /* Show hamburger menu on mobile */
    .hamburger-menu {
        display: flex;
    }

    /* Hide navigation on mobile by default */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #813236;
        transition: left 0.3s ease;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
    }

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

    .nav-menu ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav-menu a {
        font-size: 1.5rem;
        padding: 1rem 2rem;
        border-radius: 10px;
        background-color: rgba(255, 255, 255, 0.1);
        display: block;
        min-width: 200px;
    }
    
    /* Hero section mobile fixes */
    .hero {
        padding: 140px 0 40px; /* Account for taller mobile header */
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
        padding: 0 15px;
        gap: 2rem;
    }

    .hero-content {
        order: 2;
        flex: none;
        min-width: unset;
    }

    .hero-image {
        order: 1;
        margin-bottom: 1rem;
        flex: none;
    }

    .hero-image img {
        max-width: 85%;
        width: 100%;
        height: auto;
    }

    .hero-content h1 {
        white-space: normal;
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-content h2 {
        font-size: 1.3rem;
    }

    .hero-content h3 {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 1.4rem;
    }
    
    .cta-button {
        font-size: 1.2rem;
        padding: 15px 35px;
    }

    /* General container padding */
    .container {
        padding: 0 15px;
    }
    
    /* Page sections spacing */
    .about, .vision, .values, .donate {
        padding: 60px 0;
    }

    /* Form responsive fixes */
    .form-row {
        grid-template-columns: 1fr;
    }

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

    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Footer spacing */
    footer {
        padding: 1.5rem 0;
    }

    /* Social icons responsive */
    .social-icons {
        gap: 1rem;
        margin: 1rem 0;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }

    .footer-content {
        gap: 0.75rem;
    }

    .footer-info {
        gap: 0.25rem;
    }

    /* Press social section responsive */
    .press-social-section {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .press-social-section h4 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .press-social-section .social-icon {
        width: 45px;
        height: 45px;
    }

    .press-social-section .social-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Responsive modal */
    .modal-content {
        margin: 5% auto;
        width: 95%;
        max-height: 85vh;
    }

    .modal-header {
        padding: 1rem 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .close {
        font-size: 1.5rem;
    }

    /* Responsive Values Page */
    .campaign-logo {
        max-width: 250px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .photo-modal-content {
        width: 100%;
    }
    
    .photo-nav button {
        font-size: 16px;
        padding: 12px;
    }

    .photo-close {
        font-size: 30px;
        top: 10px;
        right: 15px;
    }
    
    .photo-counter {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    /* Remove extra top padding from hero, about, vision, values, donate sections */
    .hero,
    .about,
    .vision,
    .values,
    .donate {
        padding-top: 0;
    }

    main {
        padding-top: 65px;
       
    }
}

@media (max-width: 480px) {
    /* Extra small mobile adjustments */
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
    }
    
    .hero-content h3 {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }

    .amount-buttons {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .donation-form-container {
        padding: 1rem;
        margin: 0 15px;
    }

    .nav-menu ul {
        gap: 1.5rem;
    }
    
    .nav-menu a {
        font-size: 1.3rem;
        padding: 0.8rem 1.5rem;
        min-width: 180px;
    }
}

/* Values Page Styles */
.values .container {
    width: 100%;
}

.values h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    color: #813236;
    font-weight: 800;
}

.values-logo {
    text-align: center;
    margin-bottom: 3rem;
}

.campaign-logo {
    max-width: 300px;
    height: auto;
    border-radius: 15px;
}

.values-content {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

.values-content p {
    margin-bottom: 1.5rem;
}

/* Photo Gallery */
.photo-gallery {
    max-width: 1000px;
    margin: 0 auto;
}

.photo-gallery h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #813236;
    font-weight: 700;
}

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

.gallery-item {
    position: relative;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(129, 50, 54, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-text {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Photo Modal - Simple W3Schools Style */
.photo-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.photo-modal-content {
    position: relative;
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.photo-modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    animation: zoom 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.photo-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.photo-close:hover,
.photo-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.photo-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.photo-nav button {
    background: rgba(241, 241, 241, 0.8);
    color: #333;
    border: none;
    font-size: 18px;
    padding: 16px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
    font-weight: bold;
}

.photo-nav button:hover {
    background: rgba(241, 241, 241, 1);
}

.photo-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #f1f1f1;
    font-size: 1rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Loading State */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Bank Transfer Styles */
.bank-transfer-container {
    background: #f8f9fa;
    border: 2px solid #28a745;
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.success-message {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.bank-info {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.bank-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.bank-detail:last-child {
    border-bottom: none;
}

.bank-detail label {
    font-weight: 600;
    color: #495057;
    margin: 0;
}

.bank-value {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #813236;
    font-size: 1.1rem;
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.transfer-instructions {
    margin-top: 1.5rem;
}

.transfer-instructions h4 {
    color: #495057;
    margin-bottom: 1rem;
}

.transfer-instructions ol {
    padding-left: 1.5rem;
    line-height: 1.6;
}

.transfer-instructions li {
    margin-bottom: 0.5rem;
}

.note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 1rem;
    color: #856404;
    margin-top: 1rem;
}

/* Primary Submit Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #813236 0%, #a94044 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(129, 50, 54, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    max-width: 350px;
    margin: 1.5rem auto;
    display: block;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #a94044 0%, #813236 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(129, 50, 54, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(129, 50, 54, 0.3);
}

.btn-primary:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0.7;
}

.btn-primary:disabled:hover {
    background: #6c757d;
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Button loading animation */
.btn-primary.loading {
    color: transparent;
}

.btn-primary.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* Error Handling Styles */
.error-container {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.error-list {
    margin: 0;
    padding-left: 1.5rem;
    color: #721c24;
}

.error-message {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Print Styles */
@media print {
    .bank-transfer-container {
        border: 2px solid #000 !important;
        box-shadow: none !important;
    }
    
    .btn-secondary {
        display: none;
    }
    
    .success-message {
        background: white !important;
        border: 1px solid #000 !important;
        color: #000 !important;
    }
    
    .bank-value {
        background: white !important;
        border: 1px solid #000 !important;
        color: #000 !important;
    }
    
    .note {
        background: white !important;
        border: 1px solid #000 !important;
        color: #000 !important;
    }
}

/* Responsive Design for Bank Transfer */
@media (max-width: 768px) {
    .bank-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .bank-value {
        width: 100%;
        text-align: center;
        font-size: 1rem;
    }
    
    .bank-transfer-container {
        padding: 1rem;
    }
}

/* Consistent top margin for all main page titles */
.about h2,
.donate h2,
.values h2,
.vision h2,
.hero-content h1 {
    margin-top: 2rem;
}

/* Remove conflicting or redundant top margins if present */
.about h2,
.donate h2,
.values h2,
.vision h2 {
    /* already set above, so no extra margin needed elsewhere */
}

#privacy-modal .modal-content {
    padding: 10px 25px 25px 25px;
}

.print-instructions-container {
    display: flex;
    align-items: center;
    justify-content: center;
}
