/* =========================================================
   CHURCH OF CHRIST - MADINA CENTRAL
   MAIN STYLESHEET
========================================================= */


/* =========================================================
   1. ROOT VARIABLES
========================================================= */

:root {
    --primary: #123B6D;
    --primary-dark: #08264A;
    --primary-light: #EAF2FA;

    --secondary: #B3212D;
    --secondary-dark: #8F1823;
    --secondary-light: #F9E7E9;

    --cream: #F7F8FA;
    --light: #F5F7F9;

    --white: #ffffff;
    --dark: #111827;

    --text: #5D6672;
    --text-light: #7B8490;

    --border: #E2E7EC;

    --heading-font: "Playfair Display", serif;
    --body-font: "DM Sans", sans-serif;

    --navbar-height: 90px;

    --section-padding: 100px;

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;

    --transition: 0.3s ease;

    --shadow-sm:
        0 10px 30px rgba(0, 0, 0, 0.06);

    --shadow-md:
        0 20px 50px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   2. RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    width: 100%;
    max-width: 100%;

    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);

    overflow-x: hidden;
}


body {
    width: 100%;
    max-width: 100%;

    font-family: var(--body-font);

    color: var(--text);

    background: var(--white);

    overflow-x: hidden;

    padding-top: var(--navbar-height);
}


body,
main,
section,
header,
footer,
nav {
    max-width: 100%;
}


.row > * {
    min-width: 0;
}


img,
video,
iframe {
    display: block;

    max-width: 100%;
}


img {
    height: auto;
}


a {
    text-decoration: none;
}


button,
input,
textarea,
select {
    font-family: inherit;
}


ul {
    margin: 0;
    padding: 0;
}


.section-padding {
    padding: var(--section-padding) 0;
}


/* =========================================================
   3. TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    color: var(--dark);
}


p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
a {
    overflow-wrap: break-word;
}


.section-tag {
    display: inline-block;

    color: var(--secondary-dark);

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 14px;
}


.section-heading h2 {
    font-size: clamp(2.1rem, 4vw, 3.3rem);

    font-weight: 700;

    line-height: 1.15;

    margin-bottom: 20px;
}


.section-heading h2 span {
    color: var(--primary);
}


.section-heading > p {
    max-width: 650px;

    line-height: 1.8;

    margin: 0;
}


.section-heading-center {
    max-width: 760px;

    margin-left: auto;
    margin-right: auto;
}


.section-heading-center p {
    margin-left: auto;
    margin-right: auto;
}


.lead-text {
    color: var(--dark);

    font-size: 1.08rem;

    line-height: 1.8;

    font-weight: 500;
}


.normal-text {
    line-height: 1.9;
}


/* =========================================================
   4. NAVBAR
========================================================= */

.main-navbar {
    width: 100%;

    height: var(--navbar-height);

    background: rgba(255, 255, 255, 0.97);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-bottom:
        1px solid rgba(18, 59, 109, 0.08);

    transition:
        box-shadow var(--transition),
        background var(--transition);

    z-index: 1050;
}


.main-navbar.scrolled {
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.08);
}


.main-navbar .container {
    height: 100%;

    position: relative;
}


/* BRAND */

.church-brand,
.footer-brand {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    max-width: 100%;
}


.brand-logo {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--primary);

    color: var(--secondary);

    font-size: 1.35rem;

    overflow: hidden;
}


.brand-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


.brand-details,
.footer-brand > div:last-child {
    display: flex;

    min-width: 0;

    flex-direction: column;

    line-height: 1;
}


.brand-main {
    color: var(--primary);

    font-weight: 800;

    letter-spacing: 0.9px;

    font-size: 0.92rem;
}


.brand-sub {
    color: var(--secondary-dark);

    font-size: 0.69rem;

    font-weight: 700;

    letter-spacing: 2.1px;

    margin-top: 7px;
}


/* NAV LINKS */

.main-navbar .navbar-nav {
    gap: 3px;
}


.main-navbar .nav-link {
    position: relative;

    color: var(--dark);

    font-size: 0.88rem;

    font-weight: 600;

    padding:
        12px 10px !important;

    transition:
        color var(--transition);
}


.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--primary);
}


.main-navbar .nav-link::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 4px;

    width: 0;
    height: 2px;

    background: var(--secondary);

    transform: translateX(-50%);

    transition:
        width var(--transition);
}


.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
    width: 22px;
}


.nav-visit-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    background: var(--primary);

    color: var(--white);

    border:
        1px solid var(--primary);

    border-radius: 50px;

    padding:
        11px 20px;

    font-size: 0.86rem;

    font-weight: 600;

    transition:
        all var(--transition);
}


.nav-visit-btn:hover {
    background: var(--secondary);

    border-color: var(--secondary);

    color: var(--primary-dark);
}


.active-contact {
    background: var(--secondary);

    border-color: var(--secondary);

    color: var(--primary-dark);
}


/* TOGGLER */

.navbar-toggler {
    border: 0;

    box-shadow: none !important;

    padding: 5px;
}


.navbar-toggler:focus {
    box-shadow: none;
}


/* =========================================================
   5. HOMEPAGE HERO
========================================================= */

.hero-section {
    position: relative;

    width: 100%;

    min-height:
        calc(100vh - var(--navbar-height));

    display: flex;

    align-items: center;

    color: var(--white);

    background:
        linear-gradient(
            90deg,
            rgba(8, 38, 74, 0.93) 0%,
            rgba(8, 38, 74, 0.82) 46%,
            rgba(8, 38, 74, 0.55) 100%
        ),
        url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTDDzz80H3Xpdof5ew4tF5hJQ-Db5HisQSHxOpxIAsv7g&s=10");

    background-size: cover;
    background-position: center;

    overflow: hidden;
}


.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            transparent 70%,
            rgba(6, 29, 56, 0.35)
        );

    pointer-events: none;
}


.hero-container {
    position: relative;

    z-index: 2;

    width: 100%;

    padding-top: 75px;
    padding-bottom: 75px;
}


.hero-content {
    max-width: 760px;
}


.hero-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: var(--secondary-light);

    font-size: 0.81rem;

    font-weight: 700;

    letter-spacing: 1.6px;

    text-transform: uppercase;

    margin-bottom: 22px;
}


.hero-eyebrow i {
    color: var(--secondary);
}


.hero-content h1 {
    color: var(--white);

    font-size:
        clamp(3.1rem, 7vw, 6rem);

    font-weight: 700;

    line-height: 0.98;

    margin-bottom: 25px;

    letter-spacing: -2px;
}


.hero-content h1 span {
    display: block;

    color: var(--secondary);
}


.hero-description {
    max-width: 650px;

    color:
        rgba(255, 255, 255, 0.82);

    font-size: 1.06rem;

    line-height: 1.85;

    margin-bottom: 32px;
}


.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 13px;

    margin-bottom: 40px;
}


/* =========================================================
   6. BUTTONS
========================================================= */

.primary-btn,
.secondary-btn,
.light-btn,
.outline-dark-btn {
    min-height: 50px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    border-radius: 50px;

    padding:
        12px 24px;

    font-size: 0.9rem;

    font-weight: 700;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition);
}


.primary-btn {
    background: var(--secondary);

    color: var(--primary-dark);

    border:
        1px solid var(--secondary);
}


.primary-btn:hover {
    transform: translateY(-3px);

    background: var(--secondary-light);

    color: var(--primary-dark);
}


.secondary-btn {
    color: var(--white);

    border:
        1px solid rgba(255, 255, 255, 0.38);

    background:
        rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(10px);
}


.secondary-btn:hover {
    background: var(--white);

    color: var(--primary);
}


.light-btn {
    background: var(--white);

    color: var(--primary);

    border:
        1px solid var(--white);
}


.light-btn:hover {
    transform: translateY(-3px);

    background: var(--secondary);

    border-color: var(--secondary);

    color: var(--primary-dark);
}


.outline-dark-btn {
    color: var(--primary);

    border:
        1px solid var(--primary);

    background: transparent;
}


.outline-dark-btn:hover {
    transform: translateY(-3px);

    color: var(--white);

    background: var(--primary);
}


/* =========================================================
   7. HERO QUICK INFO
========================================================= */

.hero-quick-info {
    display: flex;

    align-items: center;

    gap: 25px;
}


.quick-info-item {
    display: flex;

    align-items: center;

    gap: 12px;
}


.quick-info-item > i {
    color: var(--secondary);

    font-size: 1.45rem;
}


.quick-info-item div {
    display: flex;

    flex-direction: column;
}


.quick-info-item span {
    color:
        rgba(255, 255, 255, 0.6);

    font-size: 0.72rem;

    margin-bottom: 3px;
}


.quick-info-item strong {
    color: var(--white);

    font-size: 0.85rem;
}


.quick-divider {
    width: 1px;
    height: 38px;

    background:
        rgba(255, 255, 255, 0.22);
}


/* =========================================================
   8. SUNDAY CARD
========================================================= */

.sunday-card {
    position: relative;

    width: 100%;
    max-width: 460px;

    margin-left: auto;

    padding: 35px;

    border-radius: var(--radius-lg);

    background:
        rgba(255, 255, 255, 0.96);

    color: var(--dark);

    box-shadow:
        0 25px 65px rgba(0, 0, 0, 0.25);

    overflow: hidden;
}


.sunday-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--secondary),
            #D9545F
        );
}


.sunday-card-top {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 15px;

    margin-bottom: 25px;
}


.sunday-card-top > span {
    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--primary);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.live-dot {
    position: relative;

    width: 9px;
    height: 9px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--secondary);
}


.live-dot::after {
    content: "";

    position: absolute;

    inset: -5px;

    border-radius: 50%;

    border:
        1px solid rgba(179, 33, 45, 0.45);

    animation:
        pulseSunday 2s infinite;
}


@keyframes pulseSunday {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}


.sunday-date {
    color: var(--text-light);

    font-size: 0.83rem;

    margin-bottom: 21px;
}


.theme-label {
    color: var(--secondary-dark);

    font-size: 0.69rem;

    font-weight: 800;

    letter-spacing: 1.7px;

    margin-bottom: 7px;
}


.sunday-theme {
    color: var(--primary);

    font-size:
        clamp(2rem, 4vw, 2.8rem);

    margin-bottom: 20px;
}


.scripture-reference {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding:
        8px 13px;

    border-radius: 50px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 0.8rem;

    font-weight: 700;

    margin-bottom: 18px;
}


.sunday-card blockquote {
    color: var(--dark);

    font-family: var(--heading-font);

    font-size: 1.18rem;

    font-style: italic;

    line-height: 1.7;

    border-left:
        3px solid var(--secondary);

    padding-left: 17px;

    margin-bottom: 27px;
}


.sunday-card-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--primary);

    font-size: 0.83rem;

    font-weight: 700;
}


.sunday-card-link:hover {
    color: var(--secondary-dark);
}


/* =========================================================
   9. HERO SCROLL
========================================================= */

.scroll-indicator {
    position: absolute;

    z-index: 4;

    bottom: 22px;
    left: 50%;

    width: 25px;
    height: 40px;

    border:
        1px solid rgba(255, 255, 255, 0.4);

    border-radius: 30px;

    transform: translateX(-50%);
}


.scroll-indicator span {
    position: absolute;

    top: 8px;
    left: 50%;

    width: 4px;
    height: 7px;

    border-radius: 10px;

    background: var(--secondary);

    transform: translateX(-50%);

    animation:
        scrollMove 1.7s infinite;
}


@keyframes scrollMove {
    0% {
        transform:
            translate(-50%, 0);

        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    100% {
        transform:
            translate(-50%, 15px);

        opacity: 0;
    }
}


/* =========================================================
   10. SERVICE STRIP
========================================================= */

.service-strip {
    position: relative;

    z-index: 5;

    width: 100%;

    background: var(--primary);
}


.service-row {
    overflow: hidden;
}


.service-item {
    min-height: 135px;

    display: flex;

    align-items: center;

    gap: 17px;

    padding:
        27px 32px;

    color: var(--white);
}


.service-item.middle {
    position: relative;
}


.service-item.middle::before,
.service-item.middle::after {
    content: "";

    position: absolute;

    top: 25%;

    width: 1px;
    height: 50%;

    background:
        rgba(255, 255, 255, 0.15);
}


.service-item.middle::before {
    left: 0;
}


.service-item.middle::after {
    right: 0;
}


.service-icon {
    width: 51px;
    height: 51px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.09);

    color: var(--secondary);

    font-size: 1.3rem;
}


.service-item span {
    color: var(--secondary);

    font-size: 0.68rem;

    font-weight: 800;

    letter-spacing: 1.6px;
}


.service-item h3 {
    color: var(--white);

    font-family: var(--body-font);

    font-size: 1rem;

    font-weight: 700;

    margin:
        4px 0;
}


.service-item p {
    color:
        rgba(255, 255, 255, 0.7);

    font-size: 0.81rem;

    margin: 0;
}


/* =========================================================
   11. WELCOME
========================================================= */

.welcome-section {
    background: var(--white);
}


.welcome-image-wrapper {
    position: relative;

    padding-right: 45px;
    padding-bottom: 45px;
}


.welcome-main-image {
    width: 100%;
    height: 570px;

    object-fit: cover;

    border-radius: var(--radius-lg);
}


.welcome-small-image {
    position: absolute;

    right: 0;
    bottom: 0;

    width: 220px;
    height: 210px;

    border:
        7px solid var(--white);

    border-radius: 22px;

    overflow: hidden;

    box-shadow: var(--shadow-md);
}


.welcome-small-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.welcome-experience {
    position: absolute;

    top: 35px;
    left: -20px;

    width: 130px;
    height: 130px;

    border-radius: 50%;

    background: var(--secondary);

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    box-shadow: var(--shadow-md);
}


.welcome-experience strong {
    color: var(--primary-dark);

    font-family: var(--heading-font);

    font-size: 1.35rem;
}


.welcome-experience span {
    max-width: 80px;

    color: var(--primary-dark);

    font-size: 0.67rem;

    margin-top: 4px;
}


.about-features {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 13px;

    margin:
        26px 0 30px;
}


.about-feature {
    display: flex;

    align-items: center;

    gap: 9px;

    color: var(--dark);

    font-size: 0.88rem;

    font-weight: 600;
}


.about-feature i {
    color: var(--secondary-dark);
}


.text-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--primary);

    font-weight: 700;

    font-size: 0.89rem;
}


.text-link:hover {
    color: var(--secondary-dark);
}


/* =========================================================
   12. THIS WEEK
========================================================= */

.week-section {
    background: var(--cream);
}


.week-card {
    width: 100%;
    height: 100%;

    display: flex;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: var(--radius-md);

    overflow: hidden;

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


.week-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-md);
}


.week-day {
    width: 95px;

    flex-shrink: 0;

    background: var(--primary);

    display: flex;

    flex-direction: column;

    justify-content: center;
    align-items: center;

    color: var(--white);
}


.week-day span {
    color: var(--secondary);

    font-size: 0.7rem;

    letter-spacing: 1.6px;

    font-weight: 800;
}


.week-day strong {
    font-family: var(--heading-font);

    font-size: 2.2rem;

    line-height: 1.1;

    margin-top: 5px;
}


.week-info {
    min-width: 0;

    padding:
        25px 21px;
}


.week-type {
    color: var(--secondary-dark);

    font-size: 0.66rem;

    letter-spacing: 1.3px;

    font-weight: 800;
}


.week-info h3 {
    font-size: 1.3rem;

    margin:
        6px 0 13px;
}


.week-info p {
    margin:
        5px 0;

    color: var(--text);

    font-size: 0.78rem;
}


.week-info p i {
    color: var(--primary);

    margin-right: 5px;
}


/* =========================================================
   13. SERMON HOMEPAGE
========================================================= */

.sermon-section {
    background: var(--primary-dark);
}


.sermon-image {
    position: relative;

    height: 480px;

    border-radius: var(--radius-lg);

    overflow: hidden;
}


.sermon-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.sermon-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.5),
            transparent 60%
        );
}


.sermon-play {
    position: absolute;

    z-index: 3;

    top: 50%;
    left: 50%;

    width: 76px;
    height: 76px;

    border-radius: 50%;

    transform:
        translate(-50%, -50%);

    background: var(--secondary);

    color: var(--primary-dark);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 2rem;

    transition:
        transform var(--transition);
}


.sermon-play:hover {
    transform:
        translate(-50%, -50%)
        scale(1.1);

    color: var(--primary-dark);
}


.latest-badge {
    position: absolute;

    z-index: 3;

    bottom: 22px;
    left: 22px;

    background: var(--white);

    color: var(--primary);

    border-radius: 50px;

    padding:
        8px 15px;

    font-size: 0.72rem;

    font-weight: 800;
}


.light-tag {
    color: var(--secondary);
}


.sermon-section
.section-heading h2 span {
    color: var(--secondary);
}


.sermon-series {
    color: var(--secondary);

    font-size: 0.72rem;

    letter-spacing: 1.6px;

    font-weight: 800;
}


.sermon-title {
    color: var(--white);

    font-size: 2rem;

    margin:
        8px 0 12px;
}


.sermon-passage {
    color: var(--secondary-light);

    font-weight: 700;

    margin-bottom: 17px;
}


.sermon-description {
    color:
        rgba(255, 255, 255, 0.7);

    line-height: 1.85;

    max-width: 540px;
}


.sermon-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 22px;

    margin:
        24px 0 28px;
}


.sermon-meta span {
    color:
        rgba(255, 255, 255, 0.7);

    font-size: 0.8rem;
}


.sermon-meta i {
    color: var(--secondary);

    margin-right: 6px;
}


/* =========================================================
   14. MINISTRIES HOMEPAGE
========================================================= */

.ministries-section {
    background: var(--white);
}


.ministry-card {
    position: relative;

    display: block;

    width: 100%;
    height: 400px;

    border-radius: var(--radius-md);

    overflow: hidden;

    box-shadow: var(--shadow-sm);
}


.ministry-card > img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}


.ministry-card:hover > img {
    transform: scale(1.07);
}


.ministry-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(8, 38, 74, 0.92),
            rgba(8, 38, 74, 0.05) 65%
        );
}


.ministry-content {
    position: absolute;

    z-index: 2;

    bottom: 0;
    left: 0;

    width: 100%;

    padding: 26px;

    color: var(--white);
}


.ministry-icon {
    width: 47px;
    height: 47px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--secondary);

    color: var(--primary-dark);

    border-radius: 50%;

    margin-bottom: 15px;
}


.ministry-content h3 {
    color: var(--white);

    font-size: 1.55rem;

    margin-bottom: 7px;
}


.ministry-content span {
    display: flex;

    align-items: center;

    gap: 7px;

    color:
        rgba(255, 255, 255, 0.78);

    font-size: 0.78rem;
}


/* =========================================================
   15. NEW HERE
========================================================= */

.new-here-section {
    padding:
        0 0 100px;

    background: var(--white);
}


.new-here-box {
    position: relative;

    padding:
        55px 60px;

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            135deg,
            var(--secondary),
            #D9545F
        );

    overflow: hidden;
}


.new-here-box::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    border:
        50px solid rgba(255, 255, 255, 0.14);

    border-radius: 50%;

    right: -80px;
    top: -100px;
}


.new-here-tag {
    color: var(--primary-dark);

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 1.6px;
}


.new-here-box h2 {
    color: var(--primary-dark);

    font-size:
        clamp(2rem, 4vw, 3rem);

    margin:
        9px 0 12px;
}


.new-here-box p {
    max-width: 680px;

    color:
        rgba(8, 38, 74, 0.78);

    line-height: 1.75;

    margin: 0;
}


.new-here-btn {
    position: relative;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    background: var(--primary);

    color: var(--white);

    border-radius: 50px;

    padding:
        14px 24px;

    font-weight: 700;
}


.new-here-btn:hover {
    background: var(--primary-dark);

    color: var(--white);
}


/* =========================================================
   16. EVENTS HOMEPAGE
========================================================= */

.events-section {
    background: var(--cream);
}


.section-title-row {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;
}


.desktop-view-link {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: var(--primary);

    font-size: 0.85rem;

    font-weight: 700;

    margin-bottom: 22px;
}


.desktop-view-link:hover {
    color: var(--secondary-dark);
}


.event-card {
    width: 100%;
    height: 100%;

    background: var(--white);

    border-radius: var(--radius-md);

    overflow: hidden;

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


.event-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-md);
}


.event-image {
    position: relative;

    height: 240px;

    overflow: hidden;
}


.event-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}


.event-card:hover
.event-image img {
    transform: scale(1.05);
}


.event-date {
    position: absolute;

    left: 18px;
    bottom: 18px;

    width: 61px;
    height: 67px;

    background: var(--secondary);

    color: var(--primary-dark);

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    box-shadow: var(--shadow-sm);
}


.event-date strong {
    font-family: var(--heading-font);

    font-size: 1.5rem;

    line-height: 1;
}


.event-date span {
    font-size: 0.62rem;

    font-weight: 800;

    margin-top: 4px;
}


.event-content {
    min-width: 0;

    padding: 25px;
}


.event-category {
    color: var(--secondary-dark);

    font-size: 0.65rem;

    font-weight: 800;

    letter-spacing: 1.3px;
}


.event-content h3 {
    font-size: 1.45rem;

    margin:
        7px 0 15px;
}


.event-content p {
    color: var(--text);

    font-size: 0.78rem;

    margin:
        6px 0;
}


.event-content p i {
    color: var(--primary);

    margin-right: 5px;
}


.event-content > a {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--primary);

    font-size: 0.8rem;

    font-weight: 700;

    margin-top: 17px;
}


/* =========================================================
   17. SCRIPTURE
========================================================= */

.scripture-section {
    position: relative;

    min-height: 500px;

    display: flex;

    align-items: center;

    background:
        url("https://images.unsplash.com/photo-1504052434569-70ad5836ab65?auto=format&fit=crop&w=2000&q=90")
        center / cover no-repeat;

    text-align: center;
}


.scripture-overlay {
    position: absolute;

    inset: 0;

    background:
        rgba(8, 38, 74, 0.88);
}


.scripture-content {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 900px;

    margin: auto;

    padding:
        40px 15px;
}


.scripture-quote {
    color: var(--secondary);

    font-size: 3rem;
}


.scripture-content p {
    color: var(--white);

    font-family: var(--heading-font);

    font-size:
        clamp(1.8rem, 4vw, 3.1rem);

    line-height: 1.4;

    margin:
        10px 0 22px;
}


.scripture-content span {
    color: var(--secondary);

    font-size: 0.73rem;

    font-weight: 800;

    letter-spacing: 2px;
}


/* =========================================================
   18. HOMEPAGE GALLERY
========================================================= */

.gallery-section {
    background: var(--white);
}


.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    grid-template-rows:
        220px 220px;

    gap: 12px;
}


.gallery-item {
    position: relative;

    min-width: 0;

    overflow: hidden;

    border-radius: 13px;
}


