:root {
    --brand-primary: #0d3b66;
    --brand-accent: #f4a259;
    --brand-soft: #f6fbff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8fafc;
    color: #1f2937;
}

.bg-brand {
    background: linear-gradient(135deg, var(--brand-primary), #145da0);
}

.hero-section {
    border-radius: 16px;
    padding: 3.25rem 1.75rem;
    color: #fff;
    background: linear-gradient(135deg, rgba(13,59,102,.92), rgba(20,93,160,.85)),
        url('https://images.unsplash.com/photo-1516280440614-37939bbacd81?auto=format&fit=crop&w=1200&q=80') center/cover;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.card-hover {
    transition: transform .25s ease, box-shadow .25s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.section-title {
    position: relative;
    margin-bottom: 1.25rem;
    padding-bottom: .45rem;
    font-weight: 700;
    letter-spacing: .2px;
}

.section-title::after {
    content: '';
    width: 75px;
    height: 3px;
    background: var(--brand-accent);
    position: absolute;
    left: 0;
    bottom: 0;
}

.vote-card img,
.gallery-thumb,
.listing-image {
    object-fit: cover;
    width: 100%;
    height: 220px;
}

.footer a {
    color: var(--brand-primary);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.home-slider-wrap {
    width: 100%;
}

.slider-fullwidth {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.slider-fullwidth-image {
    width: 100%;
    height: clamp(420px, 36vw, 430px);
    object-fit: cover;
}

.slider-fullwidth-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.12));
}

.slider-fullwidth .carousel-caption {
    z-index: 2;
    bottom: .9rem;
    max-width: min(760px, 92%);
}

.slider-fullwidth .carousel-caption h2 {
    font-size: clamp(1rem, 2.1vw, 1.7rem);
}

.slider-fullwidth .carousel-indicators [data-bs-target] {
    width: 26px;
    height: 3px;
    border-radius: 2px;
}

.about-panel,
.events-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.1rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.event-mini-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: .9rem;
    background: #fff;
    margin-bottom: .75rem;
}

.event-mini-card:last-child {
    margin-bottom: 0;
}

.service-pill {
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    padding: .85rem;
    text-align: center;
    font-weight: 600;
}

.events-merge-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.events-hero-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

/* Prominent Navbar Brand */
.brand-wrap {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    text-decoration: none;
}

.brand-logo-shell {
    width: 200px;   /* wider box */
    height: 86px;   /* keep height moderate */
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff, #e8eef7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(0,0,0,.25);
    border: 1px solid rgba(255,255,255,.45);
    overflow: hidden;
}

.brand-logo {
    width: 180px;   /* fill most of box width */
    height: 70px;   /* keep aspect ratio visually */
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
}

.brand-text-stack {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-title {
    color: #fff;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: .2px;
    text-shadow: 0 1px 2px rgba(0,0,0,.3);
}

.brand-subtitle {
    color: rgba(255,255,255,.9);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .brand-logo-shell {
        width: 112px;
        height: 68px;
    }

    .brand-logo {
        width: 98px;
        height: 56px;
    }

    .brand-title {
        font-size: 1.05rem;
    }

    .brand-subtitle {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2.25rem 1rem;
    }

    .slider-fullwidth .carousel-caption {
        bottom: .6rem;
    }

    .slider-fullwidth .carousel-caption h2 {
        font-size: 1rem;
        margin-bottom: .35rem;
    }

    .slider-fullwidth .btn {
        padding: .2rem .55rem;
        font-size: .75rem;
    }
}

.fb-masonry {
    column-count: 4;
    column-gap: 14px;
}
.fb-card {
    break-inside: avoid;
    margin-bottom: 14px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
}
.fb-card img {
    width: 100%;
    display: block;
    object-fit: cover;
}
.fb-meta {
    padding: .65rem .75rem;
}
@media (max-width: 1200px) { .fb-masonry { column-count: 3; } }
@media (max-width: 768px)  { .fb-masonry { column-count: 2; } }
@media (max-width: 480px)  { .fb-masonry { column-count: 1; } }