/* Causes Page Styles */

.causes-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.causes-hero {
    position: relative;
    height: 200px;
    background: url('/images/about/volunteer-helping-elderly.webp') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.causes-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 40, 58, 0.85), rgba(89, 169, 234, 0.7));
}

.causes-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.causes-hero-content h1 {
    font-family: 'Yeseva One', serif;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.causes-hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Those in Need Section */
.needs-section {
    padding: 80px 0;
    background: rgb(237, 241, 245);
    position: relative;
    overflow: hidden;
}

.needs-section .arc {
    position: absolute;
    top: -450px;
    left: -350px;
    width: 750px;
    height: 750px;
    border: 80px solid rgba(200, 215, 230, 0.4);
    border-radius: 50%;
    pointer-events: none;
}

.needs-section .circle-1 {
    position: absolute;
    top: -100px;
    right: -150px;
    width: 500px;
    height: 500px;
    border: 80px solid rgba(200, 215, 230, 0.4);
    border-radius: 50%;
    pointer-events: none;
}

.needs-header {
    margin-bottom: 50px;
}

.needs-header .subtitle {
    font-family: 'Yeseva One', serif;
    font-style: italic;
    color: #59A9EA;
    font-size: 1rem;
    margin-bottom: 10px;
}

.needs-header h2 {
    font-family: 'Yeseva One', serif;
    font-size: 2.5rem;
    color: #25283a;
    margin-bottom: 15px;
}

.needs-header p {
    color: #666;
    line-height: 1.8;
    max-width: 600px;
}

/* Cause Cards Grid */
.cause-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cause-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.cause-card:hover {
    transform: translateY(-5px);
}

.cause-card-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.cause-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Diagonal cut effect */
.cause-card-image::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: #fff;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.cause-card-content {
    padding: 25px 30px 30px;
}

.cause-card-content h3 {
    font-family: 'Yeseva One', serif;
    font-size: 1.5rem;
    color: #25283a;
    margin-bottom: 15px;
}

.cause-card-content p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.btn-cause {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #59A9EA;
    border-radius: 30px;
    color: #59A9EA;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cause:hover {
    background: #59A9EA;
    color: #fff;
}

/* CTA Section */
.causes-cta {
    padding: 60px 0;
    background: #25283a;
    text-align: center;
}

.causes-cta h2 {
    font-family: 'Yeseva One', serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
}

.causes-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta-donate {
    display: inline-block;
    background: #59A9EA;
    color: #fff;
    padding: 16px 40px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-donate:hover {
    background: #fff;
    color: #25283a;
}

/* Responsive */
@media (max-width: 992px) {
    .cause-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .causes-hero-content h1 {
        font-size: 2rem;
    }

    .needs-section {
        padding: 50px 0;
    }

    .needs-header h2 {
        font-size: 1.75rem;
    }

    .cause-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .causes-hero {
        height: 150px;
    }

    .causes-cta h2 {
        font-size: 1.5rem;
    }
}
