/* =========================================
   HERO SECTION (Faded Split Design)
   ========================================= */
.hero-section {
    display: flex;
    align-items: center;
    background-color: #efe5db;
    position: relative;
    overflow: hidden; 
    min-height: 750px; 
    height: 95vh; 
    padding-top: 120px; 
}

.hero-content {
    width: 50%;
    padding-left: 5%;
    padding-right: 5%;
    z-index: 2; 
}

.hero-content h1 {
    font-size: 4rem; 
    line-height: 1.1;
    margin-bottom: 40px;
    text-transform: capitalize;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    width: 60%;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    z-index: 0;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1px; 
    width: 40%; 
    height: 100%;
    background: linear-gradient(to right, #efe5db 10%, rgba(239, 229, 219, 0) 100%);
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center top; 
    display: block;
    border-radius: 0; 
}

/* =========================================
   TEXT MESSAGE SECTION
   ========================================= */
.message-section {
    background-color: #efe5db; 
    padding: 100px 5%;
    text-align: center;
}

.message-container {
    max-width: 900px;
    margin: 0 auto;
}

.message-container h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #1c4632;
}

.solution-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 50px;
    color: #1c4632;
    opacity: 0.9;
}

.message-links {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.link-item {
    font-size: 1.2rem;
    font-weight: 900;
    color: #1c4632;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.link-item:hover {
    border-bottom: 2px solid #1c4632;
    transform: translateY(-3px);
}

/* =========================================
   ABOUT SUMMARY SECTION
   ========================================= */
.about-summary-section {
    background-color: #ffffff; 
    padding: 100px 5%;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #1c4632;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1c4632;
    opacity: 0.9;
    margin-bottom: 35px;
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    border-radius: 0; 
    box-shadow: 0px 15px 30px rgba(28, 70, 50, 0.15);
}

/* =========================================
   PORTFOLIO / FEATURED RESCUE SECTION
   ========================================= */
.portfolio-section {
    background-color: #efe5db; 
    padding: 100px 5%;
}

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

.portfolio-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.portfolio-tag {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1c4632;
    margin-bottom: 15px;
    background-color: transparent;
    padding: 0;
}

.portfolio-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #1c4632;
}

.portfolio-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1c4632;
    opacity: 0.9;
}

.portfolio-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.portfolio-card {
    flex: 1;
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(28, 70, 50, 0.08);
    overflow: hidden;
}

.portfolio-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.portfolio-caption {
    padding: 20px;
    text-align: center;
}

.portfolio-caption p {
    font-size: 1rem;
    font-weight: bold;
    color: #1c4632;
    margin: 0;
}

.portfolio-action {
    text-align: center;
}

/* =========================================
   HOME REPORT & TRACK CTA SECTION (SPLIT LAYOUT)
   ========================================= */
.home-report-section {
    background-color: #efe5db; 
    padding: 90px 5%;
}

.home-report-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    text-align: left;
}

.home-report-text {
    flex: 1;
}

.home-report-text .section-tag {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1c4632;
    margin-bottom: 15px;
}

.home-report-text h2 {
    font-size: 2.8rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #1c4632;
    margin-bottom: 20px;
    line-height: 1.15;
}

.home-report-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #1c4632;
    opacity: 0.9;
    margin-bottom: 35px;
}

.home-report-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 320px;
}

.home-report-image img {
    width: 100%;
    max-width: 450px;
    height: 100%;
    object-fit: cover;
    display: block;
    box-shadow: 0px 15px 30px rgba(28, 70, 50, 0.15);
}

/* =========================================
   BOOK SPOTLIGHT SECTION
   ========================================= */
.book-section {
    background-color: #ffffff;
    padding: 100px 5%;
}

.book-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.book-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-cover-img {
    width: 100%;
    max-width: 580px;
    height: auto;
    display: block;
    box-shadow: none; 
}

.book-text {
    flex: 1;
}

.book-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #1c4632;
}

.book-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1c4632;
    opacity: 0.9;
    margin-bottom: 35px;
}

/* =========================================
   DONATION SECTION (HEADER CREAM BG)
   ========================================= */
.donation-section {
    background-color: #efe5db; 
    color: #1c4632;
    padding: 100px 5% 80px;
}

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

.donation-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.donation-header h2 {
    font-size: 2.8rem;
    text-transform: uppercase;
    color: #1c4632;
    margin-bottom: 15px;
}

.donation-header p {
    font-size: 1.15rem;
    color: #1c4632;
    opacity: 0.9;
}

.donation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.impact-card {
    background-color: #ffffff;
    border: 1px solid #1c4632;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.25s ease;
    border-radius: 0;
    color: #1c4632;
}

.impact-card:hover {
    background-color: #1c4632;
    color: #efe5db;
    border-color: #1c4632;
    transform: translateY(-5px);
}

.impact-card:hover .impact-amount,
.impact-card:hover .card-action-btn {
    color: #efe5db;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.impact-amount {
    font-size: 2.2rem;
    font-weight: 900;
    color: #1c4632;
    transition: color 0.25s ease;
}

.impact-card h3 {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 30px;
    font-weight: 700;
}

