﻿/* ============================================================
   SOCIAL ACTIVITIES PAGE
   ============================================================ */

/* ── Page Header ─────────────────────────────────────────── */
.sa-page-header {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    background-color: var(--bank-maroon);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.sa-page-header::before { display: none; }
.sa-page-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #CCA44B, #e8c96a, #CCA44B);
}
.sa-page-header .container {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 50px;
}
.sa-page-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.3px;
}

/* ── Main Section ────────────────────────────────────────── */
.sa-main {
    background: #fff;
    padding: 56px 0 70px;
}

/* ── Intro Card ──────────────────────────────────────────── */
.sa-intro {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
    background: var(--page-bg);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(90,16,29,0.07);
    border: 1px solid #ebebeb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sa-intro:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(90,16,29,0.08);
}
.sa-intro-text { flex: 1.1; }

.sa-kicker {
    color: #CCA44B;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    display: block;
}
.sa-intro-text h2 {
    font-size: 2.1rem;
    color: #5a101d;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.25;
}
.sa-intro-text p {
    font-size: 1rem;
    color: #000;
    text-align: justify;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Pill tags */
.sa-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.sa-pill {
    background: #fff;
    color: #1a1a1a;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ebebeb;
    transition: all 0.3s ease;
    cursor: default;
}
.sa-pill i { color: #CCA44B; transition: color 0.3s; }
.sa-pill:hover {
    background: #CCA44B;
    color: #fff;
    border-color: #CCA44B;
}
.sa-pill:hover i { color: #fff; }

/* Intro image */
.sa-intro-img-wrap {
    flex: 0.9;
    position: relative;
}
.sa-intro-img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    display: block;
    max-height: 380px;
}
.sa-floating-badge {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: var(--bank-maroon);
    color: #fff;
    padding: 14px 22px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 20px rgba(90,16,29,0.3);
    animation: saFloat 3s ease-in-out infinite;
}
.sa-floating-badge i { color: #CCA44B; font-size: 1.2rem; }

/* ── Section Title ───────────────────────────────────────── */
.sa-section-title {
    font-size: 2.1rem;
    color: #5a101d;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}
.sa-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #CCA44B;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ── Cards Grid ──────────────────────────────────────────── */
.sa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
}

/* ── Activity Card ───────────────────────────────────────── */
.sa-card {
    background: var(--page-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #ebebeb;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(90,16,29,0.07);
}
.sa-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(90,16,29,0.09);
    border-color: #e2dfd8;
}

.sa-card-media {
    width: 100%;
    height: 240px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-bottom: 3px solid #CCA44B;
}
.sa-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}
.sa-card:hover .sa-card-media img { transform: scale(1.08); }

.sa-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(90,16,29,0.36);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}
.sa-card:hover .sa-card-overlay { opacity: 1; }

.sa-view-btn {
    background: linear-gradient(135deg, #ff8c00, #ff6b00);
    color: #fff;
    border: 2px solid transparent;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transform: translateY(20px);
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 14px rgba(255,140,0,0.35);
}
.sa-card:hover .sa-view-btn { transform: translateY(0); }
.sa-view-btn:hover {
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    color: #fff;
    box-shadow: 0 12px 26px rgba(255,140,0,0.5);
}

/* Card body */
.sa-card-body {
    padding: 1.8rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.sa-card-body h3 {
    font-size: 1.1rem;
    color: #5a101d;
    font-weight: 700;
    margin-bottom: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}
.sa-num {
    color: #CCA44B;
    font-weight: 800;
    background: #fff9eb;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.sa-card-body p {
    font-size: 0.93rem;
    text-align: justify;
    color: #000;
    margin-bottom: 1.2rem;
    flex-grow: 1;
    line-height: 1.75;
}
.sa-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed #ebebeb;
}
.sa-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    padding: 7px 16px;
    border: 1px solid transparent;
    border-radius: 30px;
    background: linear-gradient(135deg, #ff8c00, #ff6b00);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255,140,0,0.3);
}
.sa-link-btn i { color: #fff; transition: color 0.3s ease; }
.sa-link-btn:hover {
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255,140,0,0.45);
}
.sa-link-btn:hover i { color: #fff; }

/* ── Future Initiatives ──────────────────────────────────── */
.sa-future {
    margin-top: 5rem;
    background: linear-gradient(135deg, var(--bank-maroon), #3d0710);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    color: #fff;
    box-shadow: 0 15px 35px rgba(90,16,29,0.15);
    position: relative;
    overflow: hidden;
}
.sa-future::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 60%);
    z-index: 1;
}
.sa-future h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    color: #fff;
}
.sa-future-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}
.sa-future-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--bank-maroon);
    background: var(--page-bg);
    padding: 14px 32px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.sa-future-item:hover { transform: translateY(-5px); }
.sa-future-item i { color: #CCA44B; font-size: 1.4rem; }

/* ── Lightbox Modal ──────────────────────────────────────── */
.sa-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    inset: 0;
    background: rgba(0,0,0,0.48);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.sa-modal.show { display: flex; opacity: 1; }
.sa-modal-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.sa-modal.show .sa-modal-img { transform: scale(1); }
.sa-modal-close {
    position: absolute;
    top: 28px; right: 36px;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 100000;
    background: rgba(255,255,255,0.1);
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
}
.sa-modal-close:hover {
    background: #CCA44B;
    border-color: #CCA44B;
    transform: rotate(90deg);
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes saFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 992px) {
    .sa-main { padding: 40px 0 50px; }
    .sa-intro { flex-direction: column; gap: 2.5rem; padding: 2rem; }
    .sa-intro-img-wrap { width: 100%; }
    .sa-floating-badge { left: 15px; bottom: -15px; }
    .sa-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
    .sa-modal-close { right: 15px; top: 15px; }
}
@media (max-width: 480px) {
    .sa-grid { grid-template-columns: 1fr; }
    .sa-intro-text h2 { font-size: 1.7rem; }
    .sa-section-title { font-size: 1.7rem; }
}

