/* ============================================================
   custom.css — UI & UX enhancements for Jamiatul Mansur-BD
   ============================================================ */

/* ---- Float buttons group (WhatsApp + Back to top) ---- */
.float-btn-group {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    z-index: 9999;
}

/* ---- WhatsApp float button ---- */
.whatsapp-icon-float {
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: background-color 0.3s, transform 0.2s, opacity 0.3s;
    text-decoration: none;
    opacity: 1;
}

.whatsapp-icon-float.hide-float {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}

.whatsapp-icon-float:hover {
    background-color: #1da851;
    color: #fff;
    transform: scale(1.1);
}

/* ---- Back to top button ---- */
.back-to-top {
    background-color: #07294d;
    color: #fff;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.2s;
    text-decoration: none;
}

.back-to-top:hover {
    background-color: #ffc600;
    color: #07294d;
    transform: translateY(-3px);
}

/* ---- Contact number link ---- */
.contact-number {
    color: #dee2e6;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-number:hover {
    color: #ffc600;
}

/* ---- Language toggle buttons ---- */
.lang-btn {
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #07294d;
    cursor: pointer;
    margin-left: 4px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.lang-btn:hover,
.lang-btn.selected {
    background-color: #07294d;
    color: #fff;
    border-color: #07294d;
}

/* ---- Gallery page ---- */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    background: #fff;
    margin-bottom: 24px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s;
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.gallery-card .gallery-caption {
    padding: 10px 14px 12px;
    font-size: 15px;
    font-weight: 600;
    color: #07294d;
    background: #fff;
    border-top: 2px solid #ffc600;
}

/* ---- Blog listing page ---- */
.blog-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 28px;
    background: #fff;
    transition: box-shadow 0.25s, transform 0.25s;
}

.blog-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
    transform: translateY(-3px);
}

.blog-card .blog-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-card .blog-body {
    padding: 20px 22px;
}

.blog-card .blog-meta {
    font-size: 13px;
    color: #8a8a8a;
    margin-bottom: 8px;
}

.blog-card .blog-meta i {
    color: #ffc600;
    margin-right: 4px;
}

.blog-card .blog-title {
    font-size: 20px;
    font-weight: 700;
    color: #07294d;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.blog-card .blog-title:hover {
    color: #ffc600;
}

.blog-card .blog-excerpt {
    font-size: 15px;
    color: #505050;
    line-height: 1.7;
}

.blog-card .blog-read-more {
    display: inline-block;
    margin-top: 14px;
    color: #07294d;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 2px solid #ffc600;
    padding-bottom: 1px;
    transition: color 0.2s, border-color 0.2s;
    text-decoration: none;
}

.blog-card .blog-read-more:hover {
    color: #ffc600;
}

/* ---- Page banner accessibility ---- */
.page-banner-cont h2 {
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.45);
}

/* ---- Section spacing ---- */
.section-gap-top { padding-top: 48px; }
.section-gap-bottom { padding-bottom: 48px; }

/* ---- Admin layout enhancements ---- */
/* Sidebar navigation */
.admin-sidebar {
    min-height: calc(100vh - 60px);
    background: #07294d;
    padding-top: 16px;
}

.admin-sidebar .nav-link {
    color: #c5d3e0;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 0;
    transition: background-color 0.2s, color 0.2s;
}

.admin-sidebar .nav-link i {
    width: 20px;
    margin-right: 8px;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background-color: rgba(255,255,255,0.12);
    color: #ffc600;
}

.admin-sidebar .nav-link.active {
    border-left: 3px solid #ffc600;
}

/* Admin main content */
.admin-content {
    padding: 24px;
}

