@import url('./base.css');
/* team.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: #333;
}



.main-content {
    min-height: calc(100vh - 82px);
}

.hero-section {
    background: linear-gradient(135deg, #6B7B5A 0%, #8B9A7A 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background: #fafafa;
}

.team-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.team-category {
    margin-bottom: 6rem;
}

.category-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #6B7B5A;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #6B7B5A;
    border-radius: 2px;
}

.team-grid {
    display: grid;
    gap: 1.2rem;
    margin-top: 2rem;
    justify-content: center;
}

/* Row 1: 3 columns */
.team-category:nth-child(1) .team-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Row 2: 5 columns */
.team-category:nth-child(2) .team-grid {
    grid-template-columns: repeat(5, 1fr);
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

/* Row 3: 1 column */
.team-category:nth-child(3) .team-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

/* Row 4: 4 columns */
.team-category:nth-child(4) .team-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Row 5: 4 columns */
.team-category:nth-child(5) .team-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Row 6: 5 columns */
.team-category:nth-child(6) .team-grid {
    grid-template-columns: repeat(5, 1fr);
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive team grid for all except first two categories */
.team-category:not(:nth-child(1)):not(:nth-child(2)) .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 260px);
    gap: 1.2rem;
    justify-content: center;
    margin-top: 2rem;
}


.team-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* .team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(107, 123, 90, 0.15);
    border-color: #6B7B5A;
} */

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6B7B5A, #8B9A7A);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    font-weight: 600;
}

.member-image {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
}

.member-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.member-title {
    font-size: 0.9rem;
    color: #6B7B5A;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Join Section */
.join-section {
    padding: 4rem 0;
    background: white;
    text-align: center;
}

.join-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.join-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #6B7B5A;
    margin-bottom: 1rem;
}

.join-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.join-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #6B7B5A;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    transform: scale(1);
}

.join-button:hover {
    background: #5A6B49;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(107, 123, 90, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    /* Tablet view: reduce columns but keep some structure */
    .team-category:nth-child(1) .team-grid,
    .team-category:nth-child(4) .team-grid,
    .team-category:nth-child(5) .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .team-category:nth-child(2) .team-grid,
    .team-category:nth-child(6) .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    /* Small tablet: further reduce columns */
    .team-category:nth-child(1) .team-grid,
    .team-category:nth-child(4) .team-grid,
    .team-category:nth-child(5) .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-category:nth-child(2) .team-grid,
    .team-category:nth-child(6) .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    /* Mobile: single column for ALL team grids */
    .team-category:nth-child(1) .team-grid,
    .team-category:nth-child(2) .team-grid,
    .team-category:nth-child(3) .team-grid,
    .team-category:nth-child(4) .team-grid,
    .team-category:nth-child(5) .team-grid,
    .team-category:nth-child(6) .team-grid {
        grid-template-columns: 1fr !important;
        max-width: 400px !important;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .member-photo {
        width: 120px;
        height: 120px;
    }
}