body {
    font-family: 'Aptos Display', sans-serif;
}
:root {
    --darkblue : #242A56;
    --lightblue : #749BE7;
    --white :#ffff;
    --bg : #EFF2FF;
    --gradient : linearGradient(to bottom right, #2a305f,#2a305f,#242a5652);
    --bold : 600;
    --semi-bold :500;
    }
/**********************NAV BAR ENDS HERE**************************************************/
/**********************SLIDE TOP ********************************************************/
.home-slider .single-slider{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 0px;
    height: 700px;
    border: none;
    justify-content: center;
    z-index:100;
}
/* .home-slider .hero-slider{
    z-index: 999;
} */
.home-slider .single-slider:before{
    opacity: .7;
}
.home-slider .single-slider .slider-text{
    margin: 200px 0 0;
    width: 1000px;
}
.home-slider .single-slider .slider-text h1{
    font-size: 65px;
    line-height: 80px;
    /* text-transform: uppercase; */
    /* color: #0377f4; */
    font-weight: 800;
    margin-bottom: 0;
    text-shadow: 0px 3px 10px #000;
    margin-left: 250px;
    margin-right: -300px;
}
.home-slider .single-slider p{
    /* width: 50%; */
    color: #fff;
    font-size: 55px;
    line-height: 25px;
    margin-top: 40px;
    animation: fadeInUp 1s both .8s;
    margin-left: 490px;
    font-weight: 600;
}
.home-slider .single-slider .btn{
    margin-top: 45px;
    margin-left: 450px;
}
.home-slider .single-slider a{
    text-decoration: none;
    font-size: 0.9rem;
    padding: 13px 35px;
    background-color: #fff;
    font-weight: 600;
    border-radius: 5px;
}
.home-slider .single-slider a.blue{
    color: #fff;
    background: #0b213c;
}
.home-slider .single-slider a.blue{
    color: #0b213c;
    background: #fff;
    transition: 0.3s;
}
.home-slider .single-slider a.blue:hover{
    color: #0b213c;
    background: #fff;
}
.home-slider .single-slider a.yellow{
    color: #fff;
    background: #0b213c;
    transition: 0.3s;
}
.home-slider .single-slider a.yellow:hover{
    color: #fff;
    background: #0b353c;
}

.home-slider .owl-carousel .owl-nav button{
    height: 55px;
    width: 55px;
    line-height: 55px;
    top: 50%;
    background: rgba(0, 0, 0, .3);
    color: #ffffff;
    font-size: 25px;
    position: absolute;
    border: none;
    margin: 0;
    padding: 0;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    transition: all .4s ease;
    border-radius: 100%;
    margin: -30px 0 0;
}
.home-slider .owl-carousel .owl-nav button:hover{
    background: #05b6f1;
    color: #ffffff;
}
.home-slider .owl-carousel .owl-nav .owl-prev{
    left: 15px;
}
.home-slider .owl-carousel .owl-nav.owl-prev:hover{
    left: 25px;
    background: #f80404;
}
.home-slider .owl-carousel .owl-nav .owl-next{
    right: 15px;
}
.home-slider .owl-carousel .owl-nav .owl-next:hover{
    right: 25px;
}
.home-slider .owl-item.active .slider-text h1{
    animation: fadeInUp 1s both .8s;
}
.home-slider .owl-item.active .slider-text p{
    animation: fadeInDown 1s both .8s;
}
/* ====End of Slider CSS=== */
.intro{
    margin-top: 30px;
    margin-bottom: 20px;
    z-index:100;
  }
/* Start About Us section CSS - Import*/
/**************************************/
/**************************************
         OUR CHURCH SECTION
*********************************************/
/*==========================================
    CHURCH GRID
==========================================*/
.church-grid{
    max-width:1400px;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    padding:90px 40px;
}
/*==========================================
    CARD
==========================================*/
.card{
    position:relative;
    width:100%;
    height:390px;
    overflow:hidden;
    cursor:pointer;
    border-radius:8px;
    transform-style:preserve-3d;
    transition:
        transform .35s ease,
        box-shadow .35s ease;
    animation:floatCard 4s ease-in-out infinite;
}
/*==========================================
    FLOATING EFFECT
==========================================*/

@keyframes floatCard{

    0%{
        transform:translateY(0);
    }

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

    100%{
        transform:translateY(0);
    }

}


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

.card img{

    width:100%;
    height:100%;

    object-fit:cover;

    transition:transform .8s ease;

}


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

.overlay{

    position:absolute;
    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.88),
        rgba(0,0,0,.35),
        rgba(0,0,0,.10)
    );

    transition:.45s ease;

}


