
/* =========================================================
   BIPLABI JUBAK SANGHA
   MODERN PROFESSIONAL WEBSITE CSS
   COLOR THEME:
   NAVY + GOLD + WHITE + LIGHT GREY
   ========================================================= */


/* =========================================================
   GOOGLE FONT
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


/* =========================================================
   GLOBAL SETTINGS
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f6f8;
    color: #222;
    line-height: 1.7;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    padding: 10px 0;

    background: #172554 !important;

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.navbar-brand h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.navbar-brand small {
    color: #dbe4f0 !important;
    font-size: 11px;
}

.navbar-nav {
    gap: 5px;
}

.nav-link {
    color: #ffffff !important;

    font-size: 14px;
    font-weight: 500;

    padding: 9px 14px !important;

    border-radius: 25px;

    transition: all 0.3s ease;
}

.nav-link:hover {
    background: #d4af37;
    color: #172554 !important;
}

.nav-link.active {
    background: #d4af37;
    color: #172554 !important;
}

.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.5);
}

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


/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
    min-height: 88vh;

    background:
        linear-gradient(
            120deg,
            rgba(15, 23, 42, 0.94),
            rgba(30, 41, 59, 0.82)
        ),
        url("../images/hero.jpg");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    display: flex;
    align-items: center;

    position: relative;
    overflow: hidden;
}


/* Decorative gold circle */

.hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: rgba(212, 175, 55, 0.12);

    top: -250px;
    right: -120px;
}


/* Decorative white circle */

.hero::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.05);

    bottom: -200px;
    left: -120px;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h5 {
    color: #d4af37 !important;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 3px;
}

.hero h1 {
    color: #ffffff;

    font-size: clamp(42px, 5vw, 68px);

    font-weight: 800 !important;

    line-height: 1.15;

    margin: 15px 0;

    text-shadow:
        0 5px 25px rgba(0,0,0,0.35);
}

.hero .lead {
    color: #ffffff !important;

    font-size: 24px;

    font-weight: 500;
}

.hero p {
    color: #e2e8f0;

    max-width: 620px;

    font-size: 16px;
}

.logo-big {
    width: 340px;

    filter:
        drop-shadow(
            0 20px 30px rgba(0,0,0,0.35)
        );

    animation:
        floatingLogo 4s ease-in-out infinite;
}


/* Logo animation */

@keyframes floatingLogo {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }

}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    font-family: 'Poppins', sans-serif;

    font-weight: 600;

    border-radius: 30px;

    padding: 10px 26px;

    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}


/* Primary button */

.btn-primary {
    background: #172554 !important;

    border: none !important;

    color: #ffffff !important;
}

.btn-primary:hover {
    background: #d4af37 !important;

    color: #172554 !important;
}


/* Gold button */

.btn-warning {
    background: #d4af37 !important;

    border: none !important;

    color: #172554 !important;
}

.btn-warning:hover {
    background: #b8941f !important;

    color: #ffffff !important;
}


/* Green */

.btn-success {
    border-radius: 30px;
}


/* Red */

.btn-danger {
    border-radius: 30px;
}


/* =========================================================
   GENERAL SECTION
   ========================================================= */

section {
    position: relative;
}

section h2 {
    font-weight: 800;
}


/* Change Bootstrap blue text to navy */

.text-primary {
    color: #172554 !important;
}


/* =========================================================
   HOME ABOUT SECTION
   ========================================================= */

#about {
    padding: 90px 0 !important;

    background: #ffffff !important;
}

#about img {
    max-width: 300px;

    width: 100%;

    display: block;

    margin: auto;

    padding: 20px;

    background: #f7f7f5;

    border-radius: 25px;

    box-shadow:
        0 15px 45px rgba(0,0,0,0.10);
}

#about h5 {
    font-weight: 700;

    letter-spacing: 2px;

    color: #d4af37 !important;
}

#about h2 {
    color: #172554;

    font-size: 38px;

    font-weight: 800;
}

#about h3 {
    color: #172554;

    font-size: 30px;

    font-weight: 700;
}

#about p {
    color: #555;

    font-size: 16px;

    line-height: 1.9;
}


/* =========================================================
   HOME EXECUTIVE COMMITTEE
   ========================================================= */

.home-committee {
    padding: 90px 0 !important;

    background: #f1f3f5 !important;
}

.home-committee h5 {
    font-weight: 700;

    letter-spacing: 2px;

    color: #d4af37 !important;
}

.home-committee h2 {
    color: #172554;

    font-size: 38px;
}

.committee-card {
    background: #ffffff;

    border: none !important;

    border-radius: 22px !important;

    overflow: hidden;

    box-shadow:
        0 10px 35px rgba(0,0,0,0.08);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;

    height: 100%;
}

.committee-card:hover {
    transform: translateY(-12px);

    box-shadow:
        0 22px 50px rgba(0,0,0,0.15);
}

.member-photo {
    width: 135px;

    height: 135px;

    object-fit: cover;

    border-radius: 50%;

    display: block;

    margin: 30px auto 20px;

    border: 5px solid #172554;

    padding: 3px;

    background: #ffffff;
}