/* Admin top navbar */
.admin-topbar {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-topbar .brand {
    font-size: 18px;
    font-weight: 700;
    color: #07294d;
    text-decoration: none;
}

/* Admin page header */
.admin-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.admin-page-header h2 {
    font-size: 22px;
    color: #07294d;
    margin: 0;
}

/* Stat cards on dashboard */
.stat-card {
    border-radius: 10px;
    padding: 20px 24px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    margin-bottom: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.stat-card .stat-icon {
    font-size: 36px;
    opacity: 0.85;
}

.stat-card .stat-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.stat-card .stat-info p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

.stat-card-blue   { background: linear-gradient(135deg, #07294d, #1a5276); }
.stat-card-gold   { background: linear-gradient(135deg, #b8860b, #e0a800); }
.stat-card-green  { background: linear-gradient(135deg, #1e7e34, #28a745); }
.stat-card-teal   { background: linear-gradient(135deg, #0d6661, #17a2b8); }

/* Admin table improvements */
.admin-table th {
    background-color: #07294d;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    vertical-align: middle;
    white-space: nowrap;
}

.admin-table tbody tr:hover {
    background-color: #f8f9fa;
}

.admin-table td {
    vertical-align: middle;
}

/* Sticky table header */
.sticky-header th {
    position: sticky;
    top: 0;
    z-index: 2;
}

/* Responsive table wrapper */
.div-table {
    overflow-x: auto;
    border-radius: 6px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}

/* ---- Form improvements (admin) ---- */
.form-section {
    background: #fff;
    border-radius: 8px;
    padding: 28px 32px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    margin-bottom: 24px;
}

/* ============================================================
   LAYOUT — Top bar, Navbar, Footer
   ============================================================ */

/* ---- Top bar ---- */
.layout-topbar {
    background: #07294d;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-info {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 24px;
}
.topbar-info li {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #c5d3e0;
}
.topbar-info li i { color: #ffc600; font-size: 13px; }
.topbar-info li a { color: #c5d3e0; text-decoration: none; transition: color 0.2s; }
.topbar-info li a:hover { color: #ffc600; }

.topbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}
.topbar-phone {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #ffc600;
    text-decoration: none;
    transition: color 0.2s;
}
.topbar-phone i { font-size: 14px; }
.topbar-phone:hover { color: #fff; }

.topbar-social { display: flex; align-items: center; gap: 2px; }
.topbar-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #c5d3e0;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.topbar-social a:hover { background: rgba(255,198,0,0.18); color: #ffc600; }

/* ---- Main navbar ---- */
.layout-navbar {
    background: #fff;
    border-bottom: 1px solid #e8ecf0;
    box-shadow: 0 2px 12px rgba(7,41,77,0.07);
    transition: box-shadow 0.3s, padding 0.3s;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.layout-navbar.scrolled {
    box-shadow: 0 4px 24px rgba(7,41,77,0.14);
}
.layout-navbar .container-fluid { padding: 0 24px; }
.layout-navbar .navbar { min-height: 68px; }

/* Logo */
.layout-brand img {
    height: 52px;
    width: auto;
    transition: opacity 0.2s;
}
.layout-brand:hover img { opacity: 0.85; }

/* Nav links */
.layout-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.layout-nav-link {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #07294d;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 8px 14px;
    border-radius: 6px;
    position: relative;
    transition: color 0.2s, background 0.2s;
}
.layout-nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: #ffc600;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.25s;
}
.layout-nav-link:hover { color: #ffc600; }
.layout-nav-link:hover::after { transform: scaleX(1); }
.layout-nav-link.active { color: #07294d; }
.layout-nav-link.active::after { transform: scaleX(1); }

/* Right actions: language + donate */
.layout-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 12px;
}
.layout-lang-group { display: flex; gap: 2px; }

/* Donate button in navbar */
.layout-donate-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffc600;
    color: #07294d;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    padding: 9px 22px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 10px rgba(255,198,0,0.3);
    transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}
.layout-donate-btn:hover,
.layout-donate-btn.active {
    background: #07294d;
    color: #ffc600;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(7,41,77,0.2);
}

/* Mobile hamburger */
.layout-toggler {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.layout-toggler span {
    display: block;
    width: 26px;
    height: 2px;
    background: #07294d;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile nav */
@media (max-width: 991px) {
    .layout-navbar .navbar-collapse {
        background: #fff;
        border-top: 1px solid #eee;
        padding: 16px 0 20px;
        margin-top: 8px;
    }
    .layout-nav-links { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
    .layout-nav-link { width: 100%; padding: 10px 16px; border-radius: 0; }
    .layout-nav-link::after { left: 16px; bottom: 4px; }
    .layout-nav-actions { flex-direction: column; align-items: flex-start; margin: 12px 16px 0; gap: 10px; }
    .layout-donate-btn { width: 100%; justify-content: center; }
}

/* ---- FOOTER ---- */
.layout-footer {
    background: #07294d;
    color: #c5d3e0;
}

/* Pre-footer CTA strip */
.footer-cta-strip {
    background: linear-gradient(135deg, #ffc600 0%, #e0a800 100%);
    padding: 28px 0;
}
.footer-cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #07294d;
    margin: 0;
    line-height: 1.4;
}
.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #07294d;
    color: #ffc600;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(7,41,77,0.25);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    white-space: nowrap;
}
.footer-cta-btn:hover { background: #fff; color: #07294d; transform: translateY(-2px); }

/* Footer body */
.footer-body { padding: 60px 0 40px; }

/* Brand col */
.footer-brand img {
    height: 56px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.footer-desc {
    font-size: 14px;
    color: #8fa8be;
    line-height: 1.8;
    margin-bottom: 20px;
}
.footer-social { display: flex; gap: 6px; }
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #c5d3e0;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.footer-social a:hover { background: #ffc600; color: #07294d; transform: translateY(-2px); }

/* Footer columns */
.footer-col-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffc600;
    display: inline-block;
}

/* Quick links */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-links li a {
    font-size: 14px;
    color: #8fa8be;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color 0.2s, gap 0.2s;
}
.footer-links li a::before {
    content: '›';
    color: #ffc600;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}
.footer-links li a:hover { color: #ffc600; gap: 10px; }

/* Contact list */
.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #8fa8be;
    line-height: 1.6;
}
.footer-contact-list li i { color: #ffc600; margin-top: 3px; font-size: 13px; flex-shrink: 0; }
.footer-contact-list li a { color: #8fa8be; text-decoration: none; transition: color 0.2s; }
.footer-contact-list li a:hover { color: #ffc600; }

/* Donate box in footer */
.footer-donate-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,198,0,0.25);
    border-radius: 10px;
    padding: 16px 18px;
}
.footer-donate-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8fa8be;
    margin: 0 0 4px;
}
.footer-donate-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: #ffc600;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.footer-donate-sub {
    font-size: 12px;
    color: #8fa8be;
    margin: 0 0 12px;
}
.footer-donate-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #ffc600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap 0.2s, color 0.2s;
}
.footer-donate-link:hover { color: #fff; gap: 10px; }

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 0;
}
.footer-copyright,
.footer-credit {
    font-size: 13px;
    color: #5a7a94;
    margin: 0;
}

/* ============================================================
   HOME PAGE — Hero, About, Facilities, Donations, Blogs
   ============================================================ */

/* --- Shared section tags & titles --- */
.section-tag {
    display: inline-block;
    background: rgba(7,41,77,0.08);
    color: #07294d;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    border-left: 3px solid #ffc600;
}
.section-tag-light {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-left-color: #ffc600;
}

.home-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #07294d;
    line-height: 1.25;
    margin-top: 10px;
    margin-bottom: 0;
}
.home-section-title-light { color: #fff; }

.home-divider {
    width: 50px;
    height: 4px;
    background: #ffc600;
    border-radius: 2px;
    margin-top: 14px;
    margin-bottom: 20px;
}
.home-divider-light { background: rgba(255,198,0,0.7); }

.home-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #07294d;
    text-decoration: none;
    border-bottom: 2px solid #ffc600;
    padding-bottom: 2px;
    transition: color 0.2s, gap 0.2s;
}
.home-read-more:hover { color: #ffc600; gap: 10px; }

/* ---- HERO ---- */
.home-hero { position: relative; }

/* Slider container */
.hero-slider {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 126px);
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Individual slides */
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 8s ease-in-out;
    transform: scale(1.06);
    z-index: 0;
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

/* Overlay */
.hero-slider .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(7,41,77,0.82) 0%, rgba(7,41,77,0.55) 100%);
    z-index: 2;
}

/* Content layer */
.hero-slider-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 24px 80px;
    text-align: center;
}

/* Slide dots */
.hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 8px;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}
.hero-dot.active {
    background: #ffc600;
    transform: scale(1.3);
}
.hero-content {
    position: relative;
    z-index: 5;
    padding: 80px 0 60px;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,198,0,0.18);
    border: 1px solid rgba(255,198,0,0.5);
    color: #ffc600;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 46px;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    text-shadow: 0 3px 16px rgba(0,0,0,0.35);
    margin-bottom: 16px;
}
.hero-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 28px;
    font-weight: 400;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-btn-primary {
    display: inline-block;
    background: #ffc600;
    color: #07294d;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 800;
    padding: 13px 36px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(255,198,0,0.38);
    transition: background 0.25s, transform 0.2s;
}
.hero-btn-primary:hover { background: #fff; color: #07294d; transform: translateY(-2px); }
.hero-btn-secondary {
    display: inline-block;
    background: transparent;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 34px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.6);
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

/* ---- DONATION SECTION (between hero and about) ---- */
.home-donate-section {
    padding: 0 0 0;
    position: relative;
    z-index: 2;
    margin-top: -60px;
}
.home-donate-section .container { position: relative; }

/* ---- ABOUT SECTION ---- */
.home-about-section {
    padding: 70px 0 60px;
    background: #fff;
    position: relative;
}
.home-section-label { margin-bottom: 8px; }

.home-about-text p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.85;
    color: #444;
    text-align: justify;
}
.home-about-text .home-read-more { margin-top: 20px; }

/* Events card */
.home-events-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(7,41,77,0.10);
    overflow: hidden;
    margin-top: 10px;
}
.home-events-header {
    background: #07294d;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.home-events-header i {
    color: #ffc600;
    font-size: 20px;
}
.home-events-header h4 {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}
.home-events-list { list-style: none; margin: 0; padding: 0; }
.home-events-list li { border-bottom: 1px solid #f0f0f0; }
.home-events-list li:last-child { border-bottom: 0; }

.home-event-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
}
.home-event-date {
    background: #ffc600;
    border-radius: 8px;
    min-width: 48px;
    text-align: center;
    padding: 6px 4px;
    flex-shrink: 0;
}
.home-event-date .event-day {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: #07294d;
    line-height: 1;
}
.home-event-date .event-month {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #07294d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.home-event-info h6 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #07294d;
    margin: 0 0 5px;
}
.home-event-info span {
    display: block;
    font-size: 12px;
    color: #8a8a8a;
    line-height: 1.6;
}
.home-event-info span i { color: #ffc600; margin-right: 4px; }

/* ---- FACILITIES SECTION ---- */
.home-facilities-section {
    padding: 70px 0;
    background-image: url(../images/bg-1.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}
.home-facilities-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,41,77,0.90) 0%, rgba(7,41,77,0.75) 100%);
}
.home-facilities-section .container { position: relative; z-index: 2; }

/* Video thumbnail */
.home-video-wrap {
    position: relative;
    display: inline-block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.home-video-thumb {
    width: 100%;
    max-width: 440px;
    height: 280px;
    object-fit: cover;
    display: block;
}
.home-video-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: #ffc600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #07294d;
    text-decoration: none;
    box-shadow: 0 0 0 12px rgba(255,198,0,0.2);
    transition: transform 0.25s, box-shadow 0.25s;
}
.home-video-btn:hover {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 0 0 18px rgba(255,198,0,0.15);
    color: #07294d;
}

/* Feature items */
.home-features-list { display: flex; flex-direction: column; gap: 20px; }
.home-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 18px 20px;
    border-left: 3px solid #ffc600;
    transition: background 0.2s;
}
.home-feature-item:hover { background: rgba(255,255,255,0.13); }
.home-feature-icon img { width: 44px; height: 44px; object-fit: contain; }
.home-feature-body h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 5px;
}
.home-feature-body p {
    font-size: 14px;
    color: rgba(255,255,255,0.72);
    margin: 0;
    line-height: 1.6;
}

/* ---- DONATION CARDS SECTION ---- */
.home-donations-section {
    padding: 70px 0;
    background: #f8f9fb;
}
.home-donations-section .section-tag { background: rgba(7,41,77,0.08); }

/* ---- BLOGS SECTION ---- */
.home-blogs-section {
    padding: 70px 0;
    background: #fff;
}

/* Featured blog card */
.home-blog-featured {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    background: #fff;
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s;
}
.home-blog-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.15);
}
.home-blog-featured-thumb {
    position: relative;
    overflow: hidden;
}
.home-blog-featured-thumb img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.home-blog-featured:hover .home-blog-featured-thumb img { transform: scale(1.04); }
.home-blog-featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ffc600;
    color: #07294d;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
}
.home-blog-featured-body { padding: 22px 24px 24px; }
.home-blog-featured-title {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: #07294d;
    line-height: 1.35;
    margin: 10px 0 10px;
    text-decoration: none;
    transition: color 0.2s;
}
.home-blog-featured-title:hover { color: #ffc600; }

/* Blog meta */
.home-blog-meta {
    font-size: 12px;
    color: #999;
    font-family: 'Roboto', sans-serif;
}
.home-blog-meta i { color: #ffc600; margin-right: 3px; }

/* Blog excerpt */
.home-blog-excerpt {
    font-size: 14.5px;
    color: #555;
    line-height: 1.75;
    margin: 8px 0 14px;
}

/* Side list items */
.home-blog-list-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}
.home-blog-list-item:last-child { border-bottom: 0; }
.home-blog-list-thumb {
    flex-shrink: 0;
    width: 90px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
}
.home-blog-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.home-blog-list-item:hover .home-blog-list-thumb img { transform: scale(1.06); }
.home-blog-list-body { flex: 1; min-width: 0; }
.home-blog-list-title {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #07294d;
    line-height: 1.4;
    margin: 4px 0 6px;
    text-decoration: none;
    transition: color 0.2s;
    /* truncate to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-blog-list-title:hover { color: #ffc600; }
.home-blog-list-excerpt {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */

/* Banner */
.gallery-banner {
    position: relative;
    padding: 110px 0 90px;
    background-size: cover;
    background-position: center;
}
.gallery-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(7,41,77,0.88) 0%, rgba(7,41,77,0.62) 100%);
}
.gallery-banner-content { position: relative; z-index: 2; }
.gallery-banner-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 44px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 3px 16px rgba(0,0,0,0.3);
    margin: 16px 0 12px;
}
.gallery-banner-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.80);
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto;
}