/*==========================================
    CARD CONTENT
==========================================*/

.church-card{

    position:absolute;

    left:28px;
    right:28px;
    bottom:28px;

    color:#fff;

    z-index:10;

    transition:.4s ease;

}


/*==========================================
    DECORATION LINE
==========================================*/

.line{

    width:60px;
    height:5px;

    background:#fff;

    margin-bottom:18px;

}


/*==========================================
    TITLE
==========================================*/

.card h2{

    font-size:42px;
    line-height:1.05;

    font-weight:800;

    margin-bottom:16px;

    letter-spacing:-1px;

}


/*==========================================
    DESCRIPTION
==========================================*/

.card p{

    font-size:20px;

    line-height:1.45;

    font-style:italic;

    opacity:.95;

}


/*==========================================
    HOVER EFFECTS
==========================================*/

.card:hover{

    transform:translateY(-8px);

    box-shadow:
        0 20px 45px rgba(0,0,0,.30),
        0 0 30px rgba(255,255,255,.12);

}


.card:hover img{

    transform:scale(1.10);

}


.card:hover .overlay{

    background:linear-gradient(
        to top,
        rgba(0,0,0,.93),
        rgba(0,0,0,.28),
        rgba(0,0,0,.05)
    );

}
.card:hover .church-card{

    transform:translateY(-10px);

}
/*==========================================
    TABLET
==========================================*/
@media (max-width:1200px){
    .church-grid{
        grid-template-columns:repeat(2,1fr);
        padding:80px 30px;
        margin-top: 230px;
    }
}
/*==========================================
    MOBILE
==========================================*/
@media only screen and (max-width: 769px) {
    .home-slider{
        padding: 5px 20px 20px 20px;
        bottom: 39px;
        z-index: 10;
        margin-top: 100px;
    }
    .home-slider .single-slider {
        height: 350px;
    }
    .home-slider .single-slider .slider-text{
        margin-top: 180px;
        margin-left: 30px;
    }
    .home-slider .single-slider .slider-text h1{
        font-size: 28px;
        line-height: 1.5;
        /* color: #fff; */
        margin-bottom: 20px;
        margin-left: 0px;
        margin-top: -80px;
        font-weight: 600;
    }
    .home-slider .single-slider .slider-text p{
        width: 50%;
        color: #fff;
        font-size: 28px;
        line-height: 13px;
        animation: fadeInUp 1s both .8s;
        margin-left: 55px;
        margin-top: -20px;
    }
    .home-slider .single-slider .btn{
        margin-left: -100px;
        margin-bottom: 290px;
        width: 520px;
        height: 20px;
        display: block;
    }
    .home-slider .single-slider .btn a{
        font-size: 16px;
    }
    .home-slider .owl-carousel .owl-nav button{
        width:42px;
        height:42px;
        line-height:42px;
        font-size:18px;
        margin-top:-21px;
    }
    /* /////////////////////////////////////////////// */
    @media only screen and (max-width: 769px){
    .church-grid{
        grid-template-columns:1fr;
        padding:60px 20px;
        gap:25px;
    }
    .card{
        height:400px;
    }
    .card h2{
        font-size:36px;
    }
    .card p{
        font-size:18px;
    }
 }
/* end */
}