.gallery-large {
    grid-column:
        span 2;

    grid-row:
        span 2;
}


.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}


.gallery-item::after {
    content: "\F4CB";

    font-family:
        "bootstrap-icons";

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--white);

    font-size: 1.7rem;

    background:
        rgba(8, 38, 74, 0.6);

    opacity: 0;

    transition:
        opacity var(--transition);
}


.gallery-item:hover::after {
    opacity: 1;
}


.gallery-item:hover img {
    transform: scale(1.06);
}


/* =========================================================
   19. CONTACT CTA
========================================================= */

.contact-cta {
    width: 100%;

    padding:
        75px 0;

    background: var(--primary);
}


.contact-small {
    color: var(--secondary);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 1.7px;
}


.contact-cta h2 {
    color: var(--white);

    font-size:
        clamp(2rem, 4vw, 3rem);

    margin:
        8px 0 12px;
}


.contact-cta p {
    color:
        rgba(255, 255, 255, 0.7);

    margin: 0;
}


.contact-cta-buttons {
    display: flex;

    justify-content: flex-end;

    gap: 10px;

    flex-wrap: wrap;
}


.cta-white-btn,
.cta-outline-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding:
        13px 21px;

    border-radius: 50px;

    font-size: 0.86rem;

    font-weight: 700;
}


.cta-white-btn {
    background: var(--white);

    color: var(--primary);
}


.cta-white-btn:hover {
    background: var(--secondary);

    color: var(--primary-dark);
}


.cta-outline-btn {
    color: var(--white);

    border:
        1px solid rgba(255, 255, 255, 0.35);
}


.cta-outline-btn:hover {
    background: var(--white);

    color: var(--primary);
}


/* =========================================================
   20. FOOTER
========================================================= */

.footer {
    width: 100%;

    padding:
        75px 0 0;

    background: #071B33;

    color:
        rgba(255, 255, 255, 0.65);
}


.footer-brand
.brand-main {
    color: var(--white);
}


.footer-description {
    max-width: 390px;

    margin:
        24px 0;

    line-height: 1.8;

    font-size: 0.84rem;
}


.footer-socials {
    display: flex;

    gap: 9px;
}


.footer-socials a {
    width: 39px;
    height: 39px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--white);

    background:
        rgba(255, 255, 255, 0.07);

    transition:
        all var(--transition);
}


.footer-socials a:hover {
    background: var(--secondary);

    color: var(--primary-dark);
}


.footer-title {
    color: var(--white);

    font-family: var(--body-font);

    font-size: 0.92rem;

    font-weight: 700;

    margin-bottom: 21px;
}


.footer-links {
    list-style: none;
}


.footer-links li {
    margin-bottom: 11px;
}


.footer-links a {
    color:
        rgba(255, 255, 255, 0.62);

    font-size: 0.82rem;

    transition:
        color var(--transition),
        padding var(--transition);
}


.footer-links a:hover {
    color: var(--secondary);

    padding-left: 4px;
}


.footer-contact {
    display: flex;

    flex-direction: column;

    gap: 17px;
}


.footer-contact > div {
    display: flex;

    gap: 12px;

    font-size: 0.82rem;

    line-height: 1.7;
}


.footer-contact i {
    color: var(--secondary);

    margin-top: 3px;

    flex-shrink: 0;
}


.footer-contact a {
    color:
        rgba(255, 255, 255, 0.65);
}


.footer-contact a:hover {
    color: var(--secondary);
}


.footer-bottom {
    margin-top: 60px;

    padding:
        24px 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.footer-bottom p {
    margin: 0;

    font-size: 0.74rem;

    color:
        rgba(255, 255, 255, 0.45);
}


.footer-credit {
    font-style: italic;
}


/* =========================================================
   21. FLOATING BUTTONS
========================================================= */

.whatsapp-button,
.back-to-top {
    position: fixed;

    z-index: 1030;

    width: 50px;
    height: 50px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    border: none;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.18);

    transition:
        transform var(--transition),
        opacity var(--transition);
}


.whatsapp-button {
    right: 22px;
    bottom: 22px;

    background: #25d366;

    color: var(--white);

    font-size: 1.45rem;
}


.whatsapp-button:hover {
    transform: translateY(-4px);

    color: var(--white);
}


.back-to-top {
    right: 22px;
    bottom: 84px;

    background: var(--secondary);

    color: var(--primary-dark);

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(10px);

    cursor: pointer;
}


.back-to-top.show {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0);
}


/* =========================================================
   22. INNER PAGE HERO
========================================================= */

.inner-hero {
    position: relative;

    width: 100%;

    min-height: 460px;

    display: flex;

    align-items: center;

    background-size: cover;

    background-position: center;

    overflow: hidden;
}


.about-hero {
    background-image:
        url("https://images.unsplash.com/photo-1438232992991-995b7058bbb3?auto=format&fit=crop&w=2000&q=90");
}


.leadership-hero {
    background-image:
        url("https://images.unsplash.com/photo-1529070538774-1843cb3265df?auto=format&fit=crop&w=2000&q=90");
}


.ministries-page-hero {
    background-image:
        url("https://images.unsplash.com/photo-1511632765486-a01980e01a18?auto=format&fit=crop&w=2000&q=90");
}


.sermons-page-hero {
    background-image:
        url("https://images.unsplash.com/photo-1490730141103-6cac27aaab94?auto=format&fit=crop&w=2000&q=90");
}


.events-page-hero {
    background-image:
        url("https://images.unsplash.com/photo-1507501336603-6e31db2be093?auto=format&fit=crop&w=2000&q=90");
}


.gallery-page-hero {
    background-image:
        url("https://images.unsplash.com/photo-1520857014576-2c4f4c972b57?auto=format&fit=crop&w=2000&q=90");
}


.contact-page-hero {
    background-image:
        url("https://images.unsplash.com/photo-1438232992991-995b7058bbb3?auto=format&fit=crop&w=2000&q=90");

    background-position:
        center 45%;
}


.inner-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8, 38, 74, 0.94),
            rgba(8, 38, 74, 0.69)
        );
}


.inner-hero .container {
    position: relative;

    z-index: 2;

    width: 100%;
}


.inner-hero-content {
    width: 100%;

    max-width: 760px;

    padding:
        70px 0;
}


.inner-tag {
    color: var(--secondary);
}


.inner-hero h1 {
    color: var(--white);

    font-size:
        clamp(3rem, 7vw, 5.5rem);

    line-height: 1;

    margin-bottom: 20px;
}


.inner-hero h1 span {
    color: var(--secondary);
}


.inner-hero p {
    max-width: 620px;

    color:
        rgba(255, 255, 255, 0.76);

    font-size: 1.03rem;

    line-height: 1.8;
}


.breadcrumb-wrap {
    margin-top: 25px;

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 10px;

    font-size: 0.79rem;
}


.breadcrumb-wrap a {
    color: var(--secondary);
}


.breadcrumb-wrap span,
.breadcrumb-wrap i {
    color:
        rgba(255, 255, 255, 0.66);
}


/* =========================================================
   23. ABOUT PAGE
========================================================= */

.about-page-image {
    width: 100%;
    height: 520px;

    border-radius: var(--radius-lg);

    overflow: hidden;

    box-shadow: var(--shadow-md);
}


.about-page-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.values-section {
    background: var(--cream);
}


.value-card {
    width: 100%;
    height: 100%;

    padding: 35px;

    background: var(--white);

    border-radius: var(--radius-md);

    border:
        1px solid var(--border);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


.value-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-md);
}


.value-icon {
    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 1.4rem;

    margin-bottom: 23px;
}


.value-card h3 {
    font-size: 1.5rem;

    margin-bottom: 13px;
}


.value-card p {
    margin: 0;

    line-height: 1.8;
}


.beliefs-section {
    background: var(--primary-dark);
}


.beliefs-section p {
    color:
        rgba(255, 255, 255, 0.68);

    line-height: 1.8;
}


.belief-list {
    display: flex;

    flex-direction: column;

    gap: 13px;
}


.belief-item {
    width: 100%;

    display: flex;

    align-items: flex-start;

    gap: 12px;

    color:
        rgba(255, 255, 255, 0.84);

    padding:
        14px 16px;

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.05);
}


.belief-item i {
    flex-shrink: 0;

    color: var(--secondary);

    margin-top: 2px;
}


/* =========================================================
   24. LEADERSHIP PAGE
========================================================= */

.leader-card {
    width: 100%;
    height: 100%;

    background: var(--white);

    border-radius: var(--radius-md);

    overflow: hidden;

    border:
        1px solid var(--border);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


.leader-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-md);
}


.leader-image {
    width: 100%;
    height: 350px;

    overflow: hidden;

    background: var(--light);
}


.leader-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}


.leader-card:hover
.leader-image img {
    transform: scale(1.04);
}


.leader-content {
    padding: 25px;
}


.leader-role {
    color: var(--secondary-dark);

    font-size: 0.67rem;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.leader-content h3 {
    margin:
        7px 0 10px;

    font-size: 1.5rem;
}


.leader-content p {
    margin: 0;

    line-height: 1.75;

    font-size: 0.88rem;
}


.featured-leader
.leader-image {
    height: 430px;
}


.compact-leader
.leader-image {
    height: 290px;
}


.compact-leader
.leader-content {
    text-align: center;
}


/* =========================================================
   25. MINISTRIES PAGE
========================================================= */

.ministry-detail-card {
    width: 100%;
    height: 100%;

    background: var(--white);

    border-radius: var(--radius-md);

    overflow: hidden;

    border:
        1px solid var(--border);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


.ministry-detail-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-md);
}


.ministry-detail-image {
    width: 100%;
    height: 260px;

    overflow: hidden;
}


.ministry-detail-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}


.ministry-detail-card:hover
.ministry-detail-image img {
    transform: scale(1.06);
}


.ministry-detail-content {
    position: relative;

    padding:
        35px 28px 28px;
}


.ministry-detail-icon {
    position: absolute;

    top: -28px;

    width: 56px;
    height: 56px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--secondary);

    color: var(--primary-dark);

    border:
        5px solid var(--white);

    font-size: 1.2rem;
}


.ministry-detail-content h3 {
    margin:
        10px 0 12px;

    font-size: 1.45rem;
}


.ministry-detail-content p {
    margin: 0;

    line-height: 1.8;

    font-size: 0.87rem;
}


.ministry-connect-title {
    font-size:
        clamp(2rem, 4vw, 3.2rem);
}


.ministry-connect-title span {
    color: var(--secondary);
}


.ministry-connect-text {
    max-width: 520px;
}


.ministry-benefit {
    width: 100%;
    height: 100%;

    padding: 25px;

    background:
        rgba(255, 255, 255, 0.06);

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: var(--radius-md);
}


.ministry-benefit > i {
    color: var(--secondary);

    font-size: 1.6rem;
}


.ministry-benefit h3 {
    color: var(--white);

    font-family: var(--body-font);

    font-size: 1rem;

    margin:
        13px 0 8px;
}


.ministry-benefit p {
    margin: 0;

    font-size: 0.82rem;
}


/* =========================================================
   26. SERMONS PAGE
========================================================= */

.featured-sermon-media {
    position: relative;

    width: 100%;
    height: 500px;

    border-radius: var(--radius-lg);

    overflow: hidden;

    box-shadow: var(--shadow-md);
}


.featured-sermon-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.sermon-page-title {
    color: var(--dark);

    font-size:
        clamp(2rem, 4vw, 3rem);

    margin-bottom: 12px;
}


.sermon-page-passage {
    color: var(--primary);

    font-weight: 700;

    margin-bottom: 20px;
}


.dark-meta span {
    color: var(--text);
}


.sermon-list-section {
    background: var(--cream);
}


.sermon-card {
    width: 100%;
    height: 100%;

    background: var(--white);

    border-radius: var(--radius-md);

    overflow: hidden;

    border:
        1px solid var(--border);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


.sermon-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-md);
}


.sermon-card-image {
    position: relative;

    height: 250px;

    overflow: hidden;
}


.sermon-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}


.sermon-card:hover
.sermon-card-image img {
    transform: scale(1.05);
}


.sermon-small-play {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 58px;
    height: 58px;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--secondary);

    color: var(--primary-dark);

    font-size: 1.5rem;

    box-shadow: var(--shadow-md);

    transition:
        transform var(--transition);
}


.sermon-small-play:hover {
    transform:
        translate(-50%, -50%)
        scale(1.08);

    color: var(--primary-dark);
}


.sermon-card-content {
    padding: 25px;
}


.sermon-card-series {
    color: var(--secondary-dark);

    font-size: 0.67rem;

    font-weight: 800;

    letter-spacing: 1.4px;
}


.sermon-card-content h3 {
    font-size: 1.45rem;

    margin:
        8px 0;
}


.sermon-card-passage {
    color: var(--primary);

    font-size: 0.82rem;

    font-weight: 700;
}


.sermon-card-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 17px;
}


.sermon-card-meta span {
    color: var(--text-light);

    font-size: 0.72rem;
}


.sermon-card-meta i {
    color: var(--primary);
}


.youtube-section {
    padding:
        70px 0;

    background: #c91010;

    color: var(--white);
}


.youtube-label {
    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 1.7px;

    color:
        rgba(255, 255, 255, 0.72);
}


.youtube-section h2 {
    color: var(--white);

    font-size:
        clamp(2rem, 4vw, 3rem);

    margin:
        8px 0 12px;
}


.youtube-section p {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.8);
}


.youtube-btn {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    background: var(--white);

    color: #c91010;

    border-radius: 50px;

    padding:
        13px 23px;

    font-weight: 700;
}


.youtube-btn:hover {
    background: var(--secondary);

    color: var(--primary-dark);
}


/* =========================================================
   27. EVENTS PAGE
========================================================= */

.featured-event {
    width: 100%;

    overflow: hidden;

    border-radius: var(--radius-lg);

    background: var(--white);

    box-shadow: var(--shadow-md);
}


.featured-event-image {
    position: relative;

    height: 100%;

    min-height: 500px;
}


.featured-event-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.featured-event-date {
    position: absolute;

    left: 25px;
    bottom: 25px;

    width: 78px;
    height: 86px;

    border-radius: 14px;

    background: var(--secondary);

    color: var(--primary-dark);

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    box-shadow: var(--shadow-md);
}


.featured-event-date strong {
    font-family: var(--heading-font);

    font-size: 2rem;

    line-height: 1;
}


.featured-event-date span {
    font-size: 0.7rem;

    font-weight: 800;

    margin-top: 4px;
}


.featured-event-content {
    width: 100%;
    height: 100%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding:
        50px 40px;
}


.featured-event-content h2 {
    font-size:
        clamp(2rem, 4vw, 3rem);

    margin-bottom: 18px;
}


.featured-event-content > p {
    line-height: 1.8;
}


.event-detail-list {
    display: flex;

    flex-direction: column;

    gap: 12px;

    margin:
        25px 0;
}


.event-detail-list > div {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    font-size: 0.85rem;
}


.event-detail-list i {
    flex-shrink: 0;

    color: var(--secondary-dark);

    margin-top: 2px;
}


.events-page-section {
    background: var(--cream);
}


.weekly-meetings-section {
    background: var(--primary-dark);
}


.weekly-meetings-title {
    color: var(--white);

    font-size:
        clamp(2rem, 4vw, 3rem);

    margin-bottom: 18px;
}


.weekly-meetings-section p {
    color:
        rgba(255, 255, 255, 0.7);

    line-height: 1.8;
}


.weekly-meeting-list {
    display: flex;

    flex-direction: column;

    gap: 13px;
}


.weekly-meeting-item {
    width: 100%;

    display: flex;

    align-items: center;

    gap: 18px;

    padding:
        18px 20px;

    border-radius: var(--radius-md);

    background:
        rgba(255, 255, 255, 0.06);

    border:
        1px solid rgba(255, 255, 255, 0.08);
}


.weekly-day {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--secondary);

    color: var(--primary-dark);

    font-weight: 800;

    font-size: 0.75rem;
}


.weekly-meeting-item h3 {
    color: var(--white);

    font-family: var(--body-font);

    font-size: 1rem;

    margin-bottom: 4px;
}


.weekly-meeting-item span {
    color:
        rgba(255, 255, 255, 0.62);

    font-size: 0.8rem;
}


/* =========================================================
   28. GALLERY PAGE
========================================================= */

.gallery-main-section {
    background: var(--white);
}


.gallery-page-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    grid-auto-rows: 300px;

    gap: 14px;
}


.gallery-page-item {
    position: relative;

    min-width: 0;

    overflow: hidden;

    border-radius: var(--radius-md);

    background: var(--light);
}


.gallery-page-large {
    grid-column:
        span 2;

    grid-row:
        span 2;
}


.gallery-page-wide {
    grid-column:
        span 2;
}


.gallery-page-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}


.gallery-page-item:hover img {
    transform: scale(1.06);
}


.gallery-page-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    justify-content: space-between;
    align-items: flex-end;

    gap: 15px;

    padding: 22px;

    background:
        linear-gradient(
            to top,
            rgba(4, 27, 20, 0.90),
            rgba(4, 27, 20, 0.04) 68%
        );

    color: var(--white);
}


.gallery-page-overlay span {
    color: var(--secondary);

    font-size: 0.64rem;

    font-weight: 800;

    letter-spacing: 1.4px;
}


.gallery-page-overlay h3 {
    color: var(--white);

    font-size: 1.25rem;

    margin:
        5px 0 0;
}


.gallery-page-overlay > i {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;

    justify-content: center;
    align-items: center;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.14);

    color: var(--white);

    opacity: 0;

    transition:
        opacity var(--transition),
        background var(--transition);
}


.gallery-page-item:hover
.gallery-page-overlay > i {
    opacity: 1;
}


.gallery-page-overlay > i:hover {
    background: var(--secondary);

    color: var(--primary-dark);
}


.gallery-scripture {
    min-height: 430px;
}


.gallery-more-section {
    background: var(--cream);
}


.church-life-card {
    display: block;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


.church-life-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-md);
}


.church-life-image {
    position: relative;

    width: 100%;
    height: 250px;

    overflow: hidden;

    background: var(--light);
}


.church-life-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}


.church-life-card:hover
.church-life-image img {
    transform: scale(1.07);
}


.church-life-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        rgba(8, 38, 74, 0.55);

    opacity: 0;

    transition:
        opacity var(--transition);
}


.church-life-card:hover
.church-life-overlay {
    opacity: 1;
}


.church-life-overlay i {
    width: 50px;
    height: 50px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--secondary);

    color: var(--primary-dark);

    font-size: 1.1rem;
}


.church-life-content {
    padding: 24px;
}


.church-life-content > span {
    display: block;

    color: var(--secondary-dark);

    font-size: 0.65rem;

    font-weight: 800;

    letter-spacing: 1.4px;

    margin-bottom: 7px;
}


.church-life-content h3 {
    color: var(--dark);

    font-size: 1.35rem;

    margin-bottom: 10px;
}


.church-life-content p {
    color: var(--text);

    font-size: 0.82rem;

    line-height: 1.75;

    margin: 0;
}


/* =========================================================
   29. CONTACT PAGE
========================================================= */

.contact-info-section {
    position: relative;

    z-index: 5;

    margin-top: -55px;
}


.contact-info-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}


.contact-info-card {
    width: 100%;
    height: 100%;

    padding:
        35px 30px;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-md);

    text-align: center;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


.contact-info-card:hover {
    transform:
        translateY(-6px);
}


.contact-info-icon {
    width: 62px;
    height: 62px;

    margin:
        0 auto 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 1.45rem;
}


.contact-info-label {
    display: block;

    color: var(--secondary-dark);

    font-size: 0.67rem;

    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 6px;
}


.contact-info-card h3 {
    font-size: 1.45rem;

    margin-bottom: 10px;
}


.contact-info-card p {
    min-height: 50px;

    margin-bottom: 17px;

    color: var(--text);

    line-height: 1.7;

    font-size: 0.85rem;
}


.contact-info-card > a {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    color: var(--primary);

    font-weight: 700;

    font-size: 0.82rem;
}


.contact-info-card > a:hover {
    color: var(--secondary-dark);
}


/* PLAN VISIT */

.plan-visit-section {
    background: var(--white);
}


.visit-image-wrapper {
    position: relative;

    width: 100%;
}


.visit-main-image {
    width: 100%;
    height: 570px;

    object-fit: cover;

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-md);
}


.visit-image-badge {
    position: absolute;

    left: 25px;
    bottom: 25px;

    display: flex;

    align-items: center;

    gap: 13px;

    max-width:
        calc(100% - 50px);

    padding:
        17px 20px;

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.95);

    box-shadow: var(--shadow-md);
}


.visit-image-badge > i {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--secondary);

    color: var(--primary-dark);
}


.visit-image-badge div {
    display: flex;

    min-width: 0;

    flex-direction: column;
}


.visit-image-badge strong {
    color: var(--primary);

    font-size: 0.86rem;
}


.visit-image-badge span {
    color: var(--text-light);

    font-size: 0.72rem;

    margin-top: 2px;
}


.visit-list {
    display: flex;

    flex-direction: column;

    gap: 20px;

    margin:
        28px 0 30px;
}


.visit-list-item {
    display: flex;

    gap: 17px;

    align-items: flex-start;
}


.visit-number {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary-light);

    color: var(--primary);

    font-weight: 800;

    font-size: 0.72rem;
}


.visit-list-item h3 {
    font-family: var(--body-font);

    font-size: 0.96rem;

    font-weight: 700;

    margin:
        2px 0 5px;
}


.visit-list-item p {
    margin: 0;

    color: var(--text);

    font-size: 0.83rem;

    line-height: 1.7;
}


/* CONTACT SERVICE TIMES */

.contact-service-section {
    background: var(--primary-dark);
}


.contact-service-section
.section-heading > p {
    color:
        rgba(255, 255, 255, 0.68);
}


.contact-service-section
.section-heading h2 span {
    color: var(--secondary);
}


.contact-service-card {
    width: 100%;
    height: 100%;

    padding:
        35px 28px;

    text-align: center;

    border-radius: var(--radius-md);

    background:
        rgba(255, 255, 255, 0.06);

    border:
        1px solid rgba(255, 255, 255, 0.09);

    transition:
        transform var(--transition),
        background var(--transition);
}


.contact-service-card:hover {
    transform: translateY(-6px);

    background:
        rgba(255, 255, 255, 0.09);
}


.contact-service-icon {
    width: 62px;
    height: 62px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin:
        0 auto 20px;

    border-radius: 50%;

    background: var(--secondary);

    color: var(--primary-dark);

    font-size: 1.4rem;
}


.contact-service-card > span {
    display: block;

    color: var(--secondary);

    font-size: 0.67rem;

    letter-spacing: 1.5px;

    font-weight: 800;

    margin-bottom: 7px;
}


.contact-service-card h3 {
    color: var(--white);

    font-size: 1.45rem;

    margin-bottom: 8px;
}


