/********** Template CSS **********/
:root {
    --primary: #6A1B9A;
    --primary-rgb: 106, 27, 154;
    --primary-dark: #55127A;
    --accent: #FDD835;
    --accent-rgb: 253, 216, 53;
    --light: #F8F8F8;
    --dark: #252525;
    --text-deep-black: #0a0a0a;
    --text-deep-white: #ffffff;
    --bs-body-color: #0a0a0a;
    --bs-secondary-color: #1a1a1a;
}

/* Deep black body copy; deep white on dark surfaces (not washed-out grays) */
body {
    color: var(--text-deep-black);
}

.text-muted {
    color: #242424 !important;
}

.text-white,
.text-light {
    color: var(--text-deep-white) !important;
}

.text-dark {
    color: var(--text-deep-black) !important;
}

.footer.bg-dark,
.footer.bg-dark p,
.footer.bg-dark a:not(.btn):not(.btn-link) {
    color: var(--text-deep-white) !important;
}

.footer .copyright,
.footer .copyright a {
    color: var(--text-deep-white) !important;
}

/* Bootstrap utilities → brand purple + amber accent */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--dark) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #fbc02d !important;
    border-color: #fbc02d !important;
    color: var(--dark) !important;
}

.btn-outline-primary {
    color: var(--dark) !important;
    border-color: var(--accent) !important;
    background-color: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--dark) !important;
}

.btn-accent {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--dark) !important;
}

.btn-accent:hover,
.btn-accent:focus {
    background-color: #fbc02d !important;
    border-color: #fbc02d !important;
    color: var(--dark) !important;
}

/* Active breadcrumb on dark page heroes — accent for contrast */
.page-header .breadcrumb-item.active,
.page-header .breadcrumb-item.active a {
    color: var(--accent) !important;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: var(--dark) !important;
}

.btn.btn-secondary {
    color: #ffffff;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: var(--accent);
    border-color: rgba(253, 216, 53, 0.55);
}

.btn-outline-body:hover {
    color: var(--dark) !important;
    background: var(--accent);
    border-color: var(--accent);
}


/*** Navbar ***/
.navbar .navbar-brand {
    margin-right: 0;
}

.navbar-brand-logo {
    display: block;
    height: auto;
    width: auto;
    max-height: clamp(2.85rem, 8vw, 4rem);
    max-width: min(360px, calc(100vw - 5.5rem));
    object-fit: contain;
    object-position: left center;
}

@media (min-width: 992px) {
    .navbar-brand-logo {
        max-height: 4.15rem;
        max-width: 360px;
    }
}

@media (min-width: 1200px) {
    .navbar-brand-logo {
        max-height: 4.5rem;
        max-width: 400px;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--text-deep-white);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    outline: none;
    text-decoration: none;
    box-shadow: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--accent);
}

/* Dropdown: dark panel, yellow hover/active (no default beige “nude” tap color) */
.navbar.bg-dark {
    --bs-dropdown-bg: var(--dark);
    --bs-dropdown-link-color: var(--text-deep-white);
    --bs-dropdown-link-hover-color: var(--dark);
    --bs-dropdown-link-hover-bg: var(--accent);
    --bs-dropdown-link-active-color: var(--dark);
    --bs-dropdown-link-active-bg: var(--accent);
}

.navbar.bg-dark .dropdown-menu {
    background-color: var(--dark);
    border: none;
}

.navbar.bg-dark .dropdown-item {
    color: var(--text-deep-white);
}

.navbar.bg-dark .dropdown-item:hover,
.navbar.bg-dark .dropdown-item:focus,
.navbar.bg-dark .dropdown-item:focus-visible {
    background-color: var(--accent);
    color: var(--dark);
}

.navbar.bg-dark .dropdown-item.active,
.navbar.bg-dark .dropdown-item:active {
    background-color: var(--accent);
    color: var(--dark);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    /* Collapsed menu + mobile dropdowns: match navbar dark (not default white) */
    .navbar.bg-dark .navbar-collapse {
        background-color: var(--dark);
    }

    .navbar.bg-dark .dropdown-menu {
        box-shadow: none;
    }
}

@media (min-width: 992px) {
    .navbar .navbar-nav .nav-link {
        font-size: 1.0625rem;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(106, 27, 154, .42), rgba(0, 0, 0, .58));
}

/* Home hero: one laptop viewport; scales on phones */
.home-hero .header-carousel {
    height: calc(100svh - 3.75rem);
    min-height: 17.5rem;
}

@media (min-width: 576px) {
    .home-hero .header-carousel {
        height: calc(100svh - 4rem);
        min-height: 20rem;
    }
}

@media (min-width: 992px) {
    .home-hero .header-carousel {
        height: calc(100svh - 4.25rem);
        min-height: 26rem;
        max-height: calc(100svh - 4.25rem);
    }
}

.home-hero .header-carousel .owl-stage-outer,
.home-hero .header-carousel .owl-stage,
.home-hero .header-carousel .owl-item {
    height: 100%;
}

.home-hero .header-carousel .owl-carousel-item {
    height: 100%;
    min-height: 100%;
    position: relative;
}

.home-hero .header-carousel .owl-carousel-item > img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero .owl-carousel-inner {
    align-items: center;
    padding: 0.75rem 0;
}

