
 
  
  
  
  /* Styling for the image */
  .cardimage1 {
    display: flex;
    justify-content: center;
    align-items: center;
   margin-top: 10px;
    border: 1px solid #ccc; /* Box border */
    border-radius: 15px; /* Rounded corners */
    overflow: hidden; /* Prevents the image from overflowing */
    
    transition: transform 0.3s ease; /* Smooth hover effect */
    width: 100%;
    max-width: 348px;
    
    object-fit: cover; /* Ensures the image fits without stretching */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth hover animation */
    border-radius: 15px; /* Ensures image follows the parent's border radius */
  }
  
  /* Hover effect */
  .cardimage:hover {
    transform: scale(1.05); /* Slight zoom on hover for the box */
  }
  
  .cardimage img:hover {
    transform: scale(1.1); /* Slight zoom on hover for the image */
    opacity: 0.9; /* Optional hover effect to dim the image slightly */
  }
  
  
  
  
 
  html {
    scroll-behavior: smooth;
  }
 
  
  
   
  .teamContainer {
    width: 95vw;
    display: flex;
    overflow-y: auto;
    scroll-behavior: smooth;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 30px;
    padding-bottom: 30px;
    
  }
  .maintext h2{
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    padding-left: 80px;
      font-size: 4rem;
      background: linear-gradient(
        to right,
        #719de6,
        #52d2ce,
        #836be5,
        #56cad1,
        #719de6
      );
      
      -webkit-text-fill-color: transparent;
      -webkit-background-clip: text;
  }
  .team {
    display: flex;
    flex-direction: row;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .team1 {
    display: flex;
    flex-direction: row;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .team2 {
    display: flex;
    flex-direction: row;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .teamContainer::-webkit-scrollbar {
    display: none;
  }
  
  .teamContainer .card {
    backdrop-filter: blur(10px);
    height: 45 0px;
    background-color: transparent;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border: 1px solid #719de6;
    justify-content: space-around;
    padding: 40px;
    box-shadow: 2px 4px 18px #56cad1;
    transition: 0.4s;
  }
  .teamContainer .card:hover {
    z-index: 100;
    transform: scale(1.1);
  }
  .cardImage {
    z-index: 3;
    position: relative;
  }
  .cardDetails {
    line-height: 0.6;
    z-index: 3;
    position: relative;
  }
  .cardContent {
    z-index: 3;
    position: relative;
  }
  .teamContainer .card .cardImage img {
    border-radius: 50%;
    width: 180px;
    height: 215px;
    border: 2px solid #52d2ce;
    object-fit: cover;
  }
  
  .teamContainer .card .cardContent {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  
  .teamContainer .card .cardContent a img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    transition: 300ms;
    z-index: 2;
  }
  
  .teamContainer .card .cardDetails {
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  
  .teamContainer .card .cardDetails h2 {
    font-family: "Roboto", sans-serif;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 100;
  }
  
  .teamContainer .card .cardDetails p {
    font-family: "Roboto", sans-serif;
    font-size: 2rem;
  }
  
  .timeline h1 {
    font-size: 6rem;
    background: linear-gradient(
      to right,
      #719de6,
      #52d2ce,
      #836be5,
      #56cad1,
      #719de6
    );
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    text-align: center;
    margin-top: 200px;
  }
  
  /* /The timeline/ */
  @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
  
 
  
  
  /* responsive */
  @media (max-width: 767px) {
    .timeline-items::before {
      left: 7px;
    }
    #upcoming {
      flex-direction: row;
    }
    .timeline-item:nth-child(odd) {
      padding-right: 0;
      text-align: left;
    }
  
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
      padding-left: 37px;
    }
  
    .timeline-dot {
      left: 0;
    }
    .mainLoading {
      font-size: 55px;
    }
  }
  .left-card .card-1 {
    position: absolute;
   
    height: 150px; /* Adjust height as needed */
    background-color: #f3f3f3;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.8s ease, opacity 0.8s ease; /* Smooth transition for both transform and opacity */
    opacity: 0.5; /* Initial opacity */
    transform: translateX(0); /* Initial position */
    visibility: hidden;
  }
.left-card:has(:hover) .card-1{
opacity: 1;
transform: translateX(80%);
visibility: visible;
}

.right-card .card-2 {
    position: absolute;
   
    height: 150px; /* Adjust height as needed */
    background-color: #f3f3f3;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.8s ease, opacity 0.8s ease; /* Smooth transition for both transform and opacity */
    opacity: 0.5; /* Initial opacity */
    transform: translateX(0); /* Initial position */
    visibility: hidden;
  }
.right-card:has(:hover) .card-2{
opacity: 1;
transform: translateX(-100%);
visibility: visible;
}

@media (max-width:600px) {
  .card-1{
    right: 82px;
  }
  .first{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}
@media (max-width: 800px) {
  .left-card:has(:hover) .card-1 {
    opacity: 1;
    transform: translateY(160%); /* Move down */
    visibility: visible; 
    right: 45px;
 
  }

  .right-card:has(:hover) .card-2 {
    opacity: 1;
    transform: translateY(-180%); /* Move up */
    visibility: visible;
    right: 31px;

  }
  .left-card .card-1{
    margin-left: -42px;
  }
  .left-card .card-2{
    margin-left: -42px;
  }
  .photocard{
    margin-bottom: -594px;
  }
  .photocard-text{
    margin-top: 316px;
  }
 
}
@media (min-width:700px) and (max-width:900px) {
  .left-card .card{
  left: 6px;
  }
}