.contact-service-card strong {
    display: block;

    color: var(--white);

    font-size: 0.87rem;

    margin-bottom: 12px;
}


.contact-service-card p {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.6);

    line-height: 1.75;

    font-size: 0.8rem;
}


/* MAP */

.map-section {
    padding:
        100px 0;

    background: var(--cream);
}


.map-wrapper {
    width: 100%;

    height: 520px;

    margin-top: 45px;

    background: var(--light);
}


.map-wrapper iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}


.map-bottom {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 25px;

    margin-top: 30px;
}


.map-bottom > div {
    display: flex;

    align-items: center;

    gap: 14px;

    min-width: 0;
}


.map-bottom > div > i {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary);

    color: var(--secondary);
}


.map-bottom > div > div {
    display: flex;

    min-width: 0;

    flex-direction: column;
}


.map-bottom span {
    color: var(--secondary-dark);

    font-size: 0.65rem;

    letter-spacing: 1.4px;

    font-weight: 800;
}


.map-bottom strong {
    color: var(--dark);

    font-size: 0.87rem;

    margin-top: 3px;
}


/* MESSAGE CTA */

.contact-message-section {
    padding:
        0 0 100px;

    background: var(--cream);
}


.contact-message-box {
    position: relative;

    width: 100%;

    padding: 60px;

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            135deg,
            var(--secondary),
            #e5c87e
        );

    overflow: hidden;
}


.contact-message-box::after {
    content: "";

    position: absolute;

    right: -100px;
    top: -110px;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    border:
        60px solid rgba(255, 255, 255, 0.12);
}


.contact-message-label {
    color: var(--primary-dark);

    font-size: 0.68rem;

    font-weight: 800;

    letter-spacing: 1.6px;
}


.contact-message-box h2 {
    color: var(--primary-dark);

    font-size:
        clamp(2rem, 4vw, 3rem);

    margin:
        8px 0 14px;
}


.contact-message-box p {
    max-width: 650px;

    margin: 0;

    color:
        rgba(8, 38, 74, 0.75);

    line-height: 1.8;
}


.contact-message-buttons {
    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    gap: 10px;
}


.message-whatsapp-btn,
.message-call-btn {
    width: 100%;

    min-height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    border-radius: 50px;

    font-weight: 700;
}


.message-whatsapp-btn {
    background: var(--primary);

    color: var(--white);
}


.message-whatsapp-btn:hover {
    background: var(--primary-dark);

    color: var(--white);
}


.message-call-btn {
    color: var(--primary-dark);

    border:
        1px solid rgba(8, 38, 74, 0.4);
}


.message-call-btn:hover {
    background: var(--white);

    color: var(--primary-dark);
}


/* FAQ */

.visit-faq-section {
    background: var(--white);
}


.visit-accordion
.accordion-item {
    border:
        1px solid var(--border);

    border-radius:
        12px !important;

    overflow: hidden;

    margin-bottom: 12px;
}


.visit-accordion
.accordion-button {
    color: var(--dark);

    background: var(--white);

    font-weight: 700;

    padding:
        19px 20px;

    box-shadow: none;
}


.visit-accordion
.accordion-button:not(.collapsed) {
    color: var(--primary);

    background: var(--primary-light);
}


.visit-accordion
.accordion-button:focus {
    box-shadow: none;
}


.visit-accordion
.accordion-body {
    color: var(--text);

    line-height: 1.8;

    font-size: 0.87rem;

    padding: 20px;
}


/* FINAL VISIT */

.final-visit-cta {
    position: relative;

    width: 100%;

    min-height: 500px;

    display: flex;

    align-items: center;

    background:
        url("https://images.unsplash.com/photo-1507692049790-de58290a4334?auto=format&fit=crop&w=2000&q=90")
        center / cover no-repeat;
}


.final-visit-overlay {
    position: absolute;

    inset: 0;

    background:
        rgba(8, 38, 74, 0.88);
}


.final-visit-content {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 800px;

    text-align: center;

    margin: auto;
}


.final-visit-content > span {
    color: var(--secondary);

    font-size: 0.7rem;

    letter-spacing: 1.8px;

    font-weight: 800;
}


.final-visit-content h2 {
    color: var(--white);

    font-size:
        clamp(2.7rem, 6vw, 5rem);

    margin:
        10px 0 15px;
}


.final-visit-content p {
    color:
        rgba(255, 255, 255, 0.72);

    font-size: 1rem;
}


.final-visit-buttons {
    margin-top: 30px;

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;
}


/* =========================================================
   30. DESKTOP ADJUSTMENTS
========================================================= */

@media (max-width: 1199.98px) {

    .main-navbar .nav-link {
        padding:
            12px 7px !important;

        font-size: 0.82rem;
    }


    .hero-content h1 {
        font-size: 4.5rem;
    }

}


/* =========================================================
   31. TABLET / MOBILE NAV
========================================================= */

@media (max-width: 991.98px) {

    :root {
        --navbar-height: 78px;
        --section-padding: 80px;
    }


    body {
        padding-top:
            var(--navbar-height);
    }


    .main-navbar {
        height:
            var(--navbar-height);
    }


    .main-navbar .container {
        position: relative;
    }


    .brand-logo {
        width: 43px;
        height: 43px;
    }


    .brand-main {
        font-size: 0.82rem;
    }


    .brand-sub {
        font-size: 0.61rem;

        letter-spacing: 1.6px;
    }


    /* NAVBAR DROPDOWN */

    .navbar-collapse {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        width: 100%;

        max-height:
            calc(100vh - var(--navbar-height));

        overflow-y: auto;
        overflow-x: hidden;

        background: var(--white);

        border-top:
            1px solid var(--border);

        box-shadow:
            0 18px 35px rgba(0, 0, 0, 0.10);

        padding:
            12px 0 20px;
    }


    .navbar-collapse
    .navbar-nav {
        width: 100%;

        align-items: stretch !important;

        padding:
            0 24px;
    }


    .main-navbar .nav-link {
        width: 100%;

        padding:
            12px 2px !important;

        border-bottom:
            1px solid var(--border);
    }


    .main-navbar .nav-link::after {
        display: none;
    }


    .nav-visit-btn {
        width: 100%;

        margin-top: 14px;

        justify-content: center;
    }


    /* HERO */

    .hero-section {
        min-height: auto;

        background-position:
            55% center;
    }


    .hero-container {
        padding-top: 80px;
        padding-bottom: 80px;
    }


    .hero-content h1 {
        font-size:
            clamp(3rem, 10vw, 5rem);
    }


    .sunday-card {
        max-width: 100%;

        margin:
            25px 0 0;
    }


    .scroll-indicator {
        display: none;
    }


    /* SERVICES */

    .service-item.middle::before,
    .service-item.middle::after {
        display: none;
    }


    .service-item {
        border-bottom:
            1px solid rgba(255, 255, 255, 0.1);
    }


    /* WELCOME */

    .welcome-image-wrapper {
        max-width: 650px;

        margin: auto;
    }


    /* SERMON */

    .sermon-image {
        height: 420px;
    }


    .featured-sermon-media {
        height: 430px;
    }


    /* MINISTRY */

    .ministry-card {
        height: 350px;
    }


    /* INNER HERO */

    .inner-hero {
        min-height: 400px;
    }


    .inner-hero-content {
        padding:
            60px 0;
    }


    /* ABOUT */

    .about-page-image {
        height: 470px;
    }


    /* EVENT PAGE */

    .featured-event-image {
        min-height: 420px;
    }


    /* GALLERY */

    .gallery-page-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        grid-auto-rows: 270px;
    }


    .gallery-page-large {
        grid-column:
            span 2;

        grid-row:
            span 1;
    }


    .gallery-page-wide {
        grid-column:
            span 2;
    }


    .church-life-image {
        height: 270px;
    }


    /* CONTACT */

    .contact-info-grid {
        grid-template-columns:
            1fr;

        max-width: 700px;

        margin: auto;
    }


    .contact-info-section {
        margin-top: -35px;
    }


    .visit-main-image {
        height: 480px;
    }


    .map-wrapper {
        height: 440px;
    }


    .contact-message-box {
        padding:
            45px 35px;
    }


    .contact-cta-buttons {
        justify-content: flex-start;
    }

}


/* =========================================================
   32. MOBILE
========================================================= */

@media (max-width: 767.98px) {

    :root {
        --section-padding: 70px;
    }


    body {
        font-size: 0.95rem;
    }


    .container {
        padding-left: 20px;
        padding-right: 20px;
    }


    .section-heading h2 {
        font-size:
            clamp(2rem, 9vw, 2.5rem);
    }


    /* HERO */

    .hero-container {
        padding-top: 60px;
        padding-bottom: 60px;
    }


    .hero-content h1 {
        font-size:
            clamp(2.8rem, 13vw, 4.1rem);

        line-height: 1.02;

        letter-spacing: -1px;
    }


    .hero-description {
        font-size: 0.97rem;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .hero-buttons
    .primary-btn,
    .hero-buttons
    .secondary-btn {
        width: 100%;
    }


    .hero-quick-info {
        align-items: flex-start;

        flex-direction: column;

        gap: 17px;
    }


    .quick-divider {
        display: none;
    }


    .sunday-card {
        padding:
            28px 22px;
    }


    .sunday-card-top {
        align-items: flex-start;

        flex-direction: column;
    }


    /* SERVICE STRIP */

    .service-item {
        min-height: 115px;

        padding:
            22px 8px;
    }


    /* WELCOME */

    .welcome-image-wrapper {
        padding-right: 25px;

        padding-bottom: 30px;
    }


    .welcome-main-image {
        height: 430px;
    }


    .welcome-small-image {
        width: 160px;
        height: 150px;
    }


    .welcome-experience {
        left: 10px;

        width: 105px;
        height: 105px;
    }


    .welcome-experience strong {
        font-size: 1.15rem;
    }


    .about-features {
        grid-template-columns:
            1fr;
    }


    /* WEEK */

    .week-card {
        min-height: 160px;
    }


    /* SERMON */

    .sermon-image {
        height: 330px;
    }


    .featured-sermon-media {
        height: 340px;
    }


    .sermon-title {
        font-size: 1.7rem;
    }


    /* NEW HERE */

    .new-here-section {
        padding-bottom: 70px;
    }


    .new-here-box {
        padding:
            40px 26px;
    }


    /* SECTION TITLE */

    .section-title-row {
        align-items: flex-start;

        flex-direction: column;
    }


    .desktop-view-link {
        margin:
            -8px 0 10px;
    }


    /* HOMEPAGE GALLERY */

    .gallery-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        grid-template-rows:
            200px 200px 200px;
    }


    .gallery-large {
        grid-column:
            span 2;

        grid-row:
            span 1;
    }


    /* INNER HERO */

    .inner-hero {
        min-height: 360px;
    }


    .inner-hero-content {
        padding:
            50px 0;
    }


    .inner-hero h1 {
        font-size:
            clamp(2.6rem, 12vw, 3.4rem);
    }


    .inner-hero p {
        font-size: 0.95rem;
    }


    /* ABOUT */

    .about-page-image {
        height: 400px;
    }


    /* LEADERSHIP */

    .leader-image {
        height: 330px;
    }


    .featured-leader
    .leader-image {
        height: 380px;
    }


    /* EVENTS */

    .featured-event-image {
        min-height: 330px;
    }


    .featured-event-content {
        padding:
            35px 26px;
    }


    .weekly-meeting-item {
        align-items: flex-start;
    }


    /* YOUTUBE */

    .youtube-section {
        text-align: left;
    }


    .youtube-btn {
        margin-top: 25px;
    }


    /* GALLERY PAGE */

    .gallery-page-grid {
        grid-template-columns:
            1fr;

        grid-auto-rows: 270px;
    }


    .gallery-page-large,
    .gallery-page-wide {
        grid-column:
            span 1;

        grid-row:
            span 1;
    }


    .gallery-page-overlay > i {
        opacity: 1;

        width: 38px;
        height: 38px;
    }


    .church-life-image {
        height: 250px;
    }


    /* SCRIPTURE */

    .scripture-section {
        min-height: 420px;
    }


    /* CONTACT */

    .contact-info-section {
        padding:
            0 12px;
    }


    .contact-info-card {
        padding:
            30px 24px;
    }


    .visit-main-image {
        height: 400px;
    }


    .map-section {
        padding:
            70px 0;
    }


    .map-wrapper {
        height: 380px;
    }


    .map-bottom {
        flex-direction: column;

        align-items: stretch;
    }


    .map-bottom
    .outline-dark-btn {
        width: 100%;
    }


    .contact-message-section {
        padding-bottom: 70px;
    }


    .contact-message-box {
        padding:
            38px 25px;
    }


    .final-visit-cta {
        min-height: 450px;
    }


    /* CTA */

    .contact-cta-buttons {
        width: 100%;

        flex-direction: column;
    }


    .cta-white-btn,
    .cta-outline-btn {
        width: 100%;
    }


    /* FOOTER */

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;
    }

}


/* =========================================================
   33. VERY SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    :root {
        --navbar-height: 74px;
        --section-padding: 62px;
    }


    .container {
        padding-left: 16px;
        padding-right: 16px;
    }


    .main-navbar .container {
        padding-left: 15px;
        padding-right: 15px;
    }


    /* BRAND */

    .church-brand {
        gap: 8px;
    }


    .brand-logo {
        width: 39px;
        height: 39px;
    }


    .brand-main {
        font-size: 0.71rem;

        letter-spacing: 0.4px;
    }


    .brand-sub {
        font-size: 0.52rem;

        letter-spacing: 1.25px;

        margin-top: 5px;
    }


    /* MOBILE MENU */

    .navbar-collapse
    .navbar-nav {
        padding:
            0 16px;
    }


    /* HERO */

    .hero-content h1 {
        font-size:
            clamp(2.65rem, 14vw, 3.35rem);
    }


    .hero-eyebrow {
        font-size: 0.69rem;

        letter-spacing: 1.1px;
    }


    .sunday-theme {
        font-size: 2rem;
    }


    .sunday-card {
        border-radius: 20px;
    }


    /* SERVICES */

    .service-item {
        padding-left: 5px;
        padding-right: 5px;
    }


    /* WELCOME */

    .welcome-main-image {
        height: 370px;
    }


    .welcome-small-image {
        width: 135px;
        height: 130px;
    }


    /* WEEK */

    .week-day {
        width: 72px;
    }


    .week-day strong {
        font-size: 1.8rem;
    }


    .week-info {
        padding:
            20px 14px;
    }


    .week-info h3 {
        font-size: 1.12rem;
    }


    /* INNER HERO */

    .inner-hero {
        min-height: 330px;
    }


    .inner-hero-content {
        padding:
            45px 0;
    }


    .inner-hero h1 {
        font-size:
            clamp(2.35rem, 12vw, 2.9rem);

        line-height: 1.05;
    }


    /* ABOUT */

    .about-page-image {
        height: 350px;
    }


    .value-card {
        padding: 27px;
    }


    /* LEADERSHIP */

    .leader-image {
        height: 300px;
    }


    .featured-leader
    .leader-image {
        height: 330px;
    }


    /* MINISTRY */

    .ministry-detail-image {
        height: 230px;
    }


    /* SERMON */

    .featured-sermon-media {
        height: 290px;
    }


    .sermon-card-image {
        height: 220px;
    }


    .sermon-play {
        width: 62px;
        height: 62px;

        font-size: 1.65rem;
    }


    /* EVENT */

    .featured-event-image {
        min-height: 290px;
    }


    .featured-event-content {
        padding:
            30px 20px;
    }


    .featured-event-date {
        left: 16px;
        bottom: 16px;

        width: 68px;
        height: 75px;
    }


    /* HOMEPAGE GALLERY */

    .gallery-grid {
        grid-template-columns:
            1fr;

        grid-template-rows:
            none;
    }


    .gallery-large {
        grid-column:
            span 1;
    }


    .gallery-item {
        height: 240px;
    }


    /* GALLERY PAGE */

    .gallery-page-grid {
        grid-auto-rows: 240px;
    }


    .gallery-page-overlay {
        padding: 18px;
    }


    .gallery-page-overlay h3 {
        font-size: 1.08rem;
    }


    .church-life-image {
        height: 240px;
    }


    .church-life-content {
        padding: 21px;
    }


    /* CONTACT */

    .contact-info-section {
        margin-top: -25px;
    }


    .visit-main-image {
        height: 350px;
    }


    .visit-image-badge {
        left: 15px;
        right: 15px;
        bottom: 15px;

        max-width: none;

        padding:
            14px 16px;
    }


    .visit-list-item {
        gap: 13px;
    }


    .map-wrapper {
        height: 320px;
    }


    .map-bottom > div {
        align-items: flex-start;
    }


    .contact-message-box {
        padding:
            32px 20px;
    }


    .final-visit-content h2 {
        font-size:
            clamp(2.5rem, 12vw, 3rem);
    }


    .final-visit-buttons {
        flex-direction: column;
    }


    .final-visit-buttons
    .primary-btn,
    .final-visit-buttons
    .secondary-btn {
        width: 100%;
    }


    /* FLOATING BUTTONS */

    .whatsapp-button,
    .back-to-top {
        right: 15px;

        width: 47px;
        height: 47px;
    }


    .back-to-top {
        bottom: 78px;
    }


    .whatsapp-button {
        bottom: 18px;
    }

}


/* =========================================================
   34. EXTRA SMALL DEVICES
========================================================= */

@media (max-width: 360px) {

    .brand-logo {
        width: 36px;
        height: 36px;
    }


    .brand-main {
        font-size: 0.64rem;
    }


    .brand-sub {
        font-size: 0.46rem;

        letter-spacing: 1px;
    }


    .navbar-toggler {
        padding: 2px;
    }


    .hero-content h1 {
        font-size: 2.55rem;
    }


    .inner-hero h1 {
        font-size: 2.25rem;
    }


    .sunday-card {
        padding:
            24px 18px;
    }


    .section-heading h2 {
        font-size: 2rem;
    }


    .week-day {
        width: 65px;
    }


    .week-info {
        padding:
            18px 12px;
    }


    .contact-info-card {
        padding:
            26px 18px;
    }


    .church-life-content {
        padding:
            19px;
    }

}

.brand-logo {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid rgba(18, 59, 109, 0.12);

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.08);
}

.brand-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    border-radius: 50%;
}
/* =========================================================
   GALLERY ALBUM SYSTEM
========================================================= */

.album-section {
    background: #f8fafc;
}


/* =========================================================
   ALBUM FILTER
========================================================= */

.album-filter {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin: 42px 0 45px;
}


.album-filter-btn {

    padding: 10px 18px;

    border: 1px solid #dfe6ed;

    border-radius: 50px;

    background: #ffffff;

    color: #536578;

    font-family: "DM Sans", sans-serif;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.3s ease;
}


.album-filter-btn:hover {

    border-color: #c99a3d;

    color: #a97c27;
}


.album-filter-btn.active {

    border-color: #082b4f;

    background: #082b4f;

    color: #ffffff;
}


/* =========================================================
   ALBUM CARDS
========================================================= */

.album-card {

    height: 100%;

    overflow: hidden;

    border: 1px solid #e4e9ef;

    background: #ffffff;

    box-shadow:
        0 10px 30px
        rgba(4, 27, 51, 0.06);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.album-card:hover {

    transform: translateY(-7px);

    box-shadow:
        0 22px 55px
        rgba(4, 27, 51, 0.14);
}


/* COVER */

.album-cover {

    position: relative;

    width: 100%;

    height: 310px;

    display: block;

    overflow: hidden;

    padding: 0;

    border: 0;

    background: #082b4f;

    cursor: pointer;
}


.album-cover img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.55s ease;
}


.album-card:hover
.album-cover img {

    transform: scale(1.06);
}


.album-cover-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(3, 20, 38, 0.02) 30%,
            rgba(3, 20, 38, 0.72) 100%
        );
}


/* PHOTO COUNT */

.album-photo-count {

    position: absolute;

    left: 18px;

    bottom: 18px;

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 12px;

    border: 1px solid
        rgba(255, 255, 255, 0.18);

    border-radius: 50px;

    background:
        rgba(3, 20, 38, 0.75);

    color: #ffffff;

    backdrop-filter: blur(8px);

    font-size: 10px;

    font-weight: 700;
}


.album-photo-count i {

    color: #e4b85e;

    font-size: 13px;
}


/* OPEN ICON */

