/* =========================================
  SEMILLERO DE INVESTIGACIÓN
   ========================================= */


:root {
    --primary-blue: #1565c0;   
    --accent-cyan: #00bcd4;    
    --text-dark: #333333;     
    --text-light: #666666;    
    --bg-light: #f4f6f8;      
    --bg-body: #f4f6f8;        
    --white: #ffffff;
}


* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
}

/* =========================================
   2. HERO SECTION (PORTADA)
   ========================================= */
.team-hero {
    
    background-image: url('');
    height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    background: rgba(13, 71, 161, 0.85); 
    width: 100%; height: 100%;
    position: absolute; top: 0; left: 0;
    display: flex; align-items: center;
    padding-left: 8%;
}


.team-hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 0px;
    background: linear-gradient(to top, var(--bg-body), transparent);
}

.hero-content-detail { z-index: 2; max-width: 800px; color: white; }

.hero-content-detail h1 { 
    font-family: 'Merriweather', serif;
    font-size: 3rem; margin: 15px 0; font-weight: 700;
}
.hero-content-detail p { font-size: 1.1rem; color: #e3f2fd; font-weight: 400; }

.category-tag { 
    background: rgba(255,255,255,0.2); 
    color: white; padding: 5px 15px; border-radius: 20px; 
    font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px;
}

/* =========================================
   2. ESTRUCTURA DE LA SECCIÓN
   ========================================= */
.semillero-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
}

.container-semillero {
    max-width: 1200px; margin: 0 auto;
}


.section-header { text-align: center; margin-bottom: 60px; }

.section-title {
    font-size: 2rem; color: var(--primary-blue);
    font-weight: 700; margin-bottom: 15px;
    position: relative; display: inline-block;
}

.section-title::after {
    content: ''; display: block; width: 60px; height: 3px;
    background: var(--accent-cyan); margin: 10px auto 0; border-radius: 2px;
}

.section-subtitle {
    font-size: 1rem; color: var(--text-light); max-width: 600px; margin: 0 auto;
}

/* =========================================
   3. GRILLA Y ELEMENTOS
   ========================================= */


.semillero-grid {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center;
    gap: 50px 30px; 
    padding: 20px 10px
}


.student-item {
    text-align: center;
    flex-basis: 250px; 
    margin-bottom: 10px; 
}




.photo-container {
    width: 130px; 
    height: 130px;
    margin: 0 auto 20px; 
    position: relative;
}

.student-img {
    width: 100%; height: 100%;
    border-radius: 50%; 
    object-fit: cover;
    
    
    border: 4px solid var(--white);
    box-shadow: 0 0 0 2px var(--accent-cyan);
    
    transition: all 0.3s ease;
}


.photo-container:hover .student-img {
    transform: scale(1.05);
    box-shadow: 0 0 10px var(--accent-cyan);
}


.student-name {
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 5px;
}

.student-role {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic; 
    margin-bottom: 20px;
}

.email-btn {
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    gap: 8px; 
    padding: 10px 20px; 
    
    background-color: #e3f2fd;
    color: var(--primary-blue);
    
   
    border: none;
    outline: none;
    cursor: pointer; 
    font-family: 'Montserrat', sans-serif; 
    
    border-radius: 30px;
    font-size: 0.8rem; 
    font-weight: 600;
    transition: all 0.3s ease;
    width: 90%; 
    max-width: 280px;
}

.email-btn i { color: var(--accent-cyan); transition: color 0.3s; }


.email-btn:hover {
    background-color: var(--accent-cyan);
    color: white;
    transform: translateY(-2px);
}
.email-btn:hover i { color: white; }


.email-btn.copied {
    background-color: #66bb6a;
    color: white;
}
.email-btn.copied i { color: white; }