/**
 * ============================================================================
 * Biharikalyanmanch NGO - Full Homepage Theme Redesign
 * Harmonized with the Hero & Navbar Design System:
 *   Navy:    #012255 / #0b2c68
 *   Saffron: #f15a04 / #f88016
 *   Green:   #0e7325 / #1c9335
 *   Surface: #ffffff / #f8fbff
 * ============================================================================
 */

/* Shared Section Typography & Pill Badges */
.bkm-sec-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1.5px solid #2e8540;
    background-color: #f6fcf7;
    color: #0e4a1c;
    font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.bkm-sec-pill--dark {
    border-color: rgba(134, 239, 172, 0.45);
    background-color: rgba(255, 255, 255, 0.08);
    color: #86efac;
}

.bkm-sec-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #13802c;
    flex-shrink: 0;
}

.bkm-sec-pill--dark .bkm-sec-pill-dot {
    background-color: #4ade80;
}

.bkm-sec-title {
    color: #012255 !important;
    font-family: 'Plus Jakarta Sans', 'Manrope', 'Noto Sans Devanagari', sans-serif !important;
    font-size: clamp(28px, 2.85vw, 40px) !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.02em !important;
    margin: 0 !important;
}

.bkm-sec-title--white {
    color: #ffffff !important;
}

.bkm-text-saffron {
    background: linear-gradient(180deg, #f87c10 0%, #ef5800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bkm-left-accent-text {
    border-left: 3.5px solid #f46f12;
    padding-left: 14px;
    color: #334155;
    font-size: 15.5px;
    line-height: 1.65;
    font-weight: 500;
}

.bkm-pill-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    padding: 12px 26px !important;
    border-radius: 50px !important;
    background: linear-gradient(135deg, #f15a04 0%, #f88016 100%) !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(241, 90, 4, 0.28) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    white-space: nowrap !important;
}

.bkm-pill-btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 26px rgba(241, 90, 4, 0.38) !important;
    color: #ffffff !important;
}

.bkm-pill-btn-outline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 11px 24px !important;
    border-radius: 50px !important;
    background-color: #ffffff !important;
    border: 2px solid #0e7325 !important;
    color: #0b5e1f !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.bkm-pill-btn-outline:hover {
    background-color: #0e7325 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.bkm-pill-btn-outline--white {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 11px 24px !important;
    border-radius: 50px !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 2px solid rgba(255, 255, 255, 0.72) !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.bkm-pill-btn-outline--white:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #012255 !important;
    transform: translateY(-2px) !important;
}

.bkm-pillar-grid--4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* ============================================================================
   1. PILLARS / FEATURE CARDS SECTION
   ============================================================================ */
.bkm-sec-pillars {
    padding: 74px 0 68px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    position: relative;
}

.bkm-pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bkm-pillar-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 32px 28px 30px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(1, 34, 85, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    display: flex;
    flex-direction: column;
}

.bkm-pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4.5px;
    background: #f36207;
}

.bkm-pillar-card--green::before {
    background: #0e7325;
}

.bkm-pillar-card--navy::before {
    background: #012255;
}

.bkm-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(1, 34, 85, 0.11);
    border-color: #cbd5e1;
}

.bkm-pillar-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.bkm-pillar-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 50px;
    font-family: 'Noto Sans Devanagari', 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.bkm-pillar-badge--saffron {
    background: #fcebd0;
    color: #b45309;
}

.bkm-pillar-badge--green {
    background: #d7f0da;
    color: #0b5e1f;
}

.bkm-pillar-badge--navy {
    background: #e0ecff;
    color: #012255;
}

.bkm-pillar-title {
    color: #012255 !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin: 0 !important;
}

.bkm-pillar-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.bkm-pillar-card:hover .bkm-pillar-icon {
    transform: scale(1.08);
}

.bkm-pillar-icon--saffron {
    background: #fff4e5;
    color: #f26005;
}

.bkm-pillar-icon--green {
    background: #eaf7ec;
    color: #0e7325;
}

.bkm-pillar-icon--navy {
    background: #eef4ff;
    color: #012255;
}

.bkm-pillar-desc {
    margin: 0;
    color: #475569;
    font-size: 14.5px;
    line-height: 1.65;
    font-weight: 500;
}

/* ============================================================================
   2. ABOUT SECTION
   ============================================================================ */
.bkm-sec-about {
    padding: 84px 0 92px;
    background: #f8fbff;
    position: relative;
    overflow: hidden;
}