.album-open-icon {

    position: absolute;

    top: 18px;

    right: 18px;

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    color: #082b4f;

    box-shadow:
        0 8px 22px
        rgba(0, 0, 0, 0.15);

    transform:
        translateY(-5px);

    opacity: 0;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


.album-card:hover
.album-open-icon {

    transform: translateY(0);

    opacity: 1;
}


/* CONTENT */

.album-card-content {

    padding: 25px 24px 27px;
}


.album-category {

    display: inline-block;

    margin-bottom: 7px;

    color: #a97c27;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.6px;

    text-transform: uppercase;
}


.album-card-content h3 {

    margin-bottom: 10px;

    color: #082b4f;

    font-family:
        "Playfair Display",
        serif;

    font-size: 27px;

    font-weight: 700;
}


.album-card-content p {

    min-height: 64px;

    margin-bottom: 20px;

    color: #647386;

    font-size: 12px;

    line-height: 1.75;
}


/* VIEW BUTTON */

.album-view-btn {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #082b4f;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 12px;

    font-weight: 800;

    cursor: pointer;
}


.album-view-btn i {

    transition:
        transform 0.3s ease;
}


.album-view-btn:hover {

    color: #a97c27;
}


.album-view-btn:hover i {

    transform:
        translateX(4px);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.album-empty {

    display: none;

    max-width: 500px;

    margin: 60px auto 0;

    text-align: center;
}


.album-empty.show {
    display: block;
}


.album-empty-icon {

    width: 70px;

    height: 70px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 18px;

    border-radius: 50%;

    background: #f5e6c5;

    color: #a97c27;

    font-size: 27px;
}


.album-empty h3 {

    margin-bottom: 7px;

    color: #082b4f;

    font-size: 26px;
}


.album-empty p {

    color: #647386;

    font-size: 13px;
}


/* =========================================================
   ALBUM MODAL
========================================================= */

.album-modal .modal-dialog {

    width:
        calc(100% - 40px);

    max-width: 1180px;
}


.album-modal .modal-content {

    overflow: hidden;

    border: 0;

    border-radius: 8px;

    background: #f8fafc;

    box-shadow:
        0 35px 100px
        rgba(0, 0, 0, 0.28);
}


/* HEADER */

.album-modal-header {

    align-items: flex-start;

    padding: 27px 30px;

    border: 0;

    background:
        linear-gradient(
            135deg,
            #082b4f,
            #041b33
        );

    color: #ffffff;
}


.album-modal-category {

    display: block;

    margin-bottom: 5px;

    color: #e4b85e;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}


.album-modal-header
.modal-title {

    margin: 0;

    color: #ffffff;

    font-family:
        "Playfair Display",
        serif;

    font-size: 32px;

    font-weight: 700;
}


.album-modal-meta {

    display: flex;

    align-items: center;

    gap: 9px;

    margin-top: 7px;

    color:
        rgba(255, 255, 255, 0.58);

    font-size: 10px;
}


.album-meta-dot {

    width: 4px;

    height: 4px;

    border-radius: 50%;

    background: #c99a3d;
}


.album-modal-header
.btn-close {

    margin-top: 3px;

    box-shadow: none;
}


/* BODY */

.album-modal-body {

    padding: 30px;
}


.album-modal-description {

    max-width: 700px;

    margin-bottom: 25px;

    color: #647386;

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   ALBUM PHOTOS
========================================================= */

.album-photo-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;
}


.album-photo {

    position: relative;

    height: 260px;

    overflow: hidden;

    padding: 0;

    border: 0;

    background: #082b4f;

    cursor: pointer;
}


.album-photo img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.45s ease;
}


.album-photo-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(3, 20, 38, 0.5);

    color: #ffffff;

    opacity: 0;

    font-size: 24px;

    transition:
        opacity 0.3s ease;
}


.album-photo:hover img {

    transform: scale(1.05);
}


.album-photo:hover
.album-photo-overlay {

    opacity: 1;
}


/* =========================================================
   FULLSCREEN PHOTO VIEWER
========================================================= */

.photo-viewer {

    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 50px 90px;

    background:
        rgba(2, 11, 21, 0.97);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


.photo-viewer.show {

    opacity: 1;

    visibility: visible;
}


body.photo-viewer-open {

    overflow: hidden;
}


/* IMAGE AREA */

.photo-viewer-content {

    width: 100%;

    max-width: 1250px;

    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;
}


.photo-viewer-content img {

    max-width: 100%;

    max-height:
        calc(100vh - 170px);

    width: auto;

    height: auto;

    object-fit: contain;

    box-shadow:
        0 25px 70px
        rgba(0, 0, 0, 0.35);
}


/* CLOSE */

.photo-viewer-close {

    position: absolute;

    top: 22px;

    right: 25px;

    z-index: 3;

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid
        rgba(255, 255, 255, 0.2);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.08);

    color: #ffffff;

    cursor: pointer;

    font-size: 18px;
}


.photo-viewer-close:hover {

    background: #c99a3d;

    border-color: #c99a3d;
}


/* NAVIGATION */

.photo-viewer-nav {

    position: absolute;

    top: 50%;

    z-index: 3;

    width: 50px;

    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    transform:
        translateY(-50%);

    border: 1px solid
        rgba(255, 255, 255, 0.2);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.08);

    color: #ffffff;

    cursor: pointer;

    font-size: 20px;
}


.photo-viewer-nav:hover {

    border-color: #c99a3d;

    background: #c99a3d;
}


.photo-viewer-prev {

    left: 25px;
}


.photo-viewer-next {

    right: 25px;
}


/* BOTTOM INFO */

.photo-viewer-bottom {

    width: 100%;

    max-width: 900px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-top: 18px;

    color: #ffffff;
}


.photo-viewer-album {

    display: block;

    margin-bottom: 3px;

    color: #c99a3d;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.photo-viewer-bottom h3 {

    margin: 0;

    color: #ffffff;

    font-family:
        "Playfair Display",
        serif;

    font-size: 20px;
}


.photo-viewer-counter {

    flex-shrink: 0;

    color:
        rgba(255, 255, 255, 0.65);

    font-size: 11px;
}


/* =========================================================
   GALLERY VIDEO SECTION
========================================================= */

.gallery-video-section {

    background: #ffffff;
}


.gallery-video-box {

    padding: 55px;

    background:
        linear-gradient(
            135deg,
            #082b4f,
            #041b33
        );

    box-shadow:
        0 20px 50px
        rgba(4, 27, 51, 0.16);
}


.gallery-video-small {

    color: #c99a3d;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.8px;
}


.gallery-video-box h2 {

    margin: 8px 0 12px;

    color: #ffffff;

    font-family:
        "Playfair Display",
        serif;

    font-size: 40px;
}


.gallery-video-box p {

    max-width: 650px;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.65);

    font-size: 13px;

    line-height: 1.8;
}


.gallery-video-action {

    display: flex;

    justify-content: flex-end;
}


.gallery-youtube-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding: 13px 20px;

    border-radius: 3px;

    background: #c99a3d;

    color: #ffffff;

    font-size: 12px;

    font-weight: 700;
}


.gallery-youtube-btn:hover {

    background: #ffffff;

    color: #082b4f;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .album-cover {
        height: 280px;
    }


    .album-photo-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .album-photo {
        height: 240px;
    }


    .gallery-video-action {

        justify-content: flex-start;
    }


    .photo-viewer {

        padding:
            55px 70px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .album-filter {

        justify-content:
            flex-start;

        flex-wrap: nowrap;

        overflow-x: auto;

        margin:
            32px -12px 35px;

        padding:
            0 12px 8px;

        scrollbar-width: none;
    }


    .album-filter::-webkit-scrollbar {
        display: none;
    }


    .album-filter-btn {

        flex-shrink: 0;
    }


    .album-cover {
        height: 270px;
    }


    .album-open-icon {

        transform: none;

        opacity: 1;
    }


    .album-card-content p {

        min-height: auto;
    }


    /* MODAL */

    .album-modal .modal-dialog {

        width:
            calc(100% - 20px);

        margin:
            10px auto;
    }


    .album-modal-header {

        padding:
            22px 20px;
    }


    .album-modal-header
    .modal-title {

        font-size: 27px;
    }


    .album-modal-body {

        padding:
            20px 15px;
    }


    .album-photo-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 7px;
    }


    .album-photo {

        height: 175px;
    }


    .album-photo-overlay {

        display: none;
    }


    /* VIDEO */

    .gallery-video-box {

        padding:
            40px 25px;
    }


    .gallery-video-box h2 {

        font-size: 34px;
    }


    .gallery-youtube-btn {

        width: 100%;
    }


    /* PHOTO VIEWER */

    .photo-viewer {

        padding:
            65px 15px 90px;
    }


    .photo-viewer-content img {

        max-height:
            calc(100vh - 190px);
    }


    .photo-viewer-nav {

        top: auto;

        bottom: 22px;

        width: 44px;

        height: 44px;

        transform: none;
    }


    .photo-viewer-prev {

        left: 20px;
    }


    .photo-viewer-next {

        right: 20px;
    }


    .photo-viewer-close {

        top: 15px;

        right: 15px;

        width: 42px;

        height: 42px;
    }


    .photo-viewer-bottom {

        position: absolute;

        left: 75px;

        right: 75px;

        bottom: 23px;

        width: auto;

        align-items: center;

        justify-content: center;

        margin: 0;

        text-align: center;
    }


    .photo-viewer-bottom > div {

        min-width: 0;
    }


    .photo-viewer-bottom h3 {

        overflow: hidden;

        font-size: 13px;

        text-overflow: ellipsis;

        white-space: nowrap;
    }


    .photo-viewer-album {

        font-size: 7px;
    }


    .photo-viewer-counter {

        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .album-cover {

        height: 245px;
    }


    .album-card-content {

        padding:
            22px 19px 24px;
    }


    .album-card-content h3 {

        font-size: 25px;
    }


    .album-photo {

        height: 145px;
    }


    .gallery-video-box {

        padding:
            35px 20px;
    }


    .gallery-video-box h2 {

        font-size: 30px;
    }

}
/* =========================================================
   HOMEPAGE HERO - CLEARER BACKGROUND IMAGE
   Paste at the bottom of style.css
========================================================= */

.hero-section {
    background:
        linear-gradient(
            90deg,
            rgba(8, 38, 74, 0.68) 0%,
            rgba(8, 38, 74, 0.48) 42%,
            rgba(8, 38, 74, 0.18) 72%,
            rgba(8, 38, 74, 0.06) 100%
        ),
        url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTDDzz80H3Xpdof5ew4tF5hJQ-Db5HisQSHxOpxIAsv7g&s=10");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* Reduce the second overlay */
.hero-overlay {
    background:
        linear-gradient(
            to bottom,
            rgba(8, 38, 74, 0.03) 0%,
            rgba(8, 38, 74, 0.05) 65%,
            rgba(8, 38, 74, 0.20) 100%
        );
}


/* Keep hero text readable */
.hero-content {
    position: relative;
    z-index: 2;
}


.hero-content h1,
.hero-description,
.hero-eyebrow,
.hero-quick-info {
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.30);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .hero-section {
        background:
            linear-gradient(
                90deg,
                rgba(8, 38, 74, 0.62) 0%,
                rgba(8, 38, 74, 0.40) 55%,
                rgba(8, 38, 74, 0.15) 100%
            ),
            url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTDDzz80H3Xpdof5ew4tF5hJQ-Db5HisQSHxOpxIAsv7g&s=10");

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }


    .hero-overlay {
        background:
            linear-gradient(
                to bottom,
                rgba(8, 38, 74, 0.05),
                rgba(8, 38, 74, 0.16)
            );
    }

}
/* =========================================================
   GALLERY PAGE — FINAL COLOR OVERRIDE
   CHURCH OF CHRIST - MADINA CENTRAL

   Paste this at the VERY BOTTOM of style.css
========================================================= */


/* =========================================================
   1. GALLERY PAGE HERO
========================================================= */

.gallery-page-hero {
    background-image:
        url("https://images.unsplash.com/photo-1520857014576-2c4f4c972b57?auto=format&fit=crop&w=2000&q=90") !important;

    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;

    color: var(--white) !important;
}


.gallery-page-hero .inner-hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(8, 38, 74, 0.88) 0%,
            rgba(18, 59, 109, 0.70) 48%,
            rgba(18, 59, 109, 0.30) 100%
        ) !important;
}


.gallery-page-hero .inner-tag {
    color: var(--secondary) !important;
}


.gallery-page-hero h1 {
    color: var(--white) !important;
}


.gallery-page-hero h1 span {
    color: var(--secondary) !important;
}


.gallery-page-hero p {
    color: rgba(255, 255, 255, 0.84) !important;
}


.gallery-page-hero .breadcrumb-wrap a {
    color: var(--secondary) !important;
}


.gallery-page-hero .breadcrumb-wrap a:hover {
    color: var(--secondary-light) !important;
}


.gallery-page-hero .breadcrumb-wrap i,
.gallery-page-hero .breadcrumb-wrap span {
    color: rgba(255, 255, 255, 0.72) !important;
}


/* =========================================================
   2. MAIN GALLERY SECTION
========================================================= */

.album-section {
    background: var(--cream) !important;
}


.album-section .section-tag {
    color: var(--secondary-dark) !important;
}


.album-section .section-heading h2 {
    color: var(--dark) !important;
}


.album-section .section-heading h2 span {
    color: var(--primary) !important;
}


.album-section .section-heading p {
    color: var(--text) !important;
}


/* =========================================================
   3. ALBUM FILTER
========================================================= */

.album-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 10px;

    margin: 35px 0 45px;
}


.album-filter-btn {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 20px;

    border:
        1px solid var(--border) !important;

    border-radius: 50px;

    background:
        var(--white) !important;

    color:
        var(--primary) !important;

    font-size: 0.82rem;
    font-weight: 700;

    cursor: pointer;

    box-shadow: none !important;

    transition: all var(--transition);
}


.album-filter-btn:hover {
    background:
        var(--primary-light) !important;

    border-color:
        var(--primary) !important;

    color:
        var(--primary) !important;

    transform: translateY(-2px);
}


.album-filter-btn.active {
    background:
        var(--primary) !important;

    border-color:
        var(--primary) !important;

    color:
        var(--white) !important;

    box-shadow:
        0 8px 22px rgba(18, 59, 109, 0.18) !important;
}


/* =========================================================
   4. ALBUM CARDS
========================================================= */

.album-card {
    position: relative;

    width: 100%;
    height: 100%;

    background:
        var(--white) !important;

    border:
        1px solid var(--border) !important;

    border-radius:
        var(--radius-md) !important;

    overflow: hidden;

    box-shadow:
        var(--shadow-sm) !important;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}


.album-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(179, 33, 45, 0.50) !important;

    box-shadow:
        var(--shadow-md) !important;
}


/* =========================================================
   5. ALBUM COVER
========================================================= */

.album-cover {
    position: relative;

    width: 100%;
    height: 285px;

    display: block;

    padding: 0;

    border: 0 !important;

    background:
        var(--primary-light) !important;

    overflow: hidden;

    cursor: pointer;
}


.album-cover img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}


.album-card:hover .album-cover img {
    transform: scale(1.06);
}


/* GREEN IMAGE OVERLAY */

.album-cover-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(8, 38, 74, 0.72) 0%,
            rgba(18, 59, 109, 0.18) 42%,
            transparent 75%
        ) !important;

    pointer-events: none;
}


/* =========================================================
   6. PHOTO COUNT
========================================================= */

.album-photo-count {
    position: absolute;

    z-index: 3;

    left: 18px;
    bottom: 18px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 8px 13px;

    border-radius: 50px;

    background:
        rgba(255, 255, 255, 0.95) !important;

    color:
        var(--primary) !important;

    font-size: 0.74rem;
    font-weight: 800;

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.12) !important;
}


.album-photo-count i {
    color:
        var(--secondary-dark) !important;
}


/* =========================================================
   7. OPEN ALBUM ICON
========================================================= */

.album-open-icon {
    position: absolute;

    z-index: 3;

    top: 18px;
    right: 18px;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        var(--secondary) !important;

    color:
        var(--primary-dark) !important;

    font-size: 1.1rem;

    opacity: 0;

    transform: translateY(-7px);

    transition: all var(--transition);
}


.album-card:hover .album-open-icon {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   8. ALBUM CONTENT
========================================================= */

.album-card-content {
    padding: 25px;

    background:
        var(--white) !important;
}


.album-category {
    display: block;

    color:
        var(--secondary-dark) !important;

    font-size: 0.67rem;
    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    margin-bottom: 8px;
}


.album-card-content h3 {
    color:
        var(--primary) !important;

    font-size: 1.55rem;

    margin-bottom: 10px;
}


.album-card-content p {
    color:
        var(--text) !important;

    font-size: 0.86rem;

    line-height: 1.75;

    margin-bottom: 20px;
}


/* =========================================================
   9. VIEW ALBUM BUTTON
========================================================= */

.album-view-btn {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 0;

    border: 0 !important;

    background:
        transparent !important;

    color:
        var(--primary) !important;

    font-size: 0.82rem;
    font-weight: 800;

    cursor: pointer;

    transition:
        color var(--transition),
        gap var(--transition);
}


.album-view-btn i {
    color:
        var(--secondary-dark) !important;
}


.album-view-btn:hover {
    color:
        var(--secondary-dark) !important;

    gap: 12px;
}


/* =========================================================
   10. EMPTY ALBUM MESSAGE
========================================================= */

.album-empty {
    display: none;

    padding: 60px 20px;

    text-align: center;

    background:
        var(--white) !important;

    border:
        1px solid var(--border) !important;

    border-radius:
        var(--radius-md);

    box-shadow:
        var(--shadow-sm);
}


.album-empty.show {
    display: block;
}


.album-empty-icon {
    width: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin:
        0 auto 18px;

    border-radius: 50%;

    background:
        var(--primary-light) !important;

    color:
        var(--primary) !important;

    font-size: 1.7rem;
}


.album-empty h3 {
    color:
        var(--primary) !important;

    margin-bottom: 8px;
}


.album-empty p {
    color:
        var(--text) !important;

    margin: 0;
}


/* =========================================================
   11. SCRIPTURE SECTION
========================================================= */

.gallery-scripture {
    position: relative;

    background:
        linear-gradient(
            rgba(8, 38, 74, 0.88),
            rgba(18, 59, 109, 0.88)
        ) !important;

    color:
        var(--white) !important;
}


.gallery-scripture .scripture-overlay {
    background:
        rgba(8, 38, 74, 0.15) !important;
}


.gallery-scripture .scripture-content {
    position: relative;

    z-index: 2;
}


.gallery-scripture .scripture-quote {
    color:
        var(--secondary) !important;
}


.gallery-scripture .scripture-content p {
    color:
        var(--white) !important;
}


.gallery-scripture .scripture-content span {
    color:
        var(--secondary) !important;
}


/* =========================================================
   12. VIDEO SECTION
========================================================= */

.gallery-video-section {
    background:
        var(--white) !important;
}


.gallery-video-box {
    position: relative;

    padding: 55px 60px;

    border-radius:
        var(--radius-lg);

    background:
        linear-gradient(
            135deg,
            var(--primary-dark) 0%,
            var(--primary) 100%
        ) !important;

    overflow: hidden;

    box-shadow:
        var(--shadow-md) !important;
}


.gallery-video-box::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -100px;
    top: -110px;

    border:
        50px solid rgba(179, 33, 45, 0.10);

    border-radius: 50%;
}


.gallery-video-small {
    display: block;

    color:
        var(--secondary) !important;

    font-size: 0.69rem;
    font-weight: 800;

    letter-spacing: 1.7px;

    text-transform: uppercase;

    margin-bottom: 9px;
}


.gallery-video-box h2 {
    color:
        var(--white) !important;

    font-size:
        clamp(2rem, 4vw, 3rem);

    margin-bottom: 12px;
}


.gallery-video-box p {
    max-width: 680px;

    color:
        rgba(255, 255, 255, 0.76) !important;

    line-height: 1.8;

    margin: 0;
}


.gallery-video-action {
    position: relative;

    z-index: 2;

    display: flex;

    justify-content: flex-end;
}


/* YOUTUBE BUTTON */

.gallery-youtube-btn {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 12px 24px;

    border:
        1px solid var(--secondary) !important;

    border-radius: 50px;

    background:
        var(--secondary) !important;

    color:
        var(--primary-dark) !important;

    font-size: 0.86rem;
    font-weight: 800;

    transition:
        all var(--transition);
}


.gallery-youtube-btn i {
    color:
        var(--primary-dark) !important;
}


.gallery-youtube-btn:hover {
    transform:
        translateY(-3px);

    background:
        var(--secondary-light) !important;

    border-color:
        var(--secondary-light) !important;

    color:
        var(--primary-dark) !important;
}


/* =========================================================
   13. ALBUM MODAL
========================================================= */

.album-modal .modal-content {
    border: 0 !important;

    border-radius:
        var(--radius-lg);

    background:
        var(--white) !important;

    overflow: hidden;

    box-shadow:
        0 30px 80px rgba(8, 38, 74, 0.28) !important;
}


.album-modal-header {
    position: relative;

    padding: 30px 35px;

    border: 0 !important;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        ) !important;

    color:
        var(--white) !important;
}


.album-modal-category {
    display: block;

    color:
        var(--secondary) !important;

    font-size: 0.69rem;
    font-weight: 800;

    letter-spacing: 1.6px;

    text-transform: uppercase;
}


.album-modal-header h2 {
    color:
        var(--white) !important;

    font-size:
        clamp(1.8rem, 4vw, 2.6rem);

    margin:
        5px 0 7px;
}


.album-modal-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 10px;

    color:
        rgba(255, 255, 255, 0.72) !important;

    font-size: 0.78rem;
}


.album-meta-dot {
    width: 4px;
    height: 4px;

    border-radius: 50%;

    background:
        var(--secondary) !important;
}


.album-modal-header .btn-close {
    filter:
        invert(1);

    opacity: 0.9;
}


/* =========================================================
   14. MODAL BODY
========================================================= */

.album-modal-body {
    padding:
        30px 35px 38px;

    background:
        var(--cream) !important;
}


.album-modal-description {
    max-width: 760px;

    color:
        var(--text) !important;

    line-height: 1.8;

    margin-bottom: 25px;
}


/* =========================================================
   15. MODAL PHOTO GRID
========================================================= */

.album-photo-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;
}


.album-photo {
    position: relative;

    height: 250px;

    padding: 0;

    border:
        2px solid transparent !important;

    border-radius: 15px;

    background:
        var(--primary-light) !important;

    overflow: hidden;

    cursor: pointer;

    transition:
        border-color var(--transition),
        transform var(--transition);
}


.album-photo:hover {
    border-color:
        var(--secondary) !important;

    transform:
        translateY(-3px);
}


.album-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}


.album-photo:hover img {
    transform:
        scale(1.06);
}


.album-photo-overlay {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        rgba(8, 38, 74, 0.62) !important;

    color:
        var(--white) !important;

    font-size: 1.7rem;

    opacity: 0;

    transition:
        opacity var(--transition);
}


.album-photo:hover .album-photo-overlay {
    opacity: 1;
}


.album-photo-overlay i {
    color:
        var(--secondary) !important;
}


/* =========================================================
   16. FULLSCREEN PHOTO VIEWER
========================================================= */

.photo-viewer {
    position: fixed;

    z-index: 2000;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background:
        rgba(8, 38, 74, 0.97) !important;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity var(--transition),
        visibility var(--transition);
}


.photo-viewer.show {
    opacity: 1;
    visibility: visible;
}


body.photo-viewer-open {
    overflow: hidden;
}


.photo-viewer-content {
    position: relative;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}


.photo-viewer-content img {
    max-width: 92%;
    max-height: 82vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border:
        2px solid rgba(179, 33, 45, 0.30);

    border-radius: 12px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.42);
}


/* =========================================================
   17. VIEWER BUTTONS
========================================================= */

.photo-viewer-close,
.photo-viewer-nav {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(255, 255, 255, 0.15) !important;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.10) !important;

    color:
        var(--white) !important;

    cursor: pointer;

    transition:
        all var(--transition);
}


.photo-viewer-close:hover,
.photo-viewer-nav:hover {
    background:
        var(--secondary) !important;

    border-color:
        var(--secondary) !important;

    color:
        var(--primary-dark) !important;
}


.photo-viewer-close {
    position: absolute;

    z-index: 10;

    top: 25px;
    right: 25px;

    font-size: 1.35rem;
}


.photo-viewer-nav {
    position: absolute;

    z-index: 10;

    top: 50%;

    font-size: 1.35rem;

    transform:
        translateY(-50%);
}


.photo-viewer-prev {
    left: 25px;
}


.photo-viewer-next {
    right: 25px;
}


/* =========================================================
   18. VIEWER CAPTION
========================================================= */

.photo-viewer-bottom {
    position: absolute;

    left: 50%;
    bottom: 20px;

    width:
        min(700px, 85%);

    text-align: center;

    transform:
        translateX(-50%);
}


.photo-viewer-album {
    display: block;

    color:
        var(--secondary) !important;

    font-size: 0.69rem;
    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    margin-bottom: 5px;
}


.photo-viewer-caption,
.photo-viewer-bottom h3 {
    color:
        var(--white) !important;

    font-family:
        var(--heading-font);

    font-size: 1.15rem;

    margin-bottom: 5px;
}


