/* =========================================================
   PROGRESSIVE SOCIAL WELFARE ASSOCIATION
   Bootstrap 5 + Custom CSS
   ========================================================= */

:root {
    --blue: #062c82;
    --blue-dark: #001f68;
    --red: #e21a16;
    --yellow: #ffd400;
    --text: #111111;
    --light-bg: #f5f7fa;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff;
}

/* TOP BAR */
.top-bar {
    background: linear-gradient(90deg, #06246d, #00144d);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 0;
}

.top-left i,
.top-right i {
    margin-right: 7px;
}

.top-right {
    text-align: right;
}

.top-right > span {
    margin-left: 28px;
}

.social-icons a {
    color: #fff;
    text-decoration: none;
    margin-left: 12px;
    font-size: 15px;
}

/* NAVBAR */
.main-navbar {
    background: #fff;
    min-height: 105px;
    padding: 7px 0;
    box-shadow: 0 1px 7px rgba(0,0,0,.08);
    z-index: 1000;
}

.logo-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text {
    color: var(--blue);
    font-size: 50px;
    line-height: 1.05;
    font-weight: 999;
    margin-left: 8px;
}

.brand-text small {
    display: block;
    color: var(--red);
    font-size: 14px;
    margin-top: 8px;
}

.navbar-nav .nav-link {
    color: #111;
    font-size: 13px;
    font-weight: 600;
    padding: 38px 10px 32px !important;
    border-bottom: 2px solid transparent;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--red);
    border-bottom-color: var(--red);
}

