html{
    scroll-behavior: smooth;
}
body,h1,h2,h3,h4,h5,h6,ul,li{
    margin:0px;
    padding:0px;
    font-family: "Cinzel", serif;
}
p, span, li{
    font-family: Arial, sans-serif;
}
.padt{
    padding-top:5%;
}
.padb{
    padding-bottom:5%;
}
.highlight{
    color:#665656b0;
}
.top-bar{
    background:#040404b8;
    font-size:14px;
}
@media (max-width:768px){
    .top-bar{
        text-align:center;
    }

    .top-bar i{
        font-size:16px;
    }
}

.social-top i:hover{
    color:#540000;
}
.social-top span i:hover{
    color:#540000;
}
.main-navbar{
    background:#fff;
    padding:15px 0;
}
.navbar-brand .top-heading{
     font-family: "Indie Flower", cursive;
}
ul li .nav-link{
    color:#071c34 !important;
    font-weight:750;
    margin:0 10px;
    transition:3s ease;
}
ul li .nav-link:hover{
    color:#540000;
    border-bottom:3px solid black;
}
.learn-btn{
    background:#540000;
    color:#fff;
    padding:12px 25px;
    border-radius:30px;
    text-decoration:none;
    font-weight:500;
}
.learn-btn:hover{
    color:#540000;
    background-color: #fff;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.6);
}

/*into*/
.hero-section{
    position:relative;
    background-image:url('../img/landscape1.jpg'); 
    background-size:cover;
    background-position:center;
}
.hero-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(133, 133, 133, 0);
}
.hero-section .container{
    position:relative;
    z-index:2;
}
.text-slider{
    position:relative;
    height:100px;
    overflow:hidden;
}
.text-slider h1{
    position:absolute;
    opacity:0;
    animation:fadeText 9s infinite;
    font-size:48px;
    font-weight:700;
    color:#fff;
}
.hero-section .hero-content p{
    color:#fefdfd;
    font-weight:450;
}
.hero-section .hero-content a{
    background:#540000;
    color:#fff;
    padding:35px 15px;
    border-radius:30px;
    text-decoration:none;
    font-weight:500;
    display:inline-block;
}
.hero-section .hero-content a:hover{
    color:#540000;
    background-color: #fff;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.6);
}
.text-slider h1:nth-child(1){
    animation-delay:0s;
}
.text-slider h1:nth-child(2){
    animation-delay:4s;
}
.text-slider h1:nth-child(3){
    animation-delay:7s;
}
@keyframes fadeText{
    0%{opacity:0;}
    10%{opacity:1;}
    30%{opacity:1;}
    40%{opacity:0;}
    100%{opacity:0;}
}
@media(max-width:768px){
    .text-slider h1{
        font-size:29px;
    }
}

/*Sermon*/
.sermon .sermon-intro .ser-img img{
    border-radius:8px;
    
}
.sermon .sermon-intro h2{
    color:#665656b0;
    font-weight:700;
}
.sermon .sermon-intro p{
    color: #000;
    font-weight:600;
}
.sermon .sermon-intro  a{
   background:#540000;
    color:#fff;
    padding:12px 15px;
    border-radius:30px;
    text-decoration:none;
    font-weight:500;
}
.sermon .sermon-intro a:hover{
    color:#540000;
    background-color: #fff;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.6);
}

/*recent sermons2*/
.services-sermon{
        background-color:rgba(230, 221, 203, 0.497);
}
.reset-sermons p{
    color:#000;
    font-weight:600;
    margin-top:65px;
}
.reset-sermons h2{
    color:#000;
    font-weight:700;
}
.reset-sermons .sermon-card img {
    border-radius:7px;
    margin-top:30px;
}
.reset-sermons .sermon-card  h3{
    color:#000;
    font-weight: 600;
}
.reset-sermons .sermon-card .church-btn{
    background:#540000;
    color:#fff;
    padding:10px 17px;
    border-radius:30px;
    text-decoration:none;
    font-weight:500;
    display:inline-block;
}
.reset-sermons .sermon-card .church-btn:hover{
    color:#540000;
    background-color: #fff;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.6);
}
.services-sermon img{
    width:100%;
    height:auto;
}
@media (max-width: 991px){
    .services-sermon .col-4{
        width:50%;
        margin-bottom:40px;
    }

    .services-sermon .sermon-card{
        row-gap:40px;
    }
}
@media (max-width: 575px){
    .services-sermon{
        padding-left:15px;
        padding-right:15px;
    }

    .services-sermon .col-4{
        width:100%;
        text-align:center;
    }

    .services-sermon .col-4 img{
        margin-bottom:25px;
    }

    .services-sermon .col-4 h3{
        font-size:22px;
    }

    .services-sermon .highlight{
        font-size:15px;
        line-height:1.7;
    }

    .services-sermon .church-btn{
        display:inline-block;
        margin-top:20px;
    }
}