.committee-card h5 {
    color: #222;

    font-weight: 700;
}

.committee-card p {
    margin-bottom: 0;

    font-weight: 600;

    color: #172554 !important;
}


/* President */

.president-card {
    border-top:
        6px solid #d4af37 !important;
}

.president-card .member-photo {
    border-color: #d4af37;
}


/* =========================================================
   OLD MEMBER ICON
   ========================================================= */

.member-icon {
    width: 120px;

    height: 120px;

    background: #172554;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    color: white;

    font-size: 55px;

    margin: 30px auto 20px;
}

.president-icon {
    background: #d4af37;

    color: #172554;
}


/* =========================================================
   PAGE BANNER
   ========================================================= */

.page-banner {

    background:
        linear-gradient(
            135deg,
            #172554,
            #334155
        );

    color: #ffffff;

    text-align: center;

    padding: 85px 20px;

    position: relative;

    overflow: hidden;
}


/* Gold decoration */

.page-banner::before {
    content: "";

    position: absolute;

    width: 350px;

    height: 350px;

    border-radius: 50%;

    background:
        rgba(212,175,55,0.12);

    top: -190px;

    right: 8%;
}


/* White decoration */

.page-banner::after {
    content: "";

    position: absolute;

    width: 280px;

    height: 280px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.06);

    bottom: -170px;

    left: 8%;
}

.page-banner .container {
    position: relative;

    z-index: 2;
}

.page-banner h1 {
    font-size: 46px;

    font-weight: 800;

    margin-bottom: 10px;
}

.page-banner p {
    margin-top: 5px;

    color: #e2e8f0;

    font-size: 17px;
}


/* =========================================================
   ABOUT PAGE
   ========================================================= */

.about-section {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 70px;

    padding: 90px 10%;

    background: #ffffff;

    flex-wrap: wrap;
}

.about-image {
    flex: 1;

    text-align: center;
}

.about-image img {
    width: 100%;

    max-width: 450px;

    padding: 25px;

    background: #f7f7f5;

    border-radius: 25px;

    box-shadow:
        0 15px 45px rgba(0,0,0,0.12);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    color: #172554;

    font-size: 40px;

    font-weight: 800;

    margin-bottom: 25px;
}

.about-content p {
    color: #555;

    line-height: 1.9;

    font-size: 17px;

    margin-bottom: 18px;
}


/* =========================================================
   MISSION / VISION / VALUES
   ========================================================= */

.mission {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;

    padding: 90px 10%;

    background: #f1f3f5;
}

.mission .card {
    background: #ffffff;

    text-align: center;

    padding: 45px 30px;

    border: none;

    border-radius: 22px;

    box-shadow:
        0 10px 35px rgba(0,0,0,0.08);

    transition:
        all 0.35s ease;
}

.mission .card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 20px 45px rgba(0,0,0,0.14);
}

.mission .card i {
    font-size: 52px;

    color: #d4af37;

    margin-bottom: 15px;
}

.mission .card h3 {
    color: #172554;

    font-weight: 700;
}

.mission .card p {
    color: #666;
}


/* =========================================================
   HISTORY
   ========================================================= */

/* Our Journey - full-width photographic cover */
.history {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 110px 10%;
    text-align: center;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            rgba(15, 23, 42, 0.82),
            rgba(23, 37, 84, 0.70)
        ),
        url("../images/hero.jpg") center center / cover no-repeat;
    background-attachment: fixed;
}

.history .container {
    position: relative;
    z-index: 1;
}

.history h2 {
    color: #ffffff;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}

.history p {
    max-width: 900px;
    margin: 15px auto;
    color: #f1f5f9;
    font-size: 17px;
    line-height: 1.9;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
    .history {
        padding: 75px 7%;
        background-attachment: scroll;
        background-position: center center;
    }

    .history h2 {
        font-size: 34px;
    }

    .history p {
        font-size: 15px;
    }
}
/* =========================================================
   ACTIVITY CARDS
   ========================================================= */

.py-5 .card {
    background: #ffffff;

    border: none !important;

    border-radius: 22px !important;

    padding: 35px !important;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.08);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;

    overflow: hidden;
}

.py-5 .card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 22px 45px rgba(0,0,0,0.14);
}

.py-5 .card > i {
    font-size: 55px !important;

    margin-bottom: 5px;
}


/* Activity title */

.py-5 .card h4 {
    color: #172554;

    font-weight: 700;

    margin-top: 15px !important;
}


/* Activity text */

.py-5 .card p {
    color: #666;

    line-height: 1.8;

    font-size: 15px;
}


/* =========================================================
   ACTIVITY PAGE TOP SECTION
   ========================================================= */

.py-5 > .container > .text-center h5 {
    color: #d4af37 !important;

    font-weight: 700;

    letter-spacing: 2px;
}

.py-5 > .container > .text-center h2 {
    color: #172554;

    font-weight: 800;
}


