/* Original styles for larger screens */

.virtual-container {
  margin-top: 200px;
  margin-left: 100px;
  
  display: flex;
  justify-content: space-between;
}

.virtual-container2 {  
  margin-left: 100px;
  
  display: flex;
  justify-content: space-between;
}

.virtual-container3 {  
  margin-left: 100px;
  margin-top: 100px;
  
  display: flex;
  justify-content: space-between;
}

.virtual-card {
  height: 700px;
  flex-grow: 1;
  box-sizing: border-box;
  overflow: hidden;
}

.virtual-left-card .services-card {
  width: 14rem;
  height: 300px;
  float: left;
  padding: 20px;  
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adjust the values for your desired shadow effect */
}

.virtual-center-card .services-card {
  width: 21rem;
  height: 350px;
  float: left;
  padding: 20px;
  margin-top: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adjust the values for your desired shadow effect */
  overflow: hidden;
  
}

.virtual-left-card,
.virtual-right-card {
  width: calc(50% - 15px);
  padding: 20px;
}

.virtual-right-card {
  position: relative;
  overflow: hidden;
}

.virtual-center-card {
  width: 100%;
  padding: 20px;
  
}

.services-card-title {
  margin-top: 10px;
  margin-bottom: 10px;
}

.services-card img {
  max-width: 100%; /* Ensure images don't exceed the container width */
  height: 50px;
  width: 50px; /* Maintain aspect ratio */
}

/* Media queries for smaller screens */

@media (max-width: 1200px) {
  .virtual-container {
    margin-left: 50px;
    margin-right: 50px;
    flex-direction: column;
  }

  .virtual-card {
    height: auto;
  }

  .virtual-left-card,
  .virtual-right-card {
    width: 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  /* Adjust styles for screens smaller than 768px if needed */
  .virtual-container {
    margin-left: 20px;
    margin-right: 20px;
  }

  .virtual-left-card,
  .virtual-right-card {
    padding: 10px; /* Adjust padding for smaller screens */
  }

  .virtual-center-card .services-card {
    width: 14rem; /* Full width for services cards in the center */
  }

  .virtual-left-card .services-card {
    width: 14rem; /* Full width for services cards in the center */
  }
}

/* Add more media queries as needed for different screen sizes */
