/* Custom styles for Journey Home Ministries */
.bg-jhm-white {
    background-color: #FFFFFF;
}
.bg-jhm-dark {
    background-color: #1C2526;
}
.btn-jhm-light-blue {
    background-color: #8ECAE6;
    border-color: #8ECAE6;
    color: #1C2526;
}
.btn-jhm-light-blue:hover {
    background-color: #6AB6D6;
    border-color: #6AB6D6;
    color: #1C2526;
}
.btn-outline-jhm-dark {
    border-color: #1C2526;
    color: #1C2526;
}
.btn-outline-jhm-dark:hover {
    background-color: #1C2526;
    color: #fff;
}
.navbar-light .navbar-nav .nav-link {
    color: #1C2526;
}
.navbar-light .navbar-nav .nav-link:hover {
    color: #8ECAE6;
}
.navbar-light .navbar-nav .nav-link.active {
    color: #8ECAE6;
    font-weight: bold;
}

.hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
}
.hero .carousel-item {
    position: relative;
    height: 600px;
}
.hero .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.ministries {
    position: relative;
    min-height: 600px;
    overflow: hidden;
}
.ministries .carousel-item {
    position: relative;
    height: 600px;
}
.ministries .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
.ministries-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 1;
}

.testimonial {
    position: relative;    
    overflow: hidden;
    max-height:300px;
}
.testimonial .carousel-item {
    position: relative;   
}
.testimonial .carousel-item img {
    object-fit: cover;
    height: 100%;
    max-height:300px;
    width: 100%;
}
.testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
}


.reveal-section {
    position: relative;
    min-height: 400px;
    background-image: url('../images/img_6875_opacity.jpg?v=1.0');
    background-size: cover; /* Scales to fill container */
    background-position: center; /* Centers the image */    
    background-attachment: fixed; /* For parallax */
     overflow: hidden;    
}

@media screen and (max-width: 768px) {
    .reveal-section {
        background-image: url('../images/img_6875_opacity.jpg?v=1.0');
        background-size: 900px 700px;
    }

    .mainhead{
     font-size: 14pt;
    }

    .subhead {
     font-size: 12pt;
    }


   
}


.scripture-section {
    position: relative;
    min-height: 400px;
    background-image: url('../images/img_6837_opacity.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    overflow: hidden;
}

.navbar-brand img {
    max-height: 50px;
    /* No filter applied to blend with white background */
}
.card {
    transition: transform 0.3s;
}
.card:hover {
    transform: translateY(-5px);
}
footer .social-links a {
    font-size: 1.5rem;
    color: #1C2526;
}
footer .social-links a:hover {
    color: #8ECAE6;
}
footer .list-unstyled a {
    text-decoration: none;
}
footer .list-unstyled a:hover {
    text-decoration: underline;
}

@media (max-width: 1080px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero .lead {
        font-size: 1rem;
    }
    .hero, .hero .carousel-item {
        min-height: 400px;
    }
    
    .testimonial h1 {
        font-size: 2.5rem;
    }
    .testimonial .lead {
        font-size: 1rem;
    }
    .testimonial, .testimonial .carousel-item {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero .lead {
        font-size: 1rem;
    }
    .hero, .hero .carousel-item {
        min-height: 400px;
    }
    
    .testimonial h1 {
        font-size: 2.5rem;
    }
    .testimonial .lead {
        font-size: 1rem;
    }
    .testimonial, .testimonial .carousel-item {
        min-height: 550px;
    }
}

@media (max-width: 375px) {    
    .testimonial h1 {
        font-size: 2.5rem;
    }
    .testimonial .lead {
        font-size: 1rem;
    }
    .testimonial {
        min-height: 700px;
    }
    .testimonial .carousel-item {
        min-height: 600px;    
    }

    .hero-video {
        width:250px;
    }


}


.dragonFly {
    background-image: url('../images/dragonfly_opacity.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    height:500px;
   
}

.ketchup {
    background-image: url('../images/ketchup_opacity.jpg');
    background-size: contain;
    background-repeat: no-repeat;
   
}


.graybkgrd {
    background-color:#F2F2F2;
}