.card-action-btn {
    background: none;
    border: none;
    color: #1c4632;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    cursor: pointer;
    text-align: left;
    padding: 0;
    letter-spacing: 1px;
    transition: color 0.25s ease;
}

.custom-donation-bar {
    text-align: center;
    margin-bottom: 50px;
}

.custom-donate-btn {
    background-color: #1c4632;
    border: 2px solid #1c4632;
    color: #efe5db;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.25s ease;
    border-radius: 0;
}

.custom-donate-btn:hover {
    background-color: transparent;
    color: #1c4632;
}

.donation-faqs-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #1c4632;
    opacity: 0.8;
}

.faq-trigger {
    cursor: pointer;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.faq-trigger:hover {
    opacity: 1;
    color: #1c4632;
}

.faq-dot {
    opacity: 0.4;
}

/* =========================================
   CHECKOUT MODAL STYLING
   ========================================= */
.donation-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.donation-modal-overlay.active {
    display: flex;
}

.donation-modal-card {
    background-color: #ffffff;
    color: #1c4632;
    border: 2px solid #1c4632;
    width: 100%;
    max-width: 460px;
    padding: 40px 30px 30px;
    position: relative;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #1c4632;
    line-height: 1;
}

.modal-header {
    margin-bottom: 25px;
    text-align: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #1c4632;
    margin-bottom: 5px;
}

.modal-security-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #27ae60;
}

.selected-tier-banner {
    background-color: #efe5db;
    border: 1px solid #1c4632;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.banner-info {
    display: flex;
    flex-direction: column;
}

.banner-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.banner-info strong {
    font-size: 1rem;
    color: #1c4632;
}

.banner-change-btn {
    background: none;
    border: none;
    color: #1c4632;
    text-decoration: underline;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.85rem;
}

.modal-amount-box label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.modal-amounts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.amount-btn {
    padding: 12px;
    background: #ffffff;
    border: 1px solid #1c4632;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    color: #1c4632;
    border-radius: 0;
    transition: all 0.2s ease;
}

.amount-btn.active, .amount-btn:hover {
    background-color: #1c4632;
    color: #efe5db;
}

.modal-custom-input {
    position: relative;
    margin-bottom: 25px;
}

.modal-custom-input input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #1c4632;
    font-size: 1rem;
    outline: none;
    border-radius: 0;
    color: #1c4632;
}

.currency-tag {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: #777;
}

.frequency-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #1c4632;
    margin-bottom: 25px;
}

.freq-btn {
    padding: 12px;
    background: #ffffff;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1c4632;
    cursor: pointer;
    border-radius: 0;
    text-transform: uppercase;
}

.freq-btn.active {
    background: #1c4632;
    color: #efe5db;
}

.payment-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pay-method-btn {
    width: 100%;
    padding: 14px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.2s ease;
}

.pay-method-btn:hover {
    opacity: 0.9;
}

.card-pay {
    background-color: #1c4632;
    color: #efe5db;
}

.paypal-pay {
    background-color: #003087;
    color: #ffffff;
}

.gpay-pay {
    background-color: #111827;
    color: #ffffff;
}

.crypto-pay {
    background-color: #4f46e5;
    color: #ffffff;
}

/* =========================================
   FAQ MODAL STYLING
   ========================================= */
.faq-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10001;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.faq-modal-overlay.active {
    display: flex;
}

.faq-modal-card {
    background-color: #ffffff;
    color: #1c4632;
    border: 2px solid #1c4632;
    width: 100%;
    max-width: 440px;
    padding: 35px 30px;
    position: relative;
    border-radius: 0;
}

.faq-modal-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.faq-modal-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* =========================================
   HOMEPAGE RESPONSIVENESS
   ========================================= */
@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        min-height: auto;
        padding-top: 130px;
    }
    
    .hero-content {
        width: 100%;
        padding: 50px 5%;
        text-align: center;
        order: 1; 
    }
    
    .hero-content h1 {
        font-size: 3rem; 
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image {
        width: 100%;
        position: relative;
        height: 450px; 
        order: 2; 
    }

    .hero-image::before {
        width: 100%;
        height: 30%;
        background: linear-gradient(to bottom, #efe5db 0%, rgba(239, 229, 219, 0) 100%);
    }

    .message-section {
        padding: 70px 5%;
    }

    .message-container h2 {
        font-size: 2rem;
    }

    .message-links {
        flex-direction: column;
        gap: 25px;
    }

    .about-summary-section {
        padding: 70px 5%;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .about-visual {
        order: -1; 
    }

    .about-img {
        max-width: 100%;
    }

    .portfolio-grid {
        flex-direction: column;
    }
    
    .portfolio-header h2 {
        font-size: 2rem;
    }

    .home-report-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .home-report-text {
        text-align: center;
    }
    .home-report-text h2 {
        font-size: 2.2rem;
    }
    .home-report-image {
        height: auto;
    }
    .home-report-image img {
        max-width: 100%;
    }

    .book-section {
        padding: 70px 5%;
    }

    .book-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .book-cover-img {
        max-width: 100%;
    }

    .book-text h2 {
        font-size: 2rem;
    }

    .donation-grid {
        grid-template-columns: 1fr 1fr;
    }

    .donation-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 550px) {
    .donation-grid {
        grid-template-columns: 1fr;
    }
}