/*------------------------------------------------------------------------*/

.aca-navbar .navbar-nav {
    background: transparent;
    box-shadow: none;
}

.aca-navbar .navbar-nav.custom-navbarnav {
    background: #12121280;
    box-shadow: rgba(18, 49, 86, 0.24) 0px 3px 8px;
}

.main-banner {
    height: 800px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: 1s;
    animation: mymove 6s infinite;
}

.banner-heads h1 {
    font-size: 56px;
}

.banner-roots {
    font-size: 36px;
}

.banner-roots-para {
    font-size: 24px;
}

.banner-withus-txt {
    font-family: Brittany-Signature;
    font-size: 35px;
}

.banner-right-sec {
    position: absolute;
    right: 12px;
    bottom: 0;
}

.banner-carousel {
    padding-top: 82px;
    padding-bottom: 50px;
}

.banner-carousel .carousel-item img {
    height: 600px;
    object-fit: contain;
    object-position: left;
}

.banner-carousel .carousel-control-next,
.banner-carousel .carousel-control-prev {
    top: unset;
    border: 1px solid;
    border-radius: 50px;
    width: 32px;
    height: 32px;
    padding: 7px;
    bottom: 7px;
}

.banner-carousel .carousel-indicators {
    left: 65px;
    bottom: 3px;
    justify-content: space-evenly;
}

.banner-carousel .carousel-indicators button {
    width: 100%;
    border: 0;
}

.banner-carousel .carousel-indicators button.active {
    background-color: red;
}

.banner-carousel .carousel-control-next {
    left: 40px;
    margin-left: 16px;
}

.banner-carousel .carousel-control-next-icon {
    transform: rotate(45deg);
}

.banner-carousel .carousel-control-prev-icon {
    transform: rotate(45deg);
}

.banner-vector-shape {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 68px;
    height: 638px;
    background-color: #AD1F24;
    clip-path: polygon(0% 8.74%, 100% 0%, 100% 100%, 0% 100%);
    position: relative;
    right: -12px;
}

.banner-vector-shape a>img {
    width: 34px;
}

.banner-vector-shape a:not(:last-child) {
    margin-bottom: 40px;
}

.provide-card img {
    width: 135px;
    height: 135px;
    object-fit: contain;
}

.provide-card h1 {
    font-size: 56px;
}

.provide-card p {
    font-size: 16px;
    line-height: 28px;
}

.course-img img {
    width: 100%;
    object-fit: contain;
}

.course-offered-contents .card {
    height: 275px;
}

.course-offered-contents img {
    width: 100%;
    height: 130px;
    object-fit: contain;
}

.message-contents .card-body p:not(:last-child) {
    font-size: 16px;
    color: var(--color-black);
    margin-bottom: 30px;
}

.message-contents {
    border: 0;
    /*    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;*/
}

.message-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.msg-read-cont {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* Number of lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Optional: Adds "..." at the end */
}

.message-card {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

.msg-read-more,
.msg-read-more:is(:hover, :focus, :active) {
    border-radius: 0;
    padding: 7px 0;
    width: 160px;
    font-size: 17px;
    background-color: var(--color-black) !important;
    color: var(--color-white) !important;
    border: 0;
}

.florence-tagline {
    font-size: 20px;
}

.num-card p {
    font-size: 15px;
}

.swiper-container {
    width: 100%;
}

.swiper-slide img {
    width: 100%;
    height: auto;
}

.quote-profile-div img {
    width: 90px;
    height: 90px;
}

.quote-carousel {
    padding-bottom: 58px;
    border: 1px solid var(--color-red);
    padding: 50px 30px;
    border-radius: 40px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding-bottom: 80px;
}

.quote-carousel .carousel-indicators {
    margin-bottom: 4rem;
}

.quote-carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50px;
    background-color: var(--color-red);
    border: 2px solid var(--color-white) !important;
    outline: 1px solid var(--color-red);
    margin-right: 15px;
}

