@font-face {
    font-family: 'kohinoor';
    src: url(../fonts/kohinoorbangla.ttf);
}

* {
    margin: 0;
    padding: 0;
    font-family: 'kohinoor';
    box-sizing: border-box;
}


/* for mobile screen */


.nav_back {
    background-color: #E53935;
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 3%;
    padding-bottom: 3%;
    position: fixed;
    min-height: 56px;
}

.navbar {
    width: 100%;
    /* padding-left: 1%; */
    padding-right: 5%;
    padding-top: 1.6%;
    padding-bottom: 2%;
    display: flex;
    z-index: 1;
    /* top: 0; */
    position: fixed;
    background: rgba(0, 0, 0, 0);
    overflow: hidden;
}

nav {
    flex: 1;
    text-align: left;
    cursor: pointer;
}

nav ul li {
    list-style: none;
    display: inline-block;
    margin-right: 10px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    transition-duration: 0.2s;
}

nav ul li a:hover {
    color: black;
    /* font-size: 22px; */
}

.tagline {
    padding-right: 3%;
    text-align: right;
    font-size: 1.25rem;
    /* float: right; */
    width: 100%;
    z-index: 100px;
    margin-bottom: -45px;
}

.tagline p {
    text-align: right;
}

.tagline img {
    width: 150px;
    margin-top: 25px;
    position: relative;
    cursor: pointer;
}

.top-btn {
    all: unset;
    position: fixed;
    right: 20px;
    bottom: 20px;
    cursor: pointer;
    transform: scale(1.8);
    opacity: 0;
    transition: .3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: red;
    border-radius: 4px;
    color: #fff;
    font-size: 18px;
}

.tagline span {
    font-size: 1.25rem;
    color: #E53935;
}

.tagline p {
    width: 100%;
    margin-top: -10px;
    font-size: 0.8rem;
}

.section_one {
    width: 100%;
    min-height: auto;
    background: url(images/back_sec_one.png) repeat 0 0;
    background-size: 100% 100%;
}

.row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.col-1 {
    flex-basis: 50%;
    margin-top: 20px;
}

.col-1 img {
    width: 100%;
    margin: 0%;
    padding: 0%;
}

.col-2 {
    flex-basis: 50%;
    /* display: block; */
    margin: 10%;
}

.col-2 img {
    margin-left: 20px;
    width: 60%;
    /* margin: 2%; */
    display: block;
    padding: 5%;
    /* margin: auto; */
    cursor: pointer;
    transition-duration: 0.5s;
}

.col-2 img:hover {
    width: 70%;
    /* transition-duration: 0.5s; */
}

/* section_app */
.section_app {
    width: 100%;
    min-height: auto;
    background: url(images/back_4@2x.png) repeat 0 0;
    background-size: 100% 100%;
    display: block;
    padding: 5%;
}

.app_text {
    width: 100%;
    margin-top: 5%;
    text-align: center;
}

.app_text img {
    width: 20%;
    margin-top: 10px;
    align-items: center;
    transition: 0.05s;
}

.app_image {
    width: 100%;
    height: 100%;
}

.app_text img:hover {
    width: 30%;
}

/* slider */

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px*7));
    }
}

.section_two {
    padding-top: 100px;
    padding-bottom: 100px;
    height: auto;
    margin: auto;
    overflow: auto;
    z-index: -1;
    /* position: relative; */
    width: 100%;
}

.section_two .slider {
    animation: scroll 20s linear infinite;
    display: flex;
    width: calc(250px * 15);
}

.slide img {
    width: 50%;
    /* 50% */
    padding: 10px;
}





/* course_structure */
.course_structure,
.more_feature {
    width: 100%;
    background: url(images/back_2@2x.png) repeat 0 0;
    background-size: 100% 100%;
    text-align: center;

}

.course_structure h2,
.more_feature h2 {
    width: 100%;
}

.grid-container {
    padding: 5%;
    width: 100%;
    display: grid;
    grid-template-columns: auto;
}

.grid-item {
    padding: 2%;
    margin: 0;
    display: flex;
}

.item_text {
    padding: 15px;
    text-align: left;
    font-size: 12px;
}

.item_text h3 {
    color: #E53935;
}

.item_image {
    width: 40px;
}




.footer {
    background-color: #4C4A4A;
    padding: 5%;
    color: white;
    display: block;
    text-align: center;
}

.footer_1,
.footer_2,
.footer_3 {
    padding: 5%;
}

.footer_2 ul li {
    list-style: none;
    cursor: pointer;
    /* display: inline-block; */
    margin-right: 30px;
}

.footer_2 ul li a {
    text-decoration: none;
    color: #fff;
    transition-duration: 0.2s;
}

.footer_2 ul li a:hover {
    color: black;
}

.copyright_section {
    background-color: black;
    color: #fff;
    padding: 2%;
    text-align: center;
}






@media only screen and (min-width: 500px) {

    /* For tablets: */
    .privacy {
        padding: 4%;
    }

    .grid-container {
        padding: 5%;
        /* width: 100%; */
        display: grid;
        grid-template-columns: auto auto;
        /* background-color: #2196F3; */
    }

    .grid-item {
        /* width: 50%; */
        padding: 5px;
        margin-top: 5px;
        margin-bottom: 5px;
        /* background-color: rgba(255, 255, 255, 0.8); */
        /* border: 1px solid rgba(0, 0, 0, 0.8); */
        display: flex;
        text-align: left;
    }

    .footer {
        background-color: #4C4A4A;
        padding: 2%;
        color: white;
        display: flex;
        text-align: center;

    }

    .footer_1,
    .footer_2,
    .footer_3 {
        width: 33%;
        padding: 1%;

    }

    .footer_1 p,
    .footer_2 p,
    .footer_3 p {
        font-size: 16px;
    }

    .footer_1 {
        text-align: left;
    }

    .footer_3 {
        text-align: right;
    }
}