.bkm-about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 54px;
    align-items: center;
}

.bkm-about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0 26px;
}

.bkm-about-hl-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    box-shadow: 0 4px 14px rgba(1, 34, 85, 0.04);
}

.bkm-about-hl-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #d7f0da;
    color: #0e7325;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.bkm-about-hl-icon--amber {
    background: #fcebd0;
    color: #c25909;
}

.bkm-about-hl-card h4 {
    color: #012255 !important;
    font-family: 'Noto Sans Devanagari', 'Manrope', sans-serif !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    margin: 0 0 4px 0 !important;
}

.bkm-about-hl-card p {
    margin: 0;
    color: #475569;
    font-size: 13.5px;
    line-height: 1.5;
    font-weight: 500;
}

/* Progress Card */
.bkm-about-progress-box {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 28px;
}

.bkm-about-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.bkm-about-progress-head h4 {
    color: #012255 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.bkm-about-progress-head span {
    color: #f26005;
    font-size: 16px;
    font-weight: 800;
}

.bkm-about-progress-box .progress {
    height: 10px;
    border-radius: 50px;
    background-color: #e2e8f0;
    overflow: hidden;
}

.bkm-about-progress-box .progress-bar {
    border-radius: 50px;
    background: linear-gradient(90deg, #0e7325 0%, #f36207 100%) !important;
}

.bkm-about-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.bkm-about-council {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bkm-about-council img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid #f36207;
    padding: 2px;
    background: #ffffff;
}

.bkm-about-council h5 {
    color: #012255 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    margin: 0 0 2px 0 !important;
}

.bkm-about-council span {
    color: #64748b;
    font-size: 12.5px;
    font-weight: 600;
}

/* About Right Collage */
.bkm-about-collage {
    position: relative;
    max-width: 470px;
    margin-left: auto;
    padding-bottom: 26px;
}

.bkm-about-main-frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 6px solid #ffffff;
    box-shadow: 0 22px 48px rgba(1, 34, 85, 0.14);
    background: #ffffff;
}

.bkm-about-main-frame img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.bkm-about-play-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f15a04 0%, #f88016 100%);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 10px 24px rgba(241, 90, 4, 0.45);
    transition: transform 0.25s ease;
    z-index: 4;
}

.bkm-about-play-btn:hover {
    transform: scale(1.08);
    color: #ffffff !important;
}

.bkm-about-sub-frame {
    position: absolute;
    left: -30px;
    bottom: 0;
    width: 225px;
    height: 155px;
    border-radius: 18px;
    border: 5px solid #ffffff;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(1, 34, 85, 0.2);
    z-index: 5;
    background: #ffffff;
}

.bkm-about-sub-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bkm-about-exp-pill {
    position: absolute;
    top: 26px;
    left: -26px;
    background: #ffffff;
    border-radius: 16px;
    padding: 11px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 14px 32px rgba(1, 34, 85, 0.14);
    border: 1.5px solid #e2e8f0;
    z-index: 6;
}

.bkm-about-exp-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #eaf7ec;
    color: #0e7325;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.bkm-about-exp-pill strong {
    display: block;
    color: #012255;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.15;
}

.bkm-about-exp-pill small {
    display: block;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
}

/* ============================================================================
   3. POPULAR CAUSES SECTION
   ============================================================================ */
.bkm-sec-causes {
    padding: 84px 0 88px;
    background: #ffffff;
    position: relative;
}

.bkm-causes-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.bkm-slider-arrows {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.bkm-slider-arrows button {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #012255;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bkm-slider-arrows button:hover {
    background: #f26005;
    border-color: #f26005;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(242, 96, 5, 0.28);
}

.bkm-cause-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1.5px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(1, 34, 85, 0.05);
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bkm-cause-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(1, 34, 85, 0.11);
}

.bkm-cause-thumb {
    position: relative;
    height: 235px;
    overflow: hidden;
    background: #e2e8f0;
}

.bkm-cause-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.bkm-cause-card:hover .bkm-cause-thumb img {
    transform: scale(1.06);
}