.photo-viewer-counter {
    color:
        rgba(255, 255, 255, 0.62) !important;

    font-size: 0.74rem;
}


/* =========================================================
   19. GALLERY CTA
========================================================= */

.gallery-page-hero ~ .contact-cta,
.album-section ~ .contact-cta {
    background:
        var(--primary) !important;
}


.contact-cta .contact-small {
    color:
        var(--secondary) !important;
}


.contact-cta h2 {
    color:
        var(--white) !important;
}


.contact-cta p {
    color:
        rgba(255, 255, 255, 0.78) !important;
}


.contact-cta .cta-white-btn {
    background:
        var(--white) !important;

    border-color:
        var(--white) !important;

    color:
        var(--primary) !important;
}


.contact-cta .cta-white-btn:hover {
    background:
        var(--secondary) !important;

    border-color:
        var(--secondary) !important;

    color:
        var(--primary-dark) !important;
}


/* =========================================================
   20. MOBILE GALLERY
========================================================= */

@media (max-width: 991.98px) {

    .gallery-video-box {
        padding:
            45px 35px;
    }


    .gallery-video-action {
        justify-content:
            flex-start;
    }


    .album-photo-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 767.98px) {

    .gallery-page-hero .inner-hero-overlay {
        background:
            linear-gradient(
                to bottom,
                rgba(8, 38, 74, 0.74) 0%,
                rgba(18, 59, 109, 0.54) 55%,
                rgba(8, 38, 74, 0.68) 100%
            ) !important;
    }


    .album-filter {
        justify-content:
            flex-start;

        flex-wrap:
            nowrap;

        overflow-x:
            auto;

        padding-bottom:
            8px;

        margin-bottom:
            30px;

        scrollbar-width:
            none;
    }


    .album-filter::-webkit-scrollbar {
        display: none;
    }


    .album-filter-btn {
        flex:
            0 0 auto;
    }


    .album-cover {
        height:
            250px;
    }


    .album-card-content {
        padding:
            22px;
    }


    .album-modal-header {
        padding:
            25px 20px;
    }


    .album-modal-body {
        padding:
            25px 20px 30px;
    }


    .album-photo-grid {
        grid-template-columns:
            1fr;
    }


    .album-photo {
        height:
            260px;
    }


    .gallery-video-box {
        padding:
            38px 25px;
    }


    .gallery-video-action {
        justify-content:
            flex-start;
    }


    .photo-viewer {
        padding:
            15px;
    }


    .photo-viewer-content img {
        max-width:
            100%;

        max-height:
            76vh;
    }


    .photo-viewer-close {
        top:
            12px;

        right:
            12px;

        width:
            44px;

        height:
            44px;
    }


    .photo-viewer-nav {
        width:
            43px;

        height:
            43px;
    }


    .photo-viewer-prev {
        left:
            8px;
    }


    .photo-viewer-next {
        right:
            8px;
    }


    .photo-viewer-bottom {
        bottom:
            12px;
    }

}


/* =========================================================
   21. SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .album-cover {
        height:
            225px;
    }


    .album-card-content h3 {
        font-size:
            1.35rem;
    }


    .album-filter-btn {
        min-height:
            42px;

        padding:
            9px 17px;

        font-size:
            0.78rem;
    }


    .album-photo {
        height:
            230px;
    }


    .gallery-video-box {
        padding:
            32px 20px;
    }


    .gallery-youtube-btn {
        width:
            100%;
    }

}
/* =========================================================
   MINISTRIES PAGE
   CLICKABLE CARDS + FULL DETAILS MODAL
   CHURCH OF CHRIST - MADINA CENTRAL
========================================================= */


/* =========================================================
   MINISTRY CARDS
========================================================= */

.ministry-detail-card {
    position: relative;

    width: 100%;
    height: 100%;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    overflow: hidden;

    cursor: pointer;

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}


.ministry-detail-card:hover {
    transform: translateY(-8px);

    border-color: rgba(179, 33, 45, 0.55);

    box-shadow: var(--shadow-md);
}


.ministry-detail-card:focus-visible {
    outline: 3px solid rgba(179, 33, 45, 0.45);
    outline-offset: 4px;
}


/* =========================================================
   MINISTRY IMAGE
========================================================= */

.ministry-detail-image {
    position: relative;

    width: 100%;
    height: 245px;

    overflow: hidden;

    background: var(--primary-light);
}


.ministry-detail-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}


.ministry-detail-card:hover
.ministry-detail-image img {
    transform: scale(1.07);
}


/* IMAGE GREEN GRADIENT */

.ministry-detail-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(8, 38, 74, 0.58) 0%,
            rgba(18, 59, 109, 0.12) 45%,
            transparent 75%
        );

    pointer-events: none;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.ministry-detail-content {
    position: relative;

    padding: 35px 27px 28px;

    background: var(--white);
}


/* =========================================================
   MINISTRY ICON
========================================================= */

.ministry-detail-icon {
    position: absolute;

    z-index: 3;

    top: -31px;
    left: 25px;

    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 5px solid var(--white);
    border-radius: 50%;

    background: var(--secondary);

    color: var(--primary-dark);

    font-size: 1.3rem;

    box-shadow:
        0 8px 20px rgba(8, 38, 74, 0.15);

    transition:
        transform var(--transition),
        background var(--transition);
}


.ministry-detail-card:hover
.ministry-detail-icon {
    transform: translateY(-3px);

    background: var(--secondary-light);
}


/* =========================================================
   CARD TITLE
========================================================= */

.ministry-detail-content h3 {
    color: var(--primary);

    font-family: var(--heading-font);

    font-size: 1.55rem;
    font-weight: 700;

    margin: 7px 0 11px;
}


/* =========================================================
   CARD DESCRIPTION
========================================================= */

.ministry-detail-content p {
    color: var(--text);

    font-size: 0.89rem;

    line-height: 1.75;

    margin-bottom: 20px;
}


/* =========================================================
   VIEW MINISTRY
========================================================= */

.ministry-view-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--primary);

    font-size: 0.82rem;
    font-weight: 800;

    transition:
        gap var(--transition),
        color var(--transition);
}


.ministry-view-link i {
    color: var(--secondary-dark);

    transition:
        transform var(--transition);
}


.ministry-detail-card:hover
.ministry-view-link {
    gap: 12px;

    color: var(--secondary-dark);
}


.ministry-detail-card:hover
.ministry-view-link i {
    transform: translateX(3px);
}


/* =========================================================
   MINISTRY MODAL
========================================================= */

.ministry-modal .modal-dialog {
    width: calc(100% - 30px);

    max-width: 1050px;

    margin-left: auto;
    margin-right: auto;
}


.ministry-modal .modal-content {
    border: 0;

    border-radius: var(--radius-lg);

    overflow: hidden;

    background: var(--white);

    box-shadow:
        0 30px 90px rgba(8, 38, 74, 0.30);
}


/* =========================================================
   MODAL HERO
========================================================= */

.ministry-modal-hero {
    position: relative;

    width: 100%;
    min-height: 370px;

    display: flex;
    align-items: flex-end;

    background: var(--primary);

    overflow: hidden;
}


.ministry-modal-hero img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* HERO OVERLAY */

.ministry-modal-hero::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(8, 38, 74, 0.98) 0%,
            rgba(18, 59, 109, 0.74) 42%,
            rgba(18, 59, 109, 0.18) 100%
        );

    pointer-events: none;
}


/* =========================================================
   MODAL HEADING
========================================================= */

.ministry-modal-heading {
    position: relative;

    z-index: 3;

    width: 100%;

    padding: 50px 45px;
}


.ministry-modal-label {
    display: block;

    color: var(--secondary);

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 1.8px;

    text-transform: uppercase;

    margin-bottom: 9px;
}


.ministry-modal-heading h2 {
    max-width: 750px;

    color: var(--white);

    font-family: var(--heading-font);

    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;

    line-height: 1.05;

    margin: 0;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.ministry-modal-close {
    position: absolute;

    z-index: 10;

    top: 20px;
    right: 20px;

    width: 47px;
    height: 47px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.94);

    color: var(--primary);

    font-size: 1.15rem;

    cursor: pointer;

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.14);

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition);
}


.ministry-modal-close:hover {
    transform: rotate(90deg);

    background: var(--secondary);

    color: var(--primary-dark);
}


/* =========================================================
   MODAL BODY
========================================================= */

.ministry-modal-body {
    padding: 45px;

    background: var(--white);
}


.ministry-modal-body h3 {
    color: var(--primary);

    font-family: var(--heading-font);

    font-size: 1.7rem;
    font-weight: 700;

    margin-bottom: 15px;
}


.ministry-modal-body > p {
    max-width: 850px;

    color: var(--text);

    font-size: 0.96rem;

    line-height: 1.9;

    margin-bottom: 0;
}


/* =========================================================
   PURPOSE BOX
========================================================= */

.ministry-purpose {
    position: relative;

    padding: 27px 28px;

    margin: 30px 0;

    border-left: 4px solid var(--secondary);

    border-radius:
        0 var(--radius-md) var(--radius-md) 0;

    background: var(--cream);
}


.ministry-purpose span {
    display: block;

    color: var(--secondary-dark);

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 1.6px;

    text-transform: uppercase;

    margin-bottom: 9px;
}


.ministry-purpose p {
    color: var(--primary);

    font-family: var(--heading-font);

    font-size: 1.15rem;
    font-weight: 600;

    line-height: 1.75;

    margin: 0;
}


/* =========================================================
   ACTIVITIES
========================================================= */

.ministry-activities {
    margin-top: 30px;
}


.ministry-activities h3 {
    margin-bottom: 18px;
}


.ministry-activity-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}


/* INDIVIDUAL ACTIVITY */

.ministry-activity {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    min-height: 60px;

    padding: 15px 17px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: var(--cream);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}


.ministry-activity:hover {
    transform: translateY(-2px);

    border-color:
        rgba(179, 33, 45, 0.45);

    background: var(--white);
}


.ministry-activity i {
    flex-shrink: 0;

    color: var(--secondary-dark);

    font-size: 1rem;

    margin-top: 2px;
}


.ministry-activity span {
    color: var(--primary);

    font-size: 0.86rem;
    font-weight: 700;

    line-height: 1.5;
}


/* =========================================================
   WHO CAN PARTICIPATE
========================================================= */

.ministry-who {
    margin-top: 35px;

    padding: 28px;

    border:
        1px solid rgba(18, 59, 109, 0.08);

    border-radius: var(--radius-md);

    background: var(--primary-light);
}


.ministry-who-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    border-radius: 50%;

    background: var(--primary);

    color: var(--secondary);

    font-size: 1.1rem;
}


.ministry-who h4 {
    color: var(--primary);

    font-family: var(--heading-font);

    font-size: 1.3rem;
    font-weight: 700;

    margin-bottom: 9px;
}


.ministry-who p {
    color: var(--text);

    line-height: 1.8;

    margin: 0;
}


/* =========================================================
   GET INVOLVED AREA
========================================================= */

.ministry-modal-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    gap: 20px;

    margin-top: 35px;

    padding-top: 30px;

    border-top: 1px solid var(--border);
}


.ministry-modal-action-text span {
    display: block;

    color: var(--secondary-dark);

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    margin-bottom: 5px;
}


.ministry-modal-action-text strong {
    display: block;

    color: var(--primary);

    font-family: var(--heading-font);

    font-size: 1.3rem;
    font-weight: 700;
}


/* =========================================================
   CONTACT BUTTON
========================================================= */

.ministry-contact-btn {
    min-height: 51px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 12px 24px;

    border: 1px solid var(--primary);
    border-radius: 50px;

    background: var(--primary);

    color: var(--white);

    font-size: 0.84rem;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        color var(--transition);
}


.ministry-contact-btn:hover {
    transform: translateY(-3px);

    background: var(--secondary);

    border-color: var(--secondary);

    color: var(--primary-dark);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .ministry-detail-image {
        height: 230px;
    }


    .ministry-modal-hero {
        min-height: 340px;
    }


    .ministry-modal-heading {
        padding:
            45px 35px;
    }


    .ministry-modal-body {
        padding:
            38px 35px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .ministry-detail-card {
        border-radius: 16px;
    }


    .ministry-detail-image {
        height: 230px;
    }


    .ministry-detail-content {
        padding:
            34px 22px 25px;
    }


    .ministry-detail-icon {
        left: 20px;

        width: 58px;
        height: 58px;
    }


    /* MODAL */

    .ministry-modal .modal-dialog {
        width: calc(100% - 20px);

        margin:
            10px auto;
    }


    .ministry-modal .modal-content {
        border-radius: 20px;
    }


    .ministry-modal-hero {
        min-height: 300px;
    }


    .ministry-modal-heading {
        padding:
            75px 24px 32px;
    }


    .ministry-modal-heading h2 {
        font-size:
            clamp(2.2rem, 10vw, 3rem);
    }


    .ministry-modal-close {
        top: 15px;
        right: 15px;

        width: 44px;
        height: 44px;
    }


    .ministry-modal-body {
        padding:
            30px 22px;
    }


    .ministry-modal-body h3 {
        font-size: 1.5rem;
    }


    .ministry-purpose {
        padding:
            22px 20px;

        margin:
            25px 0;
    }


    .ministry-purpose p {
        font-size: 1.05rem;
    }


    /* ONE ACTIVITY PER ROW */

    .ministry-activity-list {
        grid-template-columns: 1fr;
    }


    .ministry-who {
        padding: 22px 20px;
    }


    .ministry-modal-action {
        align-items: flex-start;

        flex-direction: column;
    }


    .ministry-contact-btn {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .ministry-detail-image {
        height: 215px;
    }


    .ministry-detail-content h3 {
        font-size: 1.4rem;
    }


    .ministry-modal-hero {
        min-height: 270px;
    }


    .ministry-modal-heading {
        padding:
            70px 20px 28px;
    }


    .ministry-modal-body {
        padding:
            27px 18px;
    }


    .ministry-purpose {
        padding:
            20px 18px;
    }


    .ministry-activity {
        padding:
            14px;
    }


    .ministry-who {
        padding:
            20px 18px;
    }

}
/* =========================================================
   MINISTRY MODAL
   FIXED HEIGHT + SCROLLABLE FULL DETAILS
========================================================= */


/* DARK BACKDROP */

.ministry-modal.modal {
    padding: 15px !important;
}


.ministry-modal .modal-dialog {
    width: 100%;
    max-width: 1050px;

    height: calc(100vh - 30px);

    margin: 0 auto;

    display: flex;
    align-items: center;
}


/* MAIN POPUP */

.ministry-modal .modal-content {
    width: 100%;

    height: min(850px, calc(100vh - 30px));
    max-height: calc(100vh - 30px);

    display: flex;
    flex-direction: column;

    border: 0;
    border-radius: 24px;

    background: var(--white);

    overflow: hidden;

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   TOP IMAGE
   THIS PART STAYS VISIBLE
========================================================= */

.ministry-modal-hero {
    position: relative;

    flex: 0 0 300px;

    width: 100%;
    height: 300px;
    min-height: 300px;

    display: flex;
    align-items: flex-end;

    background: var(--primary);

    overflow: hidden;
}


.ministry-modal-hero img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.ministry-modal-hero::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(8, 38, 74, 0.98) 0%,
            rgba(18, 59, 109, 0.65) 48%,
            rgba(18, 59, 109, 0.15) 100%
        );

    pointer-events: none;
}


/* =========================================================
   TITLE
========================================================= */

.ministry-modal-heading {
    position: relative;

    z-index: 3;

    width: 100%;

    padding:
        35px 40px;
}


.ministry-modal-label {
    display: block;

    color: var(--secondary);

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 1.7px;

    text-transform: uppercase;

    margin-bottom: 7px;
}


.ministry-modal-heading h2 {
    color: var(--white);

    font-family: var(--heading-font);

    font-size:
        clamp(2.3rem, 5vw, 3.8rem);

    line-height: 1.05;

    margin: 0;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.ministry-modal-close {
    position: absolute;

    z-index: 20;

    top: 18px;
    right: 18px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.95);

    color:
        var(--primary);

    font-size: 1.15rem;

    cursor: pointer;

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.15);

    transition: 0.3s ease;
}


.ministry-modal-close:hover {
    background:
        var(--secondary);

    color:
        var(--primary-dark);

    transform:
        rotate(90deg);
}


/* =========================================================
   IMPORTANT PART
   SCROLLABLE DETAILS AREA
========================================================= */

.ministry-modal-body {
    position: relative;

    flex: 1 1 auto;

    min-height: 0;

    padding:
        40px 45px 50px;

    background:
        var(--white);

    overflow-y: auto !important;
    overflow-x: hidden !important;

    overscroll-behavior: contain;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: thin;

    scrollbar-color:
        var(--secondary)
        var(--primary-light);
}


/* CHROME / EDGE / SAFARI SCROLLBAR */

.ministry-modal-body::-webkit-scrollbar {
    width: 9px;
}


.ministry-modal-body::-webkit-scrollbar-track {
    background:
        var(--primary-light);
}


.ministry-modal-body::-webkit-scrollbar-thumb {
    background:
        var(--secondary);

    border-radius: 20px;

    border:
        2px solid var(--primary-light);
}


.ministry-modal-body::-webkit-scrollbar-thumb:hover {
    background:
        var(--secondary-dark);
}


/* =========================================================
   ABOUT
========================================================= */

.ministry-modal-body h3 {
    color:
        var(--primary);

    font-family:
        var(--heading-font);

    font-size: 1.7rem;

    margin-bottom: 15px;
}


.ministry-modal-body > p {
    color:
        var(--text);

    font-size: 0.95rem;

    line-height: 1.9;

    margin-bottom: 0;
}


/* =========================================================
   PURPOSE
========================================================= */

.ministry-purpose {
    margin:
        30px 0;

    padding:
        27px 28px;

    border-left:
        4px solid var(--secondary);

    border-radius:
        0 16px 16px 0;

    background:
        var(--cream);
}


.ministry-purpose span {
    display: block;

    color:
        var(--secondary-dark);

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    margin-bottom: 8px;
}


.ministry-purpose p {
    color:
        var(--primary);

    font-family:
        var(--heading-font);

    font-size: 1.12rem;
    font-weight: 600;

    line-height: 1.75;

    margin: 0;
}


/* =========================================================
   WHAT WE DO
========================================================= */

.ministry-activities {
    margin-top: 35px;
}


.ministry-activity-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;

    margin-top: 18px;
}


.ministry-activity {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    padding:
        16px 17px;

    border:
        1px solid var(--border);

    border-radius: 12px;

    background:
        var(--cream);
}


.ministry-activity i {
    flex-shrink: 0;

    color:
        var(--secondary-dark);

    margin-top: 2px;
}


.ministry-activity span {
    color:
        var(--primary);

    font-size: 0.86rem;
    font-weight: 700;

    line-height: 1.5;
}


/* =========================================================
   WHO CAN PARTICIPATE
========================================================= */

.ministry-who {
    margin-top: 35px;

    padding: 27px;

    border-radius:
        var(--radius-md);

    background:
        var(--primary-light);
}


.ministry-who-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 15px;

    border-radius: 50%;

    background:
        var(--primary);

    color:
        var(--secondary);
}


.ministry-who h4 {
    color:
        var(--primary);

    font-family:
        var(--heading-font);

    font-size: 1.3rem;

    margin-bottom: 8px;
}


.ministry-who p {
    color:
        var(--text);

    line-height: 1.8;

    margin: 0;
}


/* =========================================================
   GET INVOLVED
========================================================= */

.ministry-modal-action {
    display: flex;
    align-items: center;
    justify-content: space-between;

    flex-wrap: wrap;

    gap: 20px;

    margin-top: 35px;

    padding-top: 30px;

    border-top:
        1px solid var(--border);
}


.ministry-modal-action-text span {
    display: block;

    color:
        var(--secondary-dark);

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    margin-bottom: 5px;
}


.ministry-modal-action-text strong {
    display: block;

    color:
        var(--primary);

    font-family:
        var(--heading-font);

    font-size: 1.3rem;
}


.ministry-contact-btn {
    min-height: 51px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding:
        12px 24px;

    border-radius: 50px;

    background:
        var(--primary);

    color:
        var(--white);

    font-size: 0.84rem;
    font-weight: 800;

    text-decoration: none;

    transition: 0.3s ease;
}


.ministry-contact-btn:hover {
    transform:
        translateY(-3px);

    background:
        var(--secondary);

    color:
        var(--primary-dark);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .ministry-modal.modal {
        padding:
            8px !important;
    }


    .ministry-modal .modal-dialog {
        width: 100%;

        height:
            calc(100dvh - 16px);

        margin:
            0 auto;
    }


    .ministry-modal .modal-content {
        height:
            calc(100dvh - 16px);

        max-height:
            calc(100dvh - 16px);

        border-radius:
            18px;
    }


    /* SMALLER IMAGE SO DETAILS GET MORE ROOM */

    .ministry-modal-hero {
        flex:
            0 0 230px;

        height:
            230px;

        min-height:
            230px;
    }


    .ministry-modal-heading {
        padding:
            65px 22px 25px;
    }


    .ministry-modal-heading h2 {
        font-size:
            clamp(2rem, 10vw, 2.8rem);
    }


    .ministry-modal-close {
        top:
            13px;

        right:
            13px;

        width:
            43px;

        height:
            43px;
    }


    /* SCROLL AREA */

    .ministry-modal-body {
        padding:
            28px 20px 40px;

        overflow-y:
            auto !important;

        -webkit-overflow-scrolling:
            touch;
    }


    .ministry-modal-body h3 {
        font-size:
            1.45rem;
    }


    .ministry-purpose {
        padding:
            21px 19px;

        margin:
            25px 0;
    }


    .ministry-purpose p {
        font-size:
            1.03rem;
    }


    .ministry-activity-list {
        grid-template-columns:
            1fr;
    }


    .ministry-who {
        padding:
            22px 19px;
    }


    .ministry-modal-action {
        flex-direction:
            column;

        align-items:
            stretch;
    }


    .ministry-contact-btn {
        width:
            100%;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .ministry-modal-hero {
        flex-basis:
            205px;

        height:
            205px;

        min-height:
            205px;
    }


    .ministry-modal-heading {
        padding:
            60px 18px 22px;
    }


    .ministry-modal-body {
        padding:
            25px 17px 35px;
    }

}
/* =========================================================
   MINISTRY MODAL
   REMOVE LARGE TOP IMAGE
========================================================= */


/* Compact modal header */

.ministry-modal-hero {
    position: relative !important;

    flex: 0 0 auto !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    display: block !important;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        ) !important;

    overflow: hidden !important;
}


/* Hide the large ministry image */

.ministry-modal-hero > img {
    display: none !important;
}


/* Remove old image overlay */

.ministry-modal-hero::after {
    content: none !important;
    display: none !important;
}


/* =========================================================
   HEADER CONTENT
========================================================= */

