@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');

#modalContent {
    transform: translateY(-100px);
    padding: 15px;
    margin: auto 20px;
    border: 2px solid #67B4E6;
    border-radius: 5px;
}

.moreDetailsModal {
    padding: 0;
}

.blog {
    width: 15rem;
    background-color: transparent;
    box-shadow: none;
    cursor: pointer;
}

.blog:hover {
    box-shadow: none;
}

.blog img {
    filter: brightness(0.7);
    transition: 200ms;
}

.blog:hover img {
    filter: brightness(0.5);
}

#mobileCarousel {
    display: none;
}

#carouselExampleControls {
    display: block;
}

.video_blog {
    position: absolute;
    left: 50%;
    top: 26%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 500;
    padding-left: 45px;
    background-repeat: no-repeat;
    background-position: left;
    background-image: url("/static/custom/img/playB.png");
    background-size: 32px;
    height: 44px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    transition: .4s;
    z-index: 1;
    filter: invert(1);
}

.blog:hover .card-title {
    color: #67B4E6;
}

.blog:hover .spline {
    width: 200px;
}

.blog .spline {
    content: "";
    position: absolute;
    width: 100px;
    height: 5px;
    border-radius: 5px;
    background-color: #73e3ff;
    transition: 500ms;
}

.courses p,
.courses.card {
    padding: 5px;
    margin: 0;
}

.courses img {
    transition: 300ms;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.courses.card {
    cursor: pointer;
    transition: .5s;
    height: 100%;
    border-radius: 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.courses.card img:hover {
    box-shadow: 0 4px 12px -1px black;
}

.courses .label h4 {
    font-size: 18px;
    padding: auto 5px;
    margin: 0 auto;
    transform: translateY(-50%);
    font-family: 'Lato', sans-serif;
}

.borderTop {
    border-top: 4px solid #67B4E6;
}

.courses .label h4 span {
    background-color: #67B4E6;
    transition: .5s;
    width: fit-content;
    padding: 5px 15px;
    font-weight: lighter;
    border-top-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.courses .label h4 span:hover {
    filter: hue-rotate(90deg);
    border-top-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 12px;
}

.courseHeading {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.884);
}

.courses .label {
    width: 100%;
}

.queryForm {
    margin: 0 0 50px 0;
    padding: 0;
    /* border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px; */
    /* border: 1px solid gainsboro; */
    /* box-shadow: 0 10px 15px -15px rgb(82, 82, 82); */
}

#contactUs {
    background-color: #f0f9ff;
    background-image: url(/static/custom/img/contact-us.png);
    background-size: 450px 450px;
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) calc(100% + 50px);
    margin-bottom: 20px;
    border: 1px solid #73c5ff;
}

#contact {
    color: #002e51;
    width: 100%;
}

.contactDetail {
    /* background-color: #f0f9ff; */
    padding: 10px;
    /* border: 1px solid #73c5ff;
    border-top: none; */
}

#courseContent img {
    width: 100%;
}

.upcommingBottom {
    position: absolute;
    bottom: 0px;
}

.heading1 {
    position: relative;
}

.heading1 h4 {
    position: absolute;
    left: 50%;
    top: 0;
    color: #000;
    transform: translateX(-50%);
    width: 300px;
    padding: 5px 15px;
}

.text-heading {
    color: #004c8b;
}

#mission_video {
    padding: 10px;
    width: 100%;
    height: 415px;
}
.mission-container{
    display: grid;
    gap: 30px;
    /* justify-content: center; */
    /* align-items: flex-start; */
    grid-template-columns: 50% 50%;
}
.container:has(#mission_video) {
    min-height: 415px;
}
.preview-content{
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}
.preview-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5em; /* height of 1 line */
  background: linear-gradient(to bottom, transparent, white 90%); /* adjust white to match your background */
  pointer-events: none;
}

.book-item {
    display: flex;
    /* padding: 5px; */
    /* border-radius: 15px; */
    /* box-shadow: 0 0 10px #d9d9d9; */
    border: 1px solid #dddddd;
    transition: .1s;
    background-color: #00000008;
}
.more-details-btn {
    color:#01adee;
    border-radius: 50px;
    padding: 8px 20px;
    /* color: #fff; */
    transition: .2s;
}
.publicationBottomContainer{
    display: flex;
    flex-direction: row;
}
.more-details-btn:hover {
    background-color: #67B4E6;
    color: #fff;
}
.book-title {
    color: #272727;
    font-size: 1.3rem;
}

