/* Team Page Specific Styles */

.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--bg-white);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--bg-white);
}

.page-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Team Section */
.team-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-light);
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.team-grid-leadership {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid-operations {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

/* Team Card - Two Column Layout */
.team-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 2px solid transparent;
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: auto;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

/* Left Column - Image + Name + Position */
.team-left {
    display: flex;
    flex-direction: column;
    background: var(--bg-light);
}

/* Team Image */
.team-image {
    position: relative;
    width: 280px;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-base);
    border-radius: 8px;
}

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

/* Team Overlay */
.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(102, 126, 234, 0.9) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: var(--spacing-lg);
}

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

/* Team Social */
.team-social {
    display: flex;
    gap: var(--spacing-md);
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all var(--transition-base);
    transform: translateY(20px);
    opacity: 0;
}

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

.team-card:hover .team-social a:nth-child(1) {
    transition-delay: 0.1s;
}

.team-card:hover .team-social a:nth-child(2) {
    transition-delay: 0.2s;
}

.team-social a:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-5px);
}

/* Name and Title Section */
.team-name-title {
    padding: var(--spacing-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-name-title h3 {
    font-size: 1.00rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    text-align: justify;
    text-align-last: center;
}

.team-position {
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
   
}

/* Right Column - Expertise + Bio */
.team-right {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Team Expertise */
.team-expertise {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.team-expertise h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-expertise ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.team-expertise ul li {
    padding: var(--spacing-xs) 0;
    color: var(--text-gray);
    font-size: 0.95rem;
    position: relative;
    padding-left: var(--spacing-lg);
}

.team-expertise ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Team Bio */
.team-bio {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Join Our Team Section */
.join-team {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
}

.join-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.join-team-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: var(--bg-white);
}

.join-team-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
}

.join-team-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.95);
}

.join-team-content .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--text-dark);
    color: var(--bg-light);
    padding: var(--spacing-2xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-col h3 {
    color: var(--bg-white);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.footer-col h4 {
    color: var(--bg-white);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.footer-col p {
    color: var(--text-light);
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-col ul li a {
    color: var(--text-light);
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.contact-info li {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    line-height: 1.8;
}

.contact-info strong {
    color: var(--bg-white);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-bottom p {
    color: var(--text-light);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--text-light);
}

.footer-links a:hover {
    color: var(--bg-white);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .team-card {
        grid-template-columns: 250px 1fr;
    }
    
    .team-image {
        width: 250px;
        height: 250px;
    }
    
    .team-image img {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 1024px) {
    .team-card {
        grid-template-columns: 220px 1fr;
    }
    
    .team-image {
        width: 220px;
        height: 220px;
    }
    
    .team-image img {
        width: 160px;
        height: 160px;
    }
    
    .team-grid-leadership,
    .team-grid-operations {
        max-width: 100%;
    }

    .team-right {
        padding: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .team-section {
        padding: var(--spacing-xl) 0;
    }

    .team-card {
        grid-template-columns: 1fr;
    }

    .team-left {
        display: flex;
        flex-direction: column;
    }

    .team-image {
        width: 100%;
        height: 250px;
    }
    
    .team-image img {
        width: 180px;
        height: 180px;
    }

    .team-name-title {
        padding: var(--spacing-md);
    }

    .team-name-title h3 {
        font-size: 1.35rem;
    }

    .team-right {
        padding: var(--spacing-lg);
    }

    .team-expertise {
        padding: var(--spacing-md);
    }

    .join-team {
        padding: var(--spacing-xl) 0;
    }

    .join-team-content h2 {
        font-size: 2rem;
    }

    .join-team-content p {
        font-size: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.75rem;
    }

    .team-image {
        height: 220px;
    }
    
    .team-image img {
        width: 150px;
        height: 150px;
    }

    .team-right {
        padding: var(--spacing-md);
    }

    .team-expertise {
        padding: var(--spacing-sm);
    }

    .join-team-content h2 {
        font-size: 1.75rem;
    }
}
