/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Overall Styling */
/* Body and Overall Styling */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #000; /* A dark background to let your photo pop */
}


/* Header Styling */
header {
    text-align: center;
    padding: 20px;
    background: linear-gradient(270deg, #6a11cb, #2575fc, #6a11cb);
    background-size: 600% 600%;
    animation: gradientShift 10s ease infinite;
    color: #e0d7f5;
    font-family: 'Poppins', sans-serif;
}

/* Header h1 specifically */
header h1 {
    font-size: 2.5rem;
    color: #e0d7f5;
}

/* Keyframes for soft gradient animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* Main Content Section */
.main-content {
    position: relative;
    text-align: center;
    padding: 800px 160px;
    background: url('hfa_1.jpg') no-repeat center center/cover;
    background-size: cover;
    background-position: center;
    min-height: 400px;
    transition: background-image 1s ease-in-out;
}

/* Overlay Text */
.text-content {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 8px;
}

.text-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.text-content p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.donation-btn button {
    background: linear-gradient(270deg, #6a11cb, #2575fc, #6a11cb);
    background-size: 600% 600%;
    animation: gradientShift 10s ease infinite;
    color: #fff;
    font-size: 1.5rem;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Button Hover (just a little zoom now) */
.donation-btn button:hover {
    transform: scale(1.05);
}

/* Footer Styling */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
    font-size: 0.9rem; /* a little smaller for mobile */
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
    }

    .main-content {
        padding: 100px 20px; /* smaller and more proportional */
    }

    .text-content {
        position: static; /* no absolute positioning on mobile */
        transform: none;
        margin: 0 auto;
        background-color: rgba(0, 0, 0, 0.3);
        padding: 10px;
        border-radius: 8px;
        max-width: 100%;
    }

    .text-content h2 {
        font-size: 1.5rem;
    }

    .text-content p {
        font-size: .90rem;
    }

    .donation-btn {
        text-align: center;
        margin-top: 20px;
    }

    .donation-btn button {
        font-size: 1.2rem;
        padding: 12px 24px;
    }
}

