*{
    padding: 0;
    margin: 0;
    text-transform: capitalize;
}

html.body{
    overflow-x: hidden;
}



:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Quicksand",  sans-serif;
  --nav-font: "Open Sans",  sans-serif;
}

:root { 
  --background-color: #ffffff;
  --default-color: #314862;
  --heading-color: #13447f;
  --accent-color: #065cc2;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

:root {
  --nav-color: #314862; 
  --nav-hover-color: #065cc2;
  --nav-mobile-background-color: #11427d;
  --nav-dropdown-background-color: #065cc2;
  --nav-dropdown-color: #acc4e0;
  --nav-dropdown-hover-color: #ffffff;
}


.light-background {
  --background-color: #f7faff;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #065cc2;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #afcdf1;
  --surface-color: #2973cc;
  --contrast-color: #ffffff;
}




.bg-img{
    background-image: linear-gradient(rgba(255, 255, 255, 0.849)),  url(img/bg/abstract-bg-1.webp);
    padding-bottom: 150px ;
    background-position: center;
    background-size: cover;
}


nav>img{
    border: 8px solid #065bc271;
    width: 150px;
    height: 150px;
    border-radius: 50%;
}


nav{
    position: absolute;
    right: 0;
    font-family: var(--nav-font);
    color: #ffff;
    background-color: #11427d;
    width: 25%;
    display: flex;
    z-index: 6666666666666;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}


.icons>i{
    margin: 20px 3px;
    border-radius: 50%;
    padding: 15px;
    background-color: #4884ce6c;
    font-size: 15px;
}

.list>ul>li>a{
    text-decoration: none;
    color: #fff;
    font-size: 20px;
}

.list>ul{
    line-height: 2.4;
    list-style-type: none;
}

.list{
    align-self: self-start;
    margin-left: 30px;
}



.fa-bars{
    font-size: 30px;
    position: absolute;
    right: 20px;
    top: 20px;
    transition: 0.5s ease-in-out;
}


nav{
    display: none;
}


.fa-bars:hover{
    color: #065cc2;
}
.fa-xmark{
    color: #000;
    font-size: 20px;
    position: absolute;
    right: 105%;
    top: 20px;
    transition: 0.5s ease-in-out;
}

.fa-xmark:hover{
    color: #065cc2;
}



@media (max-width:1050px){
  nav{
    display: none !important;
  }
}






/* main */

main{
    position: relative;
    top: 80px;
    display: flex;
    justify-content: space-between;
}


.right-main>img{
    width: 450px;
    border-radius: 30px;
    position: relative;
    left: -20px;
    top: -20;
}


.right-main{
    border-radius: 20px;
    background-color: var(--heading-color);
}




.left-main>h1{
    font-size: 50px;
    font-family: sans-serif;
    color: var(--heading-color);
}


.left-main>h1>span{
    color: var(--accent-color);
}


main{
    height: 100vh;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.left-main>p{
    color: #314862;
    font-family: var(--default-font);
    word-spacing: 3px;
    font-size: 20px;
    margin-top: 30px;
    line-height: 1.5;
}



.left-main{
    width: 600px;
}



.numbers{
    gap:30px;
    display: flex;
    margin: 40px 0px;
}


.num>h1{
    margin-bottom: 10px;
    font-family: var(--default-font);
    color: var(--accent-color);
}




.num{
    text-align: center;
}


.num>p{
    font-size: 15px;
    color: #7c7c7c;
    font-family: var(--heading-font);
}



.btn>button{
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid var(--accent-color);
}


.btn>button:nth-child(1){
    background-color: var(--accent-color);
    color: #fff;
    border: transparent;
    transition: 0.5s ease-in-out;
}


.btn>button:nth-child(1):hover{
    background-color: #082344;
}




.btn>button:nth-child(2){
    color: var(--accent-color);
    background-color: transparent;
    transition: 0.5s ease-in-out;
}



.btn>button:nth-child(2):hover{
    background-color: var(--accent-color);
    color: #fff;
}










/* responsive */

@media (max-width: 1139px) {
  main {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 40px 20px;
    gap: 50px;
  }

  .left-main {
    width: 100%;
  }

  .left-main > h1 {
    font-size: 36px;
  }

  .left-main > p {
    font-size: 16px;
    margin-top: 20px;
  }

  .numbers {
    flex-direction: column;
    gap: 20px;
  }

  .num {
    text-align: center;
  }

  .right-main {
    background-color: transparent;
  }

  .right-main > img {
    width: 80%;
    max-width: 300px;
    left: 0;
    top: 0;
  }

  .btn {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
  }

  .btn > button {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
}








/* about */



.about{
    margin-top: 70px;
    padding: 40px 120px;
}

.abb{
    margin: 100px 0px;
    justify-content: center;
    gap: 40px;
    display: flex;
    align-items: center;
}


.left-img>img{
    border-radius: 50%;
    width: 250px;
}

.left-abb>img{
    width: 200px;
    margin: 20px 0px;
}
.left-abb{
    text-align: center;
}

.left-abb>p{
    font-family: var(--heading-font);
    padding: 0px 100px;
    font-style: italic;
}

.hr{
    display: flex;
    align-items: center;
}

.hr>h1{
    font-family: var(--default-font);
    color: var(--nav-mobile-background-color);
}

.hr>hr{
    border: none;
    width: 100px;
    height: 1px;
    background-color: #7c7c7c;
}

.right-abb>p{
    line-height: 1.5;
    margin: 30px 0px;
    width: 600px;
    font-family: var(--nav-font);
}

.right-abb>h1{
    color: var(--heading-color);
    font-family: var(--default-font);
}


.box{
    text-align: center;
    background-color: #f1f5fa;
    padding: 20px 10px;
    border-radius: 10px;
    border: 1px solid #065cc2;
    position: relative;
    bottom: 0px;
    transition: 0.1s ease-in-out;
}

.box:hover{
    position: relative;
    bottom: 2px;
    box-shadow: 2px 2px 30px #d2e1f5;
}

.box>i{
    background-color: var(--heading-color);
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    font-size: 25px;
}



.box>p{
    font-family: var(--default-font);
}

.boxes{
    display: flex;
    gap: 30px;
}



.box>p:nth-of-type(1){
    margin: 10px 0px;
    font-family: var(--heading-font);
    color: var(--nav-dropdown-background-color);
    font-size: 20px;
}

.T{
    gap: 20px;
    padding: 20px 20px;
    border-left: 2px solid #065cc2;
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    transition: 0.5s ease-in-out;
}

.T:hover{
    background-color: #f1f5fa;
}

.T>h1{
    font-size: 20px;
}

.twoT{
    margin: 40px 0px;
}



/* responsive about */


@media (max-width: 960px) {
  .about {
    padding: 30px 20px;
    text-align: center;
  }

  .abb {
    flex-direction: column;
    gap: 50px;
  }

  .left-abb > p {
    padding: 0 20px;
    font-size: 16px;
  }

  .right-abb {
    width: 100%;
  }

  .right-abb > h1 {
    font-size: 24px;
  }

  .right-abb > p {
    width: 100%;
    font-size: 15px;
    margin: 20px 0;
  }

  .boxes {
    flex-direction: column;
    gap: 20px;
  }

  .box {
    padding: 20px;
  }

  .twoT {
    margin: 30px 0;
  }

  .T {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    border-left: none;
    border-top: 2px solid #065cc2;
    text-align: left;
  }

  .T > h1 {
    font-size: 18px;
    margin-bottom: 5px;
  }

  .btn {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
  }

  .btn > button {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
}


/* transition */



.transitions{
    padding: 20px 50px;
    display: flex;
    justify-content: center;
    gap: 120px;
    flex-wrap: wrap;
}

.trans{
    padding: 30px 40px;
    border-radius: 10px;
    background-color: #dde6f7;
}


.trans>h1{
    text-align: center;
    font-family: var(--default-font);
}

.span{
    font-family: var(--default-font);
    display: flex;
    justify-content: space-between;
}


.tt{
    width: 400px;
    max-width: 100%;
    margin-bottom: 30px;
}


@media (max-width:595px) {
    .tt{
        max-width: 400px;
        width: 100%;
    }
}


.bg{
    width: 100%;
    height: 10px;
    background-color: #cacaca;
    border-radius: 30px;
}



.bb{
    width: 95%;
    height: 10px;
    border-radius: 30px;
    background-color: #134888;
}



.rn1{
    animation: ani1 1s ease-in-out 1;
}

.rn2{
    animation: ani2 1s ease-in-out 1;
    width: 85%;
}



.rn3{
    animation: ani3 1s ease-in-out 1;
    width: 75%;
}




@keyframes ani1 {
    0%{
        width: 0%;
    }
    100%{
        width: 95%;
    }
}


@keyframes ani2 {
    0%{
        width: 0%;
    }
    100%{
        width: 85%;
    }
}







@keyframes ani3 {
    0%{
        width: 0%;
    }
    100%{
        width: 75%;
    }
}



/* services */

.services{
    padding: 20px 80px;
}


.services>p{
    font-family: var(--default-font);
}

.booo{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin-top: 100px;
}

.books{
    border-left: 2px solid #065cc2;
    width: 350px;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 2px 2px 10px #dfdede;
}

.books>i{
    font-size: 25px;
    color: #082344;
}


.books>h1{
    margin-top: 20px;
    font-family: var(--default-font);
    color: #11427d;
}


.books>p{
    margin: 30px 0px;
    line-height: 1.5;
}


.books>button{
    background-color: transparent;
    border: none;
    font-size: 15px;
    color: #082344;
}





/* contact */


.contact{
  padding: 80px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}












.con{
    justify-content: center;
    gap: 20px;
    padding: 60px 30px;
    font-family: sans-serif;
    
    display: flex;
}



.contact{
    background-color: var(--nav-color);
    color: #fff;
    padding: 40px;
    border-radius: 20px;
}











.input>input{
    height: 30px;
    border-radius: 10px;
    padding-left: 10px;
    border: 1px solid var(--nav-color);
    width: 100%;
}

.input{
  width: 500px;
  line-height: 1.7;
  margin-top: 10px;

}


.emai::placeholder{
  text-transform: capitalize;
}

.input>textarea{
  border-radius: 10px;
  width: 100%;
  height: 120px;
  padding: 20px;
}



.bba>button{
    background-color: var(--accent-color);
    border: 1px solid var(--nav-color);
    padding: 10px 25px;
    color: #fff;
    font-weight: 600;
    text-transform: capitalize;
    border-radius: 10px;
}


.bba{
    margin-top: 20px;
    display: flex;
    justify-content: center;
}


.bba>button>a{
    color: var(--accent-color);
}









/* responsive contact */


@media (max-width: 768px) {
  .con {
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
  }

  .contact {
    width: 100%;
    padding: 30px 50px;
    box-sizing: border-box;
  }

  .input>input{
    height: 40px;
  }

  .bb > button {
    width: 100%;
    max-width: 300px;
    font-size: 16px;
  }
}

@media (max-width: 581px) {
  .contact {
    padding: 20px 15px;
  }

  .input > input,
  .input > textarea {
    font-size: 14px;
    padding: 10px;
  }

  .bb > button {
    font-size: 14px;
    padding: 10px 15px;
  }
}




@media (max-width: 579px) {
  .input {
    width: 400px;
    box-sizing: border-box;
  }

  .input > input,
  .input > textarea {
    width: 100%;
    box-sizing: border-box;
  }
}




@media (max-width: 579px) {
  .input {
    width: 400px;
    box-sizing: border-box;
  }

  .input > input,
  .input > textarea {
    width: 100%;
    box-sizing: border-box;
  }
}




@media (max-width: 450px) {
  .input {
    width: 300px;
    box-sizing: border-box;
  }

  .input > input,
  .input > textarea {
    width: 100%;
    box-sizing: border-box;
  }
}





@media (max-width: 351px) {
  .input {
    width: 250px;
    box-sizing: border-box;
  }

  .input > input,
  .input > textarea {
    width: 100%;
    box-sizing: border-box;
  }
}







footer{
    padding: 50px 20px;
    text-align: center;
    color: #fff;
    font-family: var(--default-font);
    background-color: var(--accent-color);
}

footer>p{
    line-height: 2;
}