:root {
    --primary: #0b3c5d;
    --accent: #1ca9c9;
    --light: #f4f9fb;
    --dark: #222;
}

.join-initiative {
    padding: 70px 8%;
    background: var(--light);
    font-family: 'Segoe UI', sans-serif;
}

/* Top Form */
.join-box {
    text-align: center;
    margin-bottom: 60px;
}

.join-box h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 30px;
}

.join-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.join-form input {
    padding: 12px;
    width: 230px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.join-form button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    cursor: pointer;
}

.join-form button:hover {
    background: var(--primary);
}

.note {
    margin-top: 15px;
    font-size: 13px;
    color: #555;
    max-width: 750px;
    margin-inline: auto;
}

/* Cards */
.stories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.story-card {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(40px);
    opacity: 0;
    transition: 1s ease;
}

.story-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.story-card h3 {
    font-size: 18px;
    color: var(--primary);
    padding: 15px;
}

.story-card p {
    font-size: 14px;
    padding: 0 15px 15px;
    color: var(--dark);
    line-height: 1.5;
}

.story-card a {
    display: inline-block;
    margin: 0 15px 20px;
    padding: 10px 20px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-size: 13px;
}

.story-card a:hover {
    background: var(--primary);
}

/* Responsive */
@media(max-width: 900px) {
    .stories {
        grid-template-columns: 1fr;
    }
    .join-form input {
        width: 100%;
    }
}