.ministry-modal-heading {
    position: relative !important;

    z-index: 3;

    width: 100%;

    padding:
        32px 80px 30px 35px !important;
}


.ministry-modal-label {
    display: block;

    color:
        var(--secondary) !important;

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 1.7px;

    text-transform: uppercase;

    margin-bottom: 6px;
}


.ministry-modal-heading h2 {
    color:
        var(--white) !important;

    font-family:
        var(--heading-font);

    font-size:
        clamp(1.8rem, 4vw, 2.7rem) !important;

    font-weight: 700;

    line-height: 1.1;

    margin: 0;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.ministry-modal-close {
    position: absolute;

    z-index: 20;

    top: 50% !important;
    right: 25px !important;

    transform:
        translateY(-50%) !important;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid
        rgba(255, 255, 255, 0.15);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.12) !important;

    color:
        var(--white) !important;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}


.ministry-modal-close:hover {
    transform:
        translateY(-50%) !important;

    background:
        var(--secondary) !important;

    color:
        var(--primary-dark) !important;
}


/* =========================================================
   MODAL SIZE
========================================================= */

.ministry-modal .modal-dialog {
    width:
        calc(100% - 30px);

    max-width:
        950px;

    height:
        calc(100vh - 40px);

    margin:
        20px auto;
}


.ministry-modal .modal-content {
    width: 100%;

    height:
        min(760px, calc(100vh - 40px));

    max-height:
        calc(100vh - 40px);

    display: flex;
    flex-direction: column;

    border: 0;

    border-radius:
        var(--radius-lg);

    overflow: hidden;

    background:
        var(--white);

    box-shadow:
        0 30px 90px
        rgba(8, 38, 74, 0.30);
}


/* =========================================================
   SCROLLABLE DETAILS
========================================================= */

.ministry-modal-body {
    flex: 1 1 auto;

    min-height: 0;

    padding:
        38px 40px 45px !important;

    overflow-y:
        auto !important;

    overflow-x:
        hidden !important;

    background:
        var(--white);

    overscroll-behavior:
        contain;

    -webkit-overflow-scrolling:
        touch;

    scrollbar-width:
        thin;

    scrollbar-color:
        var(--secondary)
        var(--primary-light);
}


/* Scrollbar */

.ministry-modal-body::-webkit-scrollbar {
    width: 8px;
}


.ministry-modal-body::-webkit-scrollbar-track {
    background:
        var(--primary-light);
}


.ministry-modal-body::-webkit-scrollbar-thumb {
    background:
        var(--secondary);

    border-radius: 20px;
}


.ministry-modal-body::-webkit-scrollbar-thumb:hover {
    background:
        var(--secondary-dark);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .ministry-modal.modal {
        padding:
            8px !important;
    }


    .ministry-modal .modal-dialog {
        width: 100%;

        height:
            calc(100dvh - 16px);

        margin:
            0 auto;
    }


    .ministry-modal .modal-content {
        height:
            calc(100dvh - 16px);

        max-height:
            calc(100dvh - 16px);

        border-radius:
            18px;
    }


    /* Compact green header */

    .ministry-modal-heading {
        padding:
            25px 65px 23px 20px !important;
    }


    .ministry-modal-label {
        font-size:
            0.62rem;
    }


    .ministry-modal-heading h2 {
        font-size:
            1.8rem !important;
    }


    /* Close button */

    .ministry-modal-close {
        right:
            15px !important;

        width:
            40px;

        height:
            40px;
    }


    /* More screen space for details */

    .ministry-modal-body {
        padding:
            27px 20px 40px !important;
    }

}
/* =========================================================
   ABOUT PAGE
   INTRO SECTION WITHOUT IMAGE
========================================================= */

.about-intro-section {
    position: relative;

    background:
        var(--white);

    overflow: hidden;
}


/* SUBTLE BACKGROUND */

.about-intro-section::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    top: -220px;
    right: -180px;

    border-radius: 50%;

    background:
        var(--primary-light);

    opacity: 0.65;

    pointer-events: none;
}


.about-intro-section::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -170px;
    bottom: -170px;

    border-radius: 50%;

    border:
        55px solid
        rgba(179, 33, 45, 0.08);

    pointer-events: none;
}


.about-intro-section .container {
    position: relative;

    z-index: 2;
}


/* =========================================================
   MAIN INTRO CONTENT
========================================================= */

.about-intro-content {
    width: 100%;
}


.about-intro-main {
    position: relative;

    max-width: 900px;

    margin:
        45px auto 0;

    padding:
        45px 50px;

    text-align: center;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-lg);

    background:
        var(--cream);

    box-shadow:
        var(--shadow-sm);
}


/* =========================================================
   CROSS ICON
========================================================= */

.about-intro-icon {
    width: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin:
        -78px auto 25px;

    border:
        6px solid var(--white);

    border-radius:
        50%;

    background:
        var(--primary);

    color:
        var(--secondary);

    font-size:
        1.55rem;

    box-shadow:
        0 10px 30px
        rgba(8, 38, 74, 0.16);
}


/* =========================================================
   INTRO TEXT
========================================================= */

.about-intro-main p {
    max-width:
        800px;

    margin:
        0 auto 18px;

    color:
        var(--text);

    font-size:
        0.96rem;

    line-height:
        1.9;
}


.about-intro-main p:last-child {
    margin-bottom:
        0;
}


.about-intro-main .about-intro-lead {
    color:
        var(--primary);

    font-family:
        var(--heading-font);

    font-size:
        clamp(1.2rem, 2vw, 1.45rem);

    font-weight:
        600;

    line-height:
        1.65;

    margin-bottom:
        20px;
}


/* =========================================================
   FOUR POINTS
========================================================= */

.about-intro-points {
    margin-top:
        35px;
}


.about-intro-point {
    height: 100%;

    padding:
        25px 20px;

    text-align:
        center;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-md);

    background:
        var(--white);

    box-shadow:
        var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}


.about-intro-point:hover {
    transform:
        translateY(-6px);

    border-color:
        rgba(179, 33, 45, 0.50);

    box-shadow:
        var(--shadow-md);
}


/* ICON */

.about-intro-point-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin:
        0 auto 16px;

    border-radius:
        50%;

    background:
        var(--primary-light);

    color:
        var(--primary);

    font-size:
        1.15rem;

    transition:
        background var(--transition),
        color var(--transition);
}


.about-intro-point:hover
.about-intro-point-icon {
    background:
        var(--primary);

    color:
        var(--secondary);
}


/* TITLE */

.about-intro-point h3 {
    color:
        var(--primary);

    font-family:
        var(--heading-font);

    font-size:
        1.15rem;

    margin-bottom:
        7px;
}


/* DESCRIPTION */

.about-intro-point p {
    color:
        var(--text);

    font-size:
        0.8rem;

    line-height:
        1.65;

    margin:
        0;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .about-intro-main {
        padding:
            42px 35px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .about-intro-main {
        margin-top:
            40px;

        padding:
            42px 23px 30px;

        border-radius:
            18px;
    }


    .about-intro-icon {
        width:
            60px;

        height:
            60px;

        margin:
            -72px auto 22px;

        font-size:
            1.35rem;
    }


    .about-intro-main p {
        font-size:
            0.9rem;

        line-height:
            1.8;
    }


    .about-intro-main
    .about-intro-lead {
        font-size:
            1.15rem;
    }


    .about-intro-points {
        margin-top:
            25px;
    }


    .about-intro-point {
        padding:
            22px 18px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .about-intro-section::before,
    .about-intro-section::after {
        display:
            none;
    }


    .about-intro-main {
        padding:
            40px 18px 26px;
    }


    .about-intro-point {
        text-align:
            left;

        display:
            flex;

        align-items:
            flex-start;

        gap:
            15px;
    }


    .about-intro-point-icon {
        flex:
            0 0 48px;

        width:
            48px;

        height:
            48px;

        margin:
            0;
    }


    .about-intro-point h3 {
        margin-top:
            2px;
    }

}
/* =========================================================
   INNER PAGES
   NO HERO SECTIONS
========================================================= */

/*
   Homepage keeps its normal hero.
   Inner pages begin directly below the fixed navbar.
*/

body {
    padding-top: var(--navbar-height);
}


/* Homepage should NOT receive the extra body spacing
   if your homepage hero/navbar setup already handles it.
*/

body.home-page {
    padding-top: 0;
}


/* =========================================================
   FIRST SECTION ON INNER PAGES
========================================================= */

main > section:first-child,
body > .section-padding:first-of-type {
    position: relative;
}


/* Give pages a comfortable beginning */

.inner-page-start {
    padding-top: 75px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991.98px) {

    body {
        padding-top: var(--navbar-height);
    }


    .inner-page-start {
        padding-top: 55px;
    }

}


@media (max-width: 575.98px) {

    .inner-page-start {
        padding-top: 45px;
    }

}
/* =========================================================
   SERMONS PAGE
   SIMPLE NO-IMAGE DESIGN
========================================================= */

.sermon-intro-section {
    background: var(--white);
}


/* LATEST SERMON */

.sermon-latest-box {
    position: relative;

    padding: 45px 50px;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background: var(--cream);

    box-shadow: var(--shadow-sm);

    overflow: hidden;
}


.sermon-latest-box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 5px;
    height: 100%;

    background: var(--secondary);
}


.sermon-page-title {
    max-width: 700px;

    color: var(--primary);

    font-family: var(--heading-font);

    font-size: clamp(2rem, 4vw, 3.2rem);

    margin: 12px 0 12px;
}


.sermon-page-passage {
    display: flex;
    align-items: center;

    gap: 8px;

    color: var(--secondary-dark);

    font-weight: 700;

    margin-bottom: 17px;
}


.sermon-page-passage i {
    color: var(--primary);
}


/* LATEST WATCH SIDE */

.sermon-watch-area {
    min-height: 210px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 30px;

    border-radius: var(--radius-md);

    background: var(--primary);

    text-align: center;
}


.sermon-watch-icon {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 13px;

    border-radius: 50%;

    background: var(--secondary);

    color: var(--primary-dark);

    font-size: 1.6rem;
}


.sermon-watch-area > span {
    color: rgba(255, 255, 255, 0.72);

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 17px;
}


/* =========================================================
   SIMPLE SERMON LIST
========================================================= */

.sermon-list-section {
    background: var(--light);
}


.sermon-simple-list {
    max-width: 1000px;

    margin-left: auto;
    margin-right: auto;
}


.sermon-simple-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 28px 30px;

    margin-bottom: 15px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--white);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}


.sermon-simple-card:hover {
    transform: translateY(-3px);

    border-color: rgba(179, 33, 45, 0.5);

    box-shadow: var(--shadow-sm);
}


.sermon-simple-main {
    flex: 1;
}


.sermon-card-series {
    display: inline-block;

    color: var(--secondary-dark);

    font-size: 0.66rem;
    font-weight: 800;

    letter-spacing: 1.4px;

    text-transform: uppercase;

    margin-bottom: 8px;
}


.sermon-simple-card h3 {
    color: var(--primary);

    font-family: var(--heading-font);

    font-size: 1.55rem;

    margin-bottom: 8px;
}


.sermon-simple-card
.sermon-card-passage {
    margin-bottom: 10px;
}


.sermon-short-description {
    max-width: 650px;

    color: var(--text);

    font-size: 0.86rem;

    line-height: 1.7;

    margin-bottom: 15px;
}


/* META */

.sermon-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 15px;
}


.sermon-card-meta span {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: var(--text-light);

    font-size: 0.75rem;
}


.sermon-card-meta i {
    color: var(--secondary-dark);
}


/* =========================================================
   VIDEO LINK
========================================================= */

.sermon-simple-action {
    flex-shrink: 0;
}


.sermon-video-link {
    min-width: 155px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 12px 18px;

    border: 1px solid var(--border);
    border-radius: 50px;

    background: var(--cream);

    color: var(--primary);

    font-size: 0.8rem;
    font-weight: 800;

    text-decoration: none;

    transition: var(--transition);
}


.sermon-video-link
.bi-youtube {
    color: #dc3545;

    font-size: 1.1rem;
}


.sermon-video-link
.bi-arrow-up-right {
    font-size: 0.75rem;
}


.sermon-video-link:hover {
    background: var(--primary);

    border-color: var(--primary);

    color: var(--white);

    transform: translateY(-2px);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .sermon-latest-box {
        padding: 32px 22px;
    }


    .sermon-watch-area {
        min-height: auto;

        padding: 25px 20px;
    }


    .sermon-watch-icon {
        width: 54px;
        height: 54px;

        font-size: 1.4rem;
    }


    .sermon-simple-card {
        align-items: flex-start;
        flex-direction: column;

        gap: 20px;

        padding: 24px 20px;
    }


    .sermon-simple-card h3 {
        font-size: 1.4rem;
    }


    .sermon-simple-action {
        width: 100%;
    }


    .sermon-video-link {
        width: 100%;
    }

}
/* =========================================================
   LEADERSHIP PAGE - REMOVE TOP SPACE
========================================================= */

body .leadership-page {
    padding-top: 20px !important;
    margin-top: 0 !important;
}

body .leadership-intro {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body .leadership-intro .section-tag {
    margin-top: 0 !important;
}


/* MOBILE */

@media (max-width: 767.98px) {

    body .leadership-page {
        padding-top: 15px !important;
        margin-top: 0 !important;
    }

    body .leadership-intro {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

}
/* =========================================================
   HOMEPAGE LEADERSHIP PREVIEW
========================================================= */

.home-leadership-section {
    padding: 90px 0;
    background: #F7F8FA;
}


/* =========================================================
   TOP LINK
========================================================= */

.home-leadership-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #123B6D;

    font-size: 0.84rem;
    font-weight: 700;

    transition: color 0.25s ease;
}

.home-leadership-link:hover {
    color: #8F1823;
}


/* =========================================================
   LEADERSHIP GRID
========================================================= */

.home-leadership-grid {
    display: grid;

    grid-template-columns:
        1.15fr
        repeat(3, 1fr);

    gap: 30px;

    margin-top: 18px;

    padding-top: 32px;

    border-top: 1px solid #dddcd6;
}


/* =========================================================
   LEADER
========================================================= */

.home-leader {
    min-width: 0;
}


/* =========================================================
   PHOTO
========================================================= */

.home-leader-photo {
    width: 100%;
    aspect-ratio: 4 / 5;

    overflow: hidden;

    background: #e9ece9;
}

.home-leader-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center top;

    transition: opacity 0.25s ease;
}

.home-leader:hover .home-leader-photo img {
    opacity: 0.94;
}


/* =========================================================
   MINISTER
========================================================= */

.home-leader-minister .home-leader-photo {
    border-bottom: 4px solid #B3212D;
}


/* =========================================================
   INFORMATION
========================================================= */

.home-leader-info {
    padding-top: 15px;
}

.home-leader-info span {
    display: block;

    color: #8F1823;

    font-size: 0.64rem;
    font-weight: 800;

    letter-spacing: 1.3px;

    margin-bottom: 5px;
}

.home-leader-info h3 {
    color: #111827;

    font-family: "Playfair Display", serif;

    font-size: 1.25rem;
    line-height: 1.25;

    margin: 0;
}


/* =========================================================
   MOBILE LINK
========================================================= */

.home-leadership-mobile-link {
    display: none;

    margin-top: 30px;

    text-align: center;
}

.home-leadership-mobile-link a {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: #123B6D;

    font-size: 0.8rem;
    font-weight: 700;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .home-leadership-section {
        padding: 75px 0;
    }

    .home-leadership-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 30px 22px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .home-leadership-section {
        padding: 58px 0;
    }

    .home-leadership-link {
        display: none;
    }

    .home-leadership-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 25px 14px;

        margin-top: 5px;

        padding-top: 24px;
    }

    .home-leader-photo {
        aspect-ratio: 4 / 5;
    }

    .home-leader-info {
        padding-top: 11px;
    }

    .home-leader-info span {
        font-size: 0.57rem;

        letter-spacing: 1px;
    }

    .home-leader-info h3 {
        font-size: 1rem;
    }

    .home-leadership-mobile-link {
        display: block;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .home-leadership-grid {
        gap: 22px 11px;
    }

    .home-leader-info h3 {
        font-size: 0.92rem;
    }

}
/* =========================================================
   CHURCH OF CHRIST - MADINA CENTRAL
   FINAL HUMAN DESIGN OVERRIDE

   IMPORTANT:
   Paste this at the VERY BOTTOM of the OLD style.css
========================================================= */


/* =========================================================
   1. DESIGN SYSTEM CLEANUP
========================================================= */

:root {
    --human-green: #123B6D;
    --human-green-dark: #08264A;
    --human-gold: #B3212D;
    --human-gold-dark: #8F1823;

    --human-cream: #F7F8FA;
    --human-light: #F5F7F9;
    --human-white: #ffffff;

    --human-dark: #151b18;
    --human-text: #59615d;
    --human-muted: #7b837f;

    --human-border: #dedfdc;

    --human-radius: 5px;

    --human-transition: 0.2s ease;
}


/* =========================================================
   2. GLOBAL FEEL
========================================================= */

body {
    background: var(--human-white);

    color: var(--human-text);

    font-family: "DM Sans", sans-serif;

    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--human-dark);

    font-family: "Playfair Display", serif;

    letter-spacing: -0.015em;
}

p {
    color: var(--human-text);
}


/* =========================================================
   3. SECTION SPACING

   Less giant empty space.
========================================================= */

.section-padding {
    padding-top: 78px !important;
    padding-bottom: 78px !important;
}

section {
    scroll-margin-top: 90px;
}


/* =========================================================
   4. SECTION HEADINGS
========================================================= */

.section-heading {
    margin-bottom: 0;
}

.section-heading-center {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2 {
    margin-top: 7px;

    font-size: clamp(2rem, 4vw, 3.1rem);

    line-height: 1.12;

    letter-spacing: -0.025em;
}

.section-heading h2 span {
    color: var(--human-green);
}

.section-heading p {
    max-width: 630px;

    margin-top: 13px;

    color: var(--human-text);

    font-size: 0.95rem;
    line-height: 1.75;
}


/* =========================================================
   5. SECTION TAGS

   Remove "SaaS badge" feeling.
========================================================= */

.section-tag,
.light-tag,
.new-here-tag,
.contact-small,
.hero-eyebrow {
    border-radius: 0 !important;

    box-shadow: none !important;
}

.section-tag {
    display: inline-block;

    padding: 0 !important;

    background: transparent !important;

    color: var(--human-gold-dark) !important;

    border: 0 !important;

    font-size: 0.68rem !important;
    font-weight: 700 !important;

    letter-spacing: 1.4px !important;

    line-height: 1.3;
}


/* =========================================================
   6. BUTTONS

   Less pill-shaped.
   No jumping upward on hover.
========================================================= */

.primary-btn,
.secondary-btn,
.light-btn,
.new-here-btn,
.cta-white-btn,
.cta-outline-btn,
.nav-visit-btn,
.btn-primary,
.btn-outline-primary {
    border-radius: var(--human-radius) !important;

    box-shadow: none !important;

    transition:
        background-color var(--human-transition),
        color var(--human-transition),
        border-color var(--human-transition) !important;
}

.primary-btn:hover,
.secondary-btn:hover,
.light-btn:hover,
.new-here-btn:hover,
.cta-white-btn:hover,
.cta-outline-btn:hover,
.nav-visit-btn:hover,
.btn-primary:hover,
.btn-outline-primary:hover {
    transform: none !important;

    box-shadow: none !important;
}


/* =========================================================
   7. REMOVE GENERIC CARD FLOATING
========================================================= */

.week-card,
.event-card,
.value-card,
.mission-card,
.belief-card,
.leader-card,
.ministry-card,
.ministry-detail-card,
.sermon-card,
.recent-sermon-card,
.sermon-list-card,
.contact-card,
.contact-info-card,
.contact-quick-card,
.gallery-album-card,
.album-card {
    box-shadow: none !important;

    transform: none !important;

    transition:
        border-color var(--human-transition),
        background-color var(--human-transition) !important;
}

.week-card:hover,
.event-card:hover,
.value-card:hover,
.mission-card:hover,
.belief-card:hover,
.leader-card:hover,
.ministry-card:hover,
.ministry-detail-card:hover,
.sermon-card:hover,
.recent-sermon-card:hover,
.sermon-list-card:hover,
.contact-card:hover,
.contact-info-card:hover,
.contact-quick-card:hover,
.gallery-album-card:hover,
.album-card:hover {
    transform: none !important;

    box-shadow: none !important;
}


/* =========================================================
   8. REDUCE EXCESSIVE ROUNDED CORNERS
========================================================= */

.week-card,
.event-card,
.value-card,
.mission-card,
.belief-card,
.ministry-card,
.ministry-detail-card,
.sermon-card,
.recent-sermon-card,
.sermon-list-card,
.contact-card,
.contact-info-card,
.contact-quick-card,
.gallery-album-card,
.album-card,
.new-here-box,
.about-intro-card {
    border-radius: 6px !important;
}


/* =========================================================
   9. STOP IMAGE ZOOM EFFECTS
========================================================= */

.week-card img,
.event-card img,
.ministry-card img,
.gallery-item img,
.gallery-album-card img,
.album-card img,
.welcome-image-wrapper img {
    transition: opacity var(--human-transition) !important;
}

.week-card:hover img,
.event-card:hover img,
.ministry-card:hover img,
.gallery-item:hover img,
.gallery-album-card:hover img,
.album-card:hover img,
.welcome-image-wrapper:hover img {
    transform: none !important;
}


/* =========================================================
   10. NAVBAR

   Keep it premium but simpler.
========================================================= */

.main-navbar {
    box-shadow:
        0 1px 0 rgba(18, 59, 109, 0.08) !important;
}

.main-navbar.scrolled {
    box-shadow:
        0 1px 0 rgba(18, 59, 109, 0.12) !important;
}

.main-navbar .nav-link {
    font-size: 0.82rem;

    font-weight: 600;

    letter-spacing: 0;
}

.nav-visit-btn {
    padding-left: 17px !important;
    padding-right: 17px !important;
}


/* =========================================================
   11. HOMEPAGE HERO

   Keep it impressive.
   Remove unnecessary "landing page" effects.
========================================================= */

.hero-content {
    animation: none !important;
}

.hero-eyebrow {
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;

    color: rgba(255, 255, 255, 0.82) !important;

    font-size: 0.72rem !important;

    letter-spacing: 0.8px !important;
}

.hero-eyebrow i {
    color: var(--human-gold);
}

.hero-content h1 {
    letter-spacing: -0.035em;
}

.hero-description {
    max-width: 620px;

    color: rgba(255, 255, 255, 0.83) !important;
}


/* =========================================================
   12. HERO BUTTONS
========================================================= */

.hero-buttons {
    gap: 10px !important;
}

.hero-buttons .btn {
    min-height: 48px;

    border-radius: 5px !important;
}


/* =========================================================
   13. HERO QUICK INFO

   Remove mini-card appearance.
========================================================= */

.hero-quick-info {
    border-radius: 0 !important;

    box-shadow: none !important;

    background: transparent !important;

    border-top:
        1px solid rgba(255, 255, 255, 0.18);

    padding-top: 19px !important;
}

.quick-info-item i {
    background: transparent !important;

    border: 0 !important;

    width: auto !important;
    height: auto !important;

    border-radius: 0 !important;

    color: var(--human-gold) !important;
}


/* =========================================================
   14. SUNDAY CARD

   Keep it special without looking like a dashboard widget.
========================================================= */

.sunday-card {
    border-radius: 7px !important;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.14) !important;

    border:
        1px solid rgba(255, 255, 255, 0.14) !important;
}

