* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FB0B0B;
    --light-color: #f4f4f6;
    --dark-color: #111
}

h1,
h2,
h2,
h4,
h5,
h6,
a,
.btn {
    font-family: "oxanium";
}

p {
    font-family: "poppins";
}

span {
    color: #FB0B0B;
    /* font-family: ; */
}
.three{
    background-color: #F9F9F9;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1150px;
    margin: auto;
    padding: 30px 10px;
    gap: 1em;
    /* flex-wrap: wrap; */
}

input,
textarea {
    outline: none;
    display: block;
}

input:focus,
textarea:focus {
    border: 2px solid #FB0B0B;
}

.btn:active,
.btn-lg:active {
    opacity: 0.5;
}

/* NAVBAR */

.logo {
    width: 20%;
}
.logo img {
    width: 100%;
}
.navbar {
    background-color: #fff;
    /*background-color: var(--primary-color);*/
}

.navbar .toggler {
    display: none;
}

.nav-elements .desktop-menu {
    display: flex;
    list-style: none;
    gap: 3em;

    a {
        text-decoration: none;
        color: #000
    }

}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #FB0B0B;    
    /* min-width: 160px; */
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.active{
    border-bottom: 2px solid #141E3B;
}
.dropdown-content a {
    color: #141E3B;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #141E3B;
    color: #FB0B0B;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* Banner */
.banner {
    background: rgba(0, 0, 0, 0.8) url(../Assets/book\ pics.png);
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: darken;
    height: 100%;


    /* background-position: inherit; */
    background-size: cover;
    opacity: 0.9;

}

.banner-left {
    color: #fff;
    width: 50%;

    p {
        margin: 35px 0px;
    }
}

.banner-right {
    /* background-color: yellow; */
    display: flex;
    justify-content: end;
}

.form-container {
    background: #fff;
    width: 80%;
    padding: 15px 0px;
    text-align: center;
    border-radius: 15px;
    border: 2px solid #FB0B0B;
    /* margin: auto; */

    /* flex-wrap: wrap; */
    input,
    textarea {
        width: 80%;
        padding: 10px 15px;
        margin: 20px auto;
        border-radius: 5px;
    }

    textarea {
        min-height: 10em;
        resize: none;
    }

    a {
        background-color: red;
        display: block;
        width: 80%;
        margin: auto;
        border-radius: 5px;

    }

    p {
        width: 90%;
        margin: 10px auto;
    }
}

.btn {
    text-decoration: none;
    color: #fff;
    background: linear-gradient(#FB0B0B, #141E3B);
    padding: 15px 25px;
    border: 1px solid #fff;
    border-radius: 5px;
}

.btn-lg {
    text-decoration: none;
    color: #fff;
    background: linear-gradient(#FB0B0B, #141E3B);
    padding: 15px 25px;
    border: 1px solid #fff;

}


/* ONE */
.one {
    margin: 20px auto;
}

.container {
    display: flex;
    /* gap:10em ; */
    /* flex-wrap: wrap; */
}

.one-left {
    /* background-color: #FB0B0B; */
    width: 90%;

    .tagline {
        font-family: "poppins";
        color: #FB0B0B;
    }

    p,
    h1,
    ul {
        margin: 35px auto;
    }

    p {
        font-size: 15px;
    }

    ul {
        display: flex;
        /* align-items: center; */
        list-style: none;
        margin-bottom: 45px;

        li {
            margin-right: 6em;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }

        img {
            margin-right: 15px;
            width: 18px;
        }
    }

    a {
        margin-top: px;
    }
}

.one-right {

    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 40%;
    margin-top: 8em;

    img {

        width: 100%;
        /* min-height: 20em; */
    }

    h1 {
        margin: 15px auto;
    }

}

.two {

    background-color: #141E3B;
    margin: 40px auto;

    .container {
        gap: 10em;
    }

    h1 {
        color: #FB0B0B;
    }

    p {
        color: #fff;
        margin: 45px auto 60px;
    }
}

.two-left img {
    width: 120%;
    position: relative;
    top: 75px;
}

.two-right {
    width: 75%;
}

.two-btn {
    display: flex;
    gap: 1em;
}

/* .three{
    margin: 30px auto;
} */


.list {
    display: flex;
    /* flex-wrap: wrap; */
    align-items: center;
    list-style: none;
    gap: 1em;
    padding: 100px 0px;

    p {
        font-size: 12px;
    }


}

.image-heading {
    display: flex;
    gap: 1em;
    align-items: center;
    margin: 30px auto;

    h4 {
        color: #FB0B0B;
        font-size: 15px;
    }

}


.four-left {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.four-left span {
    margin: 7px 0px;
}

.four-list {
    margin: 0px 0px 30px;
}

.four-left li {
    list-style: none;
    display: flex;
    gap: 1em;
    margin: 5px auto;

    p {
        font-weight: 600;

    }
}


.heading-para {
    color: #FB0B0B;
    margin: 35px auto;
}

.four-right img {
    width: 30em;
}

.five{
    margin-top: 100px;
    background-image: url('../Assets/Group\ 292.png');
    background-repeat: no-repeat;
    background-size: cover;
    .container{
        padding: 0px 0px;
        .five-left img{
            margin-top: -70px;
        }
        .five-right{
            h1{
                color: #FB0B0B;
            }
            p{
                color: white;
            }
        }
    } 
}

.five-right p {
    padding: 20px 0px 30px;
}


.carousel{
    background-color: #FB0B0B;
    padding: 70px 10px;
    .carousel-content{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        h1{
            text-align: center;
        }
        p{
            text-align: center;
            width: 50%;
            color: white;
        }
    }
}
#slider-main-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  #slider-container {
    width: 100%;
    max-width: 1400px;
    position: relative;
    overflow: hidden;
    padding: 20px;
  }
  
  #slider-container .carousel-btn {
    position: absolute;
    top: calc(50% - 30px);
    height: 30px;
    width: 30px;
    cursor: pointer;
  }
  
  #slider-container .carousel-btn:hover {
    transform: scale(1.2);
  }
  
  #slider-container .carousel-btn.inactive {
    border-color: rgb(153, 121, 126)
  }
  
  #slider-container .carousel-btn:first-of-type {
    left: 30px
  }
  
  #slider-container .carousel-btn:last-of-type {
    right: 10px;
  }
  
  #slider-container #slider {
    display: flex;
    width: 1000%;
    height: 100%; 
    transition: all .5s;
  }
  
  #slider-container #slider .slide {
    height: 90%;
    margin: auto 10px;
    display: grid;
    place-items: center;
    img{
        cursor: pointer
    }
    img:hover{
        border: 1px solid #141E3B;
        border-radius: 10px;
    }
  }

  .last-section .container .banner-left{
    h1, p{
        color: #141E3B;
    }
  }
  
  #slider-container #slider .slide span {
    color: white;
    font-size: 150px;
  }
