/* Team Page Specific Styles */
:root {
    --team-primary: #0d9488;
    --team-secondary: #14b8a6;
    --team-accent: #f59e0b;
    --team-dark: #0f172a;
    --team-glass: rgba(255, 255, 255, 0.9);
}

/* Hero Section */
.team-hero {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.9), rgba(15, 23, 42, 0.8)), url('../image/banner3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 160px 0 100px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(transparent, #f8fafc);
}

/* Team Grid */
.team-container {
    padding: 100px 0;
}

/* Team Card 3D Effect */
.team-card-wrapper {
    perspective: 1000px;
    margin-bottom: 3rem;
}

.team-card {
    position: relative;
    width: 100%;
    height: 450px;
    background: var(--team-glass);
    border-radius: 2rem;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.team-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 0 30px 60px rgba(13, 148, 136, 0.2);
}

.team-img-box {
    width: 100%;
    height: 100%;
    position: relative;
}

.team-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.team-card:hover .team-img-box img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 50%, rgba(13, 148, 136, 0.95));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    transition: all 0.5s ease;
}

.team-info {
    transform: translateY(40px);
    transition: transform 0.5s ease;
}

.team-card:hover .team-info {
    transform: translateY(0);
}

.team-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.team-role {
    color: var(--team-accent);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.team-bio {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0;
    transition: opacity 0.5s ease 0.2s;
}

.team-card:hover .team-bio {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.3s;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--team-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-btn:hover {
    background: var(--team-accent);
    color: white;
    transform: translateY(-5px);
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    z-index: 1;
    opacity: 0.1;
    pointer-events: none;
}

.shape-1 { top: 10%; left: 5%; width: 100px; height: 100px; background: white; border-radius: 50%; animation: float 10s infinite ease-in-out; }
.shape-2 { top: 60%; right: 5%; width: 150px; height: 150px; background: var(--team-accent); border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; animation: float 15s infinite ease-in-out reverse; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, 40px) rotate(180deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .team-hero { padding: 120px 0 80px; }
    .team-name { font-size: 1.5rem; }
    .team-card { height: 400px; }
}
