/*** Spinner Start ***/

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear .0s;
    visibility: visible;
    opacity: 1;
}

.wow,
.animated {
    animation-duration: 2s !important;
}

/*** Spinner End ***/

a:hover {
    color: #afcb1f !important;
}


.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

.back-to-top:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
    font-weight: 700 !important;
    font-family: 'Open', sans-serif !important;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600 !important;
    font-family: 'Open', sans-serif !important;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    /* padding-top: .5rem; */
    /* padding-bottom: .5rem; */
}

/*** Button Start ***/

.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-md-square {
    width: 46px;
    height: 46px;
}

.btn-lg-square {
    width: 58px;
    height: 58px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary:hover {
    color: var(--bs-primary) !important;
    background: var(--bs-dark) !important;
    border-color: var(--bs-dark) !important;
}

.btn.btn-dark:hover {
    color: var(--bs-dark) !important;
    background: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

/*** Button End ***/


/*** Topbar Start ***/
.topbar .topbar-inner {
    height: 45px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, .5);
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-primary) !important;
}

/*** Topbar End ***/


/*** Navbar Start ***/
.fixed-top {
    transition: .5s;
}

.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.navbar .navbar-nav .nav-link {
    padding: 12px;
    color: #c4c4c4;
    font-size: 17px;
    font-weight: 600;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: #0897dd;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}


.box-1 {
    background: #0598dd;
    height: 280px;
    position: relative;
    top: -40px;
    color: white;
    transition: .5s;
}

.box-1:hover {
    cursor: pointer;
    transform: translateY(-10px);
    background-color: #58bae7;
}

.box-1 img {
    width: 30%;
}

@media (min-width: 992px) {
    .navbar-collapse {
        background: transparent !important;
    }

    /* .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    } */

    .navbar .nav-item .dropdown-menu {
        display: block;
        overflow: scroll;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
        height: 420px;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        background: var(--bs-light) !important;
        transition: .5s;
        opacity: 1;
    }
}

.navbar-toggler {
    background: var(--bs-secondary);
    color: var(--bs-light) !important;
    padding: 10px 20px;
    border: 2px solid var(--bs-primary) !important;
    box-shadow: none !important;
}


.hero-header .btn-primary {
    color: #ffffff;
    background-color: #0597db;
    border-color: #0597db;
}

.about .btn-primary {
    color: #ffffff;
    background-color: #0597db;
    border-color: #0597db;
}

.about .text-primary {
    color: #0797dd !important;
}

.services .text-primary {
    color: #0797dd !important;
}

.container-fluid.services.pb-5 h5 {
    font-size: 50px;
}

.services .btn-primary {
    color: #ffffff;
    background-color: #0598db;
    border-color: #0598db;
}

.blog-item.wow.fadeIn {
    box-shadow: 0px 0px 23px -4px #a5a5a5;
    height: 470px;
}



/*** Navbar End ***/


.blog-itemm.wow.fadeIn {
    box-shadow: 0px 0px 23px -4px #a5a5a5;
    height: 430px;
}


.display-1 {
    font-size: 60px;
}

a.navbar-brand.main-logo img {
    width: 20%;
}

/*** Hero Header ***/
.hero-header {
    /* margin-bottom: 6rem; */
    padding-top: 15rem;
    padding-bottom: 6rem;
    background: url("../img/banner-1.jpg"), center center no-repeat;
    background-size: cover;
}

.hero-header .hero-header-inner {
    padding: 3rem;
    background: rgba(255, 255, 255, .5);
}

@media (max-width: 992px) {
    .hero-header {
        padding-top: 12rem;
    }
}

.hero-header .breadcrumb-item {
    font-size: 18px;
}

/*** Hero Header ***/


/*** About Start ***/
.about a.btn.btn-light:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
    border: 0;
}

/*** About End ***/


/*** Activities Start ***/
.activities .activities-item {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 45px rgba(12, 18, 20, .08);
    transition: 0.5s;
}

.activities .activities-item:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-dark) !important;
}

.activities .activities-item:hover a {
    background: var(--bs-light) !important;
    color: var(--bs-dark) !important;
}

.activities .activities-item:hover a:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}

/*** Activities End ***/


/*** Events Start ***/
.event-item img {
    transition: 0.5s;
}

.event .event-item a {
    transition: 0.5s;
}

.event-item:hover img {
    transition: 0.5s;
    transform: scale(1.2)
}

.event-item a:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
    opacity: 0.5s;
}

