/* About Team Card Start */
:root {
    --background-color: #f5f5f5;
    --card-background: #fff;
    --primary-color: #333;
    --secondary-color: #999;
    --accent-color: #555;
    --hover-background: #bbb;
    --button-background: #ccc;
    --button-hover-background: #bbb;
    --progress-bar-color-start: #666;
    --progress-bar-color-end: #999;
  }
  
  /* Reset & Base */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: "Roboto", sans-serif;
    background: var(--background-color);
    color: var(--primary-color);
  }
  
  .abt-about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
  }
  
  /* Team Heading */
  .team-heading-abt {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
  }
  
  .team-heading-abt::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 8px auto 0;
    border-radius: 2px;
  }
  
  /* Responsive Adjustments for the Heading */
  @media (max-width: 1024px) {
    .team-heading-abt {
      font-size: 1.8rem;
      margin-bottom: 25px;
    }
  }
  
  @media (max-width: 768px) {
    .team-heading-abt {
      font-size: 1.6rem;
      margin-bottom: 20px;
    }
  }
  
  @media (max-width: 480px) {
    .team-heading-abt {
      font-size: 1.4rem;
      margin-bottom: 15px;
    }
  }
  
  /* Carousel Container */
  .carousel-container-abt {
    width: 100%;
    max-width: 1200px;
    border-radius: 20px;
    background: var(--card-background);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    margin: 0 auto;
  }
  
  .carousel-abt {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    /* Smooth sliding */
  }
  
  /* Card */
  .team-card-abt {
    flex: 0 0 100%;
    display: flex;
    gap: 20px;
    padding: 30px;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
    /* Removed transform for scaling */
    position: relative;
    overflow: hidden;
    min-height: 450px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .team-card-abt:hover {
    /* Removed transform: scale(1.03); */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    /* Enhanced shadow for elevation effect */
  }
  
  /* Left Column (Image + Icons) */
  .left-column-abt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
  }
  
  .team-image-abt {
    position: relative;
    width: 250px;
    height: 250px;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 80%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
  .team-image-abt::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.05),
        rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: 2;
  }
  
  .team-image-abt img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 0.3s ease;
    z-index: 1;
  }
  
  .team-image-abt:hover img {
    transform: scale(1.1);
  }
  
  .social-icons-abt {
    display: flex;
    gap: 10px;
  }
  
  .social-icons-abt a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
    font-size: 1.2rem;
  }
  
  .social-icons-abt a:hover,
  .social-icons-abt a:focus {
    background: var(--accent-color);
    transform: scale(1.1);
    outline: none;
  }
  
  /* Right Column: Text and Expansion */
  .team-content-abt {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    padding: 0 15px;
    /* Added padding for better spacing */
  }
  
  .role-title-abt {
    font-size: 0.9rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    margin-bottom: 3px;
    line-height: 1.3;
    /* Minimal line-height for titles */
  }
  
  .team-name-abt {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--primary-color);
    line-height: 1.3;
    /* Minimal line-height for names */
  }
  
  .team-date-abt {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 5px;
    line-height: 1.3;
    /* Minimal line-height for dates */
  }
  
  .team-description-abt {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 10px;
    line-height: 1.4;
    /* Optimized line-height for descriptions */
    text-align: left;
    /* Changed from justify for better readability */
  }
  
  ul {
    padding-left: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-align: left;
    /* Changed from justify */
    line-height: 1.4;
    /* Optimized line-height for lists */
  }
  
  ul li {
    margin-bottom: 5px;
  }
  
  /* Expanded Details */
  .expanded-details-abt {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease;
    margin-bottom: 15px;
    padding: 0 10px;
    background-color: #fafafa;
    border-left: 4px solid var(--accent-color);
    line-height: 1.4;
    /* Minimal line-height for expanded details */
  }
  
  .team-card-abt.expanded-abt .expanded-details-abt {
    max-height: 2000px;
    /* Adjust as needed based on content length */
  }
  
  /* Styling the content inside expanded-details-abt */
  .expanded-content-abt {
    padding: 15px 0;
    line-height: 1.4;
    /* Minimal line-height for inner content */
  }
  
  .expanded-content-abt h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.3;
    /* Minimal line-height for headings */
  }
  
  .expanded-content-abt h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 15px;
    margin-bottom: 5px;
    line-height: 1.3;
    /* Minimal line-height for subheadings */
  }
  
  .expanded-content-abt p {
    font-size: 1rem;
    color: #444;
    line-height: 1.4;
    /* Optimized line-height for paragraphs */
    margin-bottom: 10px;
    text-align: left;
    /* Changed from justify for better readability */
  }
  
  .expanded-content-abt ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
    /* Optimized line-height for lists */
    text-align: left;
    /* Changed from justify */
  }
  
  .expanded-content-abt ul li {
    margin-bottom: 5px;
    color: var(--primary-color);
  }
  
  .expanded-content-abt em {
    font-style: italic;
  }
  
  /* Read More/Read Less Button */
  .read-more-btn-abt {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--button-background);
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    align-self: flex-start;
    margin-top: 15px;
    gap: 5px;
    line-height: 1.2;
    /* Minimal line-height for button text */
  }
  
  .read-more-btn-abt .btn-text {
    /* Ensures the text is properly aligned */
  }
  
  .read-more-btn-abt i {
    transition: transform 0.3s ease;
  }
  
  /* Rotate the chevron icon when the card is expanded */
  .team-card-abt.expanded-abt .read-more-btn-abt i {
    transform: rotate(180deg);
  }
  
  .read-more-btn-abt:hover,
  .read-more-btn-abt:focus {
    background: var(--button-hover-background);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    outline: none;
  }
  
  /* Navigation Controls Container */
  .navigation-controls-abt {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 5;
  }
  
  /* Navigation Arrows */
  .carousel-arrow {
    width: 40px;
    height: 40px;
    background: var(--button-background);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }
  
  .carousel-arrow:hover,
  .carousel-arrow:focus {
    background: var(--button-hover-background);
    color: var(--accent-color);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    outline: none;
  }
  
  .carousel-arrow i {
    font-size: 1.2rem;
  }
  
  /* Horizontal Indicators */
  .horizontal-indicators-abt {
    display: flex;
    gap: 10px;
  }
  
  .horizontal-indicators-abt .indicator-abt {
    width: 12px;
    height: 12px;
    background: var(--button-background);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    outline: none;
  }
  
  .horizontal-indicators-abt .indicator-abt.active {
    background: var(--secondary-color);
    transform: scale(1.2);
  }
  
  .horizontal-indicators-abt .indicator-abt:hover,
  .horizontal-indicators-abt .indicator-abt:focus {
    background: var(--accent-color);
    transform: scale(1.1);
    outline: none;
  }
  
  /* Progress Bar for Auto-Rotation */
  @keyframes progress {
    from {
      width: 0%;
    }
  
    to {
      width: 100%;
    }
  }
  
  .progress-bar-abt {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--progress-bar-color-start), var(--progress-bar-color-end));
    width: 0%;
    animation: none;
    z-index: 3;
  }
  
  .progress-bar-abt.animate {
    animation: progress 5s linear forwards;
  }
  
  /* Responsive Design */
  
  /* Tablet Devices */
  @media (max-width: 1024px) {
    .team-image-abt {
      width: 200px;
      height: 200px;
    }
  
    .navigation-controls-abt {
      bottom: 15px;
      gap: 12px;
    }
  
    .carousel-arrow {
      width: 35px;
      height: 35px;
    }
  
    .carousel-arrow i {
      font-size: 1rem;
    }
  
    .horizontal-indicators-abt .indicator-abt {
      width: 10px;
      height: 10px;
    }
  
    .read-more-btn-abt {
      padding: 4px 8px;
      font-size: 0.7rem;
    }
  
    .team-heading-abt {
      font-size: 1.8rem;
      margin-bottom: 25px;
    }
  }
  
  /* Mobile Devices */
  @media (max-width: 768px) {
    .team-card-abt {
      flex-direction: column;
      align-items: center;
    }
  
    .left-column-abt {
      align-items: center;
    }
  
    .navigation-controls-abt {
      bottom: 10px;
      gap: 10px;
    }
  
    .carousel-arrow {
      width: 30px;
      height: 30px;
    }
  
    .carousel-arrow i {
      font-size: 0.9rem;
    }
  
    .horizontal-indicators-abt .indicator-abt {
      width: 8px;
      height: 8px;
    }
  
    .read-more-btn-abt {
      font-size: 0.6rem;
      padding: 2px 6px;
    }
  
    .team-heading-abt {
      font-size: 1.6rem;
      margin-bottom: 20px;
    }
  }
  
  /* Extra Small Devices (Portrait Phones) */
  @media (max-width: 480px) {
    .team-image-abt {
      width: 180px;
      height: 180px;
    }
  
    .navigation-controls-abt {
      bottom: 8px;
      gap: 8px;
    }
  
    .carousel-arrow {
      width: 28px;
      height: 28px;
    }
  
    .carousel-arrow i {
      font-size: 0.8rem;
    }
  
    .horizontal-indicators-abt .indicator-abt {
      width: 6px;
      height: 6px;
    }
  
    .read-more-btn-abt {
      font-size: 0.5rem;
      padding: 2px 4px;
    }
  
    .team-heading-abt {
      font-size: 1.4rem;
      margin-bottom: 15px;
    }
  }
  
  /* About Team Card End */