.main-flex {
    display: contents;
    width: 100%;
    height: 100%;
}

.left-content {
    flex: 0 0 40%;
    max-width: 40%;
    min-width: 320px;
    padding-right: 2vw;
}

.middle-area {
    flex: 0 0 20%;
    max-width: 20%;
    min-width: 80px;
}

.gallery-side {
    flex: 0 0 40%;
    max-width: 40%;
    min-width: 320px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-left: 2vw;
}

.gallery-images {
    display: inline-block;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    justify-items: center;
}

.gallery-img {
    width: 108%;
    max-width: 264px;
    aspect-ratio: 2 / 1;
    border: 4px solid #d90429;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 24px rgba(168, 50, 101, 0.10);
    transition: transform 0.5s cubic-bezier(.25, .8, .25, 1), z-index 0.2s, box-shadow 0.2s;
    cursor: pointer;
    z-index: 1;
}

.gallery-img:hover {
    text-align: center;
    transform: scale(2) translateY(-12px);
    z-index: 2;
    box-shadow: 0 8px 32px rgba(168, 50, 101, 0.18);
}

@media (max-width: 900px) {
    text-align: center;

    .main-flex {
        flex-direction: column;
    }

    .left-content,
    .gallery-side,
    .middle-area {
        max-width: 100%;
        text-align: center;
        min-width: 0;
        flex: 1 1 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .gallery-images {
        grid-template-columns: 1fr;
    }
}

/* ...existing code... */

.thankyou-title {
    text-align: center;
    font-size: 2rem;
    color: #d90429;
    margin-bottom: 18px;
}

.thankyou-message {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.thankyou-committee {
    display: block;
    font-size: 1.1rem;
    color: #a83265;
    font-weight: 600;
    margin-top: 16px;
    text-align: center;
}

.thankyou-receipt {
    background: #f8fafc;
    border-radius: 12px;
    padding: 18px 16px;
    margin: 24px auto 16px auto;
    max-width: 400px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(168, 50, 101, 0.06);
}

.thankyou-receipt h2 {
    font-size: 1.2rem;
    color: #a83265;
    margin-bottom: 12px;
    font-family: 'Oswald', Arial, sans-serif;
    text-align: center;
}

.receipt-row {
    font-size: 1rem;
    margin-bottom: 8px;
    font-family: 'Roboto', Arial, sans-serif;
}

.token-number {
    color: #d90429;
    font-weight: bold;
}

.transaction-id {
    color: #a83265;
    font-weight: bold;
}

.thankyou-instructions {
    font-size: 1rem;
    color: #fff;
    margin-top: 18px;
    background: #d90429;
    border-radius: 8px;
    padding: 14px 14px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 8px rgba(168, 50, 101, 0.10);
}

.legal-content {
    max-width: 700px;
    margin: 40px auto 32px auto;
    padding: 32px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(168, 50, 101, 0.08);
    font-family: 'Roboto', Arial, sans-serif;
    color: #222;
}

.legal-content h1 {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 2rem;
    color: #a83265;
    margin-bottom: 18px;
    text-align: center;
}

.legal-content p,
.legal-content ul {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.legal-content ul {
    padding-left: 20px;
}

.footer {
    width: 100%;
    background: #f8fafc;
    color: #444;
    padding: 24px 0 12px 0;
    border-top: 1px solid #e3e6ee;
    font-size: 1rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-menu {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

.footer-menu a {
    color: #a83265;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-menu a:hover {
    color: #d90429;
    text-decoration: underline;
}

.bg-mid {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    width: 400px;
    height: 400px;
    background: url('assets/bg_mid.png') no-repeat center center;
    background-size: contain;
    opacity: 0.1;
    pointer-events: none;
}

.donate-modal-heading {
    text-align: center;
    font-size: 1.25rem;
    color: #d90429;
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 6px;
}

.donate-modal-subheading {
    text-align: center;
    font-size: 1rem;
    color: #333;
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 400;
    margin-bottom: 12px;
}

/* Donation Modal Styles */
.donate-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0, 0, 0, 0.45);
    justify-content: center;
    align-items: center;
}

.donate-modal.show {
    display: flex;
}

.donate-modal-content {
    background: #fff;
    padding: 32px 24px 24px 24px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(168, 50, 101, 0.18);
    min-width: 320px;
    max-width: 90vw;
    width: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.donate-modal-content h3 {}

.donate-modal-subheading {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #a83265;
    text-align: center;
    margin-bottom: 12px;
}

/* ...existing code... */

.donate-modal-content label {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    color: #a83265;
    margin-bottom: 4px;
}

.donate-modal-content input {
    width: 96%;
    max-width: 340px;
    box-sizing: border-box;
    padding: 8px 12px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Roboto', Arial, sans-serif;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.donate-modal-content button.cta-btn {
    width: 100%;
    margin-top: 8px;
}

.donate-modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 2rem;
    color: #d90429;
    cursor: pointer;
    font-weight: bold;
}

/* Gallery Section Styles */
.gallery-section {
    width: 100%;
    padding: 16px 0 32px 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.gallery-title {
    display: none;
}

.gallery-images {
    /* Removed duplicate flex layout, using grid above */
}

.gallery-img {
    /* Use grid layout and sizing from earlier definition */
    /* Removed empty ruleset */

    .gallery-img:hover {
        transform: scale(1.15) translateY(-10px);
        z-index: 2;
        box-shadow: 0 8px 32px rgba(168, 50, 101, 0.18);
    }

    .tilt1 {
        transform: none !important;
    }

    .tilt2 {
        transform: none !important;
    }

    .tilt4 {
        transform: none !important;
    }

    .tilt5 {
        transform: none !important;
    }

    .tilt6 {
        transform: none !important;
    }

    @media (max-width: 900px) {
        .gallery-images {
            flex-wrap: wrap;
            min-height: 80px;
        }

        .gallery-images {
            flex-wrap: wrap;
            min-height: 80px;
        }

        .gallery-img {
            width: 180px;
            height: auto;
            aspect-ratio: 2 / 1;
        }

        /* Removed stray animation properties */
    }
}

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600&family=Roboto:wght@400&display=swap');

/* Highlight for headline */
.highlight-red {
    color: #d90429;
    font-weight: bold;
}

body {
    margin: 0;
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    background: #f9f1de;
    min-height: 100vh;
    color: #222;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px 0 48px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    border: none;
    z-index: 10;
}

.logo img {
    height: 130px;
    width: auto;
    display: block;
}

.social-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.social-icon img {
    width: 32px;
    height: 32px;
    filter: grayscale(0) brightness(1) sepia(1) saturate(10000%) hue-rotate(-10deg) opacity(1);
    transition: filter 0.2s;
}

.social-icon:hover img {
    filter: grayscale(1) brightness(0.7) opacity(1);
}

.cta-btn {
    background: #d90429;
    color: #fff;
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: bold;
    text-decoration: none;
    margin-left: 0;
    box-shadow: 0 2px 8px rgba(168, 50, 101, 0.10);
    transition: background 0.2s, color 0.2s;
}

.cta-btn:hover {
    background: #a83265;
    color: #fff;
}

.main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 29px 48px 48px 48px;
    min-height: 70vh;
    color: #222;
}

.left-content {
    max-width: 520px;
}

.left-content h1 {
    font-size: 3.2rem;
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 600;
    margin-bottom: 0.5em;
}

.left-content h1 span {
    color: #dc2c27;
    font-size: 3.6rem;
}

.left-content h2 {
    font-size: 1.5rem;
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 400;
    margin-bottom: 1em;
    color: #a83265;
}

.left-content p {
    font-size: 1.1rem;
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    margin-bottom: 2em;
    color: #444;
}

.know-more-btn {
    background: #a83265;
    color: #fff;
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(168, 50, 101, 0.10);
    transition: background 0.2s, color 0.2s;
}

.know-more-btn:hover {
    background: #fff;
    color: #a83265;
}

.right-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-img {
    max-width: 420px;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 4px 32px rgba(168, 50, 101, 0.10);
}

@media (max-width: 900px) {
    .main-content {
        flex-direction: column;
        padding: 24px;
    }

    .right-content {
        margin-top: 32px;
    }
}

.thankyou-instructions {
    text-align: center;
    padding: 30px;
}

.thankyou-instructions .cta-btn {
    display: inline-block;
    border: 1px solid #fff;
    background: #833AB4;
    background: linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
}

.thankyou-instructions p {
    margin: 0;
}

.thankyou-receipt h2 {
    text-align: left;
}

@media (max-width: 992px) {
    .left-content h1 {
        order: 1;
        font-size: 2.5rem;
        line-height: 3.5rem;
    }

    .left-content h1 span {
        font-size: 2.5rem;
    }

    .left-content {
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
    }

    .left-content a.cta-btn {
        order: 2;
    }

    .left-content p {
        order: 3;
    }

    .footer {
        padding: 15px 0;
    }

    .footer .footer-content {
        padding: 0 15px;
        text-align: center;
        max-width: 100%;
    }

    .thankyou-container {
        padding: 0 20px 20px;
    }
}