*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

/*** Slider ***/
.slider {
  height: 600px;
  background-size: cover;
}

/** Header**/

header{
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1000;
  width: 100%; 
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 33px 9%;
  background: #ffffff;
  border-bottom: 2px solid #23255E;
}

.logo{
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
}

.navlist{
  display: flex;
}

.navlist a{
  color: #23255E;
  margin-left: 60px;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all .55s ease;
}

.navlist a:hover{
  border-bottom: 2px solid #4465AF;
  color: #4465AF;
}

#menu-icon{
  color: #ffffff;
  font-size: 35px;
  z-index: 10001;
  cursor: pointer;
  display: none;
}

/**End Header**/

/** Image Slider**/

.slider {
  height: 350px; /* You can adjust this height as needed */
  width: 100%;
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
  overflow: hidden; /* Ensures the video doesn't overflow the slider */
}

.slider video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the video covers the entire slider area */
  z-index: -1; /* Places the video behind other content */
}

.slider-text {
  position: relative;
  z-index: 1; /* Ensures the text is in front of the video */
  color: #fff; /* Adjust text color as needed */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(2, 0, 0, 0.5);
}



section{
  padding: 0 19%;
}

.slider-text h5{
  font-size: 25px;
  font-weight: 400;
  color: white;
  margin-bottom: 40px;
}

.slider-text h1{
  font-size: 70px;
  line-height: 1;
  color: white;
  margin: 0 0 4;
}

.slider-text h3{
  font-size: 30px;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
}

.slider-text h4{
  color: white;
  font-size: 20px;
  line-height: 1.9;
  margin-bottom: 40px;
}

.slider-text a{
  display: inline-block;
  color: white;
  background: #4465AF;
  border: 1px solid transparent;
  padding: 12px 20px;
  line-height: 1.4;
  font-size: 14px;
  font-weight: 500;
  border-radius: 30px;
  text-transform: uppercase;
  transition: all .55s ease;
}

.slider-text a:hover{
  background: transparent;
  border: 1px solid white;
  transform: translateX(8px);
}

.slider-text a.ctaa{
  background: transparent;
  border: 1px solid white;
  margin-left: 20px;
}

.slider-text a.ctaa i{
  vertical-align: middle;
  margin-right: 5px;
}

.slider-image img{
  width: 700px;
  height: auto;
}

.icons{
  position: absolute;
  top: 50%;
  padding: 0 9%;
  transform: translateY(-50%);
}

.icons i{
  display: block;
  margin: 26px 0;
  font-size: 24px;
  color: white;
  transition: all .50s ease;
}

.icons i:hover{
  color: #4d9559;
  transform: translateY(-5px);
}

.scroll-down{
  position: absolute;
  bottom: 6%;
  right: 9%;
}

.scroll-down i{
  display: block;
  padding: 12px;
  font-size: 25px;
  color: #ffffff;
  background: #4465AF;
  border-radius: 30px;
  transition: all .50s ease;
}

.scroll-down i:hover{
  transform: translateY(-5px);
}


/** RESPONSIVE **/

@media (max-width: 1535px){
  header{
    padding: 15px 3%;
    transition: .2s;
  }

  .icons{
    padding: 0 3%;
    transition: .2s;
  }

  .scroll-down{
    right: 3%;
    transition: .2s;
  }
}

@media (max-width: 1460px){
  section{
    padding: 0 12%;
    transition: .2s;
  }
}

@media (max-width: 1340px){
  .slider-image img{
    width: 100%;
    height: auto;
  }

  .slider-text h1{
    font-size: 75px;
    margin: 0 0 30px;
    font-weight: 700 !important;
  }

  .slider-text h5{
    margin-bottom: 25px;
  }
}

@media (max-width: 1195px){
  section{
    padding: 0 3%;
    transition: .2s;
  }

  .slider-text{
    padding-top: 115px ;
  }

  .slider-image{
    text-align: center;
  }

  .slider-image img{
    width: 560px;
    height: auto;
  }

  .slider{
    height: 100%;
    gap: 1rem;
    grid-template-columns: 1fr;
  }

  .icons{
    display: none;
  }

  .scroll-down{
    display: none;
  }
}

@media (max-width: 990px){
  #menu-icon{
    display: block;
  }

  .navlist{
    position: absolute;
    top: 100%;
    right: -100%;
    width: 300px;
    height: 40vh;
    background: #4d9559;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 50px 20px;
    transition: all .55s ease;
  }

  .navlist a{
    margin-left: 0;
    display: block;
    margin: 7px 0;
  }

  .navlist.open{
    right: 0;
  }
}

@media (max-width: 680px){
  .slider-image img{
    width: 100%;
    height: auto;
  }
}