@media only screen and (min-width: 1023px) and (max-width: 1290px) {


  
.section1{
  width: 100%;
  height: 100%;
}
.section1-slider {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.section1-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s, transform 0.5s;
  opacity: 0;
  transform: scale(1.2);
}

.section1-slide.activated {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.section1-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  
}

.slide-text {
  position: absolute;
  bottom: 25%;
  left: 65%;
  transform: translate(-50%, 0);
  z-index: 2;
  text-align: left;
  color: #fff;
  padding: 20px;
  width: 100%;
}
.slide-text span{
  display: flex;
    margin: 0 0 0px;
}

.slide-text span hr{
  width: 60px;
  height: 0px;
  border: 2.6px solid #132c4f;
  margin-top: 1.7%;

}

.slide-text span h1 {
  font-size: 14px;
  font-weight: 900;
  margin-left: 2%;

}
.slide-text h2 {
  font-size: 2rem;
  font-weight: 300;
  margin: 0 0 0px;
  margin-left: 0%;
}

.slide-text p {
  font-size: 2rem;
  margin: 0;
  font-weight: 700;
    margin-left: 0%;
}

.slide-text a {
  text-decoration: none;
}

.slide-text .section1-btn{
  width: 170px;
  height: 35px;
  background-color: #132c4f;
  margin-top: 3%;
  margin-left: 0%;
  display:flex;
    justify-content: center;
  align-items: center;
  transition: 0.5s;
}

.slide-text .section1-btn h1{
  position: relative;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1%;
  color: white;
  text-decoration: none;
}


  
.nav-blank{
  width: 100%;
  height: 100px;
}


.section2{
  width: 100%;
  height: 100%;
}

.section2-top{
  width: 90%;
    margin-top: 5%;
    margin-left: 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 25px;
}

.section2-top-card{
  width: 100%;
  height: 100%;
}
.section3-cont{
  width: 95%;
    margin-top: 6%;
    margin-left: 2.5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 40px;
}

.section3-card{
  width: 100%;
  height: 100%;
}
.section3-card-circle{
  width: 40%;
  height: 35%;
  border-radius: 50%;
  margin-top: 0%;
  margin-left: 30%;
  background-color: #f5a934;
  display: flex;
  justify-content: center;
  align-items: center;
}
.section4{
  margin-top: 13.5%;
  width: 100%;
  height: 100%;
}
.section4-cont{
  width: 98%;
    margin-top: 6%;
    margin-left: 2%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 30px;
}
.counter{
  width: 100%;
  height: 100%;
  display: flex;
}
.section5{
  width: 100%;
  height: 100%;
}

.sectio5-top{
  width: 90%;
  margin-top: 10%;
  margin-left: 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
}

.section5-end{
  width: 95%;
    margin-top: 7%;
    margin-left: 2.5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
}
.section5-end-card{
  position: relative;
  width: 100%;
  height: 450px;
  transform: skew(-2deg);
  border-radius: 3px;
  border: none;
  transition: height 0.5s ease-in-out;
}
.section5-end-card h5{display: none;
  color: white;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 4px;
  -webkit-text-stroke-color: white;
  font-size: 80px;
  text-align: right;
  margin-top: 79%;
  opacity: 0.09;
}
.overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 15%;
  background-color: #132c4f;
  overflow: hidden;
  transition: height 0.5s ease-in-out;
}

.section5-end-card:hover .overlay {
  height: 62%;
}

.section8-cont{
  width: 90%;
    margin-top: 4%;
    margin-left: 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
}
.section8-card{
  width: 100%;
  height: 100%;
  transition: .4s ease;
  border-radius: 5px;
}
}