
.dabba {
  display: flex;
    align-items: center;
    padding-bottom: 3rem;
    background-color: white;
    background-image: url(images/joyi.jpg);
}
.dabba .upper{
  display: flex;
  flex-direction: row;
  height: 70%;
  flex-wrap: wrap;
}
.dabba .lower{
  height: 30%;
}
@media screen and (max-width:450) {
  .dabba {
    flex-direction: column;
}
.dabba .upper,
.dabba .lower{
  width: 100%;
}
.dabba .left,
.dabba .Right {
    width: 100%;
}
}

.dabba img{
width: 50%;
height: 500px;
display: inline-block;
padding: 2rem;
margin-left: 7rem;
}
@media screen and (max-width:768px) {
  .dabba img{
  display: flex;
  order: -1;
  width: 100vw;
  margin-left: 0px;
  height: 300px;
}
}

.dabba .left {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 50%;
    background-color: white;
    padding-top: 3%;
    margin-top: 1rem;
}

.dabba_left_upper{
  height: 61%;
}
.dabba_left_lower{
  display: flex;
  flex-direction: row;
  min-height: 50%;
}
.dabba_left_lower_left{
width: auto;
}
.dabba-left_lower_right{
background-color: #090d13;
}

.dabba .Right {
    width: 55%;
    margin-bottom: 2rem;
    margin-top: 5rem;
    display: inline-block;
}

.dabba .image {
    max-width: 100%;
    height: auto;
    border-color: #888585;
}

.para {
  width: 80%;
  margin: 0 auto;
  font-size: xx-small;
  
}


.swiper-container {
  width: 100%;
  padding: 20px;
  overflow: hidden;
}

.swiper-slide {
  width: 300px;
  padding: 20px;
  text-align: center;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
}

.swiper-slide:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 100%;
  border-radius: 10%;
  margin-bottom: 10px;
}

.member-details {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  transition: bottom 0.3s;
  padding: 15px;
}

.swiper-slide:hover .member-details {
  bottom: 0;
}

.member-details h3 {
  margin-bottom: 5px;
  font-size: 20px;
}

.member-details p {
  margin-bottom: 5px;
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  .swiper-slide {
      width: calc(50% - 20px);
  }
  .dabba {
    flex-direction: column;
    padding:1%;
  }
  .dabba .upper{
    flex-direction: column;
    padding-top: 1%;
  }
  .dabba .lower .para1{
    width: 80%;
    margin: 0 auto;
    font-size: xx-small;
  }
  .dabba .left{
    margin-top: 7rem;
    width: 100%;
  }
  .dabba .Right{
    margin-top: 2rem;
    width: 100%;
  }
  .more-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
  }

}
@media screen and (max-width: 991px) {
  .more-info{
    width: 100%;
    scroll-padding-top: 7rem;
  }
  .dabba {
    flex-direction: column;
    padding-top: 1rem;
  }

  .dabba .upper,
  .dabba .lower {
    width: 100%;
  }

  .dabba .left,
  .dabba .Right {
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .swiper-slide {
      width: calc(100% - 20px);
  }
  .more-info{
    width: 100%;
    font-size: 4px;
  }
  .dabba .left{
    margin-top: 9rem;
    width: 100%;
  }
  .dabba .Right{
    margin-top: 2rem;
    width: 100%;
  }
}



.quality-policy {
  max-width: 100%;
  margin: 50px auto;
  padding: 20px;
  background-color: white;
}
.quality-policy p{
font-size: 1.5rem;
}
.policy-item {
  padding: 6px;

}

.policy-item h2 {
  margin-bottom: 2px;
  color: #0a0707;
}

.policy-item p {
  margin: 0;
  color: #0a0707;
}

/* Add animation */
.policy-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.policy-item.show {
  opacity: 1;
  transform: translateY(0);
}
.overlay-page {
  display: none;
  position:fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000; /* Ensure it appears above other content */
}

.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: auto;
  padding: 20px;
  border-radius: 5px;
  opacity: 1;
  background-color: white;
  max-height: 75%;
  max-width: 75%;
}


#vision-container {
  text-align: center;
  font-family: Arial, sans-serif;
  margin: 20px auto;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  background-color: white;
}

#vision-statement{
  font-size: 1.5rem;
  margin-top: 2rem;
}


.why-us {
  max-width: 100%;
  margin-top: 20px;
  padding: 20px;
  background-color:white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.why-us.animate {
  opacity: 1;
  transform: translateY(0);
}

.why-us h1 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 50px;
  color: darkblue;
}

.reasons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.reason {
  flex-basis: calc(50% - 20px);
  background-color:white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  transform: translateX(-100%);
          opacity: 0;
          transition: transform 1s ease-in-out, opacity 2s ease-in-out;
}
.reason.animate {
  transform: translateX(0);
  opacity: 1;
}
@keyframes slideInFromLeft {
  0% {
      opacity: 0;
      transform: translateX(-100%);
  }
  100% {
      opacity: 1;
      transform: translateX(0);
  }
}

.reason.slide-in {
  animation: slideInFromLeft 2s ease-in-out forwards;
}

.reason h2 {
  font-size: 18px;
  margin-bottom: 10px;
  color: darkblue;
}

.reason p {
  font-size: 1.5rem;
  color: #666;
}
@media screen and (max-width: 768px) {
  .reason {
      flex-basis: 100%;
  }
}