/* Services Section */
.services-card {
     background-color:rgba(230, 221, 203, 0.497);
    min-height: 85vh; 
    padding: 2rem 0;
}
.reset-sermons .services-card  h3{
    color:#000;
    font-weight: 600;
}
.services .col-3 {
    flex: 0 0 25%;
    max-width: 25%;
    margin-bottom: 30px;
    text-align: center; 
}
.services img{
    max-width:80px;
    height:auto;
}
@media (max-width: 991px){
    .services .col-4{
        width:50%;
        margin-bottom:40px;
    }

    .services-card{
        row-gap:40px;
    }

    .join-us .col-9,
    .join-us .col-3{
        width:100%;
        text-align:center;
    }

    .join-us a{
        display:inline-block;
        margin-top:15px;
    }
}
@media (max-width: 575px){
    .services{
        padding-left:15px;
        padding-right:15px;
    }

    .services .col-4{
        width:100%;
    }

    .services h3{
        font-size:22px;
    }

    .services .highlight{
        font-size:15px;
        line-height:1.7;
    }

    .join-us{
        padding:25px 15px;
        text-align:center;
    }

    .join-us h2{
        font-size:22px;
        margin-bottom:15px;
    }

    .join-us a{
        padding:12px 30px;
        display:inline-block;
    }
}

/* Join Us Section */
.service-join {
    background-color: #040404b8;
    padding: 5rem 0; 
    text-align: center;
}

.join-us h2 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}
.join-us a {
    background: #540000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
}
.join-us a:hover {
    color: #540000;
    background-color: #fff;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.6);
}
.services .col-3 img {
    max-width: 80px;
    height: auto;
}

/*logos*/
.logos{
    padding:65px 65px;
    background-image: url('../img/back.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 3px;
}

/*footer section*/
ul {
    margin: 0px;
    padding: 0px;
}
.footer-section {
  background-image: url(../img/footer.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.footer-section::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(47, 49, 54, 0.85); 
    z-index:1;
}
.footer-section > .container,
.copyright-area{
    position:relative;
    z-index:2;
}
.footer-cta {
  border-bottom: 1px solid #373636;
}
.single-cta i {
  color: #540000;
  font-size: 30px;
  float: left;
  margin-top: 8px;
}
.cta-text {
  padding-left: 15px;
  display: inline-block;
}
.cta-text h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
}
.cta-text span {
  color: #757575;
  font-size: 15px;
}
.footer-content {
  position: relative;
  z-index: 2;
}
.footer-pattern img {
  position: absolute;
  top: 0;
  left: 0;
  height: 330px;
  background-size: cover;
  background-position: 100% 100%;
}
.footer-logo {
  margin-bottom: 30px;
}
.footer-logo a{
    color:white;
    text-decoration:none;
    font-weight:700;
}
.footer-logo img {
    max-width: 200px;
}
.footer-text p {
  margin-bottom: 14px;
  font-size: 14px;
      color: #a1a1a1;
  line-height: 28px;
}
.footer-social-icon span {
  color: #fff;
  display: block;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
}
.footer-social-icon a {
  color: #fff;
  font-size: 16px;
  margin-right: 15px;
}
.footer-social-icon a i:hover{
    color:#540000;
}
.footer-social-icon i {
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 38px;
  border-radius: 50%;
}
.footer-widget-heading h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 40px;
  position: relative;
}
.footer-widget-heading h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  height: 2px;
  width: 50px;
  background: #ffffff;
}
.footer-widget ul li {
  display: inline-block;
  float: left;
  width: 50%;
  margin-bottom: 12px;
}
.footer-widget ul li a:hover{
  color: #540000;
}
.footer-widget ul li a {
    color: #878787;
    text-transform: capitalize;
    text-decoration: none;
    color: white;
    font-weight: 700;
}
.subscribe-form {
  position: relative;
  overflow: hidden;
}
.subscribe-form input {
  width: 100%;
  padding: 14px 28px;
  background: #2E2E2E;
  border: 1px solid #2E2E2E;
  color: #fff;
  border-radius: 14px;
}
.subscribe-form button {
    position: absolute;
    right: 0;
    background: #540000;
    padding: 13px 20px;
    border: 1px solid #540000;
    top: 0;
    color:white;
    border-radius: 14px;
    font-weight: 700;
}
.subscribe-form button:hover{
    color: #540000;
    background-color: #fff;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.6);
}
.subscribe-form button i {
  color: #fff;
  font-size: 22px;
  transform: rotate(-6deg);
}
.copyright-area{
  padding: 25px 0;
}
.copyright-text p {
  margin: 0;
  font-size: 14px;
  color: #a1a1a1;
}
.copyright-text p a{
  color: #540000;
  font-weight: 700;
  font-size:18px;
}
.footer-menu li {
  display: inline-block;
  margin-left: 20px;
}
.footer-menu li:hover a{
  color: #540000;
}
.footer-menu li a {
  font-size: 14px;
  text-decoration: none;
  color:white;
  font-weight: 700;
}
