.index-styles{
    padding: 20px;
    background-color: cornflowerblue;
}

#index-b{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#index-main{
    display: flex;
    flex-direction: column;
    flex: 1;
    /* background-color: aqua; */
    /* padding: 40px; */
}

#index-main section:nth-of-type(n+2) {
    /* Your styles here */
    /* background-color: green; */
    padding-left: 40px;
    padding-right: 40px;
}

.main-image-container {
    overflow: hidden;
    margin-left: 40px;
}

.main-image-container-2 {
    overflow: hidden;
    margin-right: 40px;
}

.main-image-container img {
    width: 100%;
    max-width: 25rem;
    height: 25rem;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s, traslateX 0.3s ease;
    z-index: 1;
}

.main-image-container-2 img {
    /* width: 25rem;
    height: 25rem; */
    width: 100%;
    max-width: 25rem;
    height: 25rem;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s, traslateX 0.3s ease;
}

.span-slide-show-img{
    /* flex-direction: column; */
    /* padding: 10px;
    background-color: green; */
    /* padding: 30px; */
    display: flex;
    overflow: hidden;
    box-shadow: 0px 10px 10px 1px rgba(0, 0, 0, 0.8);
    justify-content: flex-start;
}

.span-slide-show-img-2{
    display: flex;
    overflow: hidden;
    box-shadow: 0px 10px 10px 1px rgba(0, 0, 0, 0.8);
    justify-content: flex-end;
}

.slider-images{
    /* background-color: blue; */
    border-radius: 10px;
}
.slider-2-images{
    /* background-color: blue; */
    border-radius: 10px;
}

.active {
    border: 2px solid rgb(0, 120, 212); /* Highlight active thumbnail */
}

.thumbnail-container {
    /*width: 100%;*/ /* Adjust to fit layout */
    overflow-x: auto;
    white-space: nowrap;
    width: 80%;
    margin: auto;
    padding: 20px;
    overflow-x: auto; /* Enable horizontal scrolling */
    white-space: nowrap; /* Prevent wrapping */
    scroll-behavior: smooth; /* Smooth scrolling */
}

.thumbnail-container-2{
    overflow-x: auto;
    white-space: nowrap;
    width: 80%;
    margin: auto;
    padding: 20px;
    overflow-x: auto; /* Enable horizontal scrolling */
    white-space: nowrap; /* Prevent wrapping */
    scroll-behavior: smooth; /* Smooth scrolling */
}

.thumbnails img {
    object-fit: cover;
    width: 100px;
    height: 75px;
    margin: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.thumbnails-2 img {
    object-fit: cover;
    width: 100px;
    height: 75px;
    margin: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.thumbnails img:hover {
    transform: scale(1.1);
}

.controls{
    /* background-color: red; */
    text-align: center;
}

.selected {
    border: 3px solid rgb(0, 123, 255); /* Highlight border */
    box-shadow: 0px 5px 10px 1px rgba(0, 123, 255, 0.5); /* glow */
}

#both-services-and-instagram{
    display: flex;
    /* background-color: lightgreen; */
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 40px;
    padding-bottom: 40px;
}

#Our-Services-section{
    /* background-color: rgba(255, 255, 255, 0.8); */
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    width: 30%;
    /* border-radius: 5px; */
    padding: 20px;
    /* background-color: red; */
}

#Our-Services-section h2{
    /* background-color: blue; */
    margin-bottom: 20px;
}

#Our-Services-section ul{
    font-size: 1.2rem;
    list-style: none;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px 100px 20px 20px;
    border-radius: 5px;
    /* width: fit-content; */
    white-space: nowrap;
}

#instagram-feed{
    display: flex;
    flex-direction: column;
    align-items: center;
    /* background-color: coral; */
    /* background-color: rgba(255, 255, 255, 0.8); */
    width: 30%;
    padding-top: 20px;
    padding-bottom: 40px;
    /* border-radius: 5px; */
}

#instagram-feed h2{
    margin-bottom: 20px;
    /* background-color: blue; */
}

