.team-section-fd265fe4 { padding: 40px 0; }
.team-title-fd265fe4 { text-align: center; margin-bottom: 40px; }
.team-grid-fd265fe4 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 1024px) { .team-grid-fd265fe4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .team-grid-fd265fe4 { grid-template-columns: 1fr; } }

.team-card-fd265fe4 {
    position: relative;
    border-radius: 20px; /* Overridden by inline style from control if set */
    overflow: hidden;
    height: 400px;
    background: #0B0F14;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-bg-motion-fd265fe4 {
    position: absolute;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateBg-fd265fe4 20s linear infinite;
    z-index: 1;
}

@keyframes rotateBg-fd265fe4 {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.card-decorative-image-fd265fe4 {
    position: absolute;
    width: 250px; /* Adjust size via control */
    height: 250px;
    z-index: 2; /* Adjust z-index via control */
    animation: rotateDeco-fd265fe4 15s linear infinite; /* Speed adjusted via control */
    pointer-events: none;
    opacity: 0.8; /* Adjust opacity via control */
}

.card-decorative-image-fd265fe4 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes rotateDeco-fd265fe4 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


.card-image-wrap-fd265fe4 {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    z-index: 3;
}
.card-image-wrap-fd265fe4 img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-overlay-fd265fe4 {
    position: absolute;
    bottom: -100%; /* Start below the container */
    left: 0; 
    width: 100%; 
    height: 100%;
    z-index: 4;
    transition: bottom 0.5s ease-out;
}

.card-info-fd265fe4 {
    position: absolute;
    bottom: -150px; left: 20px; right: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    z-index: 5;
    text-align: center;
}
.card-info-fd265fe4 h3 { margin: 0 0 5px; color: #333; }
.card-info-fd265fe4 p { margin: 0; color: #777; }

.card-social-fd265fe4 {
    position: absolute;
    right: -100px; top: 20px;
    display: flex; flex-direction: column; gap: 10px; /* Gap overridden by control */
    z-index: 5;
}
.card-social-fd265fe4 i {
    background: #fff; color: #333;
    width: 40px; height: 40px; border-radius: 50%; /* Overridden by control */
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}