/* =========================================================
   MODAL DESIGN
   ========================================================= */

.modal-content {
    border: none;

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 25px 70px rgba(0,0,0,0.25);
}

.modal-header {
    padding: 20px 25px;

    background: #172554 !important;
}

.modal-title {
    font-weight: 700;

    color: #ffffff;
}

.modal-body {
    padding: 30px;
}

.modal-body h4 {
    font-weight: 700;

    color: #172554 !important;
}

.modal-body p {
    color: #555;

    font-size: 16px;

    line-height: 1.85;

    margin-bottom: 18px;
}

.modal-footer {
    padding: 15px 25px;

    background: #f8f9fa;
}


/* =========================================================
   COMMITTEE PAGE
   ========================================================= */

.committee-page {
    width: 95%;

    max-width: 1400px;

    margin: 70px auto;
}

#committee-container {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(270px, 1fr));

    gap: 30px;
}

.member-card {
    background: #ffffff;

    border-radius: 22px;

    overflow: hidden;

    text-align: center;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.10);

    transition:
        all 0.4s ease;
}

.member-card:hover {
    transform: translateY(-12px);

    box-shadow:
        0 22px 50px rgba(0,0,0,0.16);
}

.member-card img {
    width: 100%;

    height: 320px;

    object-fit: cover;
}

.member-card h3 {
    margin: 20px 15px 10px;

    font-size: 21px;

    font-weight: 700;

    color: #222;
}

.member-card span {
    display: inline-block;

    margin-bottom: 25px;

    padding: 8px 22px;

    color: #ffffff;

    border-radius: 30px;

    font-weight: 600;

    font-size: 13px;
}


/* =========================================================
   COMMITTEE DESIGNATIONS
   ========================================================= */

.president {
    background: #d4af37;
    color: #172554 !important;
}

.vice {
    background: #64748b;
}

.secretary {
    background: #172554;
}

.treasurer {
    background: #198754;
}

.board {
    background: #b45309;
}


/* =========================================================
   DESIGNATION
   ========================================================= */

.designation {
    display: inline-block;

    margin: 0 0 22px;

    padding: 8px 20px;

    background: #172554;

    color: white;

    border-radius: 30px;

    font-weight: 600;

    font-size: 14px;
}


/* =========================================================
   OLD LOGO STYLE
   ========================================================= */

.logo {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 10px 30px;
}

.logo img {
    width: 70px;

    height: 70px;

    object-fit: contain;
}

.logo h2 {
    margin: 0;

    font-size: 24px;

    color: #172554;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    background:
        linear-gradient(
            135deg,
            #172554,
            #0f172a
        ) !important;

    color: #ffffff;

    padding: 55px 0 !important;

    margin-top: 0;
}

footer h4 {
    color: #ffffff;

    font-weight: 700;

    font-size: 25px;

    margin-bottom: 15px;
}

footer p {
    color: #cbd5e1;

    margin: 6px 0;
}

footer p:last-child {
    margin-top: 25px;

    padding-top: 20px;

    border-top:
        1px solid rgba(255,255,255,0.12);
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 991px) {

    .navbar-nav {
        margin-top: 15px;

        gap: 2px;
    }

    .nav-link {
        border-radius: 8px;
    }

    .hero {
        min-height: auto;

        padding: 100px 0;

        text-align: center;

        background-attachment: scroll;
    }

    .hero p {
        margin-left: auto;

        margin-right: auto;
    }

    .logo-big {
        width: 260px;

        margin-top: 45px;
    }

    .about-section {
        padding: 70px 7%;

        gap: 45px;
    }

    .mission {
        grid-template-columns: 1fr;

        padding: 70px 7%;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .navbar-brand h5 {
        font-size: 15px;
    }

    .navbar-brand img {
        width: 50px;

        height: 50px;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero .lead {
        font-size: 19px;
    }

    .logo-big {
        width: 220px;
    }

    .page-banner {
        padding: 65px 20px;
    }

    .page-banner h1 {
        font-size: 35px;
    }

    .page-banner p {
        font-size: 15px;
    }

    .about-section {
        flex-direction: column;

        padding: 60px 7%;

        text-align: center;
    }

    .about-content h2 {
        font-size: 32px;
    }

    .history {
        padding: 60px 7%;
    }

    .history h2 {
        font-size: 32px;
    }

    #committee-container {
        grid-template-columns: 1fr;
    }

    .member-card img {
        height: 350px;
    }

}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .hero h1 {
        font-size: 31px;
    }

    .hero h5 {
        font-size: 12px;

        letter-spacing: 2px;
    }

    .hero .btn {
        display: block;

        width: 100%;

        margin: 10px 0 !important;
    }

    .page-banner h1 {
        font-size: 30px;
    }

    .py-5 .card {
        padding: 28px !important;
    }

    .modal-body {
        padding: 22px;
    }

}
/* =========================================================
   COMMON HEADER - BIPLABI JUBAK SANGHA
   ========================================================= */

