/* General styling */

.custom-aos-bg-video-aos1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.custom-bg-cover-aos1 {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.151);
  z-index: 1;
}
.custom-aos-bg-mp4-aos1 {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 700px;
  width: 100%;
  transform: translate(-50%, -50%);
  z-index: -2;
  object-fit: cover;
}

#custom-logo-aos1 {
  line-height: 60px;
  margin-left: 40px;
  display: inline-block;
  cursor: pointer;
  font-size: 30px;
  font-weight: bold;
  color: #ff0000; /* blue */
}

#custom-logo-aos1:hover {
  color: #eef9ff; /* white */
}

#custom-logo-s-aos1 {
  color: #eef9ff; /* white */
  margin-left: 5px;
}

#custom-logo-aos1:hover #custom-logo-s-aos1 {
  color: #ff0000; /* blue */
}

.custom-sign-aos1 {
  float: right;
  line-height: 60px;
  margin-right: 40px;
}

.custom-sign-aos1 a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.custom-act-aos1 {
  border: 2px solid #fff;
  border-radius: 50px;
  padding: 6px 15px;
}

.custom-sign-aos1 a:hover {
  color: #ff0000; /* blue */
  border-color: #ff0000; /* blue */
}

/* Slider styling */

.custom-prev-aos1,
.custom-next-aos1 {
  text-decoration: none;
  position: absolute;
  top: 50%;
  display: none;
  z-index: 50;
  transform: translateY(-50%);
  font-size: 50px;
  padding: 15px;
  cursor: pointer;
  color: #fff;
  transition: 0.1s;
  user-select: none;
}

.custom-prev-aos1 {
  left: 0;
}

.custom-next-aos1 {
  right: 0;
}

.custom-prev-aos1:hover,
.custom-next-aos1:hover {
  color: #ff0000; /* blue */
}

.custom-active-aos1,
.dot-aos1:hover {
  border-color: #ff0000; /* blue */
}

.custom-sect1-aos1 {
  position: relative;
  z-index: 10;
}

.custom-text-container-aos1 {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  z-index: 2;
  color: #fff;
  width: 40%;
}

.custom-txt-box-aos1 {
  display: none;
  margin-left: 5%;
}

.custom-txt-box-aos1.active {
  display: block;
}

.custom-txt-box-aos1 h1 {
  font-size: 40px;
  margin-bottom: 20px;
  font-weight: 400;
}

.custom-txt-box-aos1 p {
  font-size: 22px;
  font-weight: 300;
}

.custom-contentpage-aos2 {
  background-color: #fff;
  z-index: 10;
  font-size: 13px;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 0.09em;
  height: 100vh;
  width: 100vw;
  top: 0;
  overflow: hidden;
}

.custom-contentpage-aos3 {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 100px;
  margin-bottom: 100px;
  font-size: 37px;
  line-height: 25px;
  letter-spacing: 0.069em;
}

.custom-contentpage-aos1 {
  background-color: whitesmoke;
  margin-top: 50px;
  position: relative;
  z-index: 5;
  height: 700px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.custom-aos-box-aos1 {
  margin-left: auto;
  margin-right: 5%; /* Move to the right by 150px */
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
}

.custom-swiperbox-aos1 {
  display: flex;
  position: relative;
  z-index: 1;
  box-sizing: inherit;
}

.custom-aos-img-aos1 {
  height: 700px;
  width: 200px;
  object-fit: cover;
  transition: all 0.5s ease-in-out;
}

.custom-img-box-aos1 {
  position: relative;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.5s ease-in-out;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.custom-img-box-aos1:hover {
  transform: scale(1.05);
  opacity: 1;
  transition: 0.8s;
  z-index: 5;
}

.custom-img-box-aos1:active {
  opacity: 1;
  transition: 0.8s;
}

.custom-img-box-aos1.custom-active-aos1 {
  opacity: 1; /* Fully opaque when active */
}

.custom-img-box-aos1.custom-active-aos1 img {
  width: 400px; /* Expanded width */
}

@-webkit-keyframes custom-posi2-aos1 {
  from {
    top: 300px;
  }
  to {
    top: 400px;
  }
}

@keyframes custom-posi2-aos1 {
  from {
    top: 300px;
  }
  to {
    top: 400px;
  }
}

.custom-contentpage-aos3 {
  background-color: whitesmoke;
  margin-top: 50px;
  position: relative;
  z-index: 5;
  height: 700px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
}

.aos-3-card {
  flex: 1;
  min-width: 300px;
  max-width: 33%;
  padding: 15px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  transition: transform 0.8s, z-index 0.8s;
}

.card-text {
  font-size: 18pt;
}

.card-content-aos3 {
  margin-top: 250px;
  height: 320px;
  z-index: 5;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 10px;
  color: #fff; /* Ensure text is readable */
  position: relative;
}

.aos-3-card:hover {
  transform: scale(1.03);
  z-index: 1;
}

.txt-aos-3 {
  font-size: 11pt;
}

.our-certificates {
  margin-top: 100px;
  margin-bottom: 100px;
}

.our-certificates-img-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px; /* Optional: adds space between the logos */
  max-width: 100%;
  z-index: 15;
  margin: 0 auto; /* Centers the container */
}

.certificate-item {
  height: 500px;
  text-align: center;
  width: 18%;
  margin-left: 1%;
  margin-right: 1%;
}

.our-certificates-img {
  max-height: 90%;
  width: 100%;
  object-fit: cover;
}

.certificate-title {
  font-size: 16px;
  margin-top: 10px;
  color: #000; /* Adjust the color as needed */
}

@media screen and (min-width: 1900px) {
  .certificate-item {
    transition: 0.5s;
    height: 800px;
  }

  .our-certificates-img {
    max-height: 700px;
    width: 100%;
    object-fit: cover;
  }

  .certificate-title {
    font-size: 22px;
  }
}
@media screen and (max-width: 1500px) {
  .custom-img-box-aos1.custom-active-aos1 img {
    width: 300px; /* Expanded width */
  }
}
@media screen and (max-width: 1350px) {
  .custom-img-box-aos1.custom-active-aos1 img {
    width: 250px; /* Expanded width */
  }
  .certificate-item {
    transition: 0.5s;
    height: 400px;
  }
  .our-certificates-img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
  }
  .custom-aos-img-aos1 {
    height: 700px;
    width: 150px;
    object-fit: cover;
    transition: all 0.5s ease-in-out;
  }
  .card-text {
    font-size: 13pt;
  }
}

@media screen and (max-width: 1200px) {
}
@media screen and (max-width: 1000px) {
  .custom-img-box-aos1:hover {
    transform: none;
    opacity: 1;
    transition: 0.8s;
    z-index: 0;
  }
  .custom-txt-box-aos1 {
    display: none;
    margin-left: 9%;
  }
  .custom-prev-aos1,
  .custom-next-aos1 {
    display: flex;
  }
  .custom-img-box-aos1.custom-active-aos1 img {
    width: 400px; /* Expanded width */
  }
  .custom-aos-img-aos1 {
    height: 700px;
    width: 0px;
    object-fit: cover;
    transition: all 0.5s ease-in-out;
  }
  .custom-contentpage-aos3 {
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0.157em;
    font-weight: 400;
  }
  .certificate-item {
    transition: 0.5s;
    height: 400px;
    width: 25%;
    margin-left: 1%;
    margin-right: 1%;
  }
}
