/********** Template CSS **********/
:root {
    --primary: #454747;
    --light: whitesmoke;
    --dark: #0c0c0c;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 10;
}
.back-to-what1 {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 105px;
    z-index: 10;
}
.back-to-what2 {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 165px;
    z-index: 10;
}


/*** Spinner ***/
/* #spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
} */


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}


/* Header Start */
.header{
    max-width: 100%;
    height: 50px;
    background-color: rgb(44, 43, 43);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 35px;
}

.phn{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

.phn p{
    margin-left: 20px;
}

.maill{
    margin-top: 15px;
}

.header i{
    color: white;
}

.header a{
    color: white;
}
/* Header End */

/*** Navbar ***/
.navbar{
    z-index: 10;
}
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link, #dropdown {
    text-transform: uppercase;
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header carousel ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service ***/
.service-item {
    background: var(--light);
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}

/**** login *****/
.hero{
    min-height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    /* background: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.4)),url("./image/pexels-seven11nash-380769\ \(1\).jpg"); */
    position: absolute;
}
.form-box{
    width: 380px;
    height: 450px;
    position: relative;
    margin: 6% auto;
    background: #fff;
    padding: 5px;
    overflow: hidden;
    box-shadow: 0 0 10px gray;
}
.button-box{
    width: 220px;
    margin: 35px auto;
    position: relative;
    box-shadow: 0 0 20px 9px #ff16241f;
    border-radius: 30px;
}
/**** login end *****/


/*** Categories & Courses ***/
.category img,
.course-item img {
    transition: .5s;
}

.course-item{
    background-color: whitesmoke;
}

.category a:hover img,
.course-item:hover img {
    transform: scale(1.1);
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer{
    background-color: rgb(44, 43, 43);
}
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.footerdiv2{
    margin-top: -2px;
}

/* ----------- */

/* Manual */

/* Home 3 */


.home3{
    max-width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-items: center;
}

.himgs-l,.himgs-r{
    width: 50%;
}

.himgs-l{
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.himgs-l img{
    width: 280px;
    height: 400px;
}

.himgs-l img:nth-child(2){
    margin-top: 15%;
}

.himgs-l img:nth-child(1){
    margin-bottom: 15%;
}

.himgs-r{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    height: 80%;
}

.himgs-r h1{
    margin-top: 10%;
    width: 80%;
    margin-bottom: 30px;
    font-size: 36px;
    margin-left: 7%;
    color: var(--col1);
}

.himgs-r p{
    width: 70%;
    font-size: 16px;
    margin-bottom: 20px;
    margin-left: 7%;
}

.himgs-r p:nth-child(2){
    font-weight: bolder;
}

.himgs--r button{
    padding: 10px 15px;
    background-color: var(--col3);
    color: white;
    border: none;
    outline: none;
    border-radius: 10px;
    margin-left: 7%;
    transition: background-color .5s;
}

.himgs-r button:hover{
    cursor: pointer;
    background-color: black;
}

/* ------------- */




/* Preloader */
.preloader{
    top: 0;
    left: 0;
    z-index: 13 !important;
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: whitesmoke;
    animation: hides 1s linear forwards;
    animation-delay: 3.5s;
}

@keyframes hides {
    0%{
        transform: translateY(0);
    }
    90%{
        transform: translateY(-150%);
    }
    100%{
        transform: translateY(-150%);
        display: none;
    }
}

.book{
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    opacity: 0;
    animation: dis 1s linear forwards;
}

@keyframes dis {
    100%{
        opacity: 1;
    }
}

.cover{
    font-size: 25px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 600;
    text-shadow: 2px -2px red;
}
.cover, .back-cover {
    height: 300px;
    width: 260px;
    background: black;
    border-radius: 2px 20px 20p 2px;
    position: absolute;
    box-shadow: 1px 1px 10px gray;
    transform: rotateX(10deg);
    transform-origin: center left;
}

/* 
.book:hover .cover{
    transform: rotateX(10deg) rotateY(-180deg);
}
.book:hover .page{
    transform: rotateY(10deg) rotateY(-180deg);
     z-index: 2;
} */

.cover{
    animation: opens 2.5s linear forwards;
    /* animation-delay: 3s; */
    z-index: 1;
}

@keyframes opens {
    100%{
        transform: rotateX(10deg) rotateY(-180deg);
    }
}

.page{
    animation: pages 3.5s linear forwards;
    animation-delay: .5s;
}

@keyframes pages {
    100%{
        transform: rotateY(10deg) rotateY(-180deg);
        z-index: 2;
    }
}


.cover{
    z-index: 1;
    transition: all 1s;
}
.back-cover{
    z-index: -3;
    height: 130px;
    width: 100px;
}
.page, .last-page{
    height: 130px;
    width: 100px;
    background-color: white;
    color: black;
    position: absolute;
    border-radius: 2p 10px 10px 2px;
    transform: rotateX(10deg);
    transform-origin: center left;
    z-index: -1;
}

.last-page{
    z-index: -2;
}

.cover{
    transition-duration:2s;
    height: 130px;
    width: 100px;
}

.page:nth-child(2) {
    transition-duration: 3s;
}
.page:nth-child(3) {
    transition-duration: 2.6s;
}

.page:nth-child(4) {
    transition-duration: 2.2s;
}

.page:nth-child(5) {
    transition-duration: 1.8s;
}
.page:nth-child(6) {
    transition-duration: 1.4s;
}


.book:hover .page:nth-child(2){
    transition-duration: 6s;
}
.book:hover .page:nth-child(3){
    transition-duration: 5.6s;
}
.book:hover .page:nth-child(4){
    transition-duration: 5.2s;
}
.book:hover .page:nth-child(5){
    transition-duration: 4.8s;
}
.book:hover .page:nth-child(6){
    transition-duration: 4.4s;
}

.load{
    border-right: 5px solid slateblue;
    width: 100px;
    height: 100px;
    border-radius: 100%;
    animation: turns 2.5s ease-in-out forwards;
}

@keyframes turns {
    100%{
        transform: rotate(720deg);
        display: none;
    }
}

.last-page img{
    width: 60px;
    height: 60px;
    display: block;
    margin: 20px auto;
    position: relative;
}
.last-page h2{
    text-align: center;
    font-size: 20px;
    margin-top: 15px;
}

.bodys{
    animation: overhid 1s linear forwards;
    animation-delay: 3.5s;
    background-color: red;
}
@keyframes overhid {
    from{
        display: none;
    }
    to{
        display: block;
    }
}


/* ----------- */

@media screen and (max-width:460px) {
    .home3{
        flex-direction: column;
        height: fit-content;
        padding: 30px;
    
    }
    .himgs-l{
        height: fit-content;
        flex-direction: column;
    }
    .himgs-l,.himgs-r,.himgs-r h1 ,.himgs-r p{
        width: 100%;
    }
    .fcons{
        width: 90%;
        background-color: red;
    }
    .flip-container{
        position: relative;         
    }
     
}

.bgs-light{
    background-color: rgb(240, 240, 240);
}

/* abouts */
.our-services {
    margin-top:  50px;
  }
  .flip-container {
    perspective: 1000;
    margin: 0 auto 60px auto;
    width: 320px;
    height: 200px;
    border-radius: 15px;
    cursor:pointer;
  }
  
  .flip-container:hover .flipper {
    transform: rotateY(180deg);
    cursor:pointer;
  }
  .flip-container.hover .flipper {
    transform: rotateY(180deg);
    cursor:pointer;
  }
  
  .front {
    width: 320px;
    height: 200px;
    border-radius: 15px;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    padding-top: 25px;
  }
  
  .front h3 {
    text-align: center;
    font-size: 18px;
    font-family: "Poppins", sans-serif;
    color: white;
  }
  
  .front img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
  }

  .fbg1{
    background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url("../img/miss1.jpg");
    background-position: center;
    background-size: cover;
  }

  .fbg2{
    background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url("../img/miss2.jpg");
    background-position: center;
    background-size: cover;
  }

  .fbg3{
    background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url("../img/miss3.jpg");
    background-position: center;
    background-size: cover;
  }
  
  .back {
    width: 320px;
    height: 200px;
    border-radius: 15px;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateY(180deg);
    text-align: center;
    font-size: 18px;
    font-family: "Poppins", sans-serif;
    color: white;
    padding-top: 10px;
  }
  
  .back h5 {
    margin-top: 20px;
    color: white;
  }
  
  .back p {
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    margin-right:15px;
  }
  
  .flipper {
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
  }
  
  @media screen and (max-width:460px) {
    .flip-container{
        position: relative;
        left: -15%;
    }
    .flcons{
        position: relative;
        left: 0%;
    }
  }
/* --------- */

/* Courses Details */

.courd{
    max-width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cdels{
    padding: 30px;
    width: 90%;
    min-height: 90%;
    background-color: whitesmoke;
    display: flex;
    align-items: start;
    justify-content: center;
}

.cdel-l{
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding-right: 30px;
}

.cdel-l h2{
    margin-bottom: 20px;
}

.cdel-l p{
    margin-bottom: 30px;
    margin-left: 10px;
}
.cdel-l p:nth-child(2){
    width: 75%;
    line-height: 2;
}

.cdel-r{
    width: 40%;
    height: 100%;
    background-color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 13%;
}

.cdelimg{
    margin-bottom: 20px;
}

.price i{
    margin-right: 10px;
}

.cdelimg img{
    width: 300px;
}

.price{
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-bottom: .1px solid gray;
    padding-bottom: 4px;
    margin-bottom: 10px;
    width: 80%;
}

.price p{
    width: 50%;
}


.cdel-r button{
    padding: 10px 25px;
    margin-top: 20px;
    border-radius: 10px;
    outline: none;
    border: none;
    background-color: #454747;
    color: whitesmoke;
    text-transform: uppercase;
    transition: background-color, .5s;
    &:hover{
        background-color: black;
    }
}

@media screen and (max-width:460px) {
    .courd{
        min-height: 100vh;
    }
    .cdels{
        flex-direction: column-reverse;
        padding: 5px;
        width: 95%;
        height: 95%;
    }
    .cdel-l, .cdel-r{
        width: 100%;
    }
    .cdel-r{
        position: relative;
    }
    .cdel-l h2{
        width: 100%;
        text-align: center;
    }
    .cdel-l p{
        width: 100%;
        text-align: justify;
    }
    .cdel-l p:nth-child(2){
        width: 100%;
    }
}

/* ----------- */

/* Register form */

.regform{
    max-width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background: url("../img/chair.jpg");
    background-position: center;
    background-size: cover;
}

.regform h2{
    text-align: center;
    margin-bottom: 30px;
}

.regform form{
    border-radius: 10px;
    padding: 50px;
    background-color: white;
}

.fgrp{
    margin-bottom: 30px;
}

@media screen and (max-width:460px) {
    .regform form{
        padding: 15px;
    }

    .header{
        display: none;
    }
}

/* ------------- */
.footlogo{
    filter: saturate(3);
}

.corset h3{
    display: none;
}

.secno{
    margin-left: 30px;
}