/*!
 * FCC Website Stylesheet
/*!
 * style.css
 * Author: M.R.
 * Description: Main stylesheet for the FCC Website.
 * Last updated: 2025-27-2025
 */

:root {
    --beige: #d8ce8a;
    --brown: #9a6107;
    --brown-light: #f6e8cf;
    --brown-dark: #2c1d00;
    --yellow: #ffc107;
    --lavender: #ac95bb;
    --purple: #6b4184;
    --violet: #6f42c1;
    --dark-violet: #332042;
    --white: #ffffff;
    --black: #000000;
    --light: #f8f9fa;
    --dark: #333333;
    --gray: #d9d9d9;
    --gray-dark: #5c5b5b;
    --cream: #fffaef;
    --cream-light: #f7ebd7;
    --cream-dark: #eeddbf;
    --cream-darkest: #d7c4bd;
    --beige-light: #eeddbf;
    --beige-lighter: #f8f0e2;
    --beige-medium: #ead6ad;
    --beige-lightest: #fefaf4;
    --red-maroon: #aa0505;
    --brown-80: rgba(154, 97, 7, 0.5);
    /* Font sizes */
    --font-xs: 0.75rem; /* 12px */
    --font-sm: 0.875rem; /* 14px */
    --font-md: 1rem; /* 16px */
    --font-lg: 1.25rem; /* 20px */
    --font-xl: 1.5rem; /* 24px */
    --font-xxl: 2rem; /* 32px */
    --font-xxxl: 3rem; /* 48px */

    --font-family: "Merriweather", serif;
}

/* CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
}

html,
body {
    height: 100%;
    width: 100%;
}

body {
    line-height: 1;
    background-color: #fff;
    color: #333;
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

ol,
ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

.text-sm {
    font-size: var(--font-md);
    color: var(--gray-dark);
    font-weight: 400;
    word-wrap: break-word;
}

.menu-toggle {
    display: none;
}

.font-size-xs {
    font-size: var(--font-xs);
}

.font-size-xsx {
    font-size: var(--font-xxs);
}

.font-size-sm {
    font-size: var(--font-sm);
}

.font-size-md {
    font-size: var(--font-md);
}

.font-size-lg {
    font-size: var(--font-lg);
}

.font-size-xl {
    font-size: var(--font-xl);
}

.font-size-xxl {
    font-size: var(--font-xxl);
}

.font-size-xxxl {
    font-size: var(--font-xxxl);
}

.bg-beige {
    background-color: var(--beige);
}

.bg-brown {
    background-color: var(--brown);
}

.bg-brown-light {
    background-color: var(--brown-light);
}

.bg-brown-dark {
    background-color: var(--brown-dark);
}

.bg-yellow {
    background-color: var(--yellow);
}

.bg-lavender {
    background-color: var(--lavender);
}

.bg-purple {
    background-color: var(--purple);
}

.bg-violet {
    background-color: var(--violet);
}

.bg-dark-violet {
    background-color: var(--dark-violet);
}

.bg-white {
    background-color: var(--white);
}

.bg-black {
    background-color: var(--black);
}

.bg-light {
    background-color: var(--light);
}

.bg-dark {
    background-color: var(--dark);
}

.bg-gray {
    background-color: var(--gray);
}

.bg-gray-dark {
    background-color: var(--gray-dark);
}

.bg-cream {
    background-color: var(--cream);
}

.bg-cream-light {
    background-color: var(--cream-light);
}

.bg-cream-dark {
    background-color: var(--cream-dark);
}

.bg-cream-darkest {
    background-color: var(--cream-darkest);
}

.bg-beige-light {
    background-color: var(--beige-light);
}

.bg-beige-lighter {
    background-color: var(--beige-lighter);
}

.bg-beige-medium {
    background-color: var(--beige-medium);
}

.bg-beige-lightest {
    background-color: var(--beige-lightest);
}

header {
    padding: 0rem 2rem;
}

h1 {
    font-size: var(--font-xxxl);
    font-weight: bold;
    margin: 1rem 0 0.5rem 0;
}

h3 {
    font-size: var(--font-lg);
    font-weight: bold;
    margin: 1rem 0 0.5rem 0;
}

h2 {
    font-size: var(--font-xxl);
    font-weight: bold;
    margin: 1rem 0 0.5rem 0;
}



.navbar-inner {
    background: rgba(43, 18, 58, 0.8);
    transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.navbar.fixed {
    position: fixed;
    background: rgba(43, 18, 58, 0.7);
    /* background-color: var(--dark-color); */
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    padding: 0.5rem 2rem;
    animation: slideDown 0.4s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.fcc-header {
    background-color: var(--brown-80);
    color: white; 
    padding: .64rem;
    position: relative;
    border-radius: 10px 10px 0 0;
}

    .fcc-header h2 {
        font-size: 2rem;
        margin: 0;
        padding-left: 1rem;
        position: relative;
    }

.fcc-header {
    position: relative;
}

.bar-welcome-title {
    display: inline-block;
    width: 120px;
    height: 4px;
    background-color: #c9b894;
    position: absolute;
    top: -1rem;
    left: 1rem;
}

.bar {
    display: inline-block;
    width: 120px;
    height: 4px;
    background-color: var(--brown);
    position: absolute;
    top: -1rem;
    left: 1rem;
}

.bar-light {
    display: inline-block;
    width: 120px;
    height: 4px;
    background-color: var(--beige);
    position: absolute;
    top: -1rem;
    left: 1rem;
}

.fcc-header .bar {
    /* Ensures the bar appears above the text */
    z-index: 2;
}

.logo-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Adjust spacing as needed */
    font-family: "Times New Roman";
    font-size: 38px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    color: var(--cream);
    padding:10px 0px ;
}

#logo img {
    height: 100%; /*Adjust size as needed */
    width: auto;
    vertical-align: middle;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .2rem;
}

nav a {
    text-decoration: none;
    color: var(--cream);
    padding: 22px 10px;
    transition: 0.3s;
}

    nav a:hover {
        background-color: var(--white);
        color: var(--purple);
    }




/*.btn {
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.5px;
}*/


/* Bootstrap Button Overrides */
.btn {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}