/* Gallery section */
.gallery-section {
    padding: 60px 0 80px;
    background: #f0f2f5;
}

/* Empty state */
.gallery-empty { padding: 80px 0; }
.gallery-empty i {
    font-size: 56px;
    color: #ccc;
    display: block;
    margin-bottom: 16px;
}
.gallery-empty h4 { font-size: 20px; color: #888; }

/* Count bar */
.gallery-count-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}
.gallery-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #07294d;
    color: #ffc600;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 50px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}
.gallery-count-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, rgba(7,41,77,0.2), transparent);
}

/* CSS columns grid — masonry-like layout */
.gallery-grid {
    column-count: 4;
    column-gap: 12px;
}
.gallery-grid-item {
    display: block;
    break-inside: avoid;
    margin-bottom: 12px;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    position: relative;
}

/* Thumbnail */
.gallery-grid-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    display: block;
    line-height: 0;
}
.gallery-grid-thumb img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.45s ease;
}
.gallery-grid-item:hover .gallery-grid-thumb img {
    transform: scale(1.06);
}

/* Overlay on hover */
.gallery-grid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(7,41,77,0.88) 0%,
        rgba(7,41,77,0.30) 60%,
        rgba(7,41,77,0.0) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-radius: 10px;
}
.gallery-grid-item:hover .gallery-grid-overlay { opacity: 1; }

