/* ================================
   Home Page Styles
   ================================ */

/* ================================
   Hero Section
   ================================ */
.hero-section {

    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--secondary-color);
    position: relative;
    justify-content: flex-start; /* Changed from center to flex-start */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Creates parallax effect */
    opacity: 0.5; /* Adjust opacity so text remains readable */
    z-index: 0;
}


.hero-section .container {
    position: relative;
    z-index: 1;
    padding-top: 100px;
    padding-bottom: 100px;
    text-align: left; /* Changed from center to left */
}

.hero-section h1 {
    position: relative;
    display: inline-block; /* Makes background wrap text */
    background-color: rgba(198, 40, 40, 0.5); /* 50% opacity red background */
    padding: 20px 40px; /* Padding around text */
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 800px; /* Limits paragraph width for better readability */
}

/* ================================
   Responsive Adjustments
   ================================ */
@media (max-width: 992px) {
    .donors-list {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .hero-section::before {
        background-attachment: scroll; /* Disable parallax on mobile for better performance */
    }

    .hero-section .container {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .donors-list {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .hero-section .container {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .donors-list {
        column-count: 1;
    }
}

    /* Active state for amount buttons */
    .amount-btn.active {
        background-color: var(--primary-color) !important;
        color: white !important;
        border-color: var(--primary-color) !important;
    }

    /* Payment element styling */
    #payment-element {
        margin-top: 20px;
    }

    /* Special 800 button styling */
    .amount-btn-special {
        height: auto;
        padding: 15px;
        text-align: left;
    }

    .amount-btn-special .amount {
        font-size: 1.5rem;
        font-weight: bold;
        display: block;
    }

    .amount-btn-special .description {
        font-size: 0.85rem;
        display: block;
        margin-top: 5px;
    }

    /* Hide sections initially */
    .donor-info-section,
    .payment-section {
        display: none;
    }

    /* Info cards styling */
    .info-card {
        position: sticky;
        top: 100px;
    }

    @media (max-width: 768px) {
        .info-card {
            position: relative;
            top: 0;
            margin-top: 20px;
        }
    }


/* Custom spacing for donation cards */
.donation-options {
    display: flex;
    gap: 30px; /* Space between first card and the pair */
}

.donation-options .first-option {
    flex: 0 0 40%; /* First card takes 40% */
}

.donation-options .paired-options {
    flex: 1; /* Remaining space */
    display: flex;
    gap: 15px; /* Small gap between 2nd and 3rd */
}

.donation-options .paired-options .card {
    flex: 1;
}

@media (max-width: 768px) {
    .donation-options {
        flex-direction: column;
    }
}


/* ================================
   Annual Report Card
   ================================ */
.annual-report-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.annual-report-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.annual-report-card .report-icon img {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.annual-report-card:hover .report-icon img {
    transform: scale(1.05);
}

.annual-report-card .btn {
    white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .annual-report-card .row {
        text-align: center;
    }

    .annual-report-card .col-auto,
    .annual-report-card .col {
        margin-bottom: 15px;
    }

    .annual-report-card .report-icon img {
        max-width: 80px !important;
        margin: 0 auto;
        display: block;
    }
}
/* ================================
   Donors Section with Parallax Background
   ================================ */
.donors-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

/* Background image with parallax */
.donors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background-2.png'); /* Your background image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
    z-index: 0;
}

/* Dark overlay */
.donors-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 50% dark opacity */
    z-index: 1;
}

.donors-section .container {
    position: relative;
    z-index: 2;
}

.donors-section h3 {
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.donors-list {
    text-align: center;
    line-height: 1.4; /* Minimum distance between lines */
}

.donor-name {
    display: inline; /* Keep all names in one continuous flow */
    color: white;
    font-size: 14px;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    white-space: normal; /* Allow wrapping */
}

/* Responsive */
@media (max-width: 768px) {
    .donors-section {
        padding: 60px 0;
    }

    .donors-section::before {
        background-attachment: scroll; /* Disable parallax on mobile */
    }

    .donor-name {
        font-size: 12px;
    }

    .donors-list {
        line-height: 1.3;
    }
}

/* All amount buttons now use secondary color */
.amount-btn {
    border-color: var(--secondary-color, #263238) !important;
    color: var(--secondary-color, #263238) !important;
    background: white !important; /* No gradient */
}

/* Active state uses secondary background */
.amount-btn.active {
    background-color: var(--secondary-color, #263238) !important;
    color: white !important;
    border-color: var(--secondary-color, #263238) !important;
}

/* Continue and Proceed buttons remain primary color */
#continue-btn,
#proceed-to-payment-btn {
    background: var(--primary-color) !important;
    background-image: none !important; /* No gradient */
}

.info-card .text-primary {
    color: var(--secondary-color, #263238) !important;
    font-weight: bold !important;
}


/* Annual report card styling */
.annual-report-card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; /* Lighter shadow */
}

/* Annual report title - use secondary color */
.annual-report-card .text-primary {
    color: var(--primary-color, #263238) !important;
    font-weight: bold !important;
}