/*** Events End ***/


/*** Sermon Start ***/
.sermon .sermon-item {
    height: 100%;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.sermon-item img {
    transition: 0.5s;
}

.sermon-item:hover img {
    transform: scale(1.2)
}

.sermon-item .sermon-meta a,
.sermon-item .sermon-meta a i {
    transition: 0.5s;
}

.sermon-item .sermon-meta a:hover,
.sermon-item .sermon-meta a i:hover {
    color: var(--bs-primary) !important;
}

/*** Sermon End ***/


/*** services Start ***/
.blog-item {
    height: 100%;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.blog-item img {
    transition: 0.5s;
}

.blog-item:hover img {
    transform: scale(1.2)
}

.blog-item .blog-meta a,
.blog-item .blog-meta a i {
    transition: 0.5s;
}

.blog-item .blog-meta a:hover,
.blog-item .blog-meta a i:hover {
    color: var(--bs-primary) !important;
}

/*** Blog End ***/


/*** Team Start ***/
.team .team-img {
    height: 100%;
    padding: 25px;
    background: var(--bs-white);
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team .team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team .team-item {
    position: relative;
    overflow: hidden;
}

.team .team-item img {
    transition: 0.5s;
}

.team .team-item:hover img {
    transform: scale(1.2);
}

.team .team-item .team-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 15px;
    transform: translateX(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.5s;
}

.team .team-item:hover .team-content {
    opacity: 1;
    background: rgba(241, 193, 82, .7);
}

/*** Team End ***/


/*** testimonial Start ***/
.testimonial-item {
    background: var(--bs-light);
    padding: 40px;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel {
    position: relative;
    padding-left: 60px;
    padding-right: 60px;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 60px;
    height: 40px;
    background: #0797dd;
    color: #ffffff;
    font-size: 22px;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    transition: .5s;
}

.testimonial {
    /* padding: 50px 0; */
    background: #4040401c url(../img/bg.jpg);
    background-blend-mode: multiply;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

p.fs-5.text-uppercase.hedingg {
    color: #0897dd;
}

.testimonial-carousel .owl-nav .owl-prev:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}

.testimonial-carousel .owl-nav .owl-next {
    left: auto;
    right: 0px;
}

.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}

/*** testimonial End ***/



/* === BASE HEADING === */

h1 {
    position: relative;
    padding: 0;
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-weight: 300;
    font-size: 40px;
    color: #080808;
    -webkit-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

h1 span {
    display: block;
    font-size: 0.5em;
    line-height: 1.3;
}

h1 em {
    font-style: normal;
    font-weight: 600;
}

/* === HEADING STYLE #1 === */
.one h1 {
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 5px;
}

.one h1:before {
    width: 28px;
    height: 5px;
    display: block;
    content: "";
    position: absolute;
    bottom: 3px;
    left: 50%;
    margin-left: -14px;
    background-color: #0797dd;
}

.one h1:after {
    width: 100px;
    height: 1px;
    display: block;
    content: "";
    position: relative;
    margin-top: 25px;
    left: 50%;
    margin-left: -50px;
    background-color: #0797dd;
}

/* === HEADING STYLE #1 end === */

/* counter css start  */




.wrapper a {
    color: #e0e0e0;
    text-decoration: none;
}



.wrapper {
    position: relative;
    width: 80vw;
    transform: translate(-50%, -50%);
    /* top: 50%; */
    left: 50%;
    /* display: flex; */
    justify-content: space-around;
    /* gap: 10px; */
    margin-top: 130px;
}

.wrapper .container-counter {
    width: 20vw;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    /* margin-left: auto; */
    padding: 40px 0;
    position: relative;
    top: 40px;
    font-size: 16px;
    border-radius: 0.5em;
    background-color: #008dd2;
    border-bottom: 5px solid #0697db;
}

.wrapper i {
    color: #ffffff;
    font-size: 2.5em;
    text-align: center;
}

.wrapper span.num {
    color: #ffffff;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 3em;
}

.wrapper span.text {
    color: #e0e0e0;
    font-size: 1.25em;
    text-align: center;
    pad: 0.7em 0;
    font-weight: 600;
    line-height: 0;
}

.text-primary {
    color: #ffffff !important;
}

@media screen and (max-width: 1024px) {
    .wrapper .wrapper {
        width: 85vw;
    }

    .wrapper .container {
        height: 26vmin;
        width: 26vmin;
        font-size: 12px;
    }
}

@media screen and (max-width: 768px) {
    .wrapper .wrapper {
        width: 900vw;
        flex-wrap: wrap;
        gap: 30px;
    }

    .wrapper .container {
        width: calc(50% - 40px);
        height: 30vmin;
        font-size: 14px;
    }

    .navbar {
        position: relative;
        display: block !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

    .hero-header {
        /* margin-bottom: 6rem; */
        padding-top: 200px;
        padding-bottom: 6rem;
        background: url("../img/banner-1.jpg"), center center no-repeat;
        background-size: cover;
        height: 173px !important;
    }

    .hero-header .hero-header-inner {
        padding: 20px;
        background: rgba(255, 255, 255, .5);
        position: relative;
        top: -100px;
    }

    .btn {
        font-weight: 600;
        transition: .5s;
    }

    .testimonial-content p {
        font-size: 12px;
    }


    .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-carousel .owl-nav .owl-next {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        width: 45px;
        height: 30px;
        background: #0797dd;
        color: #ffffff;
        font-size: 22px;
        top: 50%;
        left: 0px;
        transform: translateY(-50%);
        transition: .5s;
    }


 .navbar-toggler {
    background: var(--bs-secondary);
    color: var(--bs-light) !important;
    padding: 10px 20px;
    border: 2px solid #0597db !important;
    box-shadow: none !important;
    position: relative;
    left: 170px;
    top: 5px;
}


    .box-1 {
        background: #0598dd;
        height: 280px;
        position: relative;
        top: -3px;
        color: white;
        transition: .5s;
    }

    .container-fluid.hero-header h1 {
        font-size: 27px;
    }

    .hero-header .mb-5 {
        margin-bottom: 10px !important;
    }

    .hero-header .fs-4 {
        font-size: calc(16px + 0.3vw) !important;
    }

    .hero-header .btn-primary {
        color: #ffffff;
        background-color: #0597db;
        border-color: #0597db;
        padding: 5px !important;
    }

    .wrapper .container-counter {
        width: 100%;
        height: 250px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        padding: 40px 0;
        position: relative;
        top: 410px;
        font-size: 16px;
        border-radius: 0.5em;
        background-color: #008dd2;
        border-bottom: 5px solid #0697db;
    }



}

@media screen and (max-width: 480px) {
    .wrapper .wrapper {
        gap: 15px;
    }

    .wrapper .container {
        width: 100%;
        height: 25vmin;
        font-size: 8px;
    }
}



.footer .text-primary {
    color: #0797dd !important;
}

.footer .bg-primary {
    background-color: #0797dd !important;
}

.backtoup {
    color: #000;
    background-color: #0797dd;
    border-color: #0797dd;
}

/* counter css start  */
.container-fluid.services h5 {
    font-size: 50px !important;
}


/*** Footer Start ***/
.footer {
    /* margin-top: 6rem; */
    background: #e2e2e2;
}

.footer .footer-item p {
    font-size: 16px;
    line-height: 35px;
}

.footer .border-top,
.footer .border-bottom {
    border-color: rgba(255, 255, 255, .08) !important;
}

.footer button {
    border: 0;
    transition: 0.5s;
}

.footer button:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

.footer-item a.btn.btn-light:hover {
    background: var(--bs-primary);
    color: var(--bs-dark) !important;
    border: var(--bs-primary);
}

.footer-item a,
.footer-item a i {
    transition: 0.5s;
}

.footer-item a:hover, .footer-item a i:hover {
    color: #afcb1f !important;
}

/*** Footer End ***/

.footer-bottom {
    background-color: #0797dd !important;

}

.map .btn-primary {
    color: #ffffff;
    background-color: #0795dc;
    border-color: #0197dc;
}



.sticky-social {
    position: fixed;
    top: 300px;
    right: 9px;
    padding: 0px;
    margin: 0px;
    z-index: 9999;
    transition: .5s;
}

.social {
    list-style: none;
}

.social li {
    padding: 4px 8px;
    font-size: 20px;
    transition: all 0.8s ease-in-out;
    margin-top: 4px;
    border-radius: 3px;
}

.fb {
    background-color: #3C5A98;
}

.whats {
    background-color: #18e43a;
}

li.insta {
    background: linear-gradient(115deg, #f9ce34, #ee2a7b, #6228d7);
}


/* .aboutus {
    position: relative;
    top: 90px;
}

.contactus {
    position: relative;
    top: 170px;
}

.contactuss {
    position: relative;
    top: 150px;
} */