#instagram-feed iframe{
    padding: 3px !important;
    background-color: black !important;
    border-radius: 10px !important;
    margin-right: 20px !important;
    margin-left: 20px !important;
}

#service-map-wrapper{
    width: 30%;
    /* background-color: purple; */
    padding: 20px 20px 20px 20px;
    /* padding: 20px; */
    /* padding: 10px; */
}

#service-map-wrapper h2{
    /* background-color: blue; */
    margin-bottom: 20px;
}

#service-map-img1{
    display: block; /* or block */
    /*width: 498px;*/           /* set your desired width */
    /*height: 695px;*/         /* set your desired height */
    width: 100%;
    height: 100%;
    background-size: contain; /* optional: scales image to fill */
    background-repeat: no-repeat;
    background-image: url("./imgs/County-Maps-Color-Pop.JPG");
    /* background-position: 50%; */
}



/* @media (max-width: 1635px) {

    #Our-Services-section{
        width: 100%;
    }
    #instagram-feed{
        width: 100%;
    }
    #service-map-wrapper{
        width: 100%;
    }

    #service-map-img1{
        background-position: 50% 0%;
    }
} */

/* @media (max-width: 1225px) {

    #Our-Services-section{
        width: 100%;
    }
    #instagram-feed{
        width: 100%;
    }
    #service-map-wrapper{
        width: 100%;
    }

    #service-map-img1{
        background-position: 50% 0%;
    }
} */

/* @media (max-width: 765px) {
    #service-map-wrapper{
        width: 90%;
    }

    #instagram-feed{
        width: 90%;
    }

    #Our-Services-section{
        width: 90%;
    }
} */

#maps-content{
    /* background-color: blue; */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 100px;
    display: flex;
    flex: 1;
}
#maps-content iframe{
    /* background-color: black; */
    /*width: 100%;*/
    padding: 3px;
    border-radius: 10px;
    border: 3px solid black;
    width: 600px;
    min-height: 450px;
}

/* START Hero homepage  */
.hero-container-homepage{
    padding: 0;
    margin: 0;
    display: flex;
    min-height: 50vh;
    border: 1px solid black;
    align-items: center;
    background: url('imgs/slide-show-2/renamed_photos/70_680bb43458274.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center center;
    /* animation: hero_zoom_effect 60s infinite; */
    background-color: black;
}

#company-info-1{
    /* background-color: coral; */
    /* background-image: url('imgs/slide-show-2/renamed_photos/26_680bb2c2336cc.jpg'); */
    /* background-repeat: no-repeat;
    background-size: cover;
    background-position: center; */
    display: flex;
    flex-direction: column;
    width: 50%;
    margin-left: 20px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    /* background-color: purple; */
}

#company-info-1 img{
    background-color: rgb(172, 201, 255);
    padding: 5px;
}

#company-info-2{
    /* background-color: lightblue; */
    /* background-image: url('imgs/Advent_Health_imgs/AdventHealth Welch Dining Room/image1.jpg'); */
    /* background-repeat: no-repeat;
    background-size: cover; */
    /* background-position: 100% 0%; */
    /* background-position: center; */
    /* object-fit: cover; */
    display: flex;
    flex-direction: column;
    width: 50%;
    margin-right: 20px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#company-info-2 img{
    background-color: rgb(172, 201, 255);
    padding: 5px;
}

#company-info-center{
    /* background-color: aqua; */
    display: flex;
    flex-direction: column;
    /* width: 100%; */
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    margin-bottom: 40px;
}


#company-info-center-para{
    /* background-color: rgb(82, 82, 82); */
    /* background: url('imgs/Advent_Health_imgs/AdventHealth Welch Dining Room/image2.jpg'); */
    /* background: linear-gradient(45deg, rgba(121, 121, 121, 1.0), rgba(255, 255, 255, 0.0),rgba(121, 121, 121, 1.0)); */
    color: black;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px 20px 140px 20px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 0px 5px 10px 3px rgba(0, 0, 0, 0.4);
    width: fit-content;
    background-image: url('imgs/Logopit_1588569210626 Jason Hauk2.png');
    background-repeat: no-repeat;
    background-size: 110px;
    background-position: center 90%;
    background-color: rgba(255, 255, 255, 0.7);
}