/* Primary button - Brown */
.btn-primary {
    background-color: var(--brown);
    color: var(--white);
    border: 2px solid var(--brown);
}

    .btn-primary:hover, .btn-primary:focus {
        background-color: var(--brown-dark);
        border-color: var(--brown-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

/* Secondary button - Purple */
.btn-secondary {
    background-color: var(--purple);
    color: var(--white);
    border: 2px solid var(--purple);
}

    .btn-secondary:hover, .btn-secondary:focus {
        background-color: var(--dark-violet);
        border-color: var(--dark-violet);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

/* Success button - Beige */
.btn-success {
    background-color: var(--beige);
    color: var(--brown-dark);
    border: 2px solid var(--beige);
}

    .btn-success:hover, .btn-success:focus {
        background-color: var(--beige-medium);
        border-color: var(--beige-medium);
        color: var(--brown-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

/* Warning button - Yellow */
.btn-warning {
    background-color: var(--yellow);
    color: var(--brown-dark);
    border: 2px solid var(--yellow);
}

    .btn-warning:hover, .btn-warning:focus {
        background-color: #edb100;
        border-color: #edb100;
        color: var(--brown-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

/* Danger button - Red-brown */
.btn-danger {
    background-color: #a73d2a;
    color: var(--white);
    border: 2px solid #a73d2a;
}

    .btn-danger:hover, .btn-danger:focus {
        background-color: #8e3523;
        border-color: #8e3523;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

/* Info button - Lavender */
.btn-info {
    background-color: var(--lavender);
    color: var(--white);
    border: 2px solid var(--lavender);
}

    .btn-info:hover, .btn-info:focus {
        background-color: var(--violet);
        border-color: var(--violet);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

/* Light button */
.btn-light {
    background-color: var(--cream-light);
    color: var(--brown-dark);
    border: 2px solid var(--cream-light);
}

    .btn-light:hover, .btn-light:focus {
        background-color: var(--cream);
        border-color: var(--cream);
        color: var(--brown-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

/* Dark button */
.btn-dark {
    background-color: var(--brown-dark);
    color: var(--white);
    border: 2px solid var(--brown-dark);
}

    .btn-dark:hover, .btn-dark:focus {
        background-color: var(--black);
        border-color: var(--black);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

/* Outline button variants */
.btn-outline-primary {
    color: var(--brown);
    background-color: transparent;
    border: 2px solid var(--brown);
}

    .btn-outline-primary:hover, .btn-outline-primary:focus {
        background-color: var(--brown);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.btn-outline-secondary {
    color: var(--purple);
    background-color: transparent;
    border: 2px solid var(--purple);
}

    .btn-outline-secondary:hover, .btn-outline-secondary:focus {
        background-color: var(--purple);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.btn-outline-success {
    color: var(--brown-dark);
    background-color: transparent;
    border: 2px solid var(--beige);
}

    .btn-outline-success:hover, .btn-outline-success:focus {
        background-color: var(--beige);
        color: var(--brown-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.btn-outline-warning {
    color: var(--brown-dark);
    background-color: transparent;
    border: 2px solid var(--yellow);
}

    .btn-outline-warning:hover, .btn-outline-warning:focus {
        background-color: var(--yellow);
        color: var(--brown-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.btn-outline-danger {
    color: #a73d2a;
    background-color: transparent;
    border: 2px solid #a73d2a;
}

    .btn-outline-danger:hover, .btn-outline-danger:focus {
        background-color: #a73d2a;
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.btn-outline-info {
    color: var(--lavender);
    background-color: transparent;
    border: 2px solid var(--lavender);
}

    .btn-outline-info:hover, .btn-outline-info:focus {
        background-color: var(--lavender);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.btn-outline-light {
    color: var(--brown);
    background-color: transparent;
    border: 2px solid var(--cream-light);
}

    .btn-outline-light:hover, .btn-outline-light:focus {
        background-color: var(--cream-light);
        color: var(--brown-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.btn-outline-dark {
    color: var(--brown-dark);
    background-color: transparent;
    border: 2px solid var(--brown-dark);
}

    .btn-outline-dark:hover, .btn-outline-dark:focus {
        background-color: var(--brown-dark);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

/* Legacy button styles - keep for backward compatibility */
.btn.purple {
    background-color: #6f42c1;
    color: #fff;
}

.btn.yellow:hover {
    background-color: var(--brown-light);
    color: var(--brown);
    box-shadow: 0 4px 16px rgba(255, 204, 0, 0.25);
    transform: translateY(-2px) scale(1.05);
    transition: all 0.2s;
}

.btn.purple:hover {
    background-color: #8e5be8;
    color: #fffbe7;
    box-shadow: 0 4px 16px rgba(111, 66, 193, 0.25);
    transform: translateY(-2px) scale(1.05);
    transition: all 0.2s;
}

.btn.yellow {
    background-color: var(--yellow);
    color: var(--dark);
}

    .btn.yellow:hover {
        background-color: #ffd700;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

.btn.purple {
    background-color: var(--dark-violet);
    color: #fff;
}

    .btn.purple:hover {
        background-color: #4e0d79;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

.more-info {
    font-weight: lighter;
    color: var(--brown);
    text-decoration-color: var(--brown);
    font-size: var(--font-xs);
    padding: 0.5rem;
}

    .more-info:hover {
        padding: 0.5rem;
        background-color: var(--brown);
    }
/*
.navbar {
    min-height: 75px !important;
    height: 75px;
}*/

.navbar-nav .nav-link {
    height: 58px;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    transition: background 0.2s, color 0.2s;
    color: var(--beige);
}

    .active-link,
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        color: var(--lavander) !important;
        background-color: var(--beige) !important;
    }

.navbar-brand.logo-inline:hover {
    color: var(--beige) !important;
    background: rgba(43, 18, 58, 0.0);
}

    .navbar-brand.logo-inline:hover img {
        transform: scale(1.1) rotate(-5deg);
    }

.faith-section {
    padding: 3rem 1rem;
    background-color: #f1e7e2;
}

.faith-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.overlap-left {
    /* Adjust overlap by changing right margin */
    margin-right: -80px;
}

.overlap-right {
    /* Adjust overlap by changing left margin */
    position: absolute;
    top: 60px; /* or your desired offset */
    right: 0;
    left: auto;
    width: 55%; /* or use: width: calc(100% - 45%); */
    margin-left: -280; /* remove negative margin */
    z-index: 1;
}

.overlap-center-div {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.header {
    color: var(--brown);
    padding-top: 1.8rem;
    padding-bottom: 1rem;
    position: relative;
    border-radius: 10px 10px 0 0;
}

    .header h2 {
        margin: 0;
        padding-left: 1rem;
        font-weight: bold;
        position: relative;
    }

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-top: 230px;
}

    .hero h1 span {
        color: #d4d2a1;
        display: block;
        font-size: 3rem;
        font-weight: 900;
        margin-bottom: -1.2rem;
    }

        .hero h1 span.h1-sm {
            color: var(--light-color);
            font-size: 2.5rem;
            font-weight: 900;
            margin-bottom: 0rem;
            height: 26px;
        }

.hero h3,
.hero h2 {
    font-weight: 400;
}

.hero h3 {
    font-size: 1.2rem;
}

.hero h2 {
    font-size: 2rem;
    margin-top: 1rem;
}

.hero-buttons {
    margin-top: 7rem;
}

    .hero-buttons .btn {
        margin: 0 0.5rem;
        text-decoration: none;
    }

.worship-carousel-section {
    margin: 2rem 0;
}

.worship-title {
    font-size: 2.5rem;
    color: var(--brown);
    font-family: "Merriweather", serif;
    font-weight: bold;
    margin-bottom: 2rem;
    position: relative;
}

.bar-worship-title {
    display: inline-block;
    width: 80px;
    height: 4px;
    background: var(--brown);
    position: absolute;
    top: -1.2rem;
    left: 0;
}

.worship-carousel-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.worship-carousel {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1);
}

.carousel-slide {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin: 0 1rem;
    min-width: 400px;
    max-width: 400px;
    flex: 0 0 400px;
    padding: 1rem 1.5rem 2rem 1.5rem;
    text-align: left;
    position: relative;
}

    .carousel-slide img {
        width: 100%;
        border-radius: 8px 8px 0 0;
        margin-bottom: 1rem;
    }

    .carousel-slide .worship-time {
        font-size: var(--font-xs);
        color: var(--brown);
        font-weight: 100;
        margin-bottom: 0.5rem;
    }

    .carousel-slide p {
        font-size: var(--font-sm);
        color: var(--gray-dark);
        font-weight: 200;
        word-wrap: break-word;
        margin-bottom: 1rem;
    }

.carousel-arrow {
    background: #f8f6ef;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 2rem;
    color: var(--brown);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 2;
}

    .carousel-arrow:hover {
        background: var(--brown);
        color: #fff;
        padding: 1rem;
    }

.worship-carousel .carousel-slide {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    cursor: auto;
}

    .worship-carousel .carousel-slide:hover {
        transform: translateY(-8px) scale(1.03);
        box-shadow: 0 8px 24px rgba(80, 60, 30, 0.18), 0 1.5px 4px rgba(0, 0, 0, 0.08);
        background: #f8f5f0;
    }

    .worship-carousel .carousel-slide img {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s;
    }

    .worship-carousel .carousel-slide:hover img {
        transform: scale(1.05) rotate(-1deg);
        filter: brightness(1.08) saturate(1.1);
    }

    .worship-carousel .carousel-slide .more-info {
        transition: color 0.3s, background 0.3s;
    }

    .worship-carousel .carousel-slide:hover .more-info {
        color: #fff;
        background: var(--brown, --brown-dark);
        border-radius: 4px;
        text-decoration: none;
    }

@media (max-width: 900px) {
    .carousel-slide,
    .carousel-track {
        min-width: 90vw;
        max-width: 90vw;
        flex: 0 0 90vw;
    }
}

.events-section {
    background-color: var(--cream);
    padding: 2rem;
}

.upcoming-events {
    margin: 0;
    padding: 0.2rem 1rem;
}

.event-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    border-top: 1px solid #ddd;
}

    .event-list li {
        border-bottom: 1px solid #ddd;
        font-size: var(--font-md);
    }

        .event-list li:last-child {
            border-bottom: none;
        }

.event-link {
    display: block;
    padding: 1rem 1rem;
    text-decoration: none;
    color: #4a3f35;
    transition: background-color 0.2s, color 0.2s;
}

    .event-link:hover {
        background-color: var(--beige-light);
        color: var(--brown);
        padding: 1rem 1rem;
    }

.event-list .date {
    display: inline-block;
    width: 100%;
    font-weight: bold;
}

.view-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 400;
    color: #4a3f35;
    font-size: var(--font-xs);
    text-decoration: underline;
    transition: color 0.3s;
    text-decoration-thickness: 2px; /* Thickness of underline */
    text-underline-offset: 6px; /* Space between text and underline */
    text-decoration-color: var(--brown-dark); /* Color of underline */
}

    .view-link:hover {
        color: var(--brown);
    }

.date {
    font-size: 0.9em;
    color: var(--brown);
}

.item-name {
    font-weight: 400;
    font-size: 1em;
    color: var(--brown-dark);
    margin-top: 5px;
}

.newsletter-banner-link .newsletter-banner-img {
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}

.newsletter-banner-link:hover .newsletter-banner-img {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 8px 24px rgba(80, 40, 20, 0.18);
}

.sermons-section {
    background-color: var(--light);
    padding: 2rem;
}

.sermon-section-title {
    font-size: 2em;
    font-weight: bold;
    border-bottom: 4px solid #a06b00;
    padding-bottom: 5px;
    display: inline-block;
    margin-bottom: 30px;
}

.sermon-item {
    padding: 15px 0;
    border-bottom: 1px solid #ccc;
    transition: background-color 0.3s;
    text-decoration: none;
}

    .sermon-item:hover {
        background-color: #f1ece3;
    }

.sermon-date {
    color: #a06b00;
    font-size: 0.9em;
}

.sermon-title {
    font-weight: bold;
    font-size: 1em;
    margin-top: 5px;
    color: #2c1d00;
}

.youtube-link {
    display: block;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: #4a2f00;
    border-top: 1px solid #ccc;
    padding-top: 15px;
    transition: color 0.3s, text-decoration 0.3s;
}

    .youtube-link:hover {
        color: #a06b00;
        text-decoration: underline;
    }

.youtube-overlay {
    position: relative;
    background-image: url("../../~/images/Worship-Service.png");
    /* Overlay using a linear-gradient for 40% black */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url("../../~/images/Worship-Service.png");
    background-size: cover;
    background-position: center;
    height: 100%;
    min-height: 400px;
}

    .youtube-overlay::before {
        content: "";
        position: absolute;
        pointer-events: none;
    }

.youtube-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-decoration: none;
}

    .youtube-button img {
        width: 100px;
        transition: transform 0.3s ease-in-out;
    }

    .youtube-button:hover img {
        transform: scale(1.1);
    }

    .youtube-button span {
        display: block;
        margin-top: 10px;
        font-size: 1rem;
    }

.pastor-message {
    background-color: var(--beige-light);
    padding: 0rem;
    margin-top: -40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-wrapper {
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    position: relative;
}

.quote-layer {
    position: absolute;
    background-color: #f6ebd5;
    border-radius: 20px;
    height: 100%;
    width: 86%;
    z-index: 0;
}

    .quote-layer:nth-child(2) {
        background-color: var(--beige-lighter);
        padding: 0rem;
        height: 100%;
        width: 99%;
    }

    /* middle box*/
    .quote-layer:nth-child(3) {
        background-color: var(--brown-light);
        padding: 0rem;
        height: 100%;
        width: 92%;
    }

.quote-card {
    display: flex;
    align-items: center;
    background-color: var(--beige-medium);
    padding: 40px 60px;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    height: 100%;
    width: 86%;
}

.quote-text {
    flex: 1;
    color: #4a4a4a;
    font-size: 1.1rem;
    line-height: 1.6;
    padding-right: 120px;
}

.quote-author {
    text-align: right;
    margin-top: 20px;
    color: #a06b00;
    font-weight: bold;
    font-size: 1rem;
}

.quote-title {
    text-align: right;
    font-size: 0.9rem;
    font-weight: bold;
    color: #444;
}

.quote-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 6px solid var(--beige-medium);
    object-fit: cover;
}

@media (max-width: 768px) {
    .quote-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .quote-text {
        padding-right: 0;
    }

    .quote-image {
        margin-top: 20px;
    }
}

.invitation-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f6f1;
}

.invitation-title {
    font-size: 2em;
    color: #a06b00;
    font-weight: bold;
    margin-bottom: 15px;
}

.invitation-subtitle {
    font-size: 1rem;
    color: #333;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.verse-section {
    background-color: #2c1d00; /* Dark brown background */
    text-align: center;
}

.verse-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url("/images/verse-bg.jpg"); /* Replace with your actual image path */
    background-size: cover;
    background-position: center;
    color: #f0e9bd;
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.verse-text {
    font-size: var(--font-xl);
    font-weight: bold;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

.verse-ref {
    font-family: "Great Vibes", cursive;
    font-size: 1.5rem;
    color: #f7f7f7;
    margin-top: 20px;
    display: inline-block;
}

@media (max-width: 768px) {
    .verse-text {
        font-size: 1.2rem;
    }

    .verse-ref {
        font-size: 1.2rem;
    }
}

.newslettter-section {
    background-color: var(--brown); /* Light beige background */
    background-image: url("/images/Frame2215.png"); /* Optional: Add background patterns if available */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: left;
}

.newsletter-banner {
    background-image: url("your-background-image.png"); /* Optional: Add background patterns if available */
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 60px;
    gap: 20px;
}

.newsletter-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.newsletter-icon {
    width: 50px;
    height: auto;
}

.newsletter-text h4 {
    font-weight: bold;
    margin: 0 0 5px 0;
}

.newsletter-text p {
    font-size: 0.9rem;
    margin: 0;
    color: #f3e8d4;
    line-height: 1.6em;
}

.newsletter-form {
    display: flex;
    background-color: white;
    border: 2px solid #fff;
    border-radius: 2px;
    overflow: hidden;
}

    .newsletter-form input[type="email"] {
        padding: 12px 15px;
        border: none;
        outline: none;
        font-family: inherit;
        width: 250px;
    }

    .newsletter-form button {
        background-color: #9b5d00;
        color: white;
        border: none;
        padding: 12px 20px;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .newsletter-form button:hover {
            background-color: #7a4600;
        }

@media (max-width: 768px) {
    .newsletter-banner {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
    }

        .newsletter-form input {
            width: 100%;
        }

        .newsletter-form button {
            width: 100%;
        }
}

footer {
    background-color: var(--black);
    color: #fff;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    padding: 40px 60px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

    .footer-col h4 {
        font-size: 1.1rem;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .footer-col ul {
        list-style: none;
        padding: 0;
    }

        .footer-col ul li {
            margin-bottom: 10px;
        }

            .footer-col ul li a {
                color: #ddd;
                text-decoration: none;
                transition: color 0.3s;
            }

                .footer-col ul li a:hover {
                    color: #fff;
                }

.contact-item {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

    .contact-item i {
        margin-top: 3px;
        color: #ddd;
    }

.contact-text {
    border-bottom: 1px solid #666;
    padding-bottom: 5px;
    color: #ddd;
    font-size: 0.95rem;
}

.bottom-footer-bg {
    background-color: #5e2a83;
}

.footer-bottom {
    color: #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    flex-wrap: wrap;
}

.footer-logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-logo {
    width: 30px;
}

.social-icons a {
    color: var(--lavander);
    margin-left: 15px;
    font-size: 1.2rem;
    transition: color 0.3s;
}

    .social-icons a:hover {
        color: var(--brown);
    }

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
}

.btn-dark {
    background-color: var(--brown);
    color: #fff;
}

/*.btn.yellow {
    background-color: var(--brown);
    color: var(--cream);
}
*/
.btn.purple {
    background-color: #6f42c1;
    color: #fff;
}

.btn.yellow:hover {
    background-color: var(--brown-light);
    color: var(--brown);
    box-shadow: 0 4px 16px rgba(255, 204, 0, 0.25);
    transform: translateY(-2px) scale(1.05);
    transition: all 0.2s;
}

.btn.purple:hover {
    background-color: #8e5be8;
    color: #fffbe7;
    box-shadow: 0 4px 16px rgba(111, 66, 193, 0.25);
    transform: translateY(-2px) scale(1.05);
    transition: all 0.2s;
}

.more-info {
    font-weight: lighter;
    color: var(--brown);
    text-decoration-color: var(--brown);
    font-size: var(--font-xs);
    padding: 0.5rem;
}

    .more-info:hover {
        padding: 0.5rem;
        background-color: var(--brown);
    }

/*.navbar {
    min-height: 75px !important;
    height: 75px;
    background-color: var(--red-maroon)
}*/

.navbar {
    position: fixed;
    width: 100%;
    z-index: 100;
    background: rgba(43, 18, 58, 0);
    /*    background-color: rgb(142, 4, 0, 0.8)*/;
    transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
    padding: 0 2rem;
    background: rgba(43, 18, 58, 0.7);
    /* background-color: var(--dark-color); */
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    padding: 0.5rem 2rem;
    animation: slideDown 0.4s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.navbar-nav .nav-link {
    height: 58px;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    transition: background 0.2s, color 0.2s;
    color: var(--beige);
}

    .active-link,
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        color: var(--lavander) !important;
        background-color: var(--beige) !important;
    }


.faith-section {
    padding: 3rem 1rem;
    background-color: #f1e7e2;
}

.faith-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.overlap-left {
    /* Adjust overlap by changing right margin */
    margin-right: -80px;
}

.overlap-right {
    /* Adjust overlap by changing left margin */
    position: absolute;
    top: 60px; /* or your desired offset */
    right: 0;
    left: auto;
    width: 55%; /* or use: width: calc(100% - 45%); */
    margin-left: -280; /* remove negative margin */
    z-index: 1;
}

.overlap-center-div {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.header {
    color: var(--brown);
    padding-top: 1.8rem;
    padding-bottom: 1rem;
    position: relative;
    border-radius: 10px 10px 0 0;
}

    .header h2 {
        margin: 0;
        padding-left: 1rem;
        font-weight: bold;
        position: relative;
    }
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  /*  background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 90%);
*/    z-index: 3;
    backdrop-filter: blur(1px);
    overflow: hidden;
}

    .hero-overlay::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='smallGrid' width='20' height='20' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 20 0 L 0 0 0 20' fill='none' stroke='white' stroke-width='0.5' opacity='0.5'/%3E%3C/pattern%3E%3Cpattern id='grid' width='100' height='100' patternUnits='userSpaceOnUse'%3E%3Crect width='100' height='100' fill='url(%23smallGrid)'/%3E%3Cpath d='M 100 0 L 0 0 0 100' fill='none' stroke='white' stroke-width='1' opacity='0.1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23grid)'/%3E%3C/svg%3E");
        opacity: 0.2;
        pointer-events: none;
    }


.hero-overlay-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 90%);
    background: rgba(0, 0, 0, 0.75);
    z-index: 3;
    backdrop-filter: blur(1px);
    overflow: hidden;
}

    .hero-overlay-img::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='smallGrid' width='20' height='20' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 20 0 L 0 0 0 20' fill='none' stroke='white' stroke-width='0.5' opacity='0.5'/%3E%3C/pattern%3E%3Cpattern id='grid' width='100' height='100' patternUnits='userSpaceOnUse'%3E%3Crect width='100' height='100' fill='url(%23smallGrid)'/%3E%3Cpath d='M 100 0 L 0 0 0 100' fill='none' stroke='white' stroke-width='1' opacity='0.2'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23grid)'/%3E%3C/svg%3E");
        opacity: 0.2;
        pointer-events: none;
    }


.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-top: 230px;
}

    .hero h1 span {
        color: #d4d2a1;
        display: block;
        font-size: 4rem;
        font-weight: 900;
        margin-bottom: -1.2rem;
    }

        .hero h1 span.h1-sm {
            color: var(--light-color);
            font-size: 2.5rem;
            font-weight: 900;
            margin-bottom: 0rem;
            height: 26px;
        }

.hero h3,
.hero h2 {
    font-weight: 400;
}

.hero h3 {
    font-size: 1.2rem;
}

.hero h2 {
    font-size: 2rem;
    margin-top: 1rem;
}

.hero-buttons {
    margin-top: 7rem;
}

    .hero-buttons .btn {
        margin: 0 0.5rem;
        text-decoration: none;
    }

.worship-carousel-section {
    margin: 2rem 0;
}

.worship-title {
    font-size: 2.5rem;
    color: var(--brown);
    font-family: "Merriweather", serif;
    font-weight: bold;
    margin-bottom: 2rem;
    position: relative;
}

.bar-worship-title {
    display: inline-block;
    width: 80px;
    height: 4px;
    background: var(--brown);
    position: absolute;
    top: -1.2rem;
    left: 0;
}

.worship-carousel-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.worship-carousel {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1);
}

.carousel-slide {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin: 0 1rem;
    min-width: 400px;
    max-width: 400px;
    flex: 0 0 400px;
    padding: 1rem 1.5rem 2rem 1.5rem;
    text-align: left;
    position: relative;
}

    .carousel-slide img {
        width: 100%;
        border-radius: 8px 8px 0 0;
        margin-bottom: 1rem;
    }

    .carousel-slide .worship-time {
        font-size: var(--font-xs);
        color: var(--brown);
        font-weight: 100;
        margin-bottom: 0.5rem;
    }

    .carousel-slide p {
        font-size: var(--font-sm);
        color: var(--gray-dark);
        font-weight: 200;
        word-wrap: break-word;
        margin-bottom: 1rem;
    }

.carousel-arrow {
    background: #f8f6ef;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 2rem;
    color: var(--brown);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 2;
}

    .carousel-arrow:hover {
        background: var(--brown);
        color: #fff;
        padding: 1rem;
    }

.worship-carousel .carousel-slide {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    cursor: auto;
}

    .worship-carousel .carousel-slide:hover {
        transform: translateY(-8px) scale(1.03);
        box-shadow: 0 8px 24px rgba(80, 60, 30, 0.18), 0 1.5px 4px rgba(0, 0, 0, 0.08);
        background: #f8f5f0;
    }

    .worship-carousel .carousel-slide img {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s;
    }

    .worship-carousel .carousel-slide:hover img {
        transform: scale(1.05) rotate(-1deg);
        filter: brightness(1.08) saturate(1.1);
    }

    .worship-carousel .carousel-slide .more-info {
        transition: color 0.3s, background 0.3s;
    }

    .worship-carousel .carousel-slide:hover .more-info {
        color: #fff;
        background: var(--brown, --brown-dark);
        border-radius: 4px;
        text-decoration: none;
    }

@media (max-width: 900px) {
    .carousel-slide,
    .carousel-track {
        min-width: 90vw;
        max-width: 90vw;
        flex: 0 0 90vw;
    }
}

.events-section {
    background-color: var(--cream);
    padding: 2rem;
}

.upcoming-events {
    margin: 0;
    padding: 0.2rem 1rem;
}

.event-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    border-top: 1px solid #ddd;
}

    .event-list li {
        border-bottom: 1px solid #ddd;
        font-size: var(--font-md);
    }

        .event-list li:last-child {
            border-bottom: none;
        }

.event-link {
    display: block;
    padding: 1rem 1rem;
    text-decoration: none;
    color: #4a3f35;
    transition: background-color 0.2s, color 0.2s;
}

    .event-link:hover {
        background-color: var(--beige-light);
        color: var(--brown);
        padding: 1rem 1rem;
    }

.event-list .date {
    display: inline-block;
    width: 100%;
    font-weight: bold;
}

.view-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 400;
    color: #4a3f35;
    font-size: var(--font-xs);
    text-decoration: underline;
    transition: color 0.3s;
    text-decoration-thickness: 2px; /* Thickness of underline */
    text-underline-offset: 6px; /* Space between text and underline */
    text-decoration-color: var(--brown-dark); /* Color of underline */
}

    .view-link:hover {
        color: var(--brown);
    }

.date {
    font-size: 0.9em;
    color: var(--brown);
}

.item-name {
    font-weight: 400;
    font-size: 1em;
    color: var(--brown-dark);
    margin-top: 5px;
}

.newsletter-banner-link .newsletter-banner-img {
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}

.newsletter-banner-link:hover .newsletter-banner-img {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 8px 24px rgba(80, 40, 20, 0.18);
}

.sermons-section {
    background-color: var(--light);
    padding: 2rem;
}

.sermon-section-title {
    font-size: 2em;
    font-weight: bold;
    border-bottom: 4px solid #a06b00;
    padding-bottom: 5px;
    display: inline-block;
    margin-bottom: 30px;
}

.sermon-item {
    padding: 15px 0;
    border-bottom: 1px solid #ccc;
    transition: background-color 0.3s;
    text-decoration: none;
}

    .sermon-item:hover {
        background-color: #f1ece3;
    }

.sermon-date {
    color: #a06b00;
    font-size: 0.9em;
}

.sermon-title {
    font-weight: bold;
    font-size: 1em;
    margin-top: 5px;
    color: #2c1d00;
}

.youtube-link {
    display: block;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: #4a2f00;
    border-top: 1px solid #ccc;
    padding-top: 15px;
    transition: color 0.3s, text-decoration 0.3s;
}

    .youtube-link:hover {
        color: #a06b00;
        text-decoration: underline;
    }

.youtube-overlay {
    position: relative;
    background-image: url("../../~/images/Worship-Service.png");
    /* Overlay using a linear-gradient for 40% black */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url("../../~/images/Worship-Service.png");
    background-size: cover;
    background-position: center;
    height: 100%;
    min-height: 400px;
}

    .youtube-overlay::before {
        content: "";
        position: absolute;
        pointer-events: none;
    }

.youtube-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-decoration: none;
}

    .youtube-button img {
        width: 100px;
        transition: transform 0.3s ease-in-out;
    }

    .youtube-button:hover img {
        transform: scale(1.1);
    }

    .youtube-button span {
        display: block;
        margin-top: 10px;
        font-size: 1rem;
    }

.pastor-message {
    background-color: var(--beige-light);
    padding: 0rem;
    margin-top: -40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-wrapper {
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    position: relative;
}

.quote-layer {
    position: absolute;
    background-color: #f6ebd5;
    border-radius: 20px;
    height: 100%;
    width: 86%;
    z-index: 0;
}

    .quote-layer:nth-child(2) {
        background-color: var(--beige-lighter);
        padding: 0rem;
        height: 100%;
        width: 99%;
    }

    /* middle box*/
    .quote-layer:nth-child(3) {
        background-color: var(--brown-light);
        padding: 0rem;
        height: 100%;
        width: 92%;
    }

.quote-card {
    display: flex;
    align-items: center;
    background-color: var(--beige-medium);
    padding: 40px 60px;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    height: 100%;
    width: 86%;
}

.quote-text {
    flex: 1;
    color: #4a4a4a;
    font-size: 1.1rem;
    line-height: 1.6;
    padding-right: 120px;
}

.quote-author {
    text-align: right;
    margin-top: 20px;
    color: #a06b00;
    font-weight: bold;
    font-size: 1.2rem;
}

.quote-title {
    text-align: right;
    font-size: 0.9rem;
    font-weight: bold;
    color: #444;
}

.quote-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 6px solid var(--beige-medium);
    object-fit: cover;
}

@media (max-width: 768px) {
    .quote-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .quote-text {
        padding-right: 0;
    }

    .quote-image {
        margin-top: 20px;
    }
}

.invitation-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f6f1;
}

.invitation-title {
    font-size: 2em;
    color: #a06b00;
    font-weight: bold;
    margin-bottom: 15px;
}

.invitation-subtitle {
    font-size: 1rem;
    color: #333;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.verse-section {
    background-color: #2c1d00; /* Dark brown background */
    text-align: center;
}

.verse-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url("/images/verse-bg.jpg"); /* Replace with your actual image path */
    background-size: cover;
    background-position: center;
    color: #f0e9bd;
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.verse-text {
    font-size: var(--font-xl);
    font-weight: bold;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

.verse-ref {
    font-family: "Great Vibes", cursive;
    font-size: 1.5rem;
    color: #f7f7f7;
    margin-top: 20px;
    display: inline-block;
}

@media (max-width: 768px) {
    .verse-text {
        font-size: 1.2rem;
    }

    .verse-ref {
        font-size: 1.2rem;
    }
}

.newslettter-section {
    background-color: var(--brown); /* Light beige background */
    background-image: url("/images/Frame2215.png"); /* Optional: Add background patterns if available */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: left;
}

.newsletter-banner {
    background-image: url("your-background-image.png"); /* Optional: Add background patterns if available */
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 60px;
    gap: 20px;
}

.newsletter-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.newsletter-icon {
    width: 50px;
    height: auto;
}

.newsletter-text h4 {
    font-weight: bold;
    margin: 0 0 5px 0;
}

.newsletter-text p {
    font-size: 0.9rem;
    margin: 0;
    color: #f3e8d4;
    line-height: 1.6em;
}

.newsletter-form {
    display: flex;
    background-color: white;
    border: 2px solid #fff;
    border-radius: 2px;
    overflow: hidden;
}

    .newsletter-form input[type="email"] {
        padding: 12px 15px;
        border: none;
        outline: none;
        font-family: inherit;
        width: 250px;
    }

    .newsletter-form button {
        background-color: #9b5d00;
        color: white;
        border: none;
        padding: 12px 20px;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .newsletter-form button:hover {
            background-color: #7a4600;
        }

@media (max-width: 768px) {
    .newsletter-banner {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
    }

        .newsletter-form input {
            width: 100%;
        }

        .newsletter-form button {
            width: 100%;
        }
}

footer {
    background-color: var(--black);
    color: #fff;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    padding: 40px 60px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

    .footer-col h4 {
        font-size: 1.1rem;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .footer-col ul {
        list-style: none;
        padding: 0;
    }

        .footer-col ul li {
            margin-bottom: 10px;
        }

            .footer-col ul li a {
                color: #ddd;
                text-decoration: none;
                transition: color 0.3s;
            }

                .footer-col ul li a:hover {
                    color: #fff;
                }

.contact-item {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

    .contact-item i {
        margin-top: 3px;
        color: #ddd;
    }

.contact-text {
    border-bottom: 1px solid #666;
    padding-bottom: 5px;
    color: #ddd;
    font-size: 0.95rem;
}

.bottom-footer-bg {
    background-color: #5e2a83;
}

.footer-bottom {
    color: #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    flex-wrap: wrap;
}

.footer-logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-logo {
    width: 30px;
}

.social-icons a {
    color: var(--lavander);
    margin-left: 15px;
    font-size: 1.2rem;
    transition: color 0.3s;
}

    .social-icons a:hover {
        color: var(--brown);
    }

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}




.hero-inner {
    position: relative;
    height: 395px;
    display: flex;
    background-image: url('/images/OurPastors_bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    margin-top: 0px;
    overflow: hidden;
}

    .hero-inner::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient( to bottom, rgba(44, 28, 70, 0.5) 30%, rgba(150, 150, 149, 0.2) 70% );
        pointer-events: none;
    }

.hero-content {
    position: relative;
    z-index: 3;
}

.breadcrumbs {
    margin-top: 250px;
    font-size: 0.9rem;
    text-align: left;
}

    .breadcrumbs span {
        color: #f3e8d4;
    }

.page-title {
    text-align: left;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--beige);
    margin-top: 10px;
}

.section {
    padding: 0px 20px;
    margin: auto;
}

.section-header {
    text-align: center;
    font-style: italic;
    font-weight: 600;
    margin: 0px;
    text-align: left;
    padding: 20px;
    border-left: 1px solid #f5e5ca;
    line-height: 1.7rem;
}

/*
NAV
*/

/* Enhanced Navigation Styles */
.navbar-brand:hover img {
    transform: scale(1.05) rotate(5deg);
}

.navbar-brand:hover {
    opacity: 0.9;
}

.nav-link {
    position: relative;
    font-weight: 500;
}

    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
        transform: translateY(-2px);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: #f5e9d7;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 70%;
    }

    .nav-link.active {
        background-color: rgba(255, 255, 255, 0.15) !important;
        font-weight: 600;
    }

/* Enhanced Dropdown Styles */
.dropdown-menu {
    background: linear-gradient(135deg, rgba(100, 60, 20, 0.98) 0%, rgba(124, 74, 30, 0.98) 100%);
    border: 1px solid rgba(245, 233, 215, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
    padding: 0.75rem 0;
    margin-top: 0.5rem;
    min-width: 260px;
    backdrop-filter: blur(10px);
    animation: dropdownFadeIn 0.2s ease-out;
}

@@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    color: #f5e9d7;
    padding: 0.85rem 1.75rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-radius: 6px;
    margin: 0 0.5rem;
    position: relative;
    overflow: hidden;
}

    .dropdown-item i {
        width: 20px;
        font-size: 1rem;
        transition: transform 0.25s ease;
    }

    .dropdown-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 3px;
        height: 100%;
        background: #f5e9d7;
        transform: scaleY(0);
        transition: transform 0.25s ease;
    }

    .dropdown-item:hover {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
        color: #fff;
        padding-left: 2rem;
        transform: translateX(4px);
    }

        .dropdown-item:hover::before {
            transform: scaleY(1);
        }

        .dropdown-item:hover i {
            transform: scale(1.15) rotate(5deg);
        }

    .dropdown-item:active {
        background-color: rgba(255, 255, 255, 0.25);
        transform: translateX(2px);
    }

    .dropdown-item.active {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
        color: #fff;
        font-weight: 600;
    }

        .dropdown-item.active::before {
            transform: scaleY(1);
        }

.dropdown-divider {
    height: 1px;
    margin: 0.75rem 1.25rem;
    background: linear-gradient(90deg, transparent 0%, rgba(245, 233, 215, 0.3) 50%, transparent 100%);
    opacity: 1;
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: 0.15em;
    transition: transform 0.3s ease;
}

.dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

.navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.btn.yellow:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 74, 30, 0.3) !important;
    filter: brightness(1.1);
}

.btn.yellow:active {
    transform: translateY(0);
}

/* Mobile dropdown adjustments */
@@media (max-width: 991.98px) {
    .dropdown-menu {
        background: linear-gradient(135deg, rgba(100, 60, 20, 0.97) 0%, rgba(124, 74, 30, 0.97) 100%);
        border-radius: 8px;
        margin-top: 0.5rem;
        margin-left: 0;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }

    .dropdown-item {
        padding: 0.75rem 1.5rem;
        margin: 0 0.25rem;
    }

        .dropdown-item:hover {
            padding-left: 1.75rem;
            transform: translateX(2px);
        }

    .dropdown-divider {
        margin: 0.5rem 1rem;
    }
}

/* Smooth transitions for dropdown */
.dropdown-menu.show {
    animation: dropdownFadeIn 0.2s ease-out;
}


.fcc-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1060;
}

    .fcc-modal-backdrop.is-open {
        display: flex;
    }

.fcc-modal {
    width: min(92vw, 560px);
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    overflow: hidden;
}

.fcc-modal__header {
    background: var(--brown-dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
}

.fcc-modal__title {
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: .2px;
}

.fcc-modal__close {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 1.25rem;
    line-height: 1;
    padding: 6px;
    cursor: pointer;
}

.fcc-modal__body {
    background: var(--brown-light);
    padding: 18px;
    color: #1d1d1f;
}

.fcc-modal__footer {
    background: var(--beige);
    padding: 12px 16px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.fcc-btn {
    appearance: none;
    border: 0;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    background: var(--dark-violet);
    color: #fff;
    font-weight: 600;
}

.fcc-btn--ghost {
    background: transparent;
    color: #111;
    border: 1px solid rgba(0,0,0,.15);
}

/* Prevent background scroll when modal is open */
.fcc-modal-open {
    overflow: hidden;
}
/* Mobile Styles */
@@media (max-width: 767.98px) {
    .hero {
        height: 420px !important;
        min-height: 0 !important;
        max-height: 420px !important;
        overflow: hidden;
    }

    .hero-video {
        height: 420px !important;
        min-height: 0 !important;
        max-height: 420px !important;
        object-fit: cover;
    }

    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .hero-content {
        top: -140px;
    }

        .hero-content h1 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 2rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            line-height: 1.2;
        }

    .h1-sm {
        font-size: 1rem;
        font-weight: 100;
    }



    .welcome-container {
        flex-direction: column !important;
        align-items: center;
        gap: 1.5rem;
    }

    .welcome-text {
        width: 100% !important;
        font-size: 1.4rem;
        text-align: center;
        margin-bottom: .5rem;
    }

    .welcome-logo {
        width: 100% !important;
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }

        .welcome-logo img {
            max-width: 280px;
            width: 150vw;
            height: auto;
        }

    .ministries-img-wrapper {
        margin-left: 0 !important;
    }

    .overlap-left {
        margin-left: 0 !important;
    }

    .row > .col-12, .row > .col-md-5, .row > .col-md-7 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .youtube-overlay {
        min-height: 120px;
        padding: 1rem;
    }

    .quote-image-wrapper {
        position: static !important;
        margin: 0 auto 1rem auto;
        display: flex;
        justify-content: center;
    }

    .quote-image {
        width: 120px !important;
        height: 120px !important;
        border-width: 10px !important;
    }

    .fcc-header {
        padding: .68rem;
    }

    .welcome {
        width: 100%;
        margin-top: -67px;
        padding: 0 0 0px 0;
    }

    .fcc-header h2 {
        font-size: 1.7rem;
        text-align: center;
    }

    .fcc-welcome .welcome-container {
        flex-direction: column !important;
        align-items: center;
        gap: 1rem;
    }
    /* Arrow Down Button */
    .scroll-arrow {
        position: absolute;
        bottom: -100px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 5;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: white;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .video-controls {
        display: flex;
        align-items: center;
        bottom: -65px;
        z-index: 10
    }

    .statement {
        margin-left: 0px;
        margin-top: 80px;
        position: relative;
        background-color: var(--beige-light);
    }

    .header h2 {
        font-size: 1.4rem;
    }
}

@@media (max-width: 767.98px) {
    .responsive-h1 {
        font-size: 1.1rem !important;
        line-height: 1.2 !important;
    }

        .responsive-h1 .h1-sm {
            font-size: 0.9rem !important;
        }
}

@@media (max-width: 767.98px) {
    .scroll-arrow {
        display: none !important;
    }
}

@@media (max-width: 767.98px) {
    .welcome-logo img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}

@@media (max-width: 767.98px) {
    .welcome-logo.mobile-logo {
        display: block !important;
    }

    .welcome-container .welcome-logo:not(.mobile-logo) {
        display: none !important;
    }
}

@@media (min-width: 768px) {
    .welcome-logo.mobile-logo {
        display: none !important;
    }

    .welcome-container .welcome-logo:not(.mobile-logo) {
        display: flex !important;
    }
}

@@media (max-width: 767.98px) {
    .ministries-img-wrapper {
        margin-left: 0 !important;
    }

    .overlap-left {
        margin-left: 0 !important;
    }

    .row > .col-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@@media (min-width: 768px) {
    .ministries-img-wrapper {
        margin-left: -50px !important;
    }
}

p.countdown {
    color: #f3f4f6;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.countdown {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
}

.pill {
    background: rgba(107, 65, 132, 0.5);
    border-radius: 10px;
    padding: 15px 20px;
    color: #fff;
    min-width: 80px;
}

    .pill strong {
        display: block;
        font-size: 1.6rem;
    }

#newsletterForm > form {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

#newsletterForm > input[type="email"] {
    padding: 12px 14px;
    border-radius: 8px;
    border: none;
    outline: none;
    min-width: 250px;
}

#newsletterForm > #newsletterSubmitBtn.button {
    padding: 12px 18px;
    border-radius: 8px;
    border: none;
    background: var(--brand-2);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}