.home-hero__title {
    font-size: clamp(1.6rem, 4vw + 0.55rem, 3.35rem) !important;
    line-height: 1.12;
    margin-bottom: 0.65rem;
}

/* Phones / small screens: roughly double hero headline size */
@media (max-width: 575.98px) {
    .home-hero__title {
        font-size: clamp(3.2rem, 12vw + 0.35rem, 4.5rem) !important;
        line-height: 1.08;
    }
}

@media (min-width: 992px) {
    .home-hero__title {
        line-height: 1.08;
        margin-bottom: 1rem;
    }
}

.home-hero__lead {
    font-size: clamp(0.9rem, 0.35rem + 2.8vw, 1.2rem);
    line-height: 1.55;
    max-width: 38rem;
}

/* Home hero: slide thumbnail navigation disabled (dots hidden via JS + CSS) */
.home-hero .header-carousel .owl-dots {
    display: none !important;
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
    box-shadow: 0 0 0 3px var(--accent);
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(160deg, rgba(106, 27, 154, .58), rgba(0, 0, 0, .55)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header.page-header--pastorate {
    background: linear-gradient(125deg, rgba(106, 27, 154, .9), rgba(0, 0, 0, .52)), url(../img/about-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header.page-header--contact {
    background: linear-gradient(180deg, rgba(0, 0, 0, .38), rgba(106, 27, 154, .72)), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.page-header.page-header--egroups {
    background: linear-gradient(rgba(0, 0, 0, .52), rgba(106, 27, 154, .68)), url(../img/team-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header.page-header--plugin {
    background: linear-gradient(90deg, rgba(106, 27, 154, .82), rgba(0, 0, 0, .52)), url(../img/service-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header.page-header--club-fusion {
    background: linear-gradient(135deg, rgba(60, 12, 95, .82), rgba(106, 27, 154, .55)), url(../img/team-2.jpg) center center no-repeat;
    background-size: cover;
}

.page-header.page-header--quest {
    background: linear-gradient(200deg, rgba(0, 0, 0, .55), rgba(106, 27, 154, .74)), url(../img/carousel-3.jpg) center center no-repeat;
    background-size: cover;
}

.page-header.page-header--mens {
    background: linear-gradient(rgba(106, 27, 154, .82), rgba(0, 0, 0, .52)), url(../img/about-2.jpg) center center no-repeat;
    background-size: cover;
}

.page-header.page-header--womens {
    background: linear-gradient(135deg, rgba(106, 27, 154, .72), rgba(253, 216, 53, .14), rgba(0, 0, 0, .52)), url(../img/service-2.jpg) center center no-repeat;
    background-size: cover;
}

.page-header.page-header--bible-study {
    background: linear-gradient(95deg, rgba(106, 27, 154, .84), rgba(0, 0, 0, .5)), url(../img/about-2.jpg) center center no-repeat;
    background-size: cover;
}

.page-header.page-header--membership {
    background: linear-gradient(rgba(106, 27, 154, .78), rgba(0, 0, 0, .52)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header.page-header--volunteer {
    background: linear-gradient(210deg, rgba(0, 0, 0, .52), rgba(106, 27, 154, .76)), url(../img/team-3.jpg) center center no-repeat;
    background-size: cover;
}

.page-header.page-header--events {
    background: linear-gradient(140deg, rgba(106, 27, 154, .82), rgba(253, 216, 53, .12), rgba(0, 0, 0, .52)), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: linear-gradient(160deg, rgba(106, 27, 154, .88), rgba(0, 0, 0, .65));
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}

/* Home services: image stays visible; no card hover overlay; Read More expands on button hover only */
.service-item-home .bg-img {
    z-index: 0;
}

.service-item-home .service-text {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.88);
}

.service-item-home:hover .service-text {
    background: rgba(255, 255, 255, 0.88);
}

.service-item-home:hover p {
    color: var(--dark);
}

.service-item-home:hover .text-primary {
    color: var(--primary) !important;
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--dark);
    background: var(--accent);
}

.team-item .team-social .btn:hover {
    color: var(--dark);
    background: #fbc02d;
}

.events-carousel .owl-dots {
    margin-top: 1rem;
    text-align: center;
}

.events-carousel .owl-dots .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    border-radius: 50%;
    background: #DEE2E6;
    transition: .3s;
}

.events-carousel .owl-dots .owl-dot.active {
    background: var(--accent);
    box-shadow: 0 0 0 2px var(--primary);
    transform: scale(1.15);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #f2f2f2;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--accent);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--accent);
}

/* Footer: yellow accents instead of purple */
.footer .text-primary {
    color: var(--accent) !important;
}

.footer .btn.btn-link::before {
    color: var(--accent);
}

.footer .btn-primary {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--dark) !important;
}

.footer .btn-primary:hover,
.footer .btn-primary:focus {
    background-color: #fbc02d !important;
    border-color: #fbc02d !important;
    color: var(--dark) !important;
}

.footer .btn-outline-body {
    color: var(--accent);
    border-color: rgba(253, 216, 53, 0.45);
}

.footer .btn-outline-body:hover {
    color: var(--dark) !important;
    background: var(--accent) !important;
    border-color: var(--accent) !important;
}