.dropdown-menu {
    border: 0;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

.dropdown-item {
    font-size: 14px;
    padding: 9px 18px;
}

.donate-btn {
    display: inline-block;
    color: #fff !important;
    background: var(--red);
    border-radius: 6px;
    padding: 11px 17px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

.donate-btn:hover {
    background: #c80000;
}

.navbar-toggler {
    border: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* HERO */
.hero-section {
    position: relative;
    min-height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(255,255,255,.94) 0%,
        rgba(255,255,255,.86) 43%,
        rgba(255,255,255,.15) 72%,
        rgba(255,255,255,0) 100%);
}

.hero-content {
    padding-top: 42px;
    padding-bottom: 48px;
}

.hero-content h1 {
    font-size: 36px;
    line-height: 1.13;
    font-weight: 900;
    margin-bottom: 10px;
}

.black-text { color: #111; }
.blue-text { color: var(--blue); }
.red-text { color: var(--red); }

.hero-description {
    max-width: 500px;
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 17px;
}

.btn-primary-custom {
    background: var(--blue);
    border: 2px solid var(--blue);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    padding: 9px 17px;
    font-size: 13px;
}

.btn-primary-custom:hover {
    background: #001f62;
    color: #fff;
}

.btn-outline-red {
    color: var(--red);
    border: 1.5px solid var(--red);
    background: #fff;
    border-radius: 8px;
    font-weight: 700;
    padding: 9px 17px;
    font-size: 13px;
    margin-left: 10px;
}

.btn-outline-red:hover {
    color: #fff;
    background: var(--red);
}

.carousel-dots {
    position: absolute;
    bottom: 11px;
    left: 50%;
    transform: translateX(-50%);
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    margin: 0 4px;
    box-shadow: 0 0 2px rgba(0,0,0,.2);
}

.dot.active {
    background: var(--red);
}

/* SECTION TITLE */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin-bottom: 12px;
}

.section-title span,
.news-heading > span {
    width: 90px;
    height: 2px;
    background: var(--red);
}

.section-title h2,
.news-heading h2 {
    margin: 0;
    color: var(--blue);
    font-size: 18px;
    font-weight: 800;
}

.what-we-do {
    background: #fff;
    border-radius: 16px 16px 0 0;
    margin-top: -1px;
    padding: 16px 0 20px;
    position: relative;
}

/* SERVICES */
.service-card {
    height: 182px;
    text-align: center;
    border: 1px solid #e4e4e4;
    border-radius: 9px;
    padding: 10px 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 7px;
    font-size: 29px;
}

.blue-icon { color: #0758b9; background: #eef5ff; }
.green-icon { color: #148d30; background: #eef9e9; }
.red-icon { color: #e21a16; background: #fff0f0; }
.purple-icon { color: #8226a4; background: #f7effb; }
.orange-icon { color: #ed5900; background: #fff2e9; }
.leaf-icon { color: #168b4d; background: #eef7f1; }

.service-card h3 {
    font-size: 14px;
    font-weight: 800;
    margin: 4px 0 7px;
}

.service-card p {
    font-size: 11.5px;
    line-height: 1.4;
    margin: 0;
}

/* ABOUT */
.about-section {
    background: #f5f7fa;
    padding: 20px 0 22px;
}

.blue-heading {
    color: var(--blue);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.heading-line {
    width: 42px;
    height: 2px;
    background: var(--red);
    margin-bottom: 12px;
}

.about-section p {
    font-size: 12px;
    line-height: 1.55;
    margin-bottom: 12px;
}

.stat-card {
    height: 160px;
    border-radius: 9px;
    border: 1px solid #ddd;
    background: #fff;
    text-align: center;
    padding: 13px 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-card i {
    font-size: 27px;
    margin-bottom: 7px;
}

.stat-card strong {
    display: block;
    font-size: 24px;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card span {
    font-size: 11px;
}

.stat-blue { border-color: #d2e2f8; color: #064ea5; background: #f4f9ff; }
.stat-green { border-color: #dcebd4; color: #087d2d; background: #f8fcf5; }
.stat-red { border-color: #f1d5d5; color: #d21717; background: #fff8f8; }
.stat-orange { border-color: #f4dfbd; color: #e65800; background: #fffaf2; }

/* INVOLVEMENT */
.involvement-section {
    padding: 8px 0 20px;
    background: #f5f7fa;
}

.involvement-box {
    background: linear-gradient(90deg, #062a7b, #001c63);
    color: #fff;
    border-radius: 16px;
    padding: 10px 25px 12px;
}

.involvement-box > h2 {
    color: var(--yellow);
    text-align: center;
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 7px;
}

.involvement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 74px;
    padding: 4px 18px;
    border-right: 1px solid rgba(255,255,255,.35);
}

.involvement-item:last-child {
    border-right: 0;
}

.involvement-item > i {
    font-size: 36px;
    color: #ffd21a;
}

.involvement-item:nth-child(2) > i { color: #ff91a4; }
.involvement-item:nth-child(3) > i { color: #65c8df; }
.involvement-item:nth-child(4) > i { color: #ff8500; }

.involvement-item h3 {
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 2px;
}

.involvement-item p {
    font-size: 10px;
    margin: 0 0 4px;
    line-height: 1.3;
}

.involvement-item a {
    display: inline-block;
    background: #fff;
    color: var(--blue);
    border-radius: 5px;
    padding: 3px 12px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
}

/* NEWS */
.news-section {
    background: #fff;
    padding: 2px 0 25px;
}

.news-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 12px;
}

.news-heading a {
    margin-left: auto;
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.news-card {
    position: relative;
    border: 1px solid #e2e2e2;
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.news-card > img {
    width: 100%;
    height: 115px;
    object-fit: cover;
    display: block;
}

.date-badge {
    position: absolute;
    left: 7px;
    top: 7px;
    width: 42px;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 4px 2px;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.date-badge strong {
    font-size: 18px;
}

.date-badge small {
    font-size: 9px;
    margin-top: 2px;
}

.blue-date { background: var(--blue); }
.green-date { background: #0b8a37; }
.red-date { background: var(--red); }

.news-body {
    padding: 9px 11px 11px;
}

.news-body h3 {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 6px;
}

.news-body p {
    font-size: 11px;
    line-height: 1.35;
    margin-bottom: 6px;
}

.news-body a {
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

/* FOOTER */
.footer {
    background: linear-gradient(90deg, #062d83, #001a5c);
    color: #fff;
    padding-top: 18px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
}

.footer-brand h2 {
    font-size: 15px;
    line-height: 1.15;
    font-weight: 800;
    margin: 0;
}

.footer-brand strong {
    color: var(--red);
    font-size: 11px;
}

.footer > .container > .row > div > p {
    font-size: 10px;
    line-height: 1.5;
    margin-top: 7px;
    margin-bottom: 5px;
}

.footer-social a {
    color: #fff;
    font-size: 14px;
    margin-right: 10px;
}

.footer-column {
    border-left: 1px solid rgba(255,255,255,.35);
    padding-left: 20px;
}

.footer h3 {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

.footer-column a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    margin-bottom: 5px;
}

.footer-column p {
    font-size: 10px;
    line-height: 1.45;
    margin: 0 0 6px;
}

.footer-column p i {
    width: 18px;
}

.newsletter form input {
    border: 0;
    height: 34px;
    font-size: 11px;
}

.newsletter form button {
    border: 0;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 0 15px;
}

.quote {
    color: var(--yellow);
    font-size: 11px !important;
    font-weight: 700;
    margin-top: 10px !important;
}

.copyright {
    margin-top: 15px;
    background: #ed1017;
    text-align: center;
    padding: 6px 10px;
    font-size: 11px;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .top-left,
    .top-right {
        text-align: center;
        margin: 2px 0;
    }

    .top-right > span {
        margin: 0 7px;
    }

    .main-navbar {
        min-height: auto;
    }

    .navbar-nav .nav-link {
        padding: 8px 5px !important;
        border-bottom: 0;
    }

    .donate-btn {
        display: inline-block;
        margin: 8px 0 10px;
    }

    .hero-section {
        min-height: 460px;
    }

    .hero-overlay {
        background: linear-gradient(90deg,
            rgba(255,255,255,.96),
            rgba(255,255,255,.70));
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .involvement-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.25);
    }

    .involvement-item:last-child {
        border-bottom: 0;
    }

    .footer-column {
        border-left: 0;
        padding-left: 12px;
    }
}

@media (max-width: 575.98px) {
    .brand-text {
        font-size: 16px;
    }

    .logo-img {
        width: 70px;
        height: 70px;
    }

    .hero-section {
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 27px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-buttons .btn {
        display: block;
        width: fit-content;
        margin: 6px 0;
    }

    .btn-outline-red {
        margin-left: 0;
    }

    .section-title span,
    .news-heading > span {
        width: 35px;
    }

    .news-heading h2,
    .section-title h2 {
        font-size: 15px;
    }
}