.sunday-card:hover {
    transform: none !important;
}

.sunday-card-top {
    border-bottom:
        1px solid rgba(255, 255, 255, 0.12);
}

.live-dot {
    animation: none !important;
}

.theme-label {
    letter-spacing: 1.2px !important;
}

.sunday-card-link:hover {
    transform: none !important;
}


/* =========================================================
   15. SCROLL INDICATOR

   Remove decorative animation.
========================================================= */

.scroll-indicator {
    display: none !important;
}


/* =========================================================
   16. SERVICE TIMES

   More institutional.
========================================================= */

.service-strip {
    box-shadow: none !important;
}

.service-row {
    border-left: 1px solid var(--human-border);
    border-right: 1px solid var(--human-border);
}

.service-item {
    border-radius: 0 !important;

    box-shadow: none !important;
}

.service-item:hover {
    transform: none !important;
}

.service-icon {
    background: transparent !important;

    border-radius: 0 !important;

    width: auto !important;
    height: auto !important;

    margin-right: 17px;
}

.service-icon i {
    color: var(--human-gold-dark);

    font-size: 1.45rem;
}


/* =========================================================
   17. WELCOME SECTION
========================================================= */

.welcome-section {
    background: var(--human-white);
}

.welcome-image-wrapper {
    border-radius: 4px !important;
}

.welcome-main-image {
    border-radius: 4px !important;

    box-shadow: none !important;
}

.welcome-small-image {
    border-radius: 3px !important;

    box-shadow:
        0 8px 24px rgba(8, 38, 74, 0.1) !important;
}

.welcome-small-image img {
    border-radius: 3px !important;
}

.welcome-experience {
    border-radius: 3px !important;

    box-shadow: none !important;
}


/* =========================================================
   18. ABOUT FEATURES

   No mini-cards.
========================================================= */

.about-features {
    gap: 10px !important;
}

.about-feature {
    background: transparent !important;

    border: 0 !important;

    border-radius: 0 !important;

    box-shadow: none !important;

    padding: 3px 0 !important;
}

.about-feature:hover {
    transform: none !important;
}

.about-feature i {
    color: var(--human-gold-dark) !important;

    font-size: 0.9rem;
}


/* =========================================================
   19. TEXT LINKS
========================================================= */

.text-link,
.desktop-view-link,
.home-leadership-link {
    position: relative;

    border-radius: 0 !important;

    color: var(--human-green) !important;

    font-weight: 700;

    text-decoration: none;
}

.text-link:hover,
.desktop-view-link:hover,
.home-leadership-link:hover {
    color: var(--human-gold-dark) !important;

    transform: none !important;
}


/* =========================================================
   20. THIS WEEK SECTION
========================================================= */

.week-section {
    background: var(--human-cream) !important;
}

.week-section .row {
    border-top: 1px solid var(--human-border);
}

.week-card {
    height: 100%;

    background: transparent !important;

    border: 0 !important;

    border-right:
        1px solid var(--human-border) !important;

    border-radius: 0 !important;

    padding: 25px 22px !important;
}

.week-section .row > div:last-child .week-card {
    border-right: 0 !important;
}

.week-day {
    border-radius: 3px !important;

    box-shadow: none !important;
}

.week-type {
    background: transparent !important;

    border: 0 !important;

    border-radius: 0 !important;

    padding: 0 !important;

    color: var(--human-gold-dark) !important;

    font-size: 0.62rem !important;

    letter-spacing: 1px;
}


/* =========================================================
   21. HOMEPAGE LEADERSHIP PREVIEW
========================================================= */

.home-leadership-section {
    padding: 82px 0;

    background: var(--human-white);
}

.home-leadership-section .section-heading {
    max-width: 690px;
}

.home-leadership-section .section-heading p {
    margin-bottom: 0;
}


/* GRID */

.home-leadership-grid {
    display: grid;

    grid-template-columns:
        1.15fr
        repeat(3, 1fr);

    gap: 27px;

    margin-top: 16px;

    padding-top: 30px;

    border-top:
        1px solid var(--human-border);
}


/* NO CARDS */

.home-leader {
    min-width: 0;

    padding: 0;

    background: transparent;

    border: 0;

    border-radius: 0;

    box-shadow: none;
}

.home-leader:hover {
    transform: none;
}


/* PHOTOS */

.home-leader-photo {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 5;

    overflow: hidden;

    background: #e8ebe9;

    border-radius: 2px;
}

.home-leader-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center top;

    transition: opacity var(--human-transition);
}

.home-leader:hover .home-leader-photo img {
    opacity: 0.94;

    transform: none;
}


/* MINISTER */

.home-leader-minister .home-leader-photo {
    border-bottom:
        3px solid var(--human-gold);
}


/* INFORMATION */

.home-leader-info {
    padding-top: 13px;
}

.home-leader-info span {
    display: block;

    margin-bottom: 4px;

    color: var(--human-gold-dark);

    font-size: 0.61rem;
    font-weight: 700;

    letter-spacing: 1.2px;
}

.home-leader-info h3 {
    margin: 0;

    color: var(--human-dark);

    font-family: "Playfair Display", serif;

    font-size: 1.2rem;

    line-height: 1.3;
}

.home-leadership-mobile-link {
    display: none;
}


/* =========================================================
   22. MINISTRIES HOMEPAGE

   Your homepage currently has one visual link to Ministries.
   Keep it strong, not card-heavy.
========================================================= */

.ministries-section {
    background: var(--human-cream) !important;
}

.ministries-section .ministry-card {
    max-width: 850px;

    margin-left: auto;
    margin-right: auto;

    border-radius: 4px !important;

    box-shadow: none !important;
}

.ministries-section .ministry-card:hover {
    transform: none !important;

    box-shadow: none !important;
}

.ministries-section .ministry-card img {
    transform: none !important;
}

.ministries-section .ministry-card:hover img {
    transform: none !important;

    opacity: 0.93;
}

.ministry-icon {
    width: auto !important;
    height: auto !important;

    display: inline-block !important;

    background: transparent !important;

    border: 0 !important;

    border-radius: 0 !important;
}

.ministry-icon i {
    font-size: 1.35rem;
}


/* =========================================================
   23. NEW HERE

   Flatten decorative marketing-style panel.
========================================================= */

.new-here-section {
    background: var(--human-white) !important;

    padding: 0 0 78px !important;
}

.new-here-box {
    position: relative;

    overflow: hidden;

    padding: 42px 45px !important;

    background: var(--human-green) !important;

    border: 0 !important;
    border-radius: 5px !important;

    box-shadow: none !important;
}

.new-here-box::before,
.new-here-box::after {
    display: none !important;
}

.new-here-tag {
    display: block;

    padding: 0 !important;

    margin-bottom: 8px;

    background: transparent !important;

    color: var(--human-gold) !important;

    font-size: 0.65rem;

    letter-spacing: 1.3px;
}

.new-here-box h2 {
    color: var(--human-white) !important;
}

.new-here-box p {
    color:
        rgba(255, 255, 255, 0.74) !important;
}


/* =========================================================
   24. EVENTS

   More editorial, less product-card.
========================================================= */

.events-section {
    background: var(--human-white) !important;
}

.event-card {
    background: transparent !important;

    border: 0 !important;

    border-radius: 0 !important;

    overflow: visible !important;
}

.event-image {
    overflow: hidden;

    border-radius: 3px !important;
}

.event-image img {
    border-radius: 0 !important;
}

.event-card:hover .event-image img {
    transform: none !important;

    opacity: 0.94;
}

.event-date {
    border-radius: 3px !important;

    box-shadow: none !important;
}

.event-content {
    padding:
        18px 0 0 !important;
}

.event-category {
    display: block;

    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    color: var(--human-gold-dark) !important;

    font-size: 0.62rem !important;

    letter-spacing: 1.1px;
}

.event-content h3 {
    margin-top: 6px;
}


/* =========================================================
   25. SCRIPTURE SECTION

   Keep this dramatic — it belongs on a church site.
========================================================= */

.scripture-section {
    box-shadow: none !important;
}

.scripture-content {
    max-width: 790px;
}

.scripture-quote {
    opacity: 0.65;
}


/* =========================================================
   26. GALLERY PREVIEW

   Photography should speak for itself.
========================================================= */

.gallery-section {
    background: var(--human-cream) !important;
}

.gallery-item {
    border-radius: 3px !important;

    box-shadow: none !important;

    overflow: hidden;
}

.gallery-item:hover {
    transform: none !important;

    box-shadow: none !important;
}

.gallery-item img {
    transform: none !important;

    transition: opacity var(--human-transition) !important;
}

.gallery-item:hover img {
    transform: none !important;

    opacity: 0.91;
}


/* =========================================================
   27. CONTACT CTA
========================================================= */

.contact-cta {
    box-shadow: none !important;
}

.contact-small {
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;

    color: var(--human-gold) !important;

    font-size: 0.65rem;

    letter-spacing: 1.3px;
}

.contact-cta-buttons {
    gap: 9px !important;
}


/* =========================================================
   28. FOOTER

   Keep simple and established.
========================================================= */

.footer {
    box-shadow: none !important;
}

.footer-socials a {
    box-shadow: none !important;

    transition:
        background var(--human-transition),
        border-color var(--human-transition) !important;
}

.footer-socials a:hover {
    transform: none !important;
}

.footer-links a:hover {
    padding-left: 0 !important;
}


/* =========================================================
   29. FLOATING WHATSAPP + BACK TO TOP

   These circles are functional, so keep them.
========================================================= */

.whatsapp-button,
.back-to-top {
    box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.13) !important;
}

.whatsapp-button:hover,
.back-to-top:hover {
    transform: none !important;
}


/* =========================================================
   30. REMOVE OLD INNER PAGE HEROES
========================================================= */

.inner-hero,
.about-hero,
.leadership-hero,
.ministries-page-hero,
.sermons-page-hero,
.events-page-hero,
.gallery-page-hero,
.contact-page-hero {
    display: none !important;
}


/* =========================================================
   31. GENERIC INNER PAGE START

   Pages start naturally below navbar.
========================================================= */

.inner-page-start,
.about-page,
.leadership-page,
.ministries-page,
.sermons-page,
.events-main,
.gallery-main,
.gallery-page-main,
.contact-page-main {
    margin-top: 0 !important;
}


/* =========================================================
   32. LEADERSHIP PAGE CLEANUP

   Profile circles are appropriate here.
========================================================= */

.leadership-page {
    padding-top: 20px !important;
}

.leadership-intro {
    margin-top: 0 !important;

    padding-top: 0 !important;
}

.leader-card {
    background: transparent !important;

    border: 0 !important;

    border-radius: 0 !important;

    box-shadow: none !important;
}

.leader-card:hover {
    transform: none !important;
}

.leader-photo,
.leader-image {
    box-shadow: none !important;
}

.leader-actions a,
.leader-contact a {
    box-shadow: none !important;
}

.leader-actions a:hover,
.leader-contact a:hover {
    transform: none !important;
}


/* =========================================================
   33. MINISTRIES PAGE CLEANUP
========================================================= */

.ministries-page .ministry-card {
    box-shadow: none !important;

    border:
        1px solid var(--human-border) !important;

    border-radius: 5px !important;
}

.ministries-page .ministry-card:hover {
    transform: none !important;

    box-shadow: none !important;

    border-color:
        rgba(18, 59, 109, 0.35) !important;
}

.ministries-page .ministry-card img {
    transform: none !important;
}

.ministries-page .ministry-card:hover img {
    transform: none !important;

    opacity: 0.94;
}


/* =========================================================
   34. MINISTRY MODAL
========================================================= */

.ministry-modal .modal-content,
.ministry-modal-content {
    border: 0 !important;

    border-radius: 7px !important;

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.18) !important;
}

.ministry-modal-header {
    border-radius:
        7px 7px 0 0 !important;
}

.ministry-modal-body {
    background: var(--human-white);
}

.ministry-detail-card {
    padding: 0 0 18px !important;

    background: transparent !important;

    border: 0 !important;
    border-bottom:
        1px solid var(--human-border) !important;

    border-radius: 0 !important;
}


/* =========================================================
   35. SERMON PAGE

   Editorial rather than streaming-platform cards.
========================================================= */

.sermons-page .sermon-card,
.sermons-page .recent-sermon-card,
.sermons-page .sermon-list-card {
    background: transparent !important;

    border: 0 !important;
    border-top:
        1px solid var(--human-border) !important;

    border-radius: 0 !important;

    box-shadow: none !important;
}

.sermons-page .sermon-card:hover,
.sermons-page .recent-sermon-card:hover,
.sermons-page .sermon-list-card:hover {
    transform: none !important;

    box-shadow: none !important;
}

.sermon-series,
.sermon-category {
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    color: var(--human-gold-dark) !important;
}


/* =========================================================
   36. GALLERY PAGE
========================================================= */

.gallery-filter button,
.gallery-filter-btn,
.gallery-filter-button {
    border-radius: 4px !important;

    box-shadow: none !important;
}

.gallery-filter button:hover,
.gallery-filter-btn:hover,
.gallery-filter-button:hover {
    transform: none !important;
}

.gallery-album-card,
.album-card {
    background: transparent !important;

    border: 0 !important;

    border-radius: 0 !important;

    box-shadow: none !important;
}

.gallery-album-card:hover,
.album-card:hover {
    transform: none !important;

    box-shadow: none !important;
}


/* =========================================================
   37. CONTACT PAGE
========================================================= */

.contact-quick-card,
.contact-info-card {
    background: transparent !important;

    border: 0 !important;
    border-top:
        1px solid var(--human-border) !important;

    border-radius: 0 !important;

    box-shadow: none !important;
}

.contact-quick-icon,
.contact-info-icon {
    background: transparent !important;

    border: 0 !important;

    border-radius: 0 !important;

    color: var(--human-gold-dark) !important;
}


/* =========================================================
   38. ACCORDIONS
========================================================= */

.accordion-item {
    border-radius: 0 !important;

    box-shadow: none !important;
}

.accordion-button {
    border-radius: 0 !important;

    box-shadow: none !important;
}

.accordion-button:focus {
    box-shadow: none !important;
}


/* =========================================================
   39. DISABLE DECORATIVE ANIMATIONS
========================================================= */

@media (prefers-reduced-motion: no-preference) {

    .week-card,
    .event-card,
    .ministry-card,
    .gallery-item,
    .leader-card {
        animation: none !important;
    }

}


/* =========================================================
   40. TABLET
========================================================= */

@media (max-width: 991.98px) {

    .section-padding {
        padding-top: 65px !important;
        padding-bottom: 65px !important;
    }


    /* LEADERSHIP PREVIEW */

    .home-leadership-section {
        padding: 68px 0;
    }

    .home-leadership-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 28px 20px;
    }


    /* NEW HERE */

    .new-here-box {
        padding: 36px 30px !important;
    }

}


/* =========================================================
   41. MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .section-padding {
        padding-top: 52px !important;
        padding-bottom: 52px !important;
    }

    .section-heading h2 {
        font-size: clamp(1.85rem, 8vw, 2.45rem);
    }

    .section-heading p {
        font-size: 0.88rem;
    }


    /* HERO */

    .hero-buttons {
        gap: 8px !important;
    }

    .hero-buttons .btn {
        min-height: 45px;
    }


    /* SERVICE TIMES */

    .service-row {
        border-left: 0;
        border-right: 0;
    }


    /* THIS WEEK */

    .week-section .row {
        border-top: 0;
    }

    .week-card {
        border-right: 0 !important;

        border-top:
            1px solid var(--human-border) !important;

        padding:
            20px 0 !important;
    }


    /* LEADERSHIP */

    .home-leadership-section {
        padding: 55px 0;
    }

    .home-leadership-link {
        display: none;
    }

    .home-leadership-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 25px 13px;

        margin-top: 4px;

        padding-top: 23px;
    }

    .home-leader-info {
        padding-top: 10px;
    }

    .home-leader-info span {
        font-size: 0.56rem;

        letter-spacing: 0.9px;
    }

    .home-leader-info h3 {
        font-size: 1rem;
    }

    .home-leadership-mobile-link {
        display: block;

        margin-top: 28px;

        text-align: center;
    }

    .home-leadership-mobile-link a {
        display: inline-flex;
        align-items: center;

        gap: 6px;

        color: var(--human-green);

        font-size: 0.78rem;
        font-weight: 700;
    }


    /* NEW HERE */

    .new-here-section {
        padding-bottom: 52px !important;
    }

    .new-here-box {
        padding:
            29px 22px !important;
    }


    /* EVENTS */

    .event-content {
        padding-top: 14px !important;
    }

}


/* =========================================================
   42. SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .section-padding {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .section-tag {
        font-size: 0.62rem !important;
    }

    .section-heading h2 {
        margin-top: 5px;
    }


    /* LEADERSHIP */

    .home-leadership-grid {
        gap: 22px 11px;
    }

    .home-leader-info h3 {
        font-size: 0.93rem;
    }


    /* BUTTONS */

    .primary-btn,
    .secondary-btn,
    .light-btn,
    .new-here-btn,
    .cta-white-btn,
    .cta-outline-btn {
        border-radius: 4px !important;
    }

}


/* =========================================================
   43. VERY SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .home-leadership-grid {
        gap: 20px 10px;
    }

    .home-leader-info h3 {
        font-size: 0.88rem;
    }

    .home-leader-info span {
        font-size: 0.52rem;
    }

}


/* =========================================================
   END HUMAN DESIGN OVERRIDE
========================================================= */
/* =========================================================
   HOMEPAGE SPACING FIX
   MUST BE THE LAST CODE IN style.css
========================================================= */


/* =========================================================
   1. STANDARD HOMEPAGE SECTION SPACING
========================================================= */

