#carouselExampleIndicators{
    position:relative;
    z-index:1;
    background:url(https://www.toasbd.com/wp-content/uploads/2024/03/slider_bg.jpg) center center no-repeat;
    background-size:cover;
}
.carousel_caption h1 {
    color: #ffffff;
    letter-spacing: 1px;
    font-family: "Merienda", cursive;
    font-weight: 500;
    margin: 0 0 5px;
    text-transform: uppercase;
}
.carousel_caption h2 {
    color: #ffffff;
    letter-spacing: 1px;
    font-family: "Merienda", cursive;
    font-weight: 200;
    text-transform: uppercase;
}
.carousel_caption p {
    color: #ffffff;
    font-family: 'lato';
    font-size: 16px;
    line-height: 26px;
}
.carousel_caption a {
    font-size: 13px;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
}
.carousel-item {
    min-height: 700px;
    background-size: cover;
    background-position: center center;
}

.carousel-item a{background:#673AB7; font-size:14px; color:#FFF; padding:13px 32px; display:inline-block; }
.carousel-item a:hover{background:#394fa2; text-decoration:none;  }

.carousel-item h2{-webkit-animation-name:fadeInLeft; animation-name:fadeInLeft;}
.carousel-item p{-webkit-animation-name:slideInRight; animation-name:slideInRight;}
.carousel-item a{-webkit-animation-name:fadeInUp; animation-name:fadeInUp;}
.carousel-item .mask img{-webkit-animation-name:slideInRight; animation-name:slideInRight; display:block; height:auto; max-width:100%;}
#carouselExampleIndicators h2, #carouselExampleIndicators p, #carouselExampleIndicators a, #carouselExampleIndicators .carousel-item .mask img{-webkit-animation-duration: 1s;
    animation-duration: 1.2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.carousel-inner-custom{
    top: 124px!important;
}
.carousel-item {
    position: relative;
    display: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    transition: -webkit-transform .6s ease;
    transition: transform .6s ease;
    transition: transform .6s ease,-webkit-transform .6s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}
.carousel-control-next, .carousel-control-prev {
    height: 40px;
    width: 40px;
    padding: 12px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    background-color:#0C8D2DB7;
}
.carousel-fade .carousel-item {
    opacity: 0;
    -webkit-transition-duration: .6s;
    transition-duration: .6s;
    -webkit-transition-property: opacity;
    transition-property: opacity
}
.carousel-fade .carousel-item-next.carousel-item-left, .carousel-fade .carousel-item-prev.carousel-item-right, .carousel-fade .carousel-item.active {
    opacity: 1
}
.carousel-fade .carousel-item-left.active, .carousel-fade .carousel-item-right.active {
    opacity: 0
}
.carousel-fade .carousel-item-left.active, .carousel-fade .carousel-item-next, .carousel-fade .carousel-item-prev, .carousel-fade .carousel-item-prev.active, .carousel-fade .carousel-item.active {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0)
}
@supports (transform-style:preserve-3d) {
    .carousel-fade .carousel-item-left.active, .carousel-fade .carousel-item-next, .carousel-fade .carousel-item-prev, .carousel-fade .carousel-item-prev.active, .carousel-fade .carousel-item.active {
        -webkit-transform:translate3d(0, 0, 0);
        transform:translate3d(0, 0, 0)
    }
}
.carousel-fade .carousel-item-left.active, .carousel-fade .carousel-item-next, .carousel-fade .carousel-item-prev, .carousel-fade .carousel-item-prev.active, .carousel-fade .carousel-item.active {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

@-webkit-keyframes fadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.fadeInLeft {
    -webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
}

@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

@-webkit-keyframes slideInRight {
    from {
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
        visibility: visible;
    }

    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInRight {
    from {
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
        visibility: visible;
    }

    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.slideInRight {
    -webkit-animation-name: slideInRight;
    animation-name: slideInRight;
}
/**************SLIDER END**********************/
.img-section {
    position: relative;
    margin: 0 auto;
    overflow-x: hidden;

}
.text-section {
    display: flex;
    visibility: hidden;
    position: absolute;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    color: hsl(240, 38%, 20%);
    opacity: 0.7;
    transition: opacity 0.2s ease-in-out;
}
.img-container {
    position: relative;
    background-image: url(../../assets/images/pattern-bg.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 95%;
    padding: 2rem;
}
.profile-img {
    margin-bottom: 1rem;
    border-radius: 5px;
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
}
/* arrow  */
.arrow-container {
    overflow: hidden;
    position: absolute;
    z-index: 2;
    background: white;
    display: flex;
    box-shadow: 0 3px 10px 5px rgb(58 38 151 / 18%);
    border-radius: 15px;
    bottom: 21px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 80px;
}
.arrow {
    background: white;
    padding: 0.6rem 0.9rem;
}
.arrow-container img {
    width: 40px;
    height: 35px;
    cursor: pointer;
}
/* text */
.text {
    background-image: url(../../assets/images/pattern-quotes.svg);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 3.5rem;
    padding: 1rem;
   /* font-weight: 300;*/
    letter-spacing: 0.2px;
    font-size: 1rem;
    line-height: 24px;
}
.name-position-wrapper {
    display: flex;
    flex-direction: column;
    padding-left: 1rem;
}
.name {
    font-weight: 700;
}
.job-position {
    color: hsl(240, 18%, 77%);
}
/* footer */
footer {
    margin-top: auto;
}
.attribution {
    font-size: 11px;
    text-align: center;
}
.attribution a {
    color: hsl(228, 45%, 44%);
}

/* hover states */
@media (hover) {
    .arrow-container img:hover {
        opacity: 0.7;
    }
    .attribution a:hover {
        opacity: 0.8;
    }
}

/* desktop */
@media (min-width: 768px) {
    .info-container {
        height: 50vh;
        display: flex;
        justify-content: center;
    }
    .text-section {
        flex-direction: row;
        width: 100vw;
    }
    .img-container {
        position: absolute;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: -410px;
        width: 30rem;
    }
    /* text desktop*/
    .text-wrapper {
        position: absolute;
        display: flex;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        width: 30rem;
        right: 86px;
        left: -500px;
    }
    .text {
        z-index: 2;
        left: 0;
        text-align: left;
    }
    .name-position-wrapper {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        text-align: left;
    }
}

/* show/hide */
.active {
    visibility: visible;
    position: static;
    opacity: 1;
}
.align-items-center-padding{
    padding-top: 88px;
}
.job-position {
    color: forestgreen;
    font-size: 1.3rem;
    font-family: "Merienda", cursive;
}
.carousel-item-custom{
    min-height:300px!important;
}