.site-header {
    width: 100%;
    background: #172554;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1000;
    margin: 0;
    padding: 0;
}

.header-container {
    width: 92%;
    max-width: 1400px;
    min-height: 82px;
    margin: 0 auto;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.club-brand {
    display: flex;
    align-items: center;
    gap: 14px;

    color: #ffffff;
    text-decoration: none;

    flex-shrink: 0;
}

.club-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text h2 {
    margin: 0;

    color: #ffffff;

    font-size: 19px;
    font-weight: 700;

    line-height: 1.2;
}

.brand-text span {
    margin-top: 3px;

    color: #dbe4f0;

    font-size: 12px;
}

/* ================= NAVIGATION ================= */

.main-nav ul {
    display: flex;
    align-items: center;

    gap: 5px;

    list-style: none;

    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0;
    padding: 0;
}

.main-nav a {
    display: block;

    padding: 9px 14px;

    border-radius: 25px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;

    transition: all 0.3s ease;
}

.main-nav a:hover {
    background: #d4af37;
    color: #172554;
}

.main-nav a.active {
    background: #d4af37;
    color: #172554;
}


/* =========================================================
   MOBILE HEADER
   ========================================================= */

@media (max-width: 991px) {

    .header-container {
        flex-direction: column;

        padding: 15px 0;

        gap: 12px;
    }

    .main-nav {
        width: 100%;
    }

    .main-nav ul {
        justify-content: center;

        flex-wrap: wrap;

        gap: 4px;
    }
}


@media (max-width: 600px) {

    .club-brand img {
        width: 50px;
        height: 50px;
    }

    .brand-text h2 {
        font-size: 16px;
    }

    .brand-text span {
        font-size: 11px;
    }

    .main-nav a {
        padding: 7px 10px;

        font-size: 12px;
    }
}
/* =========================================================
   GALLERY PAGE
   ========================================================= */

.gallery-banner {
    min-height: 280px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 60px 20px;

    background:
        linear-gradient(
            135deg,
            #172554,
            #1e3a8a
        );

    position: relative;
    overflow: hidden;
}

.gallery-banner::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    background: rgba(212, 175, 55, 0.10);

    top: -140px;
    left: -80px;
}

.gallery-banner::after {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.05);

    right: -100px;
    bottom: -170px;
}

.gallery-banner-content {
    max-width: 850px;

    position: relative;
    z-index: 2;
}

.gallery-banner-label {
    display: inline-block;

    color: #d4af37;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 12px;
}

.gallery-banner h1 {
    color: #ffffff;

    font-size: 46px;
    font-weight: 700;

    margin: 0 0 14px;
}

.gallery-banner p {
    color: #dbe4f0;

    font-size: 16px;

    line-height: 1.7;

    margin: 0 auto;

    max-width: 700px;
}


/* =========================================================
   GALLERY MAIN SECTION
   ========================================================= */

.gallery-section {
    background: #f5f6f8;

    padding: 75px 0 90px;
}


/* =========================================================
   GALLERY HEADING
   ========================================================= */

.gallery-heading {
    text-align: center;

    max-width: 800px;

    margin: 0 auto 45px;
}

.gallery-label {
    display: inline-block;

    color: #b38f1d;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 10px;
}

.gallery-heading h2 {
    color: #172554;

    font-size: 36px;
    font-weight: 700;

    margin: 0 0 12px;
}

.gallery-heading p {
    color: #64748b;

    font-size: 15px;

    line-height: 1.7;

    margin: 0;
}


/* =========================================================
   GALLERY GRID
   ========================================================= */

.gallery-grid {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}


/* =========================================================
   GALLERY CARD
   ========================================================= */

.gallery-item {
    background: #ffffff;

    border-radius: 16px;

    overflow: hidden;

    border: 1px solid #e5e7eb;

    box-shadow:
        0 8px 25px rgba(15, 23, 42, 0.08);

    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);

    box-shadow:
        0 16px 35px rgba(15, 23, 42, 0.14);
}


/* =========================================================
   PHOTO AREA
   ========================================================= */

.gallery-image {
    width: 100%;

    height: 210px;

    position: relative;

    overflow: hidden;

    background: #e9edf3;
}

.gallery-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.45s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}


/* =========================================================
   LOGO IMAGE
   ========================================================= */

.logo-gallery-image {
    background: #ffffff;

    display: flex;

    align-items: center;
    justify-content: center;
}

.logo-gallery-image img {
    width: 150px !important;
    height: 150px !important;

    object-fit: contain !important;
}


/* =========================================================
   OVERLAY
   ========================================================= */

.gallery-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(23, 37, 84, 0.45);

    opacity: 0;

    transition:
        opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-view {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #d4af37;

    color: #172554;

    font-size: 21px;
}


/* =========================================================
   CAPTION
   ========================================================= */

.gallery-caption {
    padding: 18px 20px 20px;

    text-align: center;
}

.gallery-caption h3 {
    color: #172554;

    font-size: 18px;
    font-weight: 600;

    margin: 0 0 5px;
}