.gallery-grid-overlay-inner {
    padding: 16px 14px;
    text-align: center;
    width: 100%;
    transform: translateY(10px);
    transition: transform 0.35s ease;
}
.gallery-grid-item:hover .gallery-grid-overlay-inner { transform: translateY(0); }

.gallery-grid-overlay-inner .fa-search-plus {
    display: block;
    font-size: 22px;
    color: #ffc600;
    margin-bottom: 6px;
}
.gallery-grid-title {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}
.gallery-grid-desc {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.70);
    margin-top: 3px;
    line-height: 1.4;
}

/* Magnific Popup customisation */
.mfp-fade.mfp-bg { opacity: 0; transition: all 0.3s ease-out; }
.mfp-fade.mfp-bg.mfp-ready { opacity: 0.92; }
.mfp-fade.mfp-bg.mfp-removing { opacity: 0; }
.mfp-fade.mfp-wrap .mfp-content { opacity: 0; transition: all 0.3s ease-out; }
.mfp-fade.mfp-wrap.mfp-ready .mfp-content { opacity: 1; }
.mfp-fade.mfp-wrap.mfp-removing .mfp-content { opacity: 0; }
.mfp-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    padding: 8px 0 4px;
}
.mfp-counter {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #ffc600;
}
.mfp-arrow-left:before,
.mfp-arrow-right:before { border-right-color: #ffc600; border-left-color: #ffc600; }

/* Responsive columns */
@@media (max-width: 1200px) { .gallery-grid { column-count: 3; } }
@@media (max-width: 768px)  { .gallery-grid { column-count: 2; } }
@@media (max-width: 480px)  {
    .gallery-grid { column-count: 1; }
    .gallery-banner-title { font-size: 28px; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* Banner */
.contact-banner {
    position: relative;
    padding: 110px 0 90px;
    background-size: cover;
    background-position: center;
}
.contact-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(7,41,77,0.88) 0%, rgba(7,41,77,0.62) 100%);
}
.contact-banner-content { position: relative; z-index: 2; }
.contact-banner-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 44px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 3px 16px rgba(0,0,0,0.3);
    margin: 16px 0 12px;
}
.contact-banner-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.80);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* Quick info cards strip */
.contact-cards-section {
    background: #07294d;
    padding: 0 0 0;
    position: relative;
    z-index: 2;
    margin-top: -1px;
}
.contact-cards-section .container {
    transform: translateY(-40px);
}
.contact-info-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(7,41,77,0.13);
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s;
}
.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(7,41,77,0.18);
}
.contact-info-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 14px;
}
.contact-info-card h6 {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #07294d;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}
.contact-info-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}
.contact-info-card a {
    color: #07294d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.contact-info-card a:hover { color: #ffc600; }

/* Main section */
.contact-main-section {
    padding: 20px 0 80px;
    background: #f8f9fb;
}

/* Form card */
.contact-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 40px 44px;
    box-shadow: 0 4px 24px rgba(7,41,77,0.08);
}
.contact-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.contact-field-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #07294d;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.contact-required { color: #e83e8c; margin-left: 2px; }

.contact-input-wrap {
    position: relative;
}
.contact-input-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 14px;
    pointer-events: none;
    transition: color 0.2s;
}
.contact-textarea-wrap i {
    top: 16px;
    transform: none;
}
.contact-input-wrap input,
.contact-input-wrap textarea {
    width: 100%;
    border: 1.5px solid #dde3ea;
    border-radius: 10px;
    padding: 12px 14px 12px 40px;
    font-size: 14.5px;
    color: #333;
    font-family: 'Roboto', sans-serif;
    background: #fafbfc;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
    resize: none;
}
.contact-input-wrap textarea { min-height: 130px; }
.contact-input-wrap input:focus,
.contact-input-wrap textarea:focus {
    border-color: #07294d;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(7,41,77,0.08);
}
.contact-input-wrap input:focus ~ i,
.contact-input-wrap textarea:focus ~ i { color: #07294d; }

/* Error state */
.contact-field-error input,
.contact-field-error textarea {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220,53,69,0.08) !important;
}

