body {
    background-color: var(--soft-white);
}

@media (min-width: 991.98px) {
    .team-section .news-content-title {
        max-width: 50%;
    }
}

.team-section .slider-with-progress-bar--single-slide {
    border-radius: 0 !important;
}

@media (min-width: 1400px) {
    .team-section .slider-with-progress-bar-main-slider .slick-track {
        gap: 5rem !important;
    }
}

@media (min-width: 1200px) {
    .team-section .slider-with-progress-bar-main-slider .slick-track {
        gap: 2.5rem;
    }
}

@media (max-width: 1200px) {
    .team-section .slider-with-progress-bar-main-slider .slick-track {
        gap: 0.5rem;
    }
}

@media (max-width: 991.98px) {
    .team-section .slider-with-progress-bar-main-slider .slick-track {
        gap: 5rem;
    }
}

@media (max-width: 767.98px) {
    .team-section .slider-with-progress-bar-main-slider .slick-track {
        gap: 1rem;
    }
}

.team-section .profile-card {
    position: relative;
    overflow: hidden;

}

.team-section .footer-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--secondary-color);
    color: #fff;
    text-align: center;
    padding: 1rem;
    transition: height 0.4s ease, padding 0.4s ease;
    overflow: hidden;
    height: 8.7rem;
    display: flex;
    flex-direction: column;
}

.team-section .profile-card:hover .footer-name {
    height: 100%;
    padding: 1.5rem 1rem;
}

.team-section .profile-card .extra-info {
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.team-section .profile-card:hover .extra-info {
    opacity: 1;
    transform: translateY(0);
}

.team-section .profile-card .extra-info p {
    margin-bottom: 0.5rem;
    text-align: start;
}


.team-section .profile-card .social-info {
    margin-top: auto;
    width: 100%;
    padding-top: 1rem;
    background: var(--secondary-color);
    border-top: 1px solid #ffffff8f;
}

.team-section .profile-card .social-info p {
    margin: 0.5rem 0;
    text-align: start;
}

.team-section .slider-with-progress-bar-section .slick-list {
    overflow: visible;
}


/* Profile Card */
  .profile-card-2 {
     background-color: var(--secondary-color);
     color: white;
     padding: 16px 30px;
     margin-top: -5px;
     position: absolute;
     bottom: 0;
     width: 100%;
     height: 8.7rem;
     transition: all 0.3s ease-in-out;
 }

  .profile-card:hover .profile-card-2 {
    height: 14rem;
 }

  .profile-card:hover .profile-card-2 .profile-divider {
    margin-top: 16px;
 }

  .profile-card-2 .profile-name {
     margin-top: 0;
     margin-bottom: 16px;
     text-align: center;
 }

  .profile-card-2 .profile-title {
     text-align: center;
     font-weight: 400;
     margin-bottom: 5px;
     color: var(--white-color);
 }

  .profile-card-2 .profile-subtitle {
     margin-bottom: 30px;
     color: var(--white-color);
     text-align: center;
 }

  .profile-card-2 .profile-divider {
     width: 100%;
     height: 1px;
     background-color: rgba(255, 255, 255, 0.3);
     margin-top: 100px;
     margin-bottom: 10px;
     transition: all 0.4s ease-in-out;
 }

  .profile-card-2 .contact-info {
     display: flex;
     flex-direction: column;
 }

   .contact-item-2 {
     display: flex;
     align-items: center;
     margin-bottom: 12px;
     color: var(--white-color);
 }

    .contact-item-2:last-child {
       margin-bottom: 0;
    }

   .contact-item-2 i {
     width: 20px;
     margin-inline-end: 12px;
     color: white;
 }

   .contact-item-2 a {
     color: var(--white-color);
     font-size: 0.9rem;
     text-decoration: none;
     transition: color 0.3s ease;
 }

   .contact-item-2 a:hover {
     color: white;
 }
