/* ===== Text Animation Styles ===== */
.animated-text {
    display: flex;
    font-size: 10px;
    font-weight: bold;
    gap: 5px;
  }
  
  .animated-phrase {
    display: inline-flex;
    gap: 4px;
  }
  
  .letter {
    font-size: 49px;
    display: inline-block;
    opacity: 0;
    transform: translateY(-100px);
    animation: dropBounce 0.6s ease forwards;
  }
  
  @keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes dropBounce {
  0% {
    opacity: 0;
    transform: translateY(-100px);
  }
  60% {
    opacity: 1;
    transform: translateY(20px);
  }
  100% {
    transform: translateY(0);
  }
}
  
  /* ===== Typography Styles ===== */
  .section-header h2 {
    text-align: center;
    font-size: 49px;
    color: #05395b;
    margin-bottom: 10px;
  }
  
  .custom-heading {
    margin-top: 20px;
    text-align: center;
    color: #05395b;
    font-size: 45px;
  }
  
  .main-heading,
  .intro-text {
    text-align: justify;
    font-size: 28px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: black;
    line-height: 1.6;
  }
  
  .main-heading {
    margin-top: -50px;
    line-height: 1.5;
  }
  
  .intro-text {
    margin: 0 0 30px;
  }
  
  .highlight-text {
    font-weight: bold;
    color: black;
    font-size: 22px;
  }
  
  /* ===== Flip Card Styles ===== */
  .banner .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }
  
  .banner .card-wrapper {
    width: 250px;
    text-align: center;
  }
  
  .banner .flip-card {
    width: 250px;
    height: 250px;
    perspective: 1000px;
    cursor: pointer;
    margin: 0 auto;
  }
  
  .banner .flip-card-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    position: relative;
  }

  .banner .flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
  
  .banner .flip-card-front,
  .banner .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .banner .flip-card-front {
    background: #fff;
    border: 3px solid #007BFF;
    border-radius: 50%;
  }
  
  .banner .flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }
  
  .banner .flip-card-back {
    background: #3694f9;
    color: white;
    transform: rotateY(180deg);
    padding: 20px;
    border-radius: 15px;
  }
  
  .banner .flip-card-back p {
    font-size: 18px;
    line-height: 1.6;
    padding: 10px;
    color: white;
  }
  
  .banner .show-more {
    margin-top: 5px;
    padding: 6px 10px;
    background: white;
    color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
  }
  
  .banner .show-more:hover {
    background: #0056b3;
    color: white;
  }
  
  .banner .card-title {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
    font-weight: bold;
  }
  
  /* ===== About Section Styles ===== */
  .background-sections {
    background-image: url("../images/abtbg-1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 90vw;
    margin: 20px auto 0;
    padding: 10px 20px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    border-radius: 15px;
  }

    .background-sections_1 {
    background-image: url("../images/abtbg-1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 90vw;
    margin: 20px auto 0;
    padding: 2px 20px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    border-radius: 15px;
  }
  
.about-thumb img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-wrapper {
  padding: 20px 0;
}

.about-title h2 {
  font-size: 32px;
  color: #05395b;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-title p {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 24px;
}

.lab-btn {
  display: inline-block;
  background-color: #05395b;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.lab-btn:hover {
  background-color: #032b45;
}

.highlight-text {
  color: #d9534f; /* Optional: Highlight text color */
  font-weight: bold;
}

  
  .lab-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #05395b;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.3s ease;
  }
  
  .lab-btn:hover {
    background-color: #06527e;
  }
  
  /* ===== Responsive Styles ===== */
  @media (max-width: 768px) {
    /* Layout Adjustments */
    .background-sections {
      width: 95vw;
      padding: 20px 15px 40px;
      border-radius: 10px;
    }
    
    .banner .container {
      gap: 15px;
      margin-top: 10px;
    }
    
    .about-wrapper {
      padding: 10px 0;
    }
  
    /* Typography Adjustments */
    .custom-heading {
      font-size: 20px;
      margin-top: 10px;
    }
    
    .main-heading {
      font-size: 12px;
      margin-top: 10px;
      line-height: 1.6;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    
    .section-header h2 {
      font-size: 24px;
    }
    
    .intro-text,
    .about-title p {
      font-size: 16px;
    }
    
    .highlight-text {
      font-size: 14px;
    }
    
    .about-title h2 {
      font-size: 20px;
      text-align: center;
    }
    
    .about-title p {
      font-size: 12px;
    }
  
    /* Flip Card Adjustments */
    .banner .card-wrapper {
      width: 42%;
      max-width: 180px;
      margin: 0 auto;
    }
      .banner .flip-card-back {
    font-size: 8px;
    padding: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
    
    .banner .flip-card {
      width: 42%;
      height: 100px;
    }
    
    .banner .flip-card-back p {
      font-size: 5px;
    }
    
    .banner .show-more {
      font-size: 8px;
    }

      .banner .card-wrapper,
      .banner .flip-card {
        width: 45%;
        height: auto;
      }

      .banner .flip-card {
        aspect-ratio: 1 / 1;
      }
    
    .banner .card-title {
      font-size: 10px;
      margin-top: 4px;
    }
  
    /* Button Adjustments */
    .lab-btn {
      padding: 10px 18px;
      font-size: 12px;
    }
  
    /* Image Adjustments */
    .about-thumb img {
      border-radius: 10px;
    }
  
    /* Animation Adjustments */
    .animated-phrase {
      gap: 2px;
      flex-wrap: wrap;
      justify-content: center;
    }
    
    .letter {
      font-size: 24px;
      transform: translateY(15px);
    }
  }

  