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

* {
  font-family: 'Cairo', sans-serif;
  text-decoration: none !important;
  -webkit-transition: all 0.7s cubic-bezier(0.165, 0.85, 0.45, 1);
  -moz-transition: all 0.7s cubic-bezier(0.165, 0.85, 0.45, 1);
  -ms-transition: all 0.7s cubic-bezier(0.165, 0.85, 0.45, 1);
  -o-transition: all 0.7s cubic-bezier(0.165, 0.85, 0.45, 1);
  transition: all 0.7s cubic-bezier(0.165, 0.85, 0.45, 1);


}

.clear{
  clear: both;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cairo", sans-serif;
}
html {
  scroll-behavior: smooth;
}
img{
  max-width: 100%;
}

:hover {
  text-decoration: none;
}

body {
  overflow-x: hidden;
  box-sizing: border-box;
  height: 100vh;
  overflow-x: hidden;
  text-transform: capitalize;


}

ul {
  padding: 0;
}

:root {
  --greenbg:#086C38;

}

.all_page{
  background-image: url(../images/headerbg.png);
  position: relative;
  height: 100vh;
  overflow: hidden;
}


.topcompanylogo img{
  width: 170px;

}

.twoshcoollogo ul{
  display: flex;
  justify-content: center;
  gap: 40px;
  transform: translate(-50%,-50%);
  top: 50%;
  left: 50%;

  position: absolute;
  width: 100%;
}

.twoshcoollogo li{
  list-style-type: none;
  box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.07);
  width: 30%;
  background-color: #fff;
  text-align: center;
  padding: 20px;
  border-radius: 15px;
  position: relative;
  min-height: 370px;
}

.twoshcoollogo img{
  max-width: 250px;
}
.twoshcoollogo li:first-child span{
  background-color: #87CBB7;
  display: block;
  padding: 15px;
  border-radius: 55px;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  position: absolute;
  left: 0;
  right: 0;
  max-width: 90%;
  margin: 0 auto;
  bottom: 15px;
  z-index: 2;
  overflow: hidden;
}


.twoshcoollogo li:nth-child(2) span{
  background-color: #41386D;
  display: block;
  padding: 15px;
  border-radius: 55px;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  position: absolute;
  left: 0;
  right: 0;
  max-width: 90%;
  margin: 0 auto;
  bottom: 15px;
  overflow: hidden;
  z-index: 2;
}



.bottomsocial ul{
  display: flex;
  justify-content: center;
  margin-top: 100px;
  gap: 10px;
  flex-direction:row-reverse;
}
.bottomsocial li{
  list-style-type: none;
  width: 45px;
  height: 45px;
  background-color: #000;
  text-align: center;
  line-height: 50px;
  border-radius: 5px;
}
.bottomsocial li i{
  color: #fff;
  font-size: 22px;
}

.bottomsocial li:first-child{
  background-color: #2243E6;
}

.bottomsocial li:nth-child(2){
  background-color: #22B6E6;
}

.bottomsocial li:nth-child(3){
  background-color: #DB4E28;
}

.bottomsocial li:nth-child(4){
  background-color: #1A21AC;
}



.topcompanylogo{
  position: absolute;
  display: block;
  top: 28px;
  right: 28px;
}

.bottomsocial{
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;
}


.twoshcoollogo li:hover{
  transform: scale(1.1);
}

.twoshcoollogo li:hover img{
  transform: rotateX(360deg);
}

.bottomsocial li:hover{
  transform: scale(0.9);
}



.twoshcoollogo li:first-child span:before{
  content: '';
  position: absolute;
  background-color: #0B3064;
  width: 0;
  height: 100%;
  display: block;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  border-radius: 55px;
  transition: all .5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
  transition-duration: 0.5s;
  opacity: 0;
}

.twoshcoollogo li:first-child:hover span:before{
  width: 100%;
  opacity: 1;
}







.twoshcoollogo li:nth-child(2) span:before{
  content: '';
  position: absolute;
  background-color: #0B3064;
  width: 0;
  height: 100%;
  display: block;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  border-radius: 55px;
  transition: all .5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
  transition-duration: 0.5s;
  opacity: 0;
}

.twoshcoollogo li:nth-child(2):hover span:before{
  width: 100%;
  opacity: 1;
}

@media (min-width: 320px) and (max-width: 992px){
  .topcompanylogo{
    left: 0;
    right: 0;
    text-align: center;
    position: relative;
  } 

  .twoshcoollogo ul{
    display: block;
    width: 100% !important;
    position: relative;
    transform: none;
    right: 0%;
    left: 0;
    margin-top: 53px;
  }
  .twoshcoollogo li{
    width: 90%;
    margin: 0 auto 30px;
  }
  .bottomsocial {
    position: relative;

  }
  .twoshcoollogo li:hover {
    transform: scale(1);
  }

  .bottomsocial ul{
    clear: both;
    margin-top: 100px !important;
    position: relative;
  }

  .twoshcoollogo li:hover img {
    transform: none;
  }
  
  .all_page{
 
  overflow-y: scroll;
}
}