@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
nav{
  position: fixed;
  z-index: 99;
  width: 100%;
  background: #39b54ae3;
}
nav .wrapper{
  position: relative;
  max-width: 1300px;
  padding: 0px 30px;
  height: 70px;
  line-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wrapper .logo a{
  color: #f2f2f2;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 0;
}
.wrapper .nav-links{
  display: inline-flex;
}
.nav-links li{
  list-style: none;
}
.nav-links li a{
  color: #f2f2f2;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.nav-links li a:hover{
  background: #226633c4;
}
.nav-links .mobile-item{
  display: none;
}
.nav-links .drop-menu{
  position: absolute;
  background: #242526;
  width: 180px;
  line-height: 45px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box{
  transition: all 0.3s ease;
  top: 70px;
  opacity: 1;
  visibility: visible;
}
.drop-menu li a{
  width: 100%;
  display: block;
  padding: 0 0 0 15px;
  font-weight: 400;
  border-radius: 0px;
}
.mega-box{
  position: absolute;
  left: 0;
  width: 100%;
  padding: 0 30px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
}
.mega-box .content{
  background: #242526;
  padding: 25px 20px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
.mega-box .content .row{
  width: calc(25% - 30px);
  line-height: 45px;
}
.content .row img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content .row header{
  color: #f2f2f2;
  font-size: 20px;
  font-weight: 500;
}
.content .row .mega-links{
  margin-left: -40px;
  border-left: 1px solid rgba(255,255,255,0.09);
}
.row .mega-links li{
  padding: 0 20px;
}
.row .mega-links li a{
  padding: 0px;
  padding: 0 20px;
  color: #d9d9d9;
  font-size: 17px;
  display: block;
}
.row .mega-links li a:hover{
  color: #f2f2f2;
}
.wrapper .btn{
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
}
.wrapper .btn.close-btn{
  position: absolute;
  right: 30px;
  top: 10px;
}

@media screen and (max-width: 970px) {
  .wrapper .btn{
    display: block;
  }
  .wrapper .nav-links{
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 350px;
    top: 0;
    left: -100%;
    background: #242526;
    display: block;
    padding: 50px 10px;
    line-height: 50px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0,0,0,0.18);
    transition: all 0.3s ease;
  }
  /* custom scroll bar */
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: #242526;
  }
  ::-webkit-scrollbar-thumb {
    background: #3A3B3C;
  }
  #menu-btn:checked ~ .nav-links{
    left: 0%;
  }
  #menu-btn:checked ~ .btn.menu-btn{
    display: none;
  }
  #close-btn:checked ~ .btn.menu-btn{
    display: block;
  }
  .nav-links li{
    margin: 15px 10px;
  }
  .nav-links li a{
    padding: 0 20px;
    display: block;
    font-size: 20px;
  }
  .nav-links .drop-menu{
    position: static;
    opacity: 1;
    top: 65px;
    visibility: visible;
    padding-left: 20px;
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
  }
  #showDrop:checked ~ .drop-menu,
  #showMega:checked ~ .mega-box{
    max-height: 100%;
  }
  .nav-links .desktop-item{
    display: none;
  }
  .nav-links .mobile-item{
    display: block;
    color: #f2f2f2;
    font-size: 20px;
    font-weight: 500;
    padding-left: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  .nav-links .mobile-item:hover{
    background: #3A3B3C;
  }
  .drop-menu li{
    margin: 0;
  }
  .drop-menu li a{
    border-radius: 5px;
    font-size: 18px;
  }
  .mega-box{
    position: static;
    top: 65px;
    opacity: 1;
    visibility: visible;
    padding: 0 20px;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .mega-box .content{
    box-shadow: none;
    flex-direction: column;
    padding: 20px 20px 0 20px;
  }
  .mega-box .content .row{
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .mega-box .content .row:nth-child(1),
  .mega-box .content .row:nth-child(2){
    border-top: 0px;
  }
  .content .row .mega-links{
    border-left: 0px;
    padding-left: 15px;
  }
  .row .mega-links li{
    margin: 0;
  }
  .content .row header{
    font-size: 19px;
  }
}
nav input{
  display: none;
}
nav img{
    margin-top: 19px;
}
.body-text{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  padding: 0 30px;
}
.body-text div{
  font-size: 45px;
  font-weight: 600;
}
.first-continer{
    display: flex;
}
.first-continer h2{
    margin-top: 15%;
    margin-left: 100px;
    font-size: 20px;
}
.first-continer p{
    margin-left: 100px;
    text-align: start;
    font-size: 15px;
}
.first-continer img{
    margin-top: 20%;
    margin-right: -50px;
    border-radius: 10px;
    width: 510px;
}
.first-continer button{
    margin-left: 100px;
    margin-top: 10px;
    background-color: chartreuse;
    color: black;
    text-align: center;
    width: 150px;
    padding: 7px;
    border: none;
    font-family:'poppines', sans-serif;
    color: white;
    font-size: 20px;
}
.first-continer button a{
    text-decoration: none;
    color: white;
}
.se{
  background-image:url(se.png);
 background-size: contain;
  width: 100%;
  height: 200px;
}
.texts{
    text-align: center;
    margin-top: -90px;
}
.texts span{
    color: rgb(103, 204, 2);
}
.second-continet{
    display: flex;
    flex-wrap: wrap;
    gap: 55px;
    justify-content: center;
}
.a,.b,.c,.d,.e{
    box-shadow: 0px 3px 5px 4px rgba(0, 0, 0, 0.568);
    width: 300px;
    padding: 10px;
    border-radius: 10px;
}
.second-continet p{
  text-align: start;
}
.second-continet h3{
  text-align: center;
  font-size: 15px;
}
.some{
  text-align: center;
  font-size: 20px;
  font-family:'poppines' sans-serif;
}
.btnA button{
  margin-left: 43%;
  background-color: #d9d9d9;
  width: 150px;
  padding: 7px;
  border: none;
}
.theird-continer{
  display: flex;
  gap:0px ;
  margin: 5px 150px;
  text-align: center;
}
.theird-continer img{
  width: 350px ;
  border-radius: 10px; 
}
.theird-continer h2{
  color: rgb(86, 168, 3);
}
.back{
  background-image:url(b.png);
  background-repeat: repeat;
  background-size: cover;
  background-clip: border-box;
  background-position: center;
  width: 100%;
  height: 100px;
  border: none;
}
.back ,h1,p,button{
  text-align: center;
}
.OTes{
  margin-left: 44%;
  background-color: #d9d9d9;
  width: 150px;
  padding: 7px;
  border: none;  
}
.fourth-continer{
  display: flex;
  gap: 30px;
  margin: 5px 30%;
}
.fourth-continer img{
  width: 100px;
  cursor: pointer;
}
.footer{
  background-color: #d9d9d9;
  width: 100%;
  padding: 5px;
}
/* General Responsive Settings */
body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* Small devices (tablets, 768px and down) */
@media (max-width: 768px) {
  nav .wrapper {
    flex-direction: column;
    height: auto;
    padding: 15px;
  }

  .first-continer {
    flex-direction: column;
    text-align: center;
  }

  .first-continer img {
    margin: 0 auto;
    margin-top: 20px;
    width: 90%;
    height: auto;
  }

  .first-continer h2 {
    margin-top: 10px;
    margin-left: 0;
  }

  .first-continer p {
    margin: 0 auto;
    width: 90%;
  }

  .first-continer button {
    margin: 20px auto;
  }

  .second-continet {
    flex-direction: column;
    gap: 20px;
    margin: 20px;
  }

  .a, .b, .c, .d, .e {
    width: 100%;
  }

  .theird-continer {
    flex-direction: column;
    gap: 20px;
    margin: 10px;
  }

  .theird-continer img {
    width: 90%;
    margin: 0 auto;
  }

  .fourth-continer {
    flex-direction: column;
    gap: 20px;
    margin: 10px auto;
    text-align: center;
  }

  .fourth-continer img {
    width: 60px;
    margin: 0 auto;
  }
}

/* Extra Small devices (phones, 480px and down) */
@media (max-width: 480px) {
  .wrapper .nav-links {
    font-size: 14px;
  }

  .first-continer h2 {
    font-size: 1.8rem;
  }

  .first-continer p {
    font-size: 0.9rem;
  }

  .first-continer button {
    width: 120px;
    font-size: 16px;
  }

  .second-continet {
    margin: 10px;
    gap: 10px;
  }

  .theird-continer h2 {
    font-size: 1.5rem;
  }

  .texts div {
    font-size: 1.4rem;
  }

  .footer {
    font-size: 0.8rem;
    text-align: center;
    padding: 10px;
  }
}

/* Medium devices (desktops, 1024px and down) */
@media (max-width: 1024px) {
  .wrapper .logo a {
    font-size: 18px;
  }

  .mega-box {
    flex-direction: column;
  }

  .mega-box .content .row {
    width: 100%;
  }
}
/*Partners Logo slider*/

.logos{
  height: 600px;
  margin: 0;
  display: grid;
  grid-template-rows: 500px 100px;
  grid-template-columns: 1fr 30px 30px 30px 30px 30px 1fr;
  align-items: center;
  justify-items: center;
  margin-top: -25%;
}

main#carousel {
  grid-row: 1 / 2;
  grid-column: 1 / 8;
  width: 100vw;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 600px;
  --items: 5;
  --middle: 3;
  --position: 1;
  pointer-events: none;
}

div.item {
  position: absolute;
  width: 100px;
  height: 100px;
  margin-top:25%;
  /* background-color: rgba(80, 255, 118, 0.623); */
  --r: calc(var(--position) - var(--offset));
  --abs: max(calc(var(--r) * -1), var(--r));
  transition: all 0.25s linear;
  transform: rotateY(calc(-10deg * var(--r)))
    translateX(calc(-300px * var(--r)));
  z-index: calc((var(--position) - var(--abs)));
}

div.item:nth-of-type(1) {
  --offset: 1;
  background-image: url(logo.png);
  background-size: 100px;
  background-repeat: no-repeat;
}
div.item:nth-of-type(2) {
  --offset: 2;
  background-image: url(eiarr.png);
  background-size: 100px;}
div.item:nth-of-type(3) {
  --offset: 3;
  background-image: url(arari.png);
  background-size: 100px;
  background-repeat: no-repeat;}
div.item:nth-of-type(4) {
  --offset: 4;
  background-image: url(oro.png);
  background-size: 100px;
  background-repeat: no-repeat;
}
div.item:nth-of-type(5) {
  --offset: 5;
  background-image: url(abiy.png);
  background-size: 100px;
  background-repeat: no-repeat;
}

input:nth-of-type(1) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}
input:nth-of-type(1):checked ~ main#carousel {
  --position: 1;
}

input:nth-of-type(2) {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}
input:nth-of-type(2):checked ~ main#carousel {
  --position: 2;
}

input:nth-of-type(3) {
  grid-column: 4 /5;
  grid-row: 2 / 3;
}
input:nth-of-type(3):checked ~ main#carousel {
  --position: 3;
}

input:nth-of-type(4) {
  grid-column: 5 / 6;
  grid-row: 2 / 3;
}
input:nth-of-type(4):checked ~ main#carousel {
  --position: 4;
}

input:nth-of-type(5) {
  grid-column: 6 / 7;
  grid-row: 2 / 3;
}
input:nth-of-type(5):checked ~ main#carousel {
  --position: 5;
}