/* Workshop Section Styles */
.workshop-item {
    transition: background-color 0.3s ease;
}

.workshop-item:hover {
    background-color: #e7f3ff;
}

.workshop-title {
    flex-grow: 1;
    text-align: left;
    list-style: none;
}

.workshop-date {
    text-align: right;
    list-style: none;
}

/* Team Section Styles */
.team-single-wrap {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-single-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.team-img {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.team-single-wrap:hover .team-member-photo {
    transform: scale(1.03);
}

.team-member-placeholder {
    width: 100%;
    height: 350px;
}

.team-info {
    padding: 1.5rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-desc {
    line-height: 1.7;
    text-align: left;
    margin-top: 0.5rem;
}

.team-desc p {
    margin-bottom: 0.75rem;
}

.team-desc p:last-child {
    margin-bottom: 0;
}

.team-social-list {
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.team-single-wrap:hover .team-social-list {
    opacity: 1;
}

.team-social-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.team-social-list li a:hover {
    background: var(--bs-primary);
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.team-social-list li a i {
    color: #333;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.team-social-list li a:hover i {
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .team-img,
    .team-member-placeholder {
        height: 320px;
    }
}

@media (max-width: 767px) {
    .team-img,
    .team-member-placeholder {
        height: 380px;
    }
    
    .team-social-list {
        opacity: 1;
    }
    
    .col-sm-6 {
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .team-img,
    .team-member-placeholder {
        height: 400px;
    }
}