.bkm-cause-cat-pill {
    position: absolute;
    left: 14px;
    bottom: 14px;
    background: rgba(1, 34, 85, 0.9);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bkm-cause-body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.bkm-cause-title {
    color: #012255 !important;
    font-size: 18.5px !important;
    font-weight: 800 !important;
    line-height: 1.38 !important;
    margin: 0 0 10px 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 51px;
}

.bkm-cause-desc {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 18px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 45px;
}

.bkm-cause-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eef2f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bkm-cause-details-link {
    color: #012255 !important;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.bkm-cause-details-link:hover {
    color: #f26005 !important;
    transform: translateX(3px);
}

.bkm-cause-donate-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 9px 18px !important;
    border-radius: 50px !important;
    background: linear-gradient(135deg, #f15a04 0%, #f88016 100%) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(241, 90, 4, 0.25) !important;
    transition: transform 0.2s ease !important;
    white-space: nowrap;
}

.bkm-cause-donate-pill:hover {
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* ============================================================================
   4. GALLERY SHOWCASE STRIP
   ============================================================================ */
.bkm-sec-gallery {
    padding: 58px 0 68px;
    background: #f8fbff;
}

.bkm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.bkm-gallery-card {
    position: relative;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    height: 265px;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 26px rgba(1, 34, 85, 0.09);
    background: #012255;
    text-decoration: none;
}

.bkm-gallery-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.bkm-gallery-card:hover img {
    transform: scale(1.08);
}

.bkm-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1, 34, 85, 0.08) 35%, rgba(1, 34, 85, 0.88) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px 16px;
    transition: background 0.3s ease;
}

.bkm-gallery-card:hover .bkm-gallery-overlay {
    background: linear-gradient(180deg, rgba(1, 34, 85, 0.25) 0%, rgba(1, 34, 85, 0.92) 100%);
}

.bkm-gallery-tag {
    display: inline-block;
    align-self: flex-start;
    background: rgba(248, 128, 22, 0.95);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.bkm-gallery-overlay h4 {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    line-height: 1.25 !important;
}

/* ============================================================================
   5. TESTIMONIALS SECTION (DEEP NAVY THEME)
   ============================================================================ */
.bkm-sec-testimonials {
    padding: 86px 0 92px;
    background: linear-gradient(135deg, #012255 0%, #052c6c 65%, #011940 100%);
    position: relative;
    overflow: hidden;
}

.bkm-testi-wave {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 480px;
    height: 90px;
    pointer-events: none;
    opacity: 0.9;
}

.bkm-testi-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 44px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.bkm-testi-intro p {
    color: #cbd5e1;
    font-size: 15.5px;
    line-height: 1.68;
    margin: 18px 0 26px;
    border-left: 3.5px solid #f88016;
    padding-left: 14px;
}

.bkm-testi-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.bkm-testi-arrows {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bkm-testi-arrows button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bkm-testi-arrows button:hover {
    background: #f26005;
    border-color: #f26005;
}

.bkm-testi-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 26px 24px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-top: 4px solid #f26005;
}

.bkm-testi-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #f59e0b;
    font-size: 13.5px;
    margin-bottom: 12px;
}

.bkm-testi-quote-text {
    color: #334155;
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0 0 20px 0;
    flex: 1 1 auto;
}

.bkm-testi-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #eef2f6;
}

.bkm-testi-author-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bkm-testi-author-left img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid #0e7325;
}

.bkm-testi-author-left h4 {
    color: #012255 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    margin: 0 0 2px 0 !important;
}

.bkm-testi-author-left span {
    color: #0e7325;
    font-size: 12.5px;
    font-weight: 700;
}

.bkm-testi-quote-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff4e5;
    color: #f26005;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

/* ============================================================================
   6. UPCOMING EVENTS SECTION
   ============================================================================ */
.bkm-sec-events {
    padding: 84px 0 84px;
    background: #ffffff;
}

.bkm-sec-center-head {
    text-align: center;
    margin-bottom: 44px;
}

.bkm-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bkm-event-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1.5px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(1, 34, 85, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bkm-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(1, 34, 85, 0.11);
}

.bkm-event-thumb {
    position: relative;
    height: 225px;
    overflow: hidden;
    background: #e2e8f0;
}

.bkm-event-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.bkm-event-card:hover .bkm-event-thumb img {
    transform: scale(1.06);
}

.bkm-event-date-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #f15a04 0%, #f88016 100%);
    color: #ffffff;
    border-radius: 14px;
    padding: 8px 14px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(241, 90, 4, 0.35);
    border: 2px solid #ffffff;
    line-height: 1.1;
}

.bkm-event-date-badge strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
}