/* Submit button */
.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #07294d;
    color: #ffc600;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    padding: 14px 38px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 16px rgba(7,41,77,0.22);
    transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
}
.contact-submit-btn:hover {
    background: #ffc600;
    color: #07294d;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,198,0,0.35);
}

/* Details card */
.contact-details-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px 36px;
    box-shadow: 0 4px 24px rgba(7,41,77,0.08);
    position: sticky;
    top: 90px;
}
.contact-detail-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.contact-detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
}
.contact-detail-list li:last-child { border-bottom: 0; }
.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(7,41,77,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #07294d;
    flex-shrink: 0;
}
.contact-detail-icon-green { background: rgba(37,211,102,0.10); color: #25D366; }
.contact-detail-body { flex: 1; }
.contact-detail-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    margin-bottom: 4px;
}
.contact-detail-body p {
    font-size: 14.5px;
    color: #333;
    line-height: 1.6;
    margin: 0;
}
.contact-detail-body a {
    color: #07294d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.contact-detail-body a:hover { color: #ffc600; }

/* Office hours box */
.contact-hours-box {
    background: #f8f9fb;
    border-radius: 12px;
    padding: 18px 20px;
    margin-top: 20px;
    border-left: 3px solid #ffc600;
}
.contact-hours-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #07294d;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.contact-hours-title i { color: #ffc600; }
.contact-hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    color: #555;
    padding: 5px 0;
    border-bottom: 1px dashed #e0e0e0;
}
.contact-hours-row:last-child { border-bottom: 0; }

/* Map section */
.contact-map-section { background: #f8f9fb; padding-bottom: 0; }
.contact-map-header { padding: 60px 0 28px; }
.contact-map-wrap {
    border-top: 4px solid #ffc600;
    overflow: hidden;
    box-shadow: 0 -4px 20px rgba(7,41,77,0.08);
}
.contact-map-wrap iframe { display: block; }

/* Responsive */
@@media (max-width: 991px) {
    .contact-details-card { position: static; margin-top: 0; }
}
@@media (max-width: 767px) {
    .contact-banner-title  { font-size: 28px; }
    .contact-banner-sub    { font-size: 15px; }
    .contact-form-card     { padding: 28px 20px; }
    .contact-details-card  { padding: 28px 20px; }
    .contact-cards-section .container { transform: translateY(-24px); }
}

/* ============================================================
   BLOGS PAGE
   ============================================================ */

/* Banner */
.blogs-banner {
    position: relative;
    padding: 110px 0 90px;
    background-size: cover;
    background-position: center;
}
.blogs-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(7,41,77,0.88) 0%, rgba(7,41,77,0.62) 100%);
}
.blogs-banner-content { position: relative; z-index: 2; }
.blogs-banner-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 44px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 3px 16px rgba(0,0,0,0.3);
    margin: 16px 0 12px;
}
.blogs-banner-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.80);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* Listing section */
.blogs-listing-section {
    padding: 72px 0 80px;
    background: #f8f9fb;
}

/* Empty state */
.blogs-empty {
    text-align: center;
    padding: 80px 0;
}
.blogs-empty i {
    font-size: 56px;
    color: #ccc;
    margin-bottom: 16px;
    display: block;
}
.blogs-empty h4 {
    font-size: 20px;
    color: #888;
    margin-bottom: 20px;
}

/* ---- Featured post ---- */
.blogs-featured-wrap {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 36px rgba(7,41,77,0.12);
    margin-bottom: 52px;
}
.blogs-featured-thumb {
    position: relative;
    height: 100%;
    min-height: 340px;
    overflow: hidden;
}
.blogs-featured-thumb img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}
.blogs-featured-wrap:hover .blogs-featured-thumb img {
    transform: scale(1.04);
}
.blogs-featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #ffc600;
    color: #07294d;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.blogs-featured-body {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.blogs-featured-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: #07294d;
    line-height: 1.35;
    margin: 14px 0 14px;
}
.blogs-featured-excerpt {
    font-size: 15px;
    color: #555;
    line-height: 1.85;
    margin: 0 0 20px;
}

/* ---- Grid header ---- */
.blogs-grid-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}
.blogs-grid-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #07294d;
    margin: 0;
    white-space: nowrap;
}
.blogs-grid-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #ffc600, transparent);
}