.gallery-caption p {
    color: #64748b;

    font-size: 13px;

    margin: 0;
}


/* =========================================================
   IMAGE MODAL
   ========================================================= */

.gallery-modal {
    background: #172554;

    border: none;

    border-radius: 12px;

    overflow: hidden;
}

.gallery-modal .modal-body {
    padding: 15px;

    text-align: center;

    background: #172554;
}

.gallery-modal img {
    max-width: 100%;

    max-height: 80vh;

    width: auto;
    height: auto;

    object-fit: contain;

    display: block;

    margin: auto;
}

.gallery-close {
    position: absolute;

    top: 12px;
    right: 12px;

    z-index: 10;

    width: 40px;
    height: 40px;

    border: none;

    border-radius: 50%;

    background: #d4af37;

    color: #172554;

    font-size: 17px;

    cursor: pointer;
}

.gallery-close:hover {
    background: #ffffff;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 992px) {

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 22px;
    }

    .gallery-banner h1 {
        font-size: 40px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .gallery-banner {
        min-height: 240px;

        padding: 50px 20px;
    }

    .gallery-banner h1 {
        font-size: 32px;
    }

    .gallery-banner p {
        font-size: 14px;
    }

    .gallery-section {
        padding: 50px 0 60px;
    }

    .gallery-heading {
        margin-bottom: 30px;
    }

    .gallery-heading h2 {
        font-size: 28px;
    }

    .gallery-heading p {
        font-size: 14px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .gallery-image {
        height: 200px;
    }

    .logo-gallery-image img {
        width: 135px !important;
        height: 135px !important;
    }

}
html,
body {
    margin: 0;
    padding: 0;
}

.site-header {
    margin-top: 0;
}
/* =========================================
   COMMON HEADER - SAME ON ALL PAGES
   ========================================= */

.site-header {
    width: 100%;
    background: #172554;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1000;
    margin: 0;
    padding: 0;
}

.header-container {
    width: 92%;
    max-width: 1400px;
    min-height: 82px;
    margin: 0 auto;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Club name + address */
.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.brand-text h2 {
    margin: 0;
    padding: 0;
    line-height: 1.15;
}

.brand-text span {
    display: block;
    margin: 4px 0 0 0;
    padding: 0;
    line-height: 1.2;
}
.gallery-caption {
    padding: 12px 10px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #172554;
    background: #ffffff;
}
/* Gallery images - same size */
.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 12px 10px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #172554;
    background: #ffffff;
}
/* Center footer content */
.site-footer {
    width: 100%;
    text-align: center;
}

.site-footer .container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}
/* ================= FOOTER CENTERING ================= */

.site-footer {
    width: 100%;
    text-align: center;
}

.site-footer .container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.site-footer h4,
.site-footer p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
/* ================= FOOTER CENTERING ================= */

.site-footer {
    width: 100%;
    text-align: center;
}

.site-footer .container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.site-footer h4,
.site-footer p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
/* =========================================================
   HOME PAGE HIGHLIGHT / ANNOUNCEMENT BAR
   ========================================================= */

.home-highlight {
    background: linear-gradient(90deg, #063b8f, #0d6efd, #063b8f);
    color: #ffffff;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 3px solid #ffc107;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.highlight-inner {
    display: flex;
    align-items: center;
    min-height: 46px;
}

.highlight-label {
    flex-shrink: 0;
    z-index: 2;
    background: #ffc107;
    color: #111;
    font-weight: 700;
    padding: 11px 18px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    box-shadow: 5px 0 12px rgba(0, 0, 0, 0.15);
}

.highlight-track {
    overflow: hidden;
    flex: 1;
}

.highlight-text {
    display: inline-block;
    padding-left: 100%;
    font-size: 0.9rem;
    font-weight: 500;
    animation: highlightScroll 25s linear infinite;
}

.highlight-text:hover {
    animation-play-state: paused;
}

@keyframes highlightScroll {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }

}


/* Mobile */

@media (max-width: 576px) {

    .highlight-label {
        padding: 10px 12px;
        font-size: 0.75rem;
    }

    .highlight-text {
        font-size: 0.78rem;
        animation-duration: 20s;
    }

}

/* =========================================================
   ABOUT OUR VILLAGE - SALIJANGA
   ========================================================= */
