
.dabba2{
  padding-top: 2%;
 margin: 1%;
}
.service1{
  width: 25%;
}

.swiper-container {
    width: 150%;
    padding: 20px;
    overflow: hidden;
  }
  
  .swiper-slide {
    width: 300px;
    padding: 20px;
    text-align: center;
    background: rgb(245,239,240);
          background: radial-gradient(circle, rgba(245,239,240,1) 3%, rgba(176,185,231,1) 100%);
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(30, 31, 32, 0.1);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
  }
  
  .swiper-slide:hover {
    transform: translateY(-9px);
  }
  
  .team-member img {
    width: 100%;
    border-radius: 1%;
    margin-bottom: 10px;
  }
  
  .member-details {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    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% - 40px);
    }
    .swiper-container{
      width: 80%;
    }
    .member-details h3 {
      margin-bottom: 3px;
      font-size: 15px;
    }
    
    .member-details p {
      margin-bottom: 3px;
      font-size: 10px;
    }
  }
  
  @media screen and (max-width: 480px) {
    .swiper-slide {
        width: calc(100% - 40px);
    }
    .swiper-container{
      width: 100%;
    }
    .member-details h3 {
      margin-bottom: 3px;
      font-size: 15px;
    }
    
    .member-details p {
      margin-bottom: 3px;
      font-size: 10px;
    }
  }

  .dabba3{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 0rem; /* Adjust top margin as needed */
    overflow: hidden;
    justify-content: center;
    align-items: center;
    /* Ensures items are stacked vertically */
    min-width:auto;
  }

  .servic {
    width: 100%;
    max-width: 100%;
    margin-top: 2rem; /* Adjust top margin as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row; /* Ensures items are stacked vertically */
    min-width:auto;
  }
  
  /* Additional styles for service section */
  .service1 {
    display: flex;
    flex-wrap: wrap; 
    margin-bottom: 30px;
    background: rgb(245,239,240);
          background: radial-gradient(circle, rgba(245,239,240,1) 3%, rgba(176,185,231,1) 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    max-height: 400px;
  }
  
  .service1 img {
    width: 80%;
    height: auto; 
    object-fit: cover;
  }
  
  .service-info1 {
    padding: 30px;
  }
  .service-info1 h2 {
    font-size: 2em;
    margin-bottom: 10px;
  }
  
  .service-info1 p {
    font-size: 1.1em;
    margin-bottom: 20px;
  }
  
  @media screen and (max-width: 768px) {
    .dabba3,
    .servic {
       flex-direction: column;
      margin-top: 6rem; /* Adjust top margin for smaller screens */
    }

    .service1 {
        width: 100%; /* Adjust max-width for smaller screens */
    }

    .service1 img {
      height: 20%;
        width: 100%; /* Adjust image width to fit container */
    }

    .service-info1 {
        padding: 20px; /* Adjust padding for smaller screens */
    }

    .service-info1 h2 {
        font-size: 1.5em; /* Adjust heading font size for smaller screens */
    }

    .service-info1 p {
        font-size: 1em; /* Adjust paragraph font size for smaller screens */
    }
}

.dabba5 {
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  background: rgb(245,239,240);
          background: radial-gradient(circle, rgba(245,239,240,1) 3%, rgba(176,185,231,1) 100%);
  padding: 20px; /* Add some padding */
  color: #0a0404; /* White text color */
 
  
}

.systems {
  display: flex;
  flex-direction: column;
  /*grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));*/
  gap: 20px;
  margin-top: 6rem;
}

.system-container {
  background-color: white;
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow */
  margin-top: 3rem;
  height: 28rem;
   background-size: cover; /* Cover the entire container */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Do not repeat the background image */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow */
    opacity: 1;
    text-align: center;
    padding-top:1rem;
    display: flex;
    flex-direction: row;
  }
  .system-container .btn{
    height: 8rem;
  }
  .system-image{
 background-color: #0a0404;
 display: flex;
 flex-direction: column;
  }
  .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%);
    font-size: 1.5rem;
    padding: 20px;
    border-radius: 5px;
    opacity: 1;
   background-color:grey;
   max-height: 75%;
   max-width: 75%;
   overflow: auto;
   color: white;
  }
  .overlay-content li{
    padding: .5rem;
  }
  

/* Hover effect */
.system-container:hover {
  transform: translateY(-5px); /* Move up on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Increase shadow */
}


