/* Donation Page Specific Spiritual Layout Styles */

.header {
    width: 100%;
    height: 380px;    
    background-image: linear-gradient(rgba(30, 11, 7, 0.5), rgba(30, 11, 7, 0.8)), url('../images/IMG_8288.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 3px solid var(--accent-gold);
}

.header h1 {
    font-family: var(--font-heading);
    font-size: 56px;
    color: var(--accent-gold-light);
    margin: 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    text-align: center;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.mission-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.mission-section .flex {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    align-items: center;
}

.mission-section .flex .box {
    flex: 1;
    min-width: 300px;
} 

.mission-section .flex:nth-child(1) .img {
    width: 100%;
    height: 400px;
    border-radius: 50% 50% 20px 20px / 25% 25% 20px 20px; /* Arch frame */
    overflow: hidden;
    border: 3px solid var(--accent-gold);
    box-shadow: var(--shadow-divine-hover);
}

.mission-section .flex:nth-child(1) .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mission-section h2 {
    font-family: var(--font-heading);
    font-size: 44px; 
    color: var(--primary-color);
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 20px; 
}

.mission-section .flex p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
}

.mission-section button {
    padding: 15px 32px;
    border: 2px solid var(--accent-gold);
    font-size: 14px;
    font-weight: 700;
    border-radius: 30px;
    background-color: var(--primary-color);
    color: white; 
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-heading);
}  

.mission-section button:hover {
    background-color: var(--divine-vermillion);
    border-color: var(--accent-gold-light);
    box-shadow: 0 6px 18px rgba(212, 91, 18, 0.4);
    transform: translateY(-2px);
}

/* Below CTA Section with Donation options */
.below-cta {
    padding: 100px 0;
    background-color: #FAF4EB;
    border-top: 4px solid var(--accent-gold);
    border-bottom: 4px solid var(--accent-gold);
}

.below-cta .flex {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Jharokha (Temple arch) Cards */
.below-cta .flex .box {
    flex: 1;
    min-width: 300px;
    max-width: 370px;
    padding: 50px 30px 40px 30px;
    background-color: white;
    border-radius: 50% 50% 16px 16px / 20% 20% 16px 16px;
    border: 3px solid var(--accent-gold);
    box-shadow: var(--shadow-divine);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.below-cta .flex .box::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid var(--parchment-border);
    border-radius: inherit;
    pointer-events: none;
}

.below-cta .flex .box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-divine-hover);
    border-color: var(--divine-vermillion);
}

.below-cta .flex .box:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.below-cta .flex .box h2 {
    margin-top: 20px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary-color);
}

.below-cta .flex .box p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.below-cta .flex .box .img {
    width: 100%;
    height: 250px; 
    border-radius: 50% 50% 12px 12px / 20% 20% 12px 12px;
    overflow: hidden;
    border: 2px solid var(--accent-gold);
    margin-bottom: 25px;
} 

.below-cta .flex .box .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.below-cta .flex .box button {
    padding: 12px 28px;
    border: 2px solid var(--accent-gold);
    font-size: 13px;
    font-weight: 700;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--divine-vermillion) 0%, #B2460B 100%);
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin: 0 auto;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-heading);
}

.below-cta .flex .box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 91, 18, 0.4);
    background: linear-gradient(135deg, #B2460B 0%, var(--divine-vermillion) 100%);
    border-color: var(--accent-gold-light);
}

/* Initiatives Section */
.initiatives {
    padding: 80px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.initiatives h2 {
    font-family: var(--font-heading);
    font-size: 44px;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.initiatives p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
}

/* Header section below main nav */
.section-below-header {
    padding: 40px 0;
    background-color: #FAF4EB;
    border-bottom: 1px solid rgba(78, 26, 15, 0.15);
}

.section-below-header>.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
}

.section-below-header .container .items {  
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.section-below-header .container .items .img {
    width: 74px;
    height: 74px;
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto; 
    background-color: var(--primary-color);
    border: 2px solid var(--accent-gold);
    box-shadow: var(--shadow-divine);
    transition: var(--transition-smooth);
}

.section-below-header .container .items:hover .img {
    transform: translateY(-5px) scale(1.05);
    background-color: var(--divine-vermillion);
    border-color: var(--accent-gold-light);
    box-shadow: var(--shadow-divine-hover);
}

.section-below-header .container .items .img svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent-gold-light);
    fill: none;
    transition: var(--transition-smooth);
}

.section-below-header .container .items:hover .img svg {
    stroke: #ffffff;
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header {
        height: 280px;
    }
    .header h1 {
        font-size: 38px;
    }
    .mission-section, .below-cta, .initiatives {
        padding: 60px 0;
    }
    .mission-section h2, .below-cta h2, .initiatives h2 {
        font-size: 32px;
    }
    
    .section-below-header>.container {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: auto;
        margin-right: 65px;
        margin-left: 15px;
    }
    
    .section-below-header .container .items {
        display: flex;
        align-items: center;
        flex-direction: row;
        gap: 15px;
        padding: 12px 20px;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.6);
        border: 2px solid rgba(78, 26, 15, 0.08);
        box-shadow: 0 4px 10px rgba(78, 26, 15, 0.05);
        color: var(--primary-color);
        text-align: left;
    }
    
    .section-below-header .container .items .img {
        margin: 0;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }
    
    .section-below-header .container .items .img svg {
        width: 22px;
        height: 22px;
        stroke: var(--accent-gold);
    }
    
    .section-below-header .container .items:hover .img svg {
        stroke: #ffffff;
    }
}
