﻿




/*background------------------------------------*/


.backgroundrandom-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #001b3d; /* Restored Deep Blue Background */
    overflow: hidden;
    z-index: -2;
}

.backgroundrandom-shape {
    position: absolute;
    bottom: -200px;
    left: var(--x);
    width: var(--size);
    height: var(--size);
    background: var(--c);
    opacity: 0.5; /* Keeps them semi-transparent over the blue */
    filter: blur(2px); /* Softens the edges slightly */
    animation: backgroundrandom-float calc(10s + (var(--i) * 2s)) linear infinite;
    animation-delay: calc(var(--i) * -1.5s);
}

.backgroundrandom-circle {
    border-radius: 50%;
}

.backgroundrandom-rect {
    border-radius: 15%;
    transform: rotate(45deg);
}

.backgroundrandom-blob {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

@keyframes backgroundrandom-float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 0.5;
    }

    80% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-125vh) rotate(360deg);
        opacity: 0;
    }
}

/* Mobile responsive sizing */
@media (max-width: 768px) {
    .backgroundrandom-shape {
        width: calc(var(--size) * 0.6);
        height: calc(var(--size) * 0.6);
    }
}







/*contact form--------------------------*/

/* Container to center the form on the page */
.contactform-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* The Glassmorphism Card */
.contactform-card {
    background: rgba(255, 255, 255, 0.85); /* Semi-transparent white */
    backdrop-filter: blur(10px); /* The blur effect */
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.contactform-header {
    text-align: center;
    margin-bottom: 30px;
}

.contactform-title {
    color: #2d3436;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.contactform-subtitle {
    color: #636e72;
    font-size: 0.9rem;
    margin-top: 8px;
}

/* Form Groups */
.contactform-group {
    margin-bottom: 20px;
    text-align: left;
}

.contactform-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 8px;
    margin-left: 5px;
}

/* Inputs & Textarea */
.contactform-input,
.contactform-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dfe6e9;
    border-radius: 10px;
    background: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Ensures padding doesn't break width */
}

    .contactform-input:focus,
    .contactform-textarea:focus {
        outline: none;
        border-color: #74b9ff;
        box-shadow: 0 0 0 4px rgba(116, 185, 255, 0.1);
    }

/* Submit Button */
.contactform-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: #0984e3; /* Modern Church Blue */
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

    .contactform-button:hover {
        background: #074b83;
        transform: translateY(-2px);
    }

    .contactform-button:active {
        transform: translateY(0);
    }

/* Mobile Adjustments */
@media (max-width: 480px) {
    .contactform-card {
        padding: 25px 20px;
    }

    .contactform-title {
        font-size: 1.5rem;
    }
}







/*donate options popup---------------------------------*/

/* 1. Backdrop with Glassmorphism */
.donateOptionsPopup-overlay {
    /* Initially hidden - you will toggle this with JS */
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4); /* Dark slate tint */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

/* 2. Modal Container */
.donateOptionsPopup-container {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    border-radius: 32px;
    padding: 40px 24px 32px 24px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    /* Stylish Spring Animation */
    animation: donateOptionsPopup-slideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes donateOptionsPopup-slideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 3. Close Button */
.donateOptionsPopup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    border: none;
    background: #f1f5f9;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

    .donateOptionsPopup-close:hover {
        background: #e2e8f0;
    }

/* 4. Typography */
.donateOptionsPopup-header {
    text-align: center;
    margin-bottom: 32px;
}

.donateOptionsPopup-title {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: clamp(1.5rem, 5vw, 1.8rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.donateOptionsPopup-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

/* 5. Donation Cards List */
.donateOptionsPopup-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.donateOptionsPopup-card {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .donateOptionsPopup-card:hover {
        background: #ffffff;
        border-color: #3b82f6;
        transform: translateY(-3px);
        box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.1);
    }

.donateOptionsPopup-icon {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.donateOptionsPopup-details {
    flex-grow: 1;
}

.donateOptionsPopup-method-name {
    display: block;
    font-weight: 700;
    color: #1e293b;
    font-size: 1.1rem;
}

.donateOptionsPopup-method-meta {
    font-size: 0.8rem;
    color: #94a3b8;
}

.donateOptionsPopup-action-icon {
    color: #cbd5e1;
    font-weight: 900;
    font-size: 1.2rem;
}

.donateOptionsPopup-footer {
    margin-top: 32px;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
    font-style: italic;
}

/* 6. Mobile Optimization (Small screens) */
@media (max-width: 480px) {
    .donateOptionsPopup-container {
        padding: 32px 20px 24px 20px;
        border-radius: 24px;
    }
}