/* Base Styles */
.gct-team-section {
    --primary-dark: #1A3A3F;
    --primary-medium: #3A6666;
    --primary-light: #5B8C8C;
    --accent-color: #D9B779;
    --accent-light: #E8D4B0;
    --text-color: #333333;
    --text-light: #5F7275;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    
    background-color: var(--bg-light);
    color: var(--text-color);
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', system-ui, sans-serif;
}

.gct-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

/* Typography */
.gct-section-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-dark);
    position: relative;
    line-height: 1.2;
}

.gct-section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-light));
    border-radius: 2px;
}

.gct-section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Team Grid */
.gct-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

/* Team Card */
.gct-team-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(26, 58, 63, 0.1);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Photo Container */
.gct-photo-container {
    height: 280px;
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gct-team-photo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.8s ease;
}

.gct-team-card:hover .gct-team-photo {
    transform: scale(1.03);
}

/* Photo Overlay */
.gct-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(26, 58, 63, 0.8), transparent);
    color: white;
}

.gct-team-position {
    color: var(--accent-light);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.gct-team-name-overlay {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Card Content */
.gct-card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gct-team-bio {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 25px;
    text-align: justify;
    hyphens: auto;
}

/* Social Links */
.gct-team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.gct-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.gct-social-link.linkedin {
    background-color: #0077B5;
}
.gct-social-link.github {
    background-color: #333;
}
.gct-social-link.x {
    background-color: #000;
}

.gct-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.gct-social-icon {
    width: 20px;
    height: 20px;
}

/* Floating Elements */
.gct-floating-element {
    position: absolute;
    z-index: 1;
    opacity: 0.1;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(0, -15px) rotate(3deg); }
}

/* Background Pattern */
.gct-bg-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, var(--primary-light) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, var(--accent-color) 0%, transparent 20%);
    opacity: 0.03;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .gct-team-section {
        padding: 80px 20px;
    }
    
    .gct-team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .gct-photo-container {
        height: 240px;
    }
    
    .gct-team-bio {
        text-align: left;
    }
}