.quote-carousel .carousel-item {
    padding: 30px 20px;
    padding-top: 15px;
}

.quote-carousel .carousel-item .testionial-cont {
    font-size: 20px;
    line-height: 44px;
}

.swiper-button-next,
.swiper-button-prev,
.swiper-pagination {
    display: none;
}

.btm-slider img {
    width: 100%;
    height: 60px;
    object-fit: contain;
}

.swipe-more-div {
    position: relative;
}

.swipe-more-div p {
    background-color: var(--color-white);
    position: relative;
    padding: 0 14px;
    /* z-index: 10; */
}

.swipe-more-div::before {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-black);
    position: absolute;
    /* z-index: 9; */
}

/* --------- */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 400px;
    perspective: 1000px;
    margin: 1rem;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    overflow: hidden;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flip-card-back {
    background: var(--color-red);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: rotateY(180deg);
    padding: 1rem;
}

.border-black {
    border: 1px solid #17365F;
    border-radius: 40px;
}


/* ------------------ media Queries --------------- */
@media (max-width:992px) {
    .aca-navbar .navbar-toggler .navbar-toggler-icon {
        filter: invert(1);
    }
}

@media (max-width: 991px) and (min-width: 760px) {
    /* .banner-nurse-img {
        width: 344px;
    } */

    .banner-vector-shape {
        width: 55px;
        height: 437px;
    }

    .main-banner {
        height: 560px;
    }

    .banner-heads h1,
    .provide-card h1 {
        font-size: 40px;
    }

    .banner-roots {
        font-size: 25px;
    }

    .banner-roots-para {
        font-size: 16px;
    }

    .provide-card p {
        font-size: 14px;
        line-height: 28px;
    }

    .banner-carousel .carousel-item img {
        height: 320px;
    }

    .banner-carousel {
        padding-top: 112px;
    }

    .simeon-img {
        width: 60%;
    }
}

@media (max-width: 759px) {
    /* .banner-nurse-img {
        width: 293px;
        position: relative;
        right: -79px;
    } */

    .banner-right-sec {
        z-index: 1;
    }

    .banner-carousel .carousel-item img {
        height: 320px;
    }

    .banner-carousel {
        padding-top: 112px;
    }

    .banner-vector-shape {
        background-color: transparent;
        justify-content: start;
        clip-path: none;
        top: -178px;
        right: -8px;
    }

    .main-banner {
        height: 100%;
        padding-bottom: 89px;
    }

    .left-section {
        position: relative;
        z-index: 9;
    }

    .left-section .btn-blue,
    .left-section .btn-red {
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(1px);
        margin-bottom: 28px;
    }

    .simeon-img {
        width: 70%;
    }


}

@media (max-width: 640px) {

    .left-section .btn-blue,
    .left-section .btn-red {
        width: 185px;
        height: 64px;
        font-size: 15px;
    }

    .message-card h4 {
        font-size: 18px;
    }

    .message-img {
        width: 100px;
        height: 100px;
    }

    .florence-tagline {
        font-size: 17px;
    }

    .provide-card h1 {
        font-size: 42px;
    }

    .btm-slider img {
        height: 40px;
    }

    .banner-right-sec {
        bottom: unset;
        top: 296px;
    }

    .banner-carousel .carousel-item img {
        height: auto;
    }

    .banner-carousel {
        padding-top: 32px;
    }

    .quote-carousel {
        padding: 40px 8px;
    }

    .quote-carousel .carousel-item .testionial-cont {
        font-size: 17px;
        line-height: 32px;
    }

    .quote-carousel .carousel-item {
        padding: 30px 10px;
    }

    .quote-carousel .carousel-indicators {
        display: none;
    }

    .simeon-img {
        width: 75%;
    }
}

@media (max-width: 400px) {

    .left-section .btn-blue,
    .left-section .btn-red {
        width: 168px;
        height: 64px;
    }
}