:root {
    --primary-green: #329a0d;
    --light-green: rgba(50, 154, 13, 0.1);
    --dark-green: #2a7d0b;
}

.activity-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    background-color: white;
}

.activity-card .card {
    background-color: white;
    color: black;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.activity-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-green), var(--dark-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 20px;
}

h2 {
    font-weight: var(--medium);
    margin-bottom: var(--ten);
    font-size: 24px;
}


.text-brand {
    color: var(--color-default);
}

.link-brand {
    color: var(--color-default);
    text-decoration: none;
}

.link-brand:hover {
    color: var(--color-primary);
}

/* ===================== CSR Section ===================== */
#csr {
    background: var(--color-background-secondary);
    padding-block: clamp(32px, 5vw, 72px);
}

#csr .section-title {
    font-size: clamp(28px, 4vw, var(--font-size-forty-eight));
    font-weight: var(--bold);
    color: var(--color-default);
    line-height: 1.15;
    margin-bottom: clamp(16px, 2.4vw, 20px);
}

#csr .section-subtitle {
    font-size: var(--font-size-sixteen);
    color: #5b6b7a;
    margin-bottom: clamp(16px, 4vw, 36px);
}

#csr .row {
    --bs-gutter-x: var(--bs-gutter-x);
    --bs-gutter-y: var(--bs-gutter-y);
}

/* ===================== Card ===================== */
.csr-card {
    border: none;
    border-radius: var(--border-radius-outside);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background: var(--color-background-primary);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}

.csr-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .14);
}

.card-img-wrap {
    position: relative;
    overflow: hidden;
    background: #eef6ff;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
    box-shadow: var(--shadow-image);
    border-radius: 12px 12px 0 0;
}

.csr-card:hover .card-img-wrap img {
    transform: scale(1.06);
}

.csr-card .card-body {
    padding: clamp(14px, 2.6vw, 18px);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.csr-card .card-title {
    font-size: clamp(18px, 2.4vw, var(--font-size-twenty-two));
    font-weight: var(--bold);
    margin: 0 0 4px 0;
    color: var(--color-default);
}

.csr-card .card-title a {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
}

.csr-card .card-title a:hover {
    color: var(--color-primary);
}

.csr-card .card-text {
    font-size: var(--font-size-fourteen);
    font-weight: var(--regular);
    color: #566371;
    margin: 0;
}

.csr-card .card-footer {
    background: transparent;
    border: 0;
    padding: 0 clamp(14px, 2.6vw, 18px) clamp(16px, 2.6vw, 20px);
    margin-top: auto;
}

.btn-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: var(--font-size-fourteen);
    font-weight: var(--medium);
    color: #fff;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-default));
    border-radius: 999px;
    border: 0;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    box-shadow: 0 8px 20px rgba(0, 42, 88, .15);
    text-decoration: none;
}

.btn-readmore:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 42, 88, .22);
    opacity: .96;
}

.csr-card .card-title a:focus-visible,
.btn-readmore:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: var(--five);
}

@media (prefers-reduced-motion: reduce) {

    .csr-card,
    .card-img-wrap img {
        transition: none !important;
    }
}