.bkm-event-date-badge span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bkm-event-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.bkm-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
}

.bkm-event-meta span,
.bkm-event-meta a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    text-decoration: none;
}

.bkm-event-meta i {
    color: #0e7325;
}

.bkm-event-title {
    color: #012255 !important;
    font-size: 18.5px !important;
    font-weight: 800 !important;
    line-height: 1.38 !important;
    margin: 0 0 18px 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 51px;
}

.bkm-event-link {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #eef2f6;
}

.bkm-event-link a {
    color: #0e7325 !important;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.bkm-event-link a:hover {
    color: #f26005 !important;
    transform: translateX(4px);
}

/* ============================================================================
   7. MID IMPACT CTA BANNER
   ============================================================================ */
.bkm-sec-midcta {
    position: relative;
    padding: 86px 0;
    background-color: #012255;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.bkm-sec-midcta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(1, 34, 85, 0.92) 0%, rgba(1, 34, 85, 0.84) 60%, rgba(14, 115, 37, 0.72) 100%);
    z-index: 1;
}

.bkm-midcta-waves {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 62px;
    z-index: 2;
    pointer-events: none;
}

.bkm-midcta-waves svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.bkm-midcta-inner {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.bkm-midcta-inner h3 {
    color: #ffffff !important;
    font-size: clamp(28px, 3.2vw, 44px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin: 0 0 28px 0 !important;
}

/* ============================================================================
   8. APPROACH & IMPACT SECTION
   ============================================================================ */
.bkm-sec-providing {
    padding: 88px 0;
    background: #f8fbff;
}

.bkm-providing-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 50px;
    align-items: center;
}

.bkm-providing-photo-wrap {
    position: relative;
}

.bkm-providing-photo-frame {
    border-radius: 26px;
    overflow: hidden;
    border: 6px solid #ffffff;
    box-shadow: 0 22px 48px rgba(1, 34, 85, 0.14);
    background: #ffffff;
}

.bkm-providing-photo-frame img {
    width: 100%;
    height: 495px;
    object-fit: cover;
    display: block;
}

.bkm-providing-floating-card {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    background: rgba(1, 34, 85, 0.94);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border-radius: 18px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.bkm-providing-floating-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f15a04 0%, #f88016 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.bkm-providing-floating-card h4 {
    color: #ffffff !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin: 0 !important;
}

.bkm-providing-tabs {
    display: inline-flex !important;
    gap: 10px;
    background: #ffffff;
    padding: 6px;
    border-radius: 50px;
    border: 1.5px solid #e2e8f0;
    margin: 24px 0 24px;
}

.bkm-providing-tabs .nav-link {
    border: 0 !important;
    border-radius: 50px !important;
    padding: 10px 24px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
}

.bkm-providing-tabs .nav-link.active {
    background: linear-gradient(135deg, #012255 0%, #09357e 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(1, 34, 85, 0.22) !important;
}

.bkm-approach-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    box-shadow: 0 6px 18px rgba(1, 34, 85, 0.04);
}

.bkm-approach-card:last-child {
    margin-bottom: 0;
}

.bkm-approach-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #d7f0da;
    color: #0e7325;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.bkm-approach-card h4 {
    color: #012255 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    margin: 0 0 6px 0 !important;
}

.bkm-approach-card p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================================================
   9. LATEST BLOGS SECTION
   ============================================================================ */
.bkm-sec-blogs {
    padding: 84px 0 88px;
    background: #ffffff;
}

.bkm-blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bkm-blog-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1.5px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(1, 34, 85, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bkm-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(1, 34, 85, 0.11);
}

.bkm-blog-thumb {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #e2e8f0;
}

.bkm-blog-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.bkm-blog-card:hover .bkm-blog-thumb img {
    transform: scale(1.06);
}

.bkm-blog-tag {
    position: absolute;
    left: 14px;
    bottom: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: #0e7325 !important;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.bkm-blog-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.bkm-blog-date {
    color: #f26005;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.bkm-blog-title {
    color: #012255 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    margin: 0 0 16px 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 50px;
}

.bkm-blog-link {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #eef2f6;
}

.bkm-blog-link a {
    color: #012255 !important;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.bkm-blog-link a:hover {
    color: #f26005 !important;
    transform: translateX(4px);
}

/* ============================================================================
   10. BOTTOM PRE-FOOTER ACTION STRIP
   ============================================================================ */