body .welcome-section,
body .week-section,
body .ministries-section,
body .events-section,
body .gallery-section {
    padding-top: 70px !important;
    padding-bottom: 70px !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* =========================================================
   2. SERVICE STRIP
   Keep it attached naturally to hero
========================================================= */

body .service-strip {
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/* =========================================================
   3. WELCOME SECTION
========================================================= */

body .welcome-section {
    margin-top: 0 !important;
}

body .welcome-section .row {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* =========================================================
   4. THIS WEEK

   Bootstrap .mt-3 was adding extra space.
========================================================= */

body .week-section .section-heading {
    margin-bottom: 32px !important;
}

body .week-section .row.mt-3 {
    margin-top: 0 !important;
}


/* =========================================================
   5. LEADERSHIP

   This was one of the main spacing problems.
========================================================= */

body .home-leadership-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding-top: 70px !important;
    padding-bottom: 70px !important;
}


/* Bootstrap mb-4 + our grid spacing were stacking */

body .home-leadership-section .row.mb-4 {
    margin-bottom: 0 !important;
}


/* Control the spacing ourselves */

body .home-leadership-grid {
    margin-top: 30px !important;
    padding-top: 28px !important;
}


/* Remove unwanted bottom space */

body .home-leadership-grid,
body .home-leader,
body .home-leader-info {
    margin-bottom: 0;
}


/* =========================================================
   6. MINISTRIES

   Remove Bootstrap mt-4 stacking.
========================================================= */

body .ministries-section {
    margin-top: 0 !important;
}

body .ministries-section .section-heading {
    margin-bottom: 30px !important;
}

body .ministries-section .row.mt-4 {
    margin-top: 0 !important;
}


/* The current homepage only has one ministry preview.
   Don't allow Bootstrap's col-lg-3 to leave it looking
   like a tiny card floating in empty space.
*/

body .ministries-section .row {
    justify-content: center;
}

body .ministries-section .col-md-6.col-lg-3 {
    width: 100%;

    max-width: 850px;
}


/* =========================================================
   7. MINISTRIES → NEW HERE

   This was creating a visible empty break.
========================================================= */

body .new-here-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding-top: 0 !important;
    padding-bottom: 70px !important;

    background: #F7F8FA !important;
}

body .new-here-box {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* =========================================================
   8. EVENTS

   Remove mt-3 under heading.
========================================================= */

body .events-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body .events-section .section-title-row {
    margin-bottom: 30px !important;
}

body .events-section .row.mt-3 {
    margin-top: 0 !important;
}


/* =========================================================
   9. SCRIPTURE

   Remove gaps before and after.
========================================================= */

body .scripture-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* =========================================================
   10. GALLERY

   Remove Bootstrap mt-4 stacking.
========================================================= */

body .gallery-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body .gallery-section .section-title-row {
    margin-bottom: 30px !important;
}

body .gallery-section .gallery-grid.mt-4 {
    margin-top: 0 !important;
}


/* =========================================================
   11. GALLERY → CONTACT CTA
========================================================= */

body .contact-cta {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* =========================================================
   12. CONTACT CTA → FOOTER
========================================================= */

body .footer {
    margin-top: 0 !important;
}


/* =========================================================
   13. REMOVE EMPTY PARAGRAPH MARGINS
========================================================= */

body .section-heading > p:last-child,
body .new-here-box p:last-child,
body .contact-cta p:last-child {
    margin-bottom: 0 !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    body .welcome-section,
    body .week-section,
    body .ministries-section,
    body .events-section,
    body .gallery-section,
    body .home-leadership-section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }


    body .new-here-section {
        padding-top: 0 !important;
        padding-bottom: 60px !important;
    }


    body .home-leadership-grid {
        margin-top: 26px !important;
        padding-top: 25px !important;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    body .welcome-section,
    body .week-section,
    body .ministries-section,
    body .events-section,
    body .gallery-section,
    body .home-leadership-section {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }


    /* NEW HERE */

    body .new-here-section {
        padding-top: 0 !important;
        padding-bottom: 48px !important;
    }


    /* HEADINGS */

    body .week-section .section-heading,
    body .ministries-section .section-heading {
        margin-bottom: 24px !important;
    }


    body .events-section .section-title-row,
    body .gallery-section .section-title-row {
        margin-bottom: 24px !important;
    }


    /* LEADERSHIP */

    body .home-leadership-section .row.mb-4 {
        margin-bottom: 0 !important;
    }

    body .home-leadership-grid {
        margin-top: 22px !important;
        padding-top: 22px !important;
    }


    /* BOOTSTRAP SPACING */

    body .week-section .row.mt-3,
    body .ministries-section .row.mt-4,
    body .events-section .row.mt-3,
    body .gallery-section .gallery-grid.mt-4 {
        margin-top: 0 !important;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {

    body .welcome-section,
    body .week-section,
    body .ministries-section,
    body .events-section,
    body .gallery-section,
    body .home-leadership-section {
        padding-top: 42px !important;
        padding-bottom: 42px !important;
    }


    body .new-here-section {
        padding-bottom: 42px !important;
    }


    body .home-leadership-grid {
        margin-top: 20px !important;
        padding-top: 20px !important;
    }

}
/* =========================================================
   NEW HOMEPAGE HERO
   CHURCH OF CHRIST - MADINA CENTRAL

   IMPORTANT:
   KEEP THIS AT THE VERY BOTTOM OF style.css
========================================================= */


/* =========================================================
   HERO WRAPPER
========================================================= */

.church-home-hero {
    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 48px 0 55px;

    background: #ffffff;

    color: var(--dark);

    overflow: hidden;
}


/* =========================================================
   CHURCH NAME
========================================================= */

.church-hero-name {
    width: 100%;

    text-align: center;

    margin-bottom: 28px;
}


.church-hero-kicker {
    display: block;

    color: var(--primary);

    font-family: var(--body-font);

    font-size: clamp(
        1rem,
        2.4vw,
        1.35rem
    );

    font-weight: 800;

    line-height: 1.2;

    letter-spacing: 4px;

    white-space: nowrap;

    margin-bottom: 8px;
}


.church-hero-name h1 {
    margin: 0;

    color: var(--secondary-dark);

    font-family: var(--heading-font);

    font-size: clamp(
        2rem,
        5vw,
        3.5rem
    );

    font-weight: 700;

    line-height: 1.1;
}


/* =========================================================
   SLIDESHOW
========================================================= */

.church-hero-slider {
    position: relative;

    width: 100%;

    height: clamp(
        360px,
        46vw,
        570px
    );

    overflow: hidden;

    background: #eeeeeb;

    border-radius: 4px;
}


.church-hero-slide {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}


.church-hero-slide.active {
    opacity: 1;

    visibility: visible;

    z-index: 2;
}


.church-hero-slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transform: none !important;

    filter: none !important;
}


/* Absolutely no overlays */

.church-hero-slider::before,
.church-hero-slider::after,
.church-hero-slide::before,
.church-hero-slide::after {
    display: none !important;

    content: none !important;
}


/* =========================================================
   MESSAGE
========================================================= */

.church-hero-message {
    max-width: 760px;

    margin:
        34px auto 0;

    text-align: center;
}


.church-hero-tagline {
    display: block;

    color: var(--primary);

    font-family: var(--heading-font);

    font-size: clamp(
        1.45rem,
        3vw,
        2.1rem
    );

    font-weight: 700;

    line-height: 1.25;

    margin-bottom: 13px;
}


.church-hero-message p {
    max-width: 650px;

    margin:
        0 auto 23px;

    color: var(--text);

    font-size: 0.98rem;

    line-height: 1.75;
}


/* =========================================================
   BUTTONS
========================================================= */

.church-hero-actions {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    flex-wrap: nowrap;
}


.church-hero-btn {
    min-height: 47px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding:
        11px 20px;

    border-radius: 4px;

    font-family: var(--body-font);

    font-size: 0.87rem;

    font-weight: 700;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}


.church-hero-btn i {
    font-size: 1rem;
}


.church-hero-btn-primary {
    background: var(--primary);

    border:
        1px solid var(--primary);

    color: #ffffff;
}


.church-hero-btn-primary:hover {
    background: var(--primary-dark);

    border-color: var(--primary-dark);

    color: #ffffff;
}


.church-hero-btn-outline {
    background: transparent;

    border:
        1px solid var(--primary);

    color: var(--primary);
}


.church-hero-btn-outline:hover {
    background: var(--primary);

    color: #ffffff;
}


/* =========================================================
   SERVICE TIMES
========================================================= */

.church-hero-services {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    margin-top: 43px;

    padding-top: 27px;

    border-top:
        1px solid var(--border);
}


.church-hero-service {
    min-width: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 13px;

    padding:
        5px 22px;
}


.church-hero-service:not(:last-child) {
    border-right:
        1px solid var(--border);
}


.church-hero-service-icon {
    flex: 0 0 auto;

    color: var(--secondary-dark);

    font-size: 1.35rem;
}


.church-hero-service > div:last-child {
    min-width: 0;

    display: flex;

    flex-direction: column;
}


.church-hero-service span {
    color: var(--secondary-dark);

    font-size: 0.66rem;

    font-weight: 800;

    letter-spacing: 1.4px;

    line-height: 1.2;

    margin-bottom: 4px;
}


.church-hero-service strong {
    color: var(--dark);

    font-family: var(--heading-font);

    font-size: 1rem;

    line-height: 1.25;

    margin-bottom: 4px;
}


.church-hero-service small {
    color: var(--text);

    font-size: 0.73rem;

    line-height: 1.35;
}


/* =========================================================
   IMPORTANT:
   OLD SERVICE STRIP

   We now display the three service times inside the hero.
   Hide ONLY the homepage duplicate immediately following it.
========================================================= */

.church-home-hero + .service-strip {
    display: none !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .church-home-hero {
        padding:
            40px 0 48px;
    }


    .church-hero-slider {
        height: 430px;
    }


    .church-hero-services {
        margin-top: 36px;

        padding-top: 24px;
    }


    .church-hero-service {
        gap: 9px;

        padding:
            5px 14px;
    }


    .church-hero-service-icon {
        font-size: 1.15rem;
    }


    .church-hero-service strong {
        font-size: 0.9rem;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .church-home-hero {
        padding:
            28px 0 38px;
    }


    /* CHURCH NAME */

    .church-hero-name {
        margin-bottom: 20px;
    }


    .church-hero-kicker {
        font-size: clamp(
            0.78rem,
            4.2vw,
            1rem
        );

        letter-spacing: 2px;

        white-space: nowrap;
    }


    .church-hero-name h1 {
        font-size: clamp(
            1.8rem,
            8vw,
            2.5rem
        );
    }


    /* SLIDESHOW */

    .church-hero-slider {
        height: 260px;

        border-radius: 3px;
    }


    /* MESSAGE */

    .church-hero-message {
        margin-top: 25px;
    }


    .church-hero-tagline {
        font-size: 1.4rem;

        margin-bottom: 10px;
    }


    .church-hero-message p {
        max-width: 94%;

        font-size: 0.86rem;

        line-height: 1.65;

        margin-bottom: 19px;
    }


    /* BUTTONS */

    .church-hero-actions {
        width: 100%;

        gap: 7px;

        flex-wrap: nowrap;
    }


    .church-hero-btn {
        min-width: 0;

        min-height: 42px;

        padding:
            9px 12px;

        font-size: 0.76rem;

        gap: 5px;
    }


    .church-hero-btn i {
        font-size: 0.88rem;
    }


    /* SERVICE TIMES */

    .church-hero-services {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        margin-top: 30px;

        padding-top: 20px;
    }


    .church-hero-service {
        min-width: 0;

        display: block;

        text-align: center;

        padding:
            2px 7px;
    }


    .church-hero-service-icon {
        margin-bottom: 6px;

        font-size: 1.05rem;
    }


    .church-hero-service > div:last-child {
        align-items: center;

        min-width: 0;
    }


    .church-hero-service span {
        width: 100%;

        font-size: 0.55rem;

        letter-spacing: 0.7px;

        white-space: nowrap;

        margin-bottom: 4px;
    }


    .church-hero-service strong {
        width: 100%;

        font-size: 0.74rem;

        line-height: 1.2;

        overflow-wrap: normal;

        word-break: normal;
    }


    .church-hero-service small {
        width: 100%;

        font-size: 0.58rem;

        line-height: 1.3;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .church-home-hero {
        padding:
            24px 0 34px;
    }


    .church-home-hero .container {
        padding-left: 13px;

        padding-right: 13px;
    }


    /* Keep CHURCH OF CHRIST on one line */

    .church-hero-kicker {
        font-size: 0.75rem;

        letter-spacing: 1.4px;
    }


    .church-hero-name h1 {
        font-size: 1.85rem;
    }


    /* Shorter image */

    .church-hero-slider {
        height: 225px;
    }


    .church-hero-tagline {
        font-size: 1.25rem;
    }


    .church-hero-message p {
        font-size: 0.8rem;
    }


    /* BOTH BUTTONS STAY ON ONE LINE */

    .church-hero-actions {
        gap: 6px;
    }


    .church-hero-btn {
        flex: 1 1 0;

        padding:
            9px 6px;

        font-size: 0.68rem;
    }


    .church-hero-btn i {
        font-size: 0.8rem;
    }


    /* ALL THREE SERVICE TIMES STAY IN ONE ROW */

    .church-hero-service {
        padding:
            2px 5px;
    }


    .church-hero-service-icon {
        font-size: 0.95rem;
    }


    .church-hero-service span {
        font-size: 0.48rem;

        letter-spacing: 0.4px;
    }


    .church-hero-service strong {
        font-size: 0.65rem;
    }


    .church-hero-service small {
        font-size: 0.51rem;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .church-hero-kicker {
        font-size: 0.68rem;

        letter-spacing: 1px;
    }


    .church-hero-name h1 {
        font-size: 1.65rem;
    }


    .church-hero-slider {
        height: 205px;
    }


    .church-hero-btn {
        font-size: 0.61rem;

        gap: 3px;
    }


    .church-hero-service {
        padding:
            2px 3px;
    }


    .church-hero-service-icon {
        font-size: 0.85rem;
    }


    .church-hero-service span {
        font-size: 0.43rem;

        letter-spacing: 0.2px;
    }


    .church-hero-service strong {
        font-size: 0.58rem;
    }


    .church-hero-service small {
        font-size: 0.46rem;
    }

}
/* =========================================================
   WEBSITE DEVELOPER CREDIT
========================================================= */

.developer-credit {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.developer-credit:hover {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 767.98px) {

    .developer-credit {
        font-size: inherit;
    }

}
/* =========================================================
   UPCOMING EVENTS — DATE INLINE OVERRIDE
   Paste at the VERY BOTTOM of your CSS
========================================================= */

/* Event row becomes one clean content column */
.events-page .event-row {
    display: block !important;
    width: 100% !important;
    padding: 28px 0 !important;
    border-bottom: 1px solid #d8ddd9 !important;
}


/* Remove the separate date block/card appearance */
.events-page .event-date {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 5px !important;

    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;

    margin: 0 0 9px !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    text-align: left !important;
}


/* Day */
.events-page .event-date strong {
    display: inline !important;

    width: auto !important;
    margin: 0 !important;

    color: #a47d27 !important;

    font-family: "DM Sans", sans-serif !important;
    font-size: .72rem !important;
    font-weight: 700 !important;

    line-height: 1.4 !important;
    letter-spacing: .08em !important;

    text-transform: uppercase !important;
}


/* Month */
.events-page .event-date span {
    display: inline !important;

    width: auto !important;
    margin: 0 !important;

    color: #a47d27 !important;

    font-size: .72rem !important;
    font-weight: 700 !important;

    line-height: 1.4 !important;
    letter-spacing: .08em !important;

    text-transform: uppercase !important;
}


/* Add comma after day */
.events-page .event-date strong::after {
    content: "," !important;
}


/* Event content */
.events-page .event-content {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* Title */
.events-page .event-info h3 {
    margin: 0 0 7px !important;

    color: #123B6D !important;

    font-family: "Playfair Display", serif !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;

    line-height: 1.25 !important;

    text-align: left !important;
}


/* Description */
.events-page .event-info p {
    width: 100% !important;
    max-width: 650px !important;

    margin: 0 !important;

    color: #69736e !important;

    font-size: .85rem !important;
    line-height: 1.65 !important;

    text-align: left !important;
}


/* Time + location */
.events-page .event-meta {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;

    gap: 8px 24px !important;

    width: 100% !important;

    margin: 14px 0 0 !important;
}


/* Individual metadata */
.events-page .event-meta-item {
    display: inline-flex !important;
    align-items: center !important;

    gap: 7px !important;

    margin: 0 !important;

    color: #59645e !important;

    font-size: .78rem !important;
    line-height: 1.4 !important;
}

.events-page .event-meta-item i {
    color: #a47d27 !important;
}


/* Details link stays at the right on desktop */
.events-page .event-more {
    display: inline-flex !important;
    align-items: center !important;

    gap: 6px !important;

    margin-left: auto !important;

    color: #123B6D !important;

    font-size: .76rem !important;
    font-weight: 700 !important;

    text-decoration: none !important;
}

.events-page .event-more:hover {
    color: #a47d27 !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .events-page .event-row {
        display: block !important;

        width: 100% !important;

        padding: 21px 0 !important;
    }


    /* Date now sits naturally above event title */
    .events-page .event-date {
        display: flex !important;
        flex-direction: row !important;

        gap: 4px !important;

        min-height: 0 !important;

        margin: 0 0 7px !important;
        padding: 0 !important;

        border: 0 !important;
        background: transparent !important;
    }

    .events-page .event-date strong,
    .events-page .event-date span {
        width: auto !important;

        margin: 0 !important;

        font-size: .62rem !important;

        line-height: 1.4 !important;
        letter-spacing: .07em !important;
    }


    /* Event title */

    .events-page .event-info h3 {
        margin: 0 0 5px !important;

        font-size: 1.08rem !important;
        line-height: 1.3 !important;
    }


    /* Description */

    .events-page .event-info p {
        max-width: 100% !important;

        font-size: .75rem !important;
        line-height: 1.6 !important;
    }


    /* Metadata */

    .events-page .event-meta {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;

        gap: 5px !important;

        margin-top: 11px !important;
    }

    .events-page .event-meta-item {
        gap: 6px !important;

        font-size: .69rem !important;
    }

    .events-page .event-meta-item i {
        width: 14px !important;

        text-align: center !important;
    }


    /* Details link */

    .events-page .event-more {
        margin: 6px 0 0 !important;

        font-size: .68rem !important;
    }

}
/* =========================================================
   HOMEPAGE HERO SLIDESHOW — FORCE FULL IMAGE FIT
   KEEP THIS AT THE ABSOLUTE BOTTOM OF style.css
========================================================= */

.church-home-hero,
.church-hero-slider,
.church-hero-slides,
.church-hero-slide {
    width: 100% !important;
    max-width: none !important;
}

.church-hero-slider {
    position: relative !important;
    overflow: hidden !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}

.church-hero-slide {
    position: absolute !important;
    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
}

.church-hero-slide img,
.church-hero-slider img {
    position: absolute !important;
    inset: 0 !important;

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    min-width: 100% !important;
    min-height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;

    border-radius: 0 !important;
}


/* DESKTOP */

@media (min-width: 992px) {

    .church-hero-slider {
        width: 100% !important;
        height: 520px !important;
        min-height: 520px !important;
    }

}


/* TABLET */

@media (max-width: 991.98px) {

    .church-hero-slider {
        width: 100% !important;
        height: 400px !important;
        min-height: 400px !important;
    }

}


/* MOBILE */

@media (max-width: 767.98px) {

    .church-hero-slider {
        width: 100% !important;
        height: 250px !important;
        min-height: 250px !important;

        margin: 0 !important;
        padding: 0 !important;

        border-radius: 0 !important;
    }

    .church-hero-slide,
    .church-hero-slide img,
    .church-hero-slider img {
        width: 100% !important;
        height: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        object-fit: cover !important;
        object-position: center center !important;

        border-radius: 0 !important;
    }

}


/* SMALL MOBILE */

@media (max-width: 390px) {

    .church-hero-slider {
        height: 220px !important;
        min-height: 220px !important;
    }

}
/* =========================================================
   FINAL HOMEPAGE HERO IMAGE OVERRIDE
   PLACE AT ABSOLUTE BOTTOM OF style.css
========================================================= */

/* Slider itself */
body .church-home-hero .church-hero-slider {
    position: relative !important;

    width: 100% !important;
    max-width: 100% !important;

    height: 500px !important;
    min-height: 500px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    border-radius: 4px !important;
}


/* Every slide */
body .church-home-hero .church-hero-slider .church-hero-slide {
    position: absolute !important;

    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
}


/* Actual images */
body .church-home-hero .church-hero-slider .church-hero-slide img {
    position: absolute !important;

    top: 0 !important;
    left: 0 !important;

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    min-width: 100% !important;
    max-width: none !important;

    min-height: 100% !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;

    border: 0 !important;
    border-radius: 0 !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    body .church-home-hero .church-hero-slider {
        width: 100% !important;
        height: 380px !important;
        min-height: 380px !important;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    body .church-home-hero .church-hero-slider {
        width: 100% !important;
        max-width: 100% !important;

        height: 240px !important;
        min-height: 240px !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        padding: 0 !important;

        overflow: hidden !important;
    }

    body .church-home-hero .church-hero-slider .church-hero-slide {
        position: absolute !important;

        inset: 0 !important;

        width: 100% !important;
        height: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    body .church-home-hero .church-hero-slider .church-hero-slide img {
        position: absolute !important;

        inset: 0 !important;

        width: 100% !important;
        height: 100% !important;

        min-width: 100% !important;
        min-height: 100% !important;

        object-fit: cover !important;
        object-position: center center !important;

        margin: 0 !important;
        padding: 0 !important;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 390px) {

    body .church-home-hero .church-hero-slider {
        height: 215px !important;
        min-height: 215px !important;
    }

}
@media (max-width: 767.98px) {

    body .church-home-hero .church-hero-slider {
        width: 100vw !important;
        max-width: 100vw !important;

        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;

        border-radius: 0 !important;
    }

}
/* =========================================================
   HOMEPAGE HERO SLIDER — CLEAN FINAL OVERRIDE
   Container width + shorter height + clearer images
========================================================= */

/* DESKTOP */
body .church-home-hero .church-hero-slider {
    position: relative !important;

    width: 100% !important;
    max-width: 100% !important;

    height: 460px !important;
    min-height: 460px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    overflow: hidden !important;

    border-radius: 4px !important;
}


/* SLIDES */
body .church-home-hero .church-hero-slider .church-hero-slide {
    position: absolute !important;
    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
}


/* IMAGES */
body .church-home-hero .church-hero-slider .church-hero-slide img {
    position: absolute !important;
    inset: 0 !important;

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;

    image-rendering: auto !important;

    border-radius: 0 !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    body .church-home-hero .church-hero-slider {
        width: 100% !important;

        height: 360px !important;
        min-height: 360px !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    /* Restore normal Bootstrap container spacing */
    body .church-home-hero > .container {
        width: 100% !important;

        padding-left: 16px !important;
        padding-right: 16px !important;
    }


    body .church-home-hero .church-hero-slider {
        width: 100% !important;
        max-width: 100% !important;

        height: 245px !important;
        min-height: 245px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        border-radius: 3px !important;
    }


    body .church-home-hero .church-hero-slider .church-hero-slide img {
        width: 100% !important;
        height: 100% !important;

        object-fit: cover !important;
        object-position: center center !important;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    body .church-home-hero > .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    body .church-home-hero .church-hero-slider {
        height: 225px !important;
        min-height: 225px !important;
    }

}
/* =========================================================
   VERSE OF THE WEEK
========================================================= */

.weekly-verse-section {
    position: relative;

    width: 100%;

    padding: 50px 0;

    background: #f7f4ec;

    border-top: 1px solid rgba(18, 59, 109, 0.08);
    border-bottom: 1px solid rgba(18, 59, 109, 0.08);

    overflow: hidden;
}


.weekly-verse-content {
    width: 100%;
    max-width: 850px;

    margin: 0 auto;

    text-align: center;
}


/* =========================================================
   SMALL HEADING
========================================================= */

.weekly-verse-heading {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 13px;

    margin-bottom: 19px;
}


.weekly-verse-label {
    display: inline-block;

    color: #a27a27;

    font-family: "DM Sans", sans-serif;

    font-size: 0.73rem;
    font-weight: 700;

    letter-spacing: 0.16em;

    white-space: nowrap;
}


.weekly-verse-line {
    display: block;

    width: 35px;
    height: 1px;

    background: #a27a27;
}


/* =========================================================
   VERSE
========================================================= */

.weekly-verse-text {
    width: 100%;
    max-width: 760px;

    margin: 0 auto 17px;

    padding: 0;

    border: 0;

    color: #123B6D;

    font-family: "Playfair Display", serif;

    font-size: clamp(1.45rem, 2.5vw, 2rem);

    font-weight: 600;

    line-height: 1.55;
}


/* =========================================================
   BIBLE REFERENCE
========================================================= */

.weekly-verse-reference {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    color: #6c5936;

    font-family: "DM Sans", sans-serif;

    font-size: 0.88rem;
    font-weight: 700;

    letter-spacing: 0.04em;
}


.weekly-verse-reference i {
    color: #a27a27;

    font-size: 1rem;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .weekly-verse-section {
        padding: 42px 0;
    }

    .weekly-verse-content {
        max-width: 720px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .weekly-verse-section {
        padding: 32px 0;
    }


    .weekly-verse-content {
        width: 100%;

        max-width: 100%;

        padding-left: 4px;
        padding-right: 4px;
    }


    .weekly-verse-heading {
        gap: 9px;

        margin-bottom: 14px;
    }


    .weekly-verse-label {
        font-size: 0.65rem;

        letter-spacing: 0.12em;
    }


    .weekly-verse-line {
        width: 24px;
    }


    .weekly-verse-text {
        max-width: 100%;

        margin-bottom: 13px;

        font-size: 1.18rem;

        line-height: 1.5;
    }


    .weekly-verse-reference {
        gap: 6px;

        font-size: 0.79rem;
    }


    .weekly-verse-reference i {
        font-size: 0.9rem;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .weekly-verse-section {
        padding: 28px 0;
    }


    .weekly-verse-text {
        font-size: 1.1rem;

        line-height: 1.5;
    }


    .weekly-verse-label {
        font-size: 0.62rem;
    }

}
/* =========================================================
   VERSE → WELCOME GAP FIX
   FINAL OVERRIDE
========================================================= */

/* Remove space below weekly verse */
body .weekly-verse-section {
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
}

/* Remove large space above welcome */
body .welcome-section {
    margin-top: 0 !important;
    padding-top: 20px !important;
}

/* Bootstrap row inside welcome */
body .welcome-section .row {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Welcome content column */
body .welcome-section .col-lg-6 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Welcome heading */
body .welcome-section .section-heading {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body .welcome-section .section-heading .section-tag {
    margin-top: 0 !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    body .weekly-verse-section {
        margin-bottom: 0 !important;
        padding-bottom: 14px !important;
    }

    body .welcome-section {
        margin-top: 0 !important;
        padding-top: 14px !important;
    }

    body .welcome-section .container,
    body .welcome-section .row,
    body .welcome-section .col-lg-6,
    body .welcome-section .section-heading {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

}