/* Our Team Page Styles */

/* Hero Section */
.team-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #001737 0%, #0a2d5e 50%, #001737 100%);
    padding: 160px 0 100px;
    overflow: hidden;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    animation: heroPattern 20s linear infinite;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(14, 156, 126, 0.2);
    color: #0E9C7E;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(14, 156, 126, 0.3);
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.hero-wave path {
    fill: #f8f9fa;
}

/* Leadership Section */
.team-leadership {
    padding: 120px 0;
    background: #f8f9fa;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0E9C7E, #0a7d65);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #001737;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 50px;
}

.leader-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(14, 156, 126, 0.15);
}

.leader-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e5ec, #d0d5dc);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder i {
    font-size: 80px;
    color: #adb5bd;
}

.leader-image img,
.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.member-initials {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0E9C7E, #087a62);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
}

.leader-image .member-initials {
    font-size: 80px;
}

.leader-social {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.leader-card:hover .leader-social {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.leader-social a {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #001737;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.leader-social a:hover {
    background: #0E9C7E;
    color: white;
    transform: scale(1.1);
}

.leader-info {
    padding: 30px;
    text-align: center;
}

.leader-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #001737;
    margin-bottom: 12px;
}

.leader-role {
    display: inline-block;
    background: linear-gradient(135deg, #0E9C7E, #0a7d65);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.leader-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.leader-stats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 0.9rem;
}

.leader-stats .stat i {
    color: #0E9C7E;
}

/* Team Stats Section */
.team-stats-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #001737, #0a2d5e);
}

.team-stat-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.team-stat-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
    border-color: #0E9C7E;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0E9C7E, #0a7d65);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.stat-icon i {
    font-size: 1.2rem;
    color: white;
}

.team-stat-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
}

.team-stat-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin: 0;
}

/* Team Grid Section */
.team-grid-section {
    padding: 120px 0;
    background: #f8f9fa;
}

.team-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    background: white;
    border: 2px solid #e0e5ec;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #001737;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #0E9C7E;
    color: #0E9C7E;
}

.filter-btn.active {
    background: linear-gradient(135deg, #0E9C7E, #0a7d65);
    border-color: #0E9C7E;
    color: white;
}

.team-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(14, 156, 126, 0.12);
}

.team-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.team-card-image .image-placeholder {
    background: linear-gradient(135deg, #e8edf5, #dde3ec);
}

.team-card-image .image-placeholder i {
    font-size: 60px;
    color: #b0b8c4;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,23,55,0.9) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.team-social a {
    width: 40px;
    height: 40px;
    background: #0E9C7E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: white;
    color: #0E9C7E;
    transform: scale(1.1);
}

.team-card-body {
    padding: 28px;
    text-align: center;
}

.team-card-body h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #001737;
    margin-bottom: 10px;
}

.team-card-body .role {
    display: inline-block;
    color: #0E9C7E;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.team-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.team-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    font-size: 0.8rem;
}

.team-meta span i {
    color: #0E9C7E;
    font-size: 0.75rem;
}

/* CTA Section */
.team-cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0E9C7E, #0a7d65);
    position: relative;
    overflow: hidden;
}

.team-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.team-cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: white;
    color: #0E9C7E;
    border: none;
    padding: 15px 35px;
    font-weight: 600;
}

.cta-buttons .btn-primary:hover {
    background: #001737;
    color: white;
}

.cta-buttons .btn-outline-light {
    border: 2px solid white;
    padding: 15px 35px;
    font-weight: 600;
}

.cta-buttons .btn-outline-light:hover {
    background: white;
    color: #0E9C7E;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .team-stat-card h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .team-hero {
        padding: 180px 0 80px;
        min-height: 40vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .leader-image {
        height: 280px;
    }
    
    .team-card-image {
        height: 240px;
    }
    
    .team-filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .leader-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .team-meta {
        flex-direction: column;
        gap: 8px;
    }
}