.services-we-provide {
  max-width: 100%;
  margin: 50px auto;
  padding: 20px;
  margin-top: 8rem;
  /* Apply a linear gradient over the background image */
  background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('images/BG.jpg');
  /* Ensure the background image covers the entire container */
  background-size: cover;
  /* Position the background image at the center */
  background-position: center;
}
@media screen and (max-width:768px) {
  .services-we-provide{
     margin-top: 12rem;
}
}
/* You may need to adjust the opacity and color values in rgba() to achieve the desired effect */

.services-we-provide p{
font-size: 1.5rem;
margin-top: 5rem;
}
.servicee {
  padding: 10px;

}

.servicee h2 {
  margin-bottom: 3px;
  color: #0a0707;
  padding: .5rem;
}

.servicee p {
  margin: 0;
  color: #0a0707;
}

/* Add animation */
.servicee {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.servicee.show {
  opacity: 1;
  transform: translateY(0);
  padding: 0.65rem;
}


.container {
  display: flex;
  margin-bottom: 20px;
}
@media screen and (max-width:768px) {
  .container{
    display: flex;
    flex-direction: column;
  }
}

.image-container {
  flex: 1;
  max-width:40%
}

@media screen and (max-width:768px) {
  .image-container{
    max-width: 100%;
    vertical-align: top;
    order: -1;
  }
  
}
.image-container img {
  border-radius: 10px;
  width: 100%;
  height: 100%;
  box-shadow: 5px 5px 5px rgba(0, 0, 95, 0.4);
}

.content-container {
  border-radius: 10px;
  flex: 1;
  background: rgb(245,239,240);
          background: radial-gradient(circle, rgba(245,239,240,1) 3%, rgba(176,185,231,1) 100%);
  padding: 20px;
  animation: slideIn 1.25s forwards; /* Apply the animation */
    opacity: 0; /* Initially hide the content */
    box-shadow: 5px 5px 5px rgba(0, 0, 95, 0.4);
    
}

.content-container h2 {
  margin-top: 0;
  color: darkblue;
  font-weight: bold !important;
  font-size: 2rem;
}

.content-container p {
  margin-bottom: 20px;
}

.content-container button {
  padding: 10px 20px;
  font-size: 16px;
  border: 0.2rem solid #10221b;
  background-color: white;
  color: black;
  cursor: pointer;
  transition: background-color 0.3s;
}
.content-container.active {
  opacity: 1;
}
.content-container button:hover {
  background-color: darkblue;
  color: white;
}

.overlay-page {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  z-index: 999;
}

.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: grey;
  padding: 20px;
  max-width: 80%;
  max-height: 80%;
  overflow-y: auto;
  margin-top: 4rem;
  background-image: url(images/joyi.jpg);
  color: black;
  background-size:cover;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background-image: url('close-icon.png'); /* Replace with your close icon */
  background-size: cover;
  cursor: pointer;
}

.close-btn:hover {
  opacity: 0.8;
}
@keyframes slideIn {
  from {
      transform: translateX(-100%);
      opacity: 0;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
}

.carousel {
  
  display: flex;
  flex-direction: column;
  left: 50%;
  transform: translateX(-50%);
  position: relative;
  gap: 2rem;
  padding: 3rem;
}

#background-figure{
  border-radius: 10px;

}
.dot {
  width: 5px;
  height: 5px;
  background-color: #bbb;
  border-radius: 50%;
  margin: 0 10px;
  cursor: pointer;
  display: inline-block;
  color: white;
}
.dot.active {
  border: 4px solid white;
}
.carousel h2{
  font-size: 14px;
  display: inline-block;
  width: 40vw;
  color: white;
  cursor: pointer;
  font-weight: 500;
  margin-left: 2rem;
  }


  figure {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: fit-content;
    transition: opacity 0.5s
  }
  .dynamic-content-container {
    position: absolute;
    top: 25%;
    width: 50%; 
    padding: 20px;
    display: none;
    left: 75%;
    color: white;
    
    }
  .dynamic-content-container h1{
      color: white;
  }
  
  .active.dynamic-content-container {
    display: block;
  }
  @media screen and (max-width:768px) {
    .active.dynamic-content-container{
      display: none;
    }
    .carousel h2{
      width: 70vw;
    }}

    .introinfo{
      border-radius: 10px;
      padding: 2rem 4%;
      background: rgb(245,239,240);
          background: radial-gradient(circle, rgba(245,239,240,1) 3%, rgba(176,185,231,1) 100%);
    }