.bkm-sec-bottomcta {
    padding: 0 0 64px;
    background: #ffffff;
}

.bkm-bottomcta-box {
    background: linear-gradient(135deg, #f15a04 0%, #f88016 58%, #0e7325 140%);
    border-radius: 26px;
    padding: 40px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 18px 42px rgba(241, 90, 4, 0.24);
    position: relative;
    overflow: hidden;
}

.bkm-bottomcta-left {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.bkm-bottomcta-icon {
    width: 66px;
    height: 66px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
}

.bkm-bottomcta-left h4 {
    color: #ffffff !important;
    font-size: clamp(22px, 2.2vw, 30px) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin: 0 !important;
}

.bkm-bottomcta-btn {
    position: relative;
    z-index: 2;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 14px 30px !important;
    border-radius: 50px !important;
    background: #012255 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(1, 34, 85, 0.3) !important;
    transition: transform 0.2s ease !important;
    white-space: nowrap;
}

.bkm-bottomcta-btn:hover {
    transform: translateY(-2px);
    background: #0b2c68 !important;
    color: #ffffff !important;
}

/* Card Title Hover States */
a:hover .bkm-cause-title,
a:hover .bkm-event-title,
a:hover .bkm-blog-title {
    color: #f26005 !important;
}

/* Harmonize Footer Accents on Homepage to Match Navy + Saffron Theme */
.tp-footer__area {
    border-top-color: #f26005 !important;
}

.tp-footer__bg {
    background: linear-gradient(180deg, #012255 0%, #011433 100%) !important;
}

.tp-footer__bg::after {
    background: linear-gradient(180deg, rgba(1, 30, 76, 0.94) 0%, rgba(1, 16, 44, 0.98) 100%) !important;
}

.tp-footer__widget-title::after {
    background: #f26005 !important;
}

.tp-footer__icon i,
.tp-footer__list ul li a:hover,
.tp-footer__text a:hover {
    color: #f88016 !important;
}

.tp-footer__newsletter-box button {
    background: linear-gradient(135deg, #f15a04 0%, #f88016 100%) !important;
}

.tp-copyright__bg {
    background-color: #010f29 !important;
}

.tp-copyright__social a:hover {
    background-color: #f26005 !important;
    border-color: #f26005 !important;
}

/* ============================================================================
   RESPONSIVE BREAKPOINTS FOR HOMEPAGE SECTIONS
   ============================================================================ */
@media (max-width: 1199px) {
    .bkm-pillar-grid--4col {
        grid-template-columns: repeat(2, 1fr);
    }
    .bkm-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .bkm-about-grid,
    .bkm-providing-grid,
    .bkm-testi-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .bkm-about-collage {
        margin: 0 auto;
    }
    .bkm-providing-photo-frame img {
        height: 400px;
    }
}

@media (max-width: 991px) {
    .bkm-pillar-grid,
    .bkm-events-grid,
    .bkm-blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bkm-bottomcta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 28px;
    }
}

@media (max-width: 767px) {
    .bkm-sec-pillars,
    .bkm-sec-about,
    .bkm-sec-causes,
    .bkm-sec-testimonials,
    .bkm-sec-events,
    .bkm-sec-providing,
    .bkm-sec-blogs {
        padding: 56px 0;
    }
    .bkm-pillar-grid,
    .bkm-pillar-grid--4col,
    .bkm-about-highlights,
    .bkm-events-grid,
    .bkm-blogs-grid {
        grid-template-columns: 1fr;
    }
    .bkm-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bkm-gallery-card {
        height: 210px;
    }
    .bkm-causes-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .bkm-about-main-frame img {
        height: 330px;
    }
    .bkm-about-sub-frame {
        left: 10px;
        bottom: 10px;
        width: 155px;
        height: 110px;
    }
    .bkm-about-exp-pill {
        left: 10px;
        top: 10px;
        padding: 8px 12px;
    }
    .bkm-providing-photo-frame img {
        height: 300px;
    }
    .bkm-providing-floating-card {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 12px 14px;
    }
    .bkm-bottomcta-left {
        flex-direction: column;
        align-items: flex-start;
    }
    .bkm-bottomcta-btn {
        width: 100%;
        justify-content: center !important;
    }
}

@media (max-width: 479px) {
    .bkm-gallery-grid {
        grid-template-columns: 1fr;
    }
    .bkm-about-exp-pill {
        max-width: calc(100% - 82px);
    }
}
