/* Team Section Styles - New and Improved */
#team-showcase * {
    box-sizing: border-box !important;
}

#team-showcase {
    background: linear-gradient(135deg, #3b0894 0%, #6a00ff 100%) !important;
    padding: 80px 20px !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

#team-showcase .section-content {
    max-width: 1500px !important;
    margin: 0 auto !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

#team-showcase .title {
    margin-bottom: 40px !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    position: relative !important;
    float: none !important;
}

#team-showcase .team-container {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    float: none !important;
}

#team-showcase .team-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    margin-top: 40px !important;
    width: 100% !important;
    justify-content: center !important;
    float: none !important;
}

.team-member {
    perspective: 1000px !important;
    transition: transform 0.4s ease !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    display: flex !important;
    justify-content: center !important;
}

.team-member:hover {
    transform: translateY(-10px) !important;
}

.member-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    padding: 30px 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
    height: 100% !important;
    min-height: 300px !important;
    width: 100% !important;
    max-width: 280px !important;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1) !important;
    transform-style: preserve-3d !important;
    border: 4px solid #270e0e !important;
}

.team-member:hover .member-card {
    transform: rotateY(10deg) !important;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.4) !important;
}

.member-avatar {
    width: 120px !important;
    height: 120px !important;
    position: relative !important;
    margin-bottom: 20px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
}

.avatar-outline {
    position: absolute !important;
    top: -5px !important;
    left: -5px !important;
    right: -5px !important;
    bottom: -5px !important;
    border-radius: 50% !important;
    background: linear-gradient(45deg, #ffdb58, #ff7700) !important;
    animation: rotate 10s linear infinite !important;
    z-index: 0 !important;
}

#team-showcase .member-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    position: relative !important;
    z-index: 1 !important;
    border: 4px solid white !important;
    background-color: #ff7700 !important; /* Fallback color */
    transition: transform 0.3s ease !important;
}

#team-showcase .member-avatar:hover img {
    transform: scale(1.05) !important;
}

.member-info {
    text-align: center !important;
    color: #270e0e !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    position: relative !important;
    z-index: 2 !important;
}

.member-info h3 {
    color: #6a00ff !important;
    font-family: 'Chewy', cursive !important;
    font-size: 1.5em !important;
    margin-bottom: 5px !important;
    text-align: center !important;
}

.member-name {
    font-weight: bold !important;
    font-size: 1.2em !important;
    margin-bottom: 15px !important;
    color: #000 !important;
}

.social-link {
    display: inline-flex !important;
    align-items: center !important;
    background: #f2f2f2 !important;
    padding: 8px 15px !important;
    border-radius: 30px !important;
    margin-top: auto !important;
    color: #270e0e !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
    font-size: 14px !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10 !important;
    cursor: pointer !important;
}

.social-link i {
    margin-right: 8px !important;
}

.social-link:hover {
    background: #6a00ff !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(106, 0, 255, 0.3) !important;
}

.honey-badge {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 40px !important;
    height: 40px !important;
    z-index: 5 !important;
    background-color: #ffdb58 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    border: 2px solid #fff !important;
}

.honey-badge:before {
    content: "⭐" !important;
    font-size: 20px !important;
    color: #270e0e !important;
}

.team-background {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    z-index: 0 !important;
}

.teddy-icon {
    position: absolute !important;
    width: 80px !important;
    height: 80px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    opacity: 0.15 !important;
}

.teddy-icon-1 {
    top: 10% !important;
    left: 5% !important;
    background-image: url('../img/art/bl.png') !important;
    animation: float 15s ease-in-out infinite !important;
}

.teddy-icon-2 {
    top: 20% !important;
    right: 7% !important;
    background-image: url('../img/art/bl2.png') !important;
    animation: float 18s ease-in-out infinite 2s !important;
}

.teddy-icon-3 {
    bottom: 15% !important;
    left: 10% !important;
    background-image: url('../img/art/bl4.png') !important;
    animation: float 20s ease-in-out infinite 1s !important;
}

.teddy-icon-4 {
    bottom: 25% !important;
    right: 12% !important;
    background-image: url('../img/art/bl5.png') !important;
    animation: float 17s ease-in-out infinite 3s !important;
}

.teddy-icon-5 {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background-image: url('../img/art/kl3.png') !important;
    animation: pulse 10s ease-in-out infinite !important;
}

.team-member.founder .member-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 219, 88, 0.3)) !important;
    border: 4px solid #ffdb58 !important;
}

.team-member.founder .avatar-outline {
    background: linear-gradient(45deg, #ffdb58, #ff7700, #ffdb58, #ff7700) !important;
    background-size: 300% 300% !important;
    animation: gradient 5s ease infinite !important;
}

/* Team Section Animations */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Media Queries */
@media only screen and (max-width: 1400px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media only screen and (max-width: 1000px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 800px !important;
        margin: 0 auto !important;
    }
    
    .member-avatar {
        width: 100px !important;
        height: 100px !important;
    }
    
    .member-card {
        padding: 20px 15px !important;
        min-height: 280px !important;
    }
}

@media only screen and (max-width: 768px) {
    .team-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .team-member {
        width: 48% !important;
        margin-bottom: 15px !important;
        opacity: 1 !important;
        transform: none !important;
        float: none !important;
        display: flex !important;
    }
    
    #team-showcase {
        padding: 60px 15px !important;
    }
    
    .member-info h3 {
        font-size: 1.3em !important;
    }
    
    .member-card {
        padding: 15px 10px !important;
        min-height: auto !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
    }
    
    .member-avatar {
        width: 90px !important;
        height: 90px !important;
        margin-bottom: 15px !important;
    }
    
    .social-link {
        padding: 6px 12px !important;
        font-size: 12px !important;
        margin-top: 10px !important;
        display: flex !important;
        justify-content: center !important;
    }
}

@media only screen and (max-width: 480px) {
    .team-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }
    
    .team-member {
        width: 100% !important;
        max-width: 320px !important;
    }
    
    .member-card {
        max-width: 100% !important;
        margin: 0 auto !important;
        min-height: auto !important;
    }
    
    #team-showcase .section-content {
        width: 100% !important;
        padding: 0 !important;
    }
    
    .member-avatar {
        width: 100px !important;
        height: 100px !important;
    }
    
    .member-info {
        width: 100% !important;
    }
    
    .member-name {
        font-size: 1.1em !important;
        margin-bottom: 10px !important;
    }
    
    .social-link {
        font-size: 11px !important;
        padding: 5px 10px !important;
        width: auto !important;
        min-width: 120px !important;
        justify-content: center !important;
    }
} 