#company-info-center span{
    display: flex;
    width: 100%;
    min-width: 200px;
    justify-content: flex-start;
}

#Contact-Services-Link{
    background-color: rgb(0, 123, 255);
    font-size: 1.2rem;
    padding: 14px;
    text-decoration: none;
    color: white;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    box-shadow: 0px 5px 10px 1px rgba(0, 0, 0, 0.8);
    transition: box-shadow 0.3s ease, text-shadow 0.3s ease, background-color 0.3s;
    cursor: pointer;
    z-index: 2;
}

#Contact-Services-Link:hover{
    background-color: rgb(0, 86, 179);
}

#Contact-Services-Link:active{
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.0);
}
#real-map-container2{
    padding: 20px 0px 20px 0px;
    /* background-color: coral; */
    width: 100%;
    display: flex;
    justify-content: center;
    /* background-color: red; */
    align-items: center;
}
#real-map2{
    width: 100%;
    max-width: 530px;
    border: 2px solid black;
    border-radius: 5px;
}

/* END Hero homepage */

@keyframes sproutUp {
    0% {
        border-radius: 50%;
        /*transform: scale(1) translateY(10%);;*/ /* Start small */
        opacity: 0; /* Fully transparent */
    }
    100% {
        border-radius: 0%;
        /*transform: scale(1) translateY(0%);*/ /* Full size */
        opacity: 1; /* Fully opaque */
    }
}

@media (max-width: 1635px) {
    #both-services-and-instagram{
        flex-direction: column;
        justify-content: center;
        align-content: center;
    }

    #Our-Services-section{
        width: 100%;
        align-items: center;
    }

    #Our-Services-section h2{
        display: flex;
        justify-content: center;
        flex: 1;
    }

    #instagram-feed{
        width: 100%;
        margin-top: 40px;
    }
    #service-map-wrapper{
        /* background-color: red; */
        width: 100%;
        height: 600px;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    #service-map-wrapper h2{
        /* background-color: red; */
        display: flex;
        justify-content: center;
    }
    #service-map-img1{
        background-size: contain;
        /* margin-left: 30%; */
        background-position: 50% 0%;
    }

}

@media (max-width: 880px){
    #company-info-center{
        position: absolute;
        width: 100%;
        height: auto;
        display: flex;
        min-width: fit-content;
    }

    #company-info-1{
        margin-right: 5rem;
    }
}

@media (max-width: 768px){
    #maps-content iframe{
        width: 100%;
    }
}

@media (max-width: 700px) {
    #service-map-wrapper{
        padding: 20px 0px 20px 0px;  
    }
    #service-map-img1{
        background-position: 50% 0%;
    }
}

@media(max-width: 692px){
    #company-info-3{
        display: none;
    }
    #company-info-4{
        display: none;
    }
}

@media(max-width: 600px){
    #company-info-center span{
        min-width: 1px;
    }
    #company-info-center-current span{
        min-width: 1px;
    }
}

@media (max-width: 450px){
    #service-map-wrapper{
        height: 500px;
    }
}

@media (max-width: 400px){
    #service-map-wrapper{
        height: 400px;
    }
}

/* Animation clases - start */
.fade-in{
    animation: fade_in 10s forwards;
}

.fade-in-2{
    animation: fade_in_2 10s forwards;
}

.fade-button{
    animation: fade_in 0.5s forwards;
}
/* Animation clases - end */


/* Key Frame Animations */
@keyframes fade_in {
    0% {
        opacity: 0;  /* Start mostly transparent */
    }
    50% {
        opacity: 1;    /* Fully visible at middle */
    }
    100% {
        opacity: 0;  /* Back to mostly transparent */
    }
}

@keyframes fade_in_2 {
    100% {
        opacity: 0;  /* Start mostly transparent */
    }
    50% {
        opacity: 1;    /* Fully visible at middle */
    }
    0% {
        opacity: 0;  /* Back to mostly transparent */
    }
}