/* ---- Post card ---- */
.blogs-post-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}
.blogs-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(7,41,77,0.14);
}
.blogs-post-thumb {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.blogs-post-thumb img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.blogs-post-card:hover .blogs-post-thumb img {
    transform: scale(1.06);
}
.blogs-post-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #07294d;
    border-radius: 8px;
    padding: 6px 12px;
    text-align: center;
    min-width: 50px;
}
.blogs-post-date-day {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #ffc600;
    line-height: 1;
}
.blogs-post-date-month {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.80);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.blogs-post-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blogs-post-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #07294d;
    line-height: 1.4;
    margin: 8px 0 10px;
    text-decoration: none;
    transition: color 0.2s;
}
.blogs-post-title:hover { color: #ffc600; }
.blogs-post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.75;
    margin: 0 0 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Shared meta */
.blogs-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
    color: #999;
}
.blogs-meta i { color: #ffc600; margin-right: 4px; }

/* Shared read-more */
.blogs-read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #07294d;
    text-decoration: none;
    border-bottom: 2px solid #ffc600;
    padding-bottom: 2px;
    transition: color 0.2s, gap 0.2s;
}
.blogs-read-more:hover { color: #ffc600; gap: 11px; }
.blogs-read-more-sm { font-size: 12px; margin-top: auto; }

/* ============================================================
   SINGLE BLOG PAGE
   ============================================================ */

.singleblog-banner {
    position: relative;
    min-height: 460px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}
.singleblog-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(7,41,77,0.96) 0%,
        rgba(7,41,77,0.60) 50%,
        rgba(7,41,77,0.25) 100%);
}
.singleblog-banner-content {
    position: relative;
    z-index: 2;
    padding: 40px 0 44px;
    max-width: 820px;
}
.singleblog-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.70);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    transition: color 0.2s;
}
.singleblog-back:hover { color: #ffc600; }
.singleblog-banner-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    margin: 0 0 16px;
}
.singleblog-banner-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.72);
}
.singleblog-banner-meta i { color: #ffc600; margin-right: 4px; }

/* Article body */
.singleblog-body-section {
    padding: 64px 0 80px;
    background: #fff;
}
.singleblog-article {
    font-family: 'Roboto', sans-serif;
    font-size: 16.5px;
    line-height: 1.95;
    color: #333;
    text-align: justify;
}
.singleblog-article h1,
.singleblog-article h2,
.singleblog-article h3,
.singleblog-article h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #07294d;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    line-height: 1.3;
}
.singleblog-article h2 { font-size: 24px; }
.singleblog-article h3 { font-size: 20px; }
.singleblog-article h4 { font-size: 17px; }
.singleblog-article p  { margin-bottom: 1.2em; }
.singleblog-article img {
    max-width: 100%;
    border-radius: 10px;
    margin: 16px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.singleblog-article blockquote {
    border-left: 4px solid #ffc600;
    margin: 24px 0;
    padding: 14px 24px;
    background: #fffdf0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}
.singleblog-article ul,
.singleblog-article ol {
    padding-left: 24px;
    margin-bottom: 1.2em;
}
.singleblog-article li { margin-bottom: 6px; }
.singleblog-article a { color: #07294d; text-decoration: underline; }
.singleblog-article a:hover { color: #ffc600; }

/* Article footer */
.singleblog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 2px solid #f0f0f0;
}
.singleblog-donate-cta { flex-shrink: 0; }

/* Responsive */
@@media (max-width: 767px) {
    .blogs-banner-title  { font-size: 28px; }
    .blogs-featured-body { padding: 24px 20px; }
    .blogs-featured-title { font-size: 19px; }
    .singleblog-banner-title { font-size: 24px; }
    .singleblog-banner  { min-height: 360px; }
    .singleblog-article { font-size: 15px; line-height: 1.85; }
    .singleblog-footer  { flex-direction: column; }
    .singleblog-donate-cta { width: 100%; text-align: center; justify-content: center; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* Banner */
.about-banner {
    position: relative;
    padding: 110px 0 90px;
    background-size: cover;
    background-position: center;
}
.about-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(7,41,77,0.87) 0%, rgba(7,41,77,0.60) 100%);
}
.about-banner-content { position: relative; z-index: 2; }
.about-banner-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 44px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 3px 16px rgba(0,0,0,0.3);
    margin: 16px 0 12px;
}
.about-banner-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.80);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Stats strip */
.about-stats-section {
    background: #07294d;
    padding: 0;
}
.about-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.about-stat-item {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 28px 20px;
}
.about-stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #ffc600;
    line-height: 1;
    margin-bottom: 6px;
}
.about-stat-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.70);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.about-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}

/* Intro section */
.about-intro-section {
    padding: 80px 0 70px;
    background: #fff;
}
.about-intro-img-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(7,41,77,0.15);
}
.about-intro-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}
.about-intro-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #ffc600;
    color: #07294d;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.about-intro-text {
    font-size: 15.5px;
    color: #444;
    line-height: 1.85;
    text-align: justify;
    margin: 0;
}
.about-intro-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
}
.about-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}
.about-highlight-item i { color: #28a745; font-size: 16px; margin-top: 1px; flex-shrink: 0; }

/* Departments section */
.about-departments-section {
    padding: 80px 0 70px;
    background: #f8f9fb;
}
.about-section-sub {
    font-size: 15px;
    color: #666;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}
.about-dept-card {
    background: #fff;
    border-radius: 14px;
    padding: 30px 26px;
    height: 100%;
    border-top: 3px solid #ffc600;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
}
.about-dept-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.12);
}
.about-dept-card-muted { border-top-color: #ccc; opacity: 0.85; }
.about-dept-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: rgba(7,41,77,0.06);
    line-height: 1;
    position: absolute;
    top: 16px;
    right: 20px;
}
.about-dept-icon {
    width: 50px;
    height: 50px;
    background: rgba(7,41,77,0.07);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #07294d;
    margin-bottom: 14px;
}
.about-dept-card h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #07294d;
    margin-bottom: 10px;
}
.about-dept-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.75;
    margin: 0;
}
.about-dept-badge {
    display: inline-block;
    background: #ffc600;
    color: #07294d;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 12px;
}

/* Highlight quote card */
.about-dept-highlight-card {
    background: linear-gradient(135deg, #07294d, #0d3d6e);
    border-radius: 14px;
    padding: 30px 26px;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-dept-quote-icon {
    font-size: 36px;
    color: rgba(255,198,0,0.25);
    position: absolute;
    top: 16px;
    left: 20px;
}
.about-dept-highlight-card p {
    font-size: 15px;
    font-style: italic;
    color: rgba(255,255,255,0.88);
    line-height: 1.8;
    margin: 0 0 12px;
    padding-top: 10px;
}
.about-dept-quote-attr {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #ffc600;
}

/* Training section */
.about-training-section {
    padding: 80px 0 70px;
    background: #07294d;
    position: relative;
    overflow: hidden;
}
.about-training-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,198,0,0.04);
    top: -150px;
    right: -100px;
    pointer-events: none;
}
.about-training-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 22px 20px;
    border-left: 3px solid #ffc600;
    height: 100%;
    transition: background 0.2s;
}
.about-training-card:hover { background: rgba(255,255,255,0.11); }
.about-training-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,198,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ffc600;
    flex-shrink: 0;
}
.about-training-body h6 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
}
.about-training-body p {
    font-size: 13.5px;
    color: rgba(255,255,255,0.68);
    line-height: 1.7;
    margin: 0;
}

/* Community service section */
.about-service-section {
    padding: 80px 0 70px;
    background: #fff;
}
.about-service-card {
    background: #f8f9fb;
    border-radius: 14px;
    padding: 28px 24px;
    height: 100%;
    border-bottom: 3px solid transparent;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.about-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.09);
    border-bottom-color: #ffc600;
}
.about-service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}
.about-service-card h6 {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #07294d;
    margin-bottom: 8px;
}
.about-service-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.75;
    margin: 0;
}

