* {
    box-sizing: border-box;
  }
  
  
  body {

    font-family: 'Arial', sans-serif;
 
    margin: 0;
    background-size:cover ;
  }

.tab-container{
  margin-top: 16vh;

}
  
  .tab {
    float: left;
    border: 1px solid #4285f4; /* Blue color */
    background: linear-gradient(to bottom, #4285f4, #3367d6); /* Gradient for 3D effect */
    width: 15%;
    height: 500px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2); /* Box shadow for depth */
    margin-left: 15vh;
    margin-bottom: 10vh ;
  }
  
  .tablinks {
    font-weight: 700;
    font-size: 16;
    display: block;
    background-color: transparent;
    color: #ffffff; /* White text */
    padding: 15px 20px;
    width: 100%;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
  }
 
 
  .tablinks[data-type="sub"] {
    color: #b8b8b8 ;
}

  
 

  .tab button:hover {
    background: linear-gradient(to bottom, #3367d6, #2753c2); /* Darker blue on hover */
  }
  
  .tab button.active {
    background: linear-gradient(to bottom, #3367d6, #2753c2); /* Darker blue for active tab */
  }
  
  .tabcontent {
    float: left;
    padding: 20px;
    border: 1px solid #4285f4; /* Blue color */
    background-color: #ffffff; /* White background */
    width: 70%;
    border-left: none;
    height: 500px;
    display: none;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2); /* Box shadow for depth */
    overflow-y: auto;
  }
  
  .tabcontent h3 {
    color: #4285f4; /* Blue color for heading */
  }
  
  .tabcontent p {
    color: #666;
  }
  


 
  .image-item {
    position: relative;
    overflow: hidden;
    display: inline-block;
    background-color: #f0f0f0; /* Set your desired background color */
    justify-content: center;
  }



.hover-image {
  width: 50vh;
  height: 30vh;
  object-fit: cover; /* or 'contain', depending on your preference */
  display: block;

}

#tab1_2 .image-item{
  cursor: pointer;
}

.images-container {
  display: flex;
  justify-content: center; /* Adjust as needed for spacing between images */
  align-items: center; /* Center items vertically */
  
}


.image-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.675); /* Semi-transparent black background */
  color: #fff; /* Text color */
  padding: 25px;
  margin: 0;
  transition: transform 0.3s; /* Add a smooth transition effect */
  font-weight: 700;
  font-size: 20px;
  height: 50%;
}

.image-item:hover .image-text {
  transform: translateY(-50%); /* Slide the text up on hover */
  
}


.image-text a {
  color:#4285f4;
  text-align: none;
  text-decoration: none; /* Removes underline */

}





@media screen and (max-width: 767px) {
  .tab-container {
    margin-top: 8vh; /* Adjusted margin top */
  }

  .tab {
    width: 30%; /* Set width to full for smaller screens */
    margin-left: 0; /* Remove left margin */
    margin-bottom: 5vh; /* Adjusted bottom margin */
    height: 500px;
  }

  .tablinks {
    font-size: 12px; /* Adjusted font size */
    padding: 12px 15px; /* Adjusted padding */
  }

  .tabcontent {
    width: 70%; /* Set width to full for smaller screens */
    padding: 15px; /* Adjusted padding */
    height: 500px; /* Allow content height to adjust */
    overflow-y: scroll; /* Allow vertical overflow if needed */
  }

  .images-container {
    display: block; /* Change to block to stack images vertically */
    text-align: center; /* Center align images */
  }

  .image-item {
    background-color: transparent; /* Remove background color */
    display: block; /* Change display to block */
    margin: 0 auto 20px; /* Center align horizontally and add space between images */
    position: relative; /* Reset position */
    overflow: initial; /* Reset overflow */
  }

  .hover-image {
    width: 100%; /* Set width to 100% */
    height: auto; /* Reset height */
    object-fit: contain; /* Adjust object-fit as needed */
  }

  .image-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.675); /* Semi-transparent black background */
    color: #fff; /* Text color */
    padding: 25px;
    margin: 0;
    transition: transform 0.3s; /* Add a smooth transition effect */
    font-weight: 700;
    font-size: 15px;
    height: 60%;
  }
  


}