.village-section{padding:100px 0;background:linear-gradient(180deg,#f8fafc 0%,#fff 100%)}
.village-heading{text-align:center;max-width:850px;margin:0 auto 55px}
.village-kicker{display:inline-block;color:#d4af37;font-size:14px;font-weight:700;letter-spacing:2px;text-transform:uppercase;margin-bottom:10px}
.village-heading h2{color:#172554;font-size:46px;font-weight:800;margin:0 0 12px}
.village-heading p{color:#64748b;font-size:17px;font-weight:500;margin:0}
.village-intro{max-width:1000px;margin:0 auto 55px;padding:45px;background:#fff;border-radius:24px;text-align:center;box-shadow:0 12px 35px rgba(15,23,42,.08);border-top:4px solid #d4af37}
.village-intro h3{color:#172554;font-size:30px;font-weight:800;margin-bottom:20px}
.village-intro p{color:#555;font-size:16px;line-height:1.9;max-width:850px;margin:12px auto}
.village-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:25px;margin-bottom:70px}
.village-info-card{background:#fff;padding:35px 25px;border-radius:20px;box-shadow:0 10px 30px rgba(15,23,42,.07);border:1px solid rgba(23,37,84,.06);transition:transform .35s ease,box-shadow .35s ease}
.village-info-card:hover{transform:translateY(-8px);box-shadow:0 18px 40px rgba(15,23,42,.12)}
.village-icon{width:62px;height:62px;display:flex;align-items:center;justify-content:center;margin-bottom:20px;border-radius:50%;background:rgba(212,175,55,.12);color:#d4af37;font-size:27px}
.village-info-card h4{color:#172554;font-size:21px;font-weight:700;margin-bottom:18px}
.village-info-card p{color:#64748b;font-size:14px;line-height:1.75;margin-bottom:8px}.village-info-card strong{color:#334155}
.village-heritage{display:grid;grid-template-columns:2fr 1fr;gap:30px;align-items:stretch;margin-bottom:75px}
.heritage-content{background:#172554;color:#fff;padding:50px;border-radius:25px;position:relative;overflow:hidden}
.heritage-content::after{content:"";position:absolute;width:220px;height:220px;right:-80px;bottom:-100px;border-radius:50%;border:35px solid rgba(212,175,55,.1)}
.heritage-content .village-kicker,.sangha-village-content .village-kicker{color:#d4af37}
.heritage-content h3{color:#fff;font-size:32px;font-weight:800;margin-bottom:22px}
.heritage-content p{color:#e2e8f0;font-size:16px;line-height:1.9;margin-bottom:16px}.heritage-content strong{color:#fff}
.heritage-highlight{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:40px 30px;border-radius:25px;background:linear-gradient(145deg,#fffdf5,#f8fafc);border:2px solid rgba(212,175,55,.35);box-shadow:0 12px 35px rgba(15,23,42,.07)}
.heritage-highlight i{font-size:48px;color:#d4af37;margin-bottom:20px}.heritage-highlight h4{color:#172554;font-size:22px;font-weight:800;margin-bottom:15px}.heritage-highlight p{color:#64748b;line-height:1.8;font-size:15px;margin:0}
.village-community{padding:70px 0;margin-bottom:70px;background:#f1f3f5;border-radius:30px}
.community-heading{max-width:850px;margin:0 auto 45px;text-align:center;padding:0 30px}.community-heading h3{color:#172554;font-size:34px;font-weight:800;margin:5px 0 18px}.community-heading p{color:#64748b;font-size:16px;line-height:1.9;margin:0}
.community-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:0 30px}.community-item{text-align:center;padding:30px 20px;background:#fff;border-radius:18px;transition:transform .3s ease,box-shadow .3s ease}.community-item:hover{transform:translateY(-7px);box-shadow:0 15px 30px rgba(15,23,42,.1)}
.community-item i{display:block;color:#d4af37;font-size:35px;margin-bottom:15px}.community-item h4{color:#172554;font-size:19px;font-weight:700;margin-bottom:10px}.community-item p{color:#64748b;font-size:14px;line-height:1.7;margin:0}
.sangha-village-card{display:flex;align-items:center;gap:35px;padding:50px;margin-bottom:75px;background:linear-gradient(135deg,#172554,#0f172a);border-radius:28px;box-shadow:0 18px 45px rgba(15,23,42,.15)}
.sangha-village-icon{flex-shrink:0;width:95px;height:95px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(212,175,55,.15);border:1px solid rgba(212,175,55,.4);color:#d4af37;font-size:40px}
.sangha-village-content h3{color:#fff;font-size:31px;font-weight:800;margin:5px 0 18px}.sangha-village-content p{color:#cbd5e1;font-size:16px;line-height:1.9;margin-bottom:12px}
.salijanga-special{text-align:center;margin-bottom:70px}.salijanga-special>h3{color:#172554;font-size:35px;font-weight:800;margin:5px 0 40px}
.special-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:25px}.special-grid>div{background:#fff;padding:35px 25px;border-radius:20px;border:1px solid #e2e8f0;box-shadow:0 8px 25px rgba(15,23,42,.06);transition:transform .3s ease,box-shadow .3s ease}.special-grid>div:hover{transform:translateY(-7px);box-shadow:0 15px 35px rgba(15,23,42,.1)}
.special-grid i{color:#d4af37;font-size:36px;margin-bottom:15px}.special-grid h4{color:#172554;font-size:19px;font-weight:700;margin-bottom:12px}.special-grid p{color:#64748b;font-size:14px;line-height:1.75;margin:0}
.village-final-message{max-width:950px;margin:0 auto;padding:55px 40px;text-align:center;background:linear-gradient(135deg,#fffdf5,#fff);border-radius:28px;border:2px solid rgba(212,175,55,.25);box-shadow:0 12px 35px rgba(15,23,42,.07)}
.village-final-message>i{color:#d4af37;font-size:42px;margin-bottom:20px}.village-final-message p{color:#475569;font-size:19px;line-height:1.9;font-weight:500;margin:0 auto 25px}.village-final-message h3{color:#172554;font-size:21px;font-weight:800;margin:0}
@media(max-width:991px){.village-info-grid,.community-grid,.special-grid{grid-template-columns:repeat(2,1fr)}.village-heritage{grid-template-columns:1fr}.heritage-highlight{min-height:260px}}
@media(max-width:768px){.village-section{padding:70px 0}.village-heading{padding:0 20px;margin-bottom:40px}.village-heading h2{font-size:36px}.village-heading p{font-size:14px;line-height:1.7}.village-intro{margin-left:20px;margin-right:20px;padding:35px 25px}.village-intro h3{font-size:27px}.village-info-grid{grid-template-columns:1fr;padding:0 20px}.village-info-card{padding:30px 25px}.village-heritage{margin-left:20px;margin-right:20px}.heritage-content{padding:38px 28px}.heritage-content h3{font-size:28px}.village-community{margin-left:20px;margin-right:20px;padding:55px 0}.community-grid{grid-template-columns:1fr;padding:0 20px}.sangha-village-card{margin-left:20px;margin-right:20px;padding:40px 28px;flex-direction:column;text-align:center}.sangha-village-content h3{font-size:27px}.special-grid{grid-template-columns:1fr;padding:0 20px}.salijanga-special>h3{font-size:29px;padding:0 20px}.village-final-message{margin-left:20px;margin-right:20px;padding:40px 25px}.village-final-message p{font-size:16px}.village-final-message h3{font-size:18px;line-height:1.6}}
@media(max-width:480px){.village-heading h2{font-size:32px}.village-kicker{font-size:12px;letter-spacing:1.5px}.village-intro{padding:30px 20px}.village-intro h3{font-size:24px}.village-intro p{font-size:15px}.heritage-content{padding:32px 22px}.heritage-content h3{font-size:25px}.heritage-content p{font-size:15px}.sangha-village-card{padding:35px 22px}.sangha-village-icon{width:80px;height:80px;font-size:32px}.sangha-village-content h3{font-size:24px}.village-final-message{padding:35px 20px}}

/* =========================================================
   OUR JOURNEY - PREMIUM HEADING DESIGN
   Keeps the existing photo background while making only
   the Journey typography clear and elegant.
   ========================================================= */

.history h2 {
    position: relative;
    display: inline-block;
    margin: 0 auto 28px;
    padding: 14px 30px 16px;
    color: #ffffff;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.15;
    text-transform: uppercase;
    text-shadow:
        0 3px 6px rgba(0, 0, 0, 0.65),
        0 8px 22px rgba(0, 0, 0, 0.35);
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.history h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 78px;
    height: 4px;
    transform: translateX(-50%);
    background: #d4af37;
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.55);
}

.history p {
    color: #ffffff;
    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.75),
        0 5px 16px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
    .history h2 {
        padding: 12px 22px 14px;
        font-size: 34px;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .history h2 {
        padding: 11px 18px 13px;
        font-size: 29px;
        letter-spacing: 0.3px;
    }
}


/* =========================================================
   GANESH PUJA PHOTO GALLERY
   ========================================================= */

.ganesh-puja-gallery {
    margin: 30px 0 28px;
    padding: 22px;
    background: linear-gradient(145deg, #fffdf5, #f8fafc);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 22px;
}

.ganesh-gallery-heading {
    margin-bottom: 18px;
    text-align: center;
}

.ganesh-gallery-heading span {
    display: inline-block;
    color: #d4af37;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.ganesh-gallery-heading h5 {
    margin: 0;
    color: #172554;
    font-size: 20px;
    font-weight: 800;
}

.ganesh-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ganesh-gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    background: #e2e8f0;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.10);
}

.ganesh-gallery-item::after {
    content: "View Photo";
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(5px);
    transition: 0.25s ease;
}

.ganesh-gallery-item:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.ganesh-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.ganesh-gallery-item:hover img {
    transform: scale(1.05);
    filter: saturate(1.08) contrast(1.03);
}

@media (max-width: 575px) {
    .ganesh-puja-gallery {
        padding: 16px;
        border-radius: 18px;
    }

    .ganesh-gallery-grid {
        grid-template-columns: 1fr;
    }

    .ganesh-gallery-heading h5 {
        font-size: 18px;
    }
}

/* =========================================================
   SPORTS / CRICKET PHOTO GALLERY
   ========================================================= */

.sports-gallery-section {
    margin-top: 35px;
    padding-top: 28px;
    border-top: 1px solid #e2e8f0;
}

.sports-gallery-heading {
    text-align: center;
    margin-bottom: 22px;
}

.sports-gallery-heading span {
    display: inline-block;
    color: #d4af37;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.sports-gallery-heading h5 {
    color: #172554;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
}

.sports-gallery-heading p {
    max-width: 650px;
    margin: 0 auto;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.sports-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.sports-gallery-item {
    position: relative;
    display: block;
    min-height: 210px;
    overflow: hidden;
    border-radius: 16px;
    background: #0f172a;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(23, 37, 84, 0.08);
}

.sports-gallery-feature {
    grid-column: 1 / -1;
    min-height: 260px;
}

.sports-gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.sports-gallery-feature img {
    min-height: 260px;
}

.sports-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.82),
        rgba(15, 23, 42, 0.05) 65%
    );
    pointer-events: none;
}

.sports-gallery-item:hover img {
    transform: scale(1.045);
    filter: saturate(1.08) brightness(1.04);
}

.sports-gallery-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 2;
    color: #ffffff;
}

.sports-gallery-caption strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 3px;
}

.sports-gallery-caption span {
    display: block;
    color: #f8e7a9;
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .sports-gallery-grid {
        grid-template-columns: 1fr;
    }

    .sports-gallery-feature {
        grid-column: auto;
    }

    .sports-gallery-item,
    .sports-gallery-feature,
    .sports-gallery-item img,
    .sports-gallery-feature img {
        min-height: 220px;
    }

    .sports-gallery-heading h5 {
        font-size: 21px;
    }
}

@media (max-width: 480px) {
    .sports-gallery-section {
        margin-top: 28px;
        padding-top: 22px;
    }

    .sports-gallery-item,
    .sports-gallery-feature,
    .sports-gallery-item img,
    .sports-gallery-feature img {
        min-height: 190px;
    }

    .sports-gallery-caption {
        left: 14px;
        right: 14px;
        bottom: 13px;
    }
}


/* =========================================================
   PROFESSIONAL SITE POLISH - 2026
   Home, activities and shared presentation only.
   Committee member card/popup design is intentionally untouched.
   ========================================================= */

.home-impact {
    position: relative;
    z-index: 3;
    margin-top: -42px;
    padding: 0 0 20px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.impact-item {
    min-height: 125px;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid #eef2f7;
}

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

.impact-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    color: #b38f1d;
    font-size: 19px;
}

.impact-item strong {
    color: #172554;
    font-size: 17px;
    font-weight: 700;
}

.impact-item > span:last-child {
    color: #64748b;
    font-size: 12px;
}

.home-featured {
    padding: 90px 0;
    background: #ffffff;
}

.home-section-heading {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.home-section-heading > span {
    display: inline-block;
    margin-bottom: 8px;
    color: #b38f1d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.home-section-heading h2 {
    margin: 0 0 12px;
    color: #172554;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 800;
}

.home-section-heading p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: repeat(2, 245px);
    gap: 22px;
}

.featured-card {
    position: relative;
    display: block;
    min-height: 245px;
    overflow: hidden;
    border-radius: 22px;
    background: #172554;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
}

.featured-card-large {
    grid-row: 1 / span 2;
    min-height: 512px;
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.featured-card::after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.90));
}

.featured-card:hover img {
    transform: scale(1.045);
}

.featured-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 25px;
    color: #ffffff;
}

.featured-overlay span {
    color: #d4af37;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.featured-overlay h3 {
    margin: 6px 0 5px;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
}

.featured-overlay p {
    margin: 0;
    color: #e2e8f0;
    font-size: 13px;
}

.featured-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.featured-actions .btn {
    border-radius: 999px;
    padding: 11px 22px;
    font-weight: 700;
}

/* Make standard activity cards feel more premium without changing their content. */
section.py-5 .card.h-100 {
    border-radius: 20px;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    border: 1px solid #e8edf4 !important;
}

section.py-5 .card.h-100:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12) !important;
    border-color: rgba(212, 175, 55, 0.35) !important;
}

section.py-5 .card.h-100 .btn {
    border-radius: 999px;
    font-weight: 700;
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 991px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-item:nth-child(2) {
        border-right: 0;
    }

    .impact-item:nth-child(-n+2) {
        border-bottom: 1px solid #eef2f7;
    }

    .featured-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 300px 220px;
    }

    .featured-card-large {
        grid-row: auto;
        grid-column: 1 / span 2;
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }

    .home-impact {
        margin-top: -25px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .impact-grid {
        grid-template-columns: 1fr 1fr;
        border-radius: 18px;
    }

    .impact-item {
        min-height: 110px;
        padding: 17px 10px;
    }

    .impact-item strong {
        font-size: 15px;
    }

    .impact-item > span:last-child {
        font-size: 11px;
    }

    .home-featured {
        padding: 65px 0;
    }

    .featured-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .featured-card,
    .featured-card-large {
        grid-column: auto;
        grid-row: auto;
        min-height: 250px;
    }
}

@media (max-width: 480px) {
    .impact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .impact-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .featured-card,
    .featured-card-large {
        min-height: 225px;
    }

    .featured-overlay {
        padding: 20px;
    }

    .featured-overlay h3 {
        font-size: 18px;
    }
}
