/* Hero */
.hero-section {
    position: relative;
    background: url('../images/causes-hero.jpg') center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-section h1 {
    position: relative;
    color: #ffc107;
    font-size: 3rem;
    font-weight: bold;
    z-index: 1;
}

/* Causes New Design */
.cause-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 350px;
}

.cause-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cause-card:hover img {
    transform: scale(1.1);
}

.cause-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #fff;
    transition: background 0.4s ease;
}

.cause-card:hover .cause-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4));
}

.cause-icon {
    font-size: 2.5rem;
    color: #ffc107;
    margin-bottom: 10px;
}

.cause-title {
    font-size: 1.3rem;
    font-weight: bold;
}

.cause-overlay p {
    font-size: 0.95rem;
}

.cause-btn {
    margin-top: 10px;
    background: #ffc107;
    color: #000;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

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