/* Define styles for the slider and layers */
.slider-container {
    max-width: 100%;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));  */
    z-index: 2; /* Place the overlay above the slider content */
}
.slide {
    flex: 0 0 100%;
    position: relative;
}

img {
    width: 100%;
    height: auto;
}

.layers {
    position: absolute;
    top: 84vh;
    left: 3vw;
    width: 100%;
    height: 100%;
    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; */
}
.layers h2{
    font-size: 55px !important;
}
.layer {
    position: relative;
    z-index: 1; /* Set a higher z-index to bring the layers above the images */
    /* background: rgba(189, 155, 96, 0.5); */
    /* background: rgba(0, 0, 0, 0.5); */
    /* color: #BD9B60; */
    color: #fff;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
    padding: 20px;
}

/* Styles for the arrow elements */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 100px;
    cursor: pointer;
    color: rgba(200,172,94,1); /* Arrow color */
    /* background-color: rgba(255, 255, 255, 0.5);  */
    padding: 10px;
    border-radius: 50%;
    font-weight: 100;
}

.arrow.left {
    left: 20px;
}

.arrow.right {
    right: 20px;
}

/* Rest of your existing CSS styles for slider and layers */
@media (max-width: 992px) {
    .layers {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .layers h2 {
        font-size: 25px !important;
    }
    .services img {
        width: 60%;
    }
    .arrow {
        position: absolute;
        top: 50%;
        font-size: 55px !important;
        text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
    }
    #hero {     
        height: 20vh !important;
    }
    #header .logo img {
        height: 46px;
        width: auto !important;
    }
}

.member {
    perspective: 1000px;
    position: relative;
    cursor: pointer;
    transition: transform 0.5s;
    height: 330px;
  }
  
  .member .member-info {
    width: 100%;
    height: 330px;
    transform-style: preserve-3d;
    transform: rotateY(0deg); /* Initially show the text */
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  
  .member:hover .member-info {
    transform: rotateY(180deg); /* Hide the text on hover */
  }
  .member-info span{
    text-transform: uppercase;
  }
  
  .member .member-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    transition: transform 0.5s;
    transform: rotateY(180deg); /* Initially hide the image */
    backface-visibility: hidden;
  }
  
  .member:hover .member-img {
    transform: rotateY(0deg); /* Show the image on hover */
  }
  
  .member .member-img img {
    width: 330px;
    height: 330px;
  }
  