/* Appeal section */
.about-appeal-section {
    position: relative;
    padding: 90px 0;
    background: url(../images/donation/donation-banner.jpg) center/cover no-repeat;
    background-attachment: fixed;
}
.about-appeal-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,41,77,0.93) 0%, rgba(7,41,77,0.80) 100%);
}
.about-appeal-content { position: relative; z-index: 2; }
.about-appeal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
    margin: 16px 0 14px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.about-appeal-text {
    font-size: 16px;
    color: rgba(255,255,255,0.80);
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto 32px;
}
.about-appeal-funds {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,198,0,0.25);
    border-radius: 14px;
    max-width: 640px;
    margin: 0 auto 32px;
    overflow: hidden;
}
.about-appeal-fund-item {
    flex: 1;
    padding: 22px 24px;
    text-align: center;
}
.about-appeal-fund-divider {
    width: 1px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}
.about-appeal-fund-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #ffc600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.about-appeal-fund-acc {
    font-size: 14px;
    color: #fff;
    margin-bottom: 4px;
}
.about-appeal-fund-acc strong { color: #ffc600; }
.about-appeal-fund-bank {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
}
.about-appeal-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@@media (max-width: 767px) {
    .about-banner-title { font-size: 28px; }
    .about-stat-number { font-size: 26px; }
    .about-stat-divider { display: none; }
    .about-stat-item { min-width: 50%; }
    .about-intro-img { height: 260px; }
    .about-appeal-title { font-size: 24px; }
    .about-appeal-funds { flex-direction: column; }
    .about-appeal-fund-divider { width: 100%; height: 1px; }
    .about-appeal-btns { flex-direction: column; align-items: center; }
    .about-appeal-btns a { width: 100%; text-align: center; }
    .about-appeal-section { background-attachment: scroll; }
}

/* ============================================================
   DONATE PAGE
   ============================================================ */

/* Banner */
.donate-page-banner {
    position: relative;
    padding: 120px 0 100px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.donate-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(7,41,77,0.88) 0%, rgba(7,41,77,0.65) 100%);
}
.donate-banner-content {
    position: relative;
    z-index: 2;
}
.donate-banner-tag {
    display: inline-block;
    background: rgba(255,198,0,0.18);
    border: 1px solid rgba(255,198,0,0.5);
    color: #ffc600;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.donate-banner-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 3px 16px rgba(0,0,0,0.3);
    margin: 16px 0 14px;
}
.donate-banner-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.80);
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Why Donate section */
.donate-why-section {
    padding: 72px 0 60px;
    background: #fff;
}
.donate-why-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px 26px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border-bottom: 3px solid #ffc600;
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s;
}
.donate-why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.12);
}
.donate-why-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
}
.donate-why-card h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #07294d;
    margin-bottom: 10px;
}
.donate-why-card p {
    font-size: 14.5px;
    color: #555;
    line-height: 1.75;
    margin: 0;
}

/* Quote box */
.donate-quote-box {
    background: linear-gradient(135deg, #07294d, #0d3d6e);
    border-radius: 14px;
    padding: 32px 40px;
    text-align: center;
    position: relative;
}
.donate-quote-icon {
    font-size: 40px;
    color: rgba(255,198,0,0.3);
    position: absolute;
    top: 20px;
    left: 28px;
}
.donate-quote-text {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    color: rgba(255,255,255,0.88);
    line-height: 1.8;
    margin: 0;
}

/* Donation methods section */
.donate-methods-section {
    padding: 72px 0 80px;
    background: #f8f9fb;
}
.donate-method-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s;
}
.donate-method-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.donate-method-card-featured {
    box-shadow: 0 8px 32px rgba(7,41,77,0.15);
    border: 2px solid #ffc600;
}