.f-logo img {
    width: 100%;
    margin-bottom: 30px;
    background-color: #fff;
    padding: 4px;
    border-radius: 5px;
}

a.f-logo {
    display: flex;
    width: 100%;
    
}
  
  @media only screen and (min-width: 1100px) {
  
    #slider-container #slider .slide {
      width: calc(2.5% - 20px);
    }
  
  }
  
  @media only screen and (max-width: 1100px) {
  
    #slider-container #slider .slide {
      width: calc(3.3333333% - 20px);
    }
  
  }
  
  @media only screen and (max-width: 900px) {
  
    #slider-container #slider .slide {
      width: calc(5% - 20px);
    }
  
  }
  
  @media only screen and (max-width: 550px) {
  
    #slider-container #slider .slide {
      width: calc(10% - 20px);
    }
  
  }



footer {
    background-color: #141E3B;
    color: #f4f4f6;
}

.footer-logo {
    width: 30%;
}

footer h1 {
    margin-bottom: 30px;
}

footer li {
    list-style: none;
    line-height: 30px;
    a{
        text-decoration: none;
        color: white;
    }
}
 

.copyright {
    background-color: #FB0B0B;
    text-align: center;
    padding: 10px 0px;
    color: #f4f4f6;
}
div#nav-items span {
    display: none;
}
input.nav-button {
    display: none;
}
#menu {
    display: none;
}
@media only screen and (max-width: 600px) {
    .logo {
    width: 65%;
}
    .desktop-menu {

        display: none !important;
    }
    ul#menu a {
        text-decoration: none;
        color: #000;
    }
    ul#menu {
        display: flex !important;
        flex-direction: column;
        z-index: 1;
        gap: 10px;
         
    list-style: none;
    }
    .container {
        
        width: 100%; 
        gap: 1em;
        flex-wrap: wrap;
    }
     .banner .container {
       
        gap: 3em;
        
    }
    #menu
{
  top:0;
  position: absolute;
  width: 100%;
  height: fit-content;
  box-shadow: 0 0 10px #85888C;
  /* margin: -50px 0 0 -50px; */
  padding: 30px;
  /* padding-top: 50px; */
  background-color: #F5F6FA;
  -webkit-font-smoothing: antialiased;
  transform-origin: 0% 0%;
  left: -100%;
  /* transform: translate(-100%, 0); */
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px 0;
  transition-delay: 2s;
}
#nav-items input:checked ~ ul
{
    margin:0px;
    left: 0;
  /* transform: none; */
}
 
 
    #nav-items input
    {
      display: flex;
      right: 0;
        margin-top: -50px;
      width: 50px;
      height: 100px;
      position: absolute;
      cursor: pointer;
      opacity: 0;
      z-index: 30;
    }
    #nav-items span
    {
      z-index: 3;
      display: flex !important;
      width: 29px;
      height: 2px;
      margin-bottom: 5px;
      position: relative;
      background: #000000;
      border-radius: 3px;
      z-index: 4;
      transform-origin: 5px 0px;
      transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                  background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                  opacity 0.55s ease;
    }
    
    #nav-items span:first-child
    {
      transform-origin: 0% 0%;
    }
    
    #nav-items span:nth-last-child(2)
    {
      transform-origin: 0% 100%;
    }
    
    #nav-items input:checked ~ span.first
    {
      z-index: 3;
      opacity: 1;
      transform: rotate(45deg) translate(-3px, -1px);
      background: #36383F;
    }
    #nav-items input:checked ~ span.sec-span
    {
      opacity: 1;
      transform: rotate(-45deg) translate(0, -1px) !important;
    }
    #nav-items input:checked ~ span.third-span
    {
      opacity: 0;
      transform: rotate(0deg) scale(0.2, 0.2);
    }
    
    .list {
    flex-wrap: wrap;
    padding: 20px 0px
}
.carousel-content h1 img {
    width: 90%;
}
.two-left img {
    width: 100%;
 
}
    .five .container {
        flex-direction: column-reverse;
        padding-top: 40px;
    }