#books {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.amazonBtn {
    border: 1px solid transparent;
    border-radius: 50px;
}
.amazonBtn:hover {
    border: 1px solid #67B4E6;
}
#ePDF {
    background-color: #f0f9ff;
    color: #003d6b;
}
#pdf-signup{
    border: 1px solid #7dd5fb;
    background-color: #f0f9ff;
    background-image: url(/static/custom/img/ebook.png);
    background-size: 400px 400px;
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) calc(100% + 35px);
}

.share-btn:hover {
    color: green;
}
.share-btn {
    border: 1px solid rgb(109, 194, 210);
    background-image: linear-gradient(to right, #cdf0ff, #b7f1ff);
    padding: 0 15px;
    /* border-radius: 10px; */
    color: darkblue;
}
.fa-whatsapp {
    font-size: 25px;
}
.last-book {
    /* border: 1px solid #fff; */
    position: relative;
    border-bottom: none;
    border-left: none;
    border-right: none;
}
.last-book::after {
    content: '';
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    top: 0;
    right: 0;
    background-image: linear-gradient(to bottom, transparent, #fff, #fff, #fff);
    background-size: 100% 200%;
    background-position: top;
}

.moreBooksBtn {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 100%;
}

.MoreVideosBtn {
    transform: translateY(-0px);
}

.logo-container {
    width: 100%;
    overflow: hidden;
    margin-top: 50px;
}

.logo-slider {
    display: flex;
    justify-content: space-evenly;
    animation: slide 20s linear infinite;
}

.logo {
    flex: 0 0 auto;
    width: 200px;
    height: 100px;
    margin: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    max-width: 100%;
    max-height: 100%;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
@media only screen and (max-width: 768px) {
    .publicationBottomContainer{
        flex-direction: column;
        gap: 20px;
    }
    /* .ebook-image{
        display: none;
    } */
    .book-item {
        flex-direction: column;
    }

    .container:has(#mission_video) {
        min-height: max-content;
    }
    
    .mission-container{
        display: flex;
        flex-direction: column;
        gap: 10px
    }
    #mission_video {
        width: 100%;
        height: 300px;
    }

    #mobileCarousel {
        display: block;
    }

    #carouselExampleControls {
        display: none;
    }

    .courseHeading {
        position: static;
        transform: none;
    }

    .g-recaptcha {
        transform: scale(0.77);
        transform-origin: 0 0;
    }

    #modalContent {
        transform: none;
        padding: 2px;
        border: none;
        margin: auto;
    }

    .moreDetailsModal {
        padding: 10px;
    }

    .upcommingBottom {
        position: static;
        bottom: auto;
    }

    .carousel-indicators {
        display: none;
    }

    .video_blog {
        top: 30%;
    }
}

.slick-prev::before,
.slick-next::before {
    color: #268bce;
    font-size: 25px;
    position: absolute;
}

.slick-next::before {
    right: 10px;
}

.slick-prev::before {
    left: 10px;
}

.video-categories {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.video-categories span {
    padding: 10px;
    color: #fff;
    background-color: #67B4E6;
    cursor: pointer;
}

.blog-categories {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.blog-categories span {
    padding: 10px;
    color: #fff;
    background-color: #67B4E6;
    cursor: pointer;
}

.blog_poster_img {
    position: relative;
}

.video_category_img {
    position: relative;
}

.video_category {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 500;
    padding-left: 45px;
    background-repeat: no-repeat;
    background-position: left;
    background-image: url("/static/custom/img/playB.png");
    background-size: 32px;
    height: 44px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    transition: .4s;
    z-index: 1;
    filter: invert(1);
}

@media only screen and (max-width: 768px) {
    #pdf-signup, #contactUs {
        background-image: none;
    }
    
    .video-categories span {
        font-size: 12px;
        padding: 5px;
    }

    .blog-categories span {
        font-size: 12px;
        padding: 5px;
    }

    .card-body .card_title {
        font-size: 14px;
    }
}