@media only screen and (min-width: 800px) {
    /* For desktop: 768*/

    .navbar {
        padding-left: 5%;
    }

    nav ul li a {
        font-size: 18px;
        margin-right: 20px;
    }

    .tagline {
        font-size: 2rem;
    }

    .tagline img {
        width: 200px;
        margin-top: 40px;
    }

    .tagline span {
        font-size: 2rem;
    }

    .tagline p {
        margin-top: -15px;
        font-size: 1.25rem;
    }

    .log_in {

        padding-right: 10px;
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 10px;
        font-size: 18px;
        width: 150px;
    }

    .log_in a {
        font-size: 18px;
    }

    .row {
        width: 80%;
    }

    .col-1 {
        flex-basis: 22%;
        margin-left: 5%;
        margin-top: -10px;
    }

    .col-2 {
        flex-basis: 78%;
        display: flex;
        margin: 0;
        padding-left: 25%;
        padding-top: 10%;
        /* float: right; */
    }

    .col-2 img {
        /* margin: 30px; */
        width: 28%;
        margin-right: 50px;
        padding: 0%;
        cursor: pointer;
        transition-duration: 0.5s;
    }

    .col-2 img:hover {
        width: 35%;
        /* transition-duration: 0.5s; */
    }

    /* section_app */
    /* .section_app{
    width: 100%;
    min-height: auto;
    background: url(images/back_4@2x.png) repeat 0 0;
    background-size: 100% 100%;
    display: block;
    padding: 5%;
} */
    .section_two {
        padding-top: 0px;
        padding-bottom: 0px;
        height: auto;
        margin: auto;
        overflow: auto;
        z-index: -1;
        /* position: relative; */
        width: 100%;
    }

    .app_text {
        width: 100%;
        margin-top: 5%;
        text-align: center;
    }

    .app_text p {
        padding: 10px;
    }

    .app_text img {
        width: 15%;
        margin-top: 10px;
        align-items: center;
        transition: 00.5s;
    }

    .app_image {
        width: 100%;
        height: 100%;
    }

    .app_text img:hover {
        width: 20%;
    }

    .course_structure h2,
    .more_feature h2 {
        padding: 2%;
        margin-bottom: -5%;
    }

    .grid-container {
        padding: 5%;
        /* width: 100%; */
        display: grid;
        grid-template-columns: auto auto auto;
    }

    .grid-item {
        padding: 10px;
        display: flex;
        text-align: left;
    }

    .item_text {
        margin-left: 20px;
    }

    .item_text p {
        font-size: 15px;
    }

    .item_text h3 {
        color: #E53935;
        /* font-size: 16px; */
    }

    .item_image {
        width: 75px;
    }

    .footer {
        background-color: #4C4A4A;
        padding-top: 2%;
        padding-bottom: 2%;
        color: white;
        display: flex;
        text-align: center;
    }

    .footer_1,
    .footer_2,
    .footer_3 {
        width: 33%;

    }

    .footer_1 {
        text-align: left;
    }

    .footer_3 {
        text-align: right;
    }
}



.carousel {
    position: relative;
}

.carousel.pointer-event {
    touch-action: pan-y;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-inner::after {
    display: block;
    clear: both;
    content: "";
}

.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-item {
        transition: none;
    }
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
    display: block;
}

/* rtl:begin:ignore */
.carousel-item-next:not(.carousel-item-start),
.active.carousel-item-end {
    transform: translateX(100%);
}

.carousel-item-prev:not(.carousel-item-end),
.active.carousel-item-start {
    transform: translateX(-100%);
}

/* rtl:end:ignore */
.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transform: none;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    z-index: 1;
    opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    z-index: 0;
    opacity: 0;
    transition: opacity 0s 0.6s;
}

@media (prefers-reduced-motion: reduce) {

    .carousel-fade .active.carousel-item-start,
    .carousel-fade .active.carousel-item-end {
        transition: none;
    }
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%;
    padding: 0;
    color: #fff;
    text-align: center;
    background: none;
    border: 0;
    opacity: 0.5;
    transition: opacity 0.15s ease;
}

@media (prefers-reduced-motion: reduce) {

    .carousel-control-prev,
    .carousel-control-next {
        transition: none;
    }
}

.carousel-control-prev:hover,
.carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
    color: #fff;
    text-decoration: none;
    outline: 0;
    opacity: 0.9;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
}

/* rtl:options: {
    "autoRename": true,
    "stringMap":[ {
      "name"    : "prev-next",
      "search"  : "prev",
      "replace" : "next"
    } ]
  } */
.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 1rem;
    margin-left: 15%;
    list-style: none;
}

.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 30px;
    height: 3px;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: 0.5;
    transition: opacity 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-indicators [data-bs-target] {
        transition: none;
    }
}

.carousel-indicators .active {
    opacity: 1;
}

.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 1.25rem;
    left: 15%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #fff;
    text-align: center;
}

.carousel-dark .carousel-control-prev-icon,
.carousel-dark .carousel-control-next-icon {
    filter: invert(1) grayscale(100);
}

.carousel-dark .carousel-indicators [data-bs-target] {
    background-color: #000;
}

.carousel-dark .carousel-caption {
    color: #000;
}