.five .container .five-left img {
            margin-top: 30px;
         
    }
.five .container .five-right {
            padding: 10px;
        }
.five {
    margin-top: 0px;
   
} 
.four-right img {
    width: 100%;
}
.one-left ul {
  
        flex-direction: column;
    }
    .banner-left {
 
    width: 100%;
}
.banner-right {
    justify-content: center;
}
.form-container {
    width: 90%;
}
.banner-left {
    width: 100%;
}
.one-left {
 
    width: 100%;
}
.one-right {
    width: 100%;
    margin-top: 3em;
}
.two-right {
    width: 100%;
}
footer .container div {
    width: 100%;
}
 .fliper .row {
   flex-direction: column;
  }
.testimonial .row {
  flex-direction: column;
        }
.flip-1 img {
    width: 100%;
}
.steps .row {
 
   flex-direction: column;
    gap: 40px;
 }

.four .container {
  
        gap: 4em;
    }
 
 .cards .container .cards-content .row {
 
                flex-direction: column;
            }
.cards .col {
  width: 100% !important;
                }
.btn {
 
    font-size: 14px;
}
.converted-books .row {
 
                flex-wrap: wrap;
            }
            
.converted-books .row .col {
                    width: 100% !important;
                }
.book-tiles .tiles {
 
            flex-wrap: wrap;
        }
 .help .help-container {
        width: 100%;
 
    }
.help {
    padding: 40px 0px;
}
.service h1 {
    text-align: center;
}
.solution {
    padding: 40px 0px;
}
.solution-reverse {
    padding: 40px 0px;
}
.contact-container .row {
   flex-direction: column;
  }
.contact-container p {
             
                width: 100% !important;
            }
.contact-container .form {
             padding: 0px !important;
        }
}