/* Method card headers */
.donate-method-header {
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.donate-method-header i { font-size: 26px; }
.donate-method-header h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 800;
    margin: 0;
    color: #fff;
}
.donate-method-pink   { background: linear-gradient(135deg, #e83e8c, #c0146a); }
.donate-method-blue   { background: linear-gradient(135deg, #07294d, #1a5276); }
.donate-method-gold   { background: linear-gradient(135deg, #b8860b, #e0a800); }

/* Method card body */
.donate-method-body {
    padding: 22px 24px 26px;
}

/* bKash number */
.donate-method-number {
    background: #fff8e1;
    border: 1px solid #ffc600;
    border-radius: 10px;
    padding: 12px 18px;
    text-align: center;
    margin-bottom: 18px;
}
.donate-method-number-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 4px;
}
.donate-method-number-value {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: #07294d;
    letter-spacing: 1px;
}

/* Steps list */
.donate-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
}
.donate-steps li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
    color: #444;
    counter-increment: step;
}
.donate-steps li:last-child { border-bottom: 0; }
.donate-steps li::before {
    content: counter(step);
    min-width: 22px;
    height: 22px;
    background: #07294d;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Bank details */
.donate-method-bank-name {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin-bottom: 16px;
    border-left: 3px solid #ffc600;
    padding-left: 10px;
    line-height: 1.5;
}
.donate-bank-account {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
}
.donate-bank-label {
    background: #07294d;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.donate-bank-label-green { background: #1e7e34; }
.donate-bank-detail {
    padding: 10px 14px;
    background: #fafafa;
}
.donate-bank-detail span {
    display: block;
    font-size: 13px;
    color: #444;
    line-height: 1.7;
}
.donate-bank-detail strong { color: #07294d; }

/* Online payment form */
.donate-method-online-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 14px;
}
.donate-online-img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 18px;
}
.donate-online-form { display: flex; flex-direction: column; gap: 14px; }
.donate-form-group { display: flex; flex-direction: column; gap: 5px; }
.donate-form-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #07294d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.donate-form-group label span { color: #e83e8c; }
.donate-input {
    width: 100%;
    height: 44px;
    border: 1.5px solid #dde3ea;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 14px;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.donate-input:focus {
    border-color: #07294d;
    box-shadow: 0 0 0 3px rgba(7,41,77,0.08);
}

/* Preset amount buttons */
.donate-amount-presets {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.donate-preset {
    flex: 1;
    min-width: 60px;
    padding: 7px 4px;
    background: #f0f4f8;
    border: 1.5px solid #dde3ea;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #07294d;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.donate-preset:hover,
.donate-preset.active {
    background: #07294d;
    border-color: #07294d;
    color: #ffc600;
}

/* Submit button */
.donate-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #b8860b, #e0a800);
    color: #07294d;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 800;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 16px rgba(255,198,0,0.35);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    margin-top: 4px;
}
.donate-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,198,0,0.45);
    background: linear-gradient(135deg, #e0a800, #ffc600);
}

/* ---- Callback pages (Success / Fail / Cancel / Error) ---- */
.donate-callback-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: #f8f9fb;
}
.donate-callback-card {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 52px 44px;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
}
.donate-callback-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin: 0 auto 24px;
}
.donate-callback-success .donate-callback-icon { background: #d4edda; color: #1e7e34; }
.donate-callback-fail    .donate-callback-icon { background: #f8d7da; color: #c0392b; }
.donate-callback-cancel  .donate-callback-icon { background: #fff3cd; color: #b8860b; }
.donate-callback-error   .donate-callback-icon { background: #fff3cd; color: #b8860b; }

.donate-callback-success { border-top: 5px solid #28a745; }
.donate-callback-fail    { border-top: 5px solid #dc3545; }
.donate-callback-cancel  { border-top: 5px solid #ffc600; }
.donate-callback-error   { border-top: 5px solid #ffc600; }

.donate-callback-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: #07294d;
    margin-bottom: 6px;
}
.donate-callback-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #444;
    margin-bottom: 12px;
}
.donate-callback-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}
.donate-callback-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fb;
    border-radius: 8px;
    padding: 10px 16px;
    margin-bottom: 10px;
    font-size: 14px;
}
.donate-callback-detail span { color: #888; }
.donate-callback-detail strong { color: #07294d; font-weight: 700; }
.donate-callback-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .donate-banner-title { font-size: 26px; }
    .donate-banner-sub   { font-size: 15px; }
    .donate-callback-card { padding: 36px 20px; }
    .donate-callback-actions { flex-direction: column; }
    .donate-callback-actions a { width: 100%; text-align: center; }
}

/* ============================================================
   Donation Box (home page)
   ============================================================ */

/* Override the plain .donate-from with a rich card */
.donate-from {
    background: linear-gradient(135deg, #07294d 0%, #0d3d6e 60%, #0a3058 100%);
    border-radius: 16px;
    padding: 48px 40px 36px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(7, 41, 77, 0.45);
    text-align: center;
}

/* Decorative circle accents */
.donate-from::before,
.donate-from::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
    background: #ffc600;
    pointer-events: none;
}
.donate-from::before {
    width: 320px;
    height: 320px;
    top: -100px;
    right: -80px;
}
.donate-from::after {
    width: 220px;
    height: 220px;
    bottom: -80px;
    left: -60px;
}

/* Gold rule above the heading */
.donate-from .donate-rule {
    display: block;
    width: 56px;
    height: 4px;
    background: #ffc600;
    border-radius: 2px;
    margin: 0 auto 18px;
}

/* Main heading */
.donate-from h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
    margin-bottom: 6px;
    line-height: 1.25;
}

/* Payment instruction */
.donate-from .donate-instruction {
    display: inline-block;
    background: rgba(255, 198, 0, 0.14);
    border: 1px solid rgba(255, 198, 0, 0.45);
    border-radius: 50px;
    padding: 10px 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ffc600;
    letter-spacing: 0.3px;
    margin-top: 18px;
    margin-bottom: 4px;
    line-height: 1.5;
}

/* Blessing / footer text */
.donate-from .donate-blessing {
    font-size: 15px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 16px;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

/* Donate button */
.donate-from .donate-cta {
    display: inline-block;
    margin-top: 26px;
    background: #ffc600;
    color: #07294d;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 800;
    padding: 13px 40px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 16px rgba(255, 198, 0, 0.35);
    transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
}
.donate-from .donate-cta:hover {
    background: #fff;
    color: #07294d;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 198, 0, 0.45);
}
.donate-from .donate-cta i {
    margin-right: 8px;
}

/* ---- Embedded map iframe ---- */
.map.map-big iframe {
    width: 100%;
    height: 450px;
    display: block;
    border: 0;
}

/* ---- Responsive tweaks ---- */
@media (max-width: 767px) {
    /* Hero */
    .hero-title { font-size: 26px; }
    .hero-subtitle { font-size: 15px; }
    .hero-btn-primary, .hero-btn-secondary { width: 100%; text-align: center; }
    .hero-slider { min-height: 520px; }
    .hero-slider-inner { padding: 80px 20px 70px; }

    /* Donate section pulls up less on mobile */
    .home-donate-section { margin-top: -30px; }

    /* About */
    .home-section-title { font-size: 22px; }
    .home-about-text p { font-size: 15px; }
    .home-events-card { margin-top: 30px; }

    /* Facilities */
    .home-video-thumb { height: 200px; max-width: 100%; }
    .home-facilities-section { background-attachment: scroll; }

    /* Donation card */
    .donate-from { padding: 36px 20px 28px; }
    .donate-from h2 { font-size: 24px; }
    .donate-from .donate-instruction { font-size: 13px; padding: 8px 18px; }

    /* Gallery */
    .gallery-card img { height: 180px; }

    /* Blog */
    .home-blog-featured-thumb img { height: 190px; }

    /* Misc */
    .blog-card .blog-thumb img { height: 160px; }
    .whatsapp-icon-float {
        width: 44px;
        height: 44px;
        font-size: 24px;
        bottom: 82px;
        right: 16px;
    }
    .back-to-top {
        width: 38px;
        height: 38px;
        font-size: 18px;
        right: 16px;
        bottom: 20px;
    }
}
