:root {
    --primary: #00B8C8;
    --accent: #FF9F1C;
    --neutral-dark: #2E3A47;
    --neutral-medium: #8D99AE;
    --neutral-light: #F8F9FA;
    --transition-slow: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-normal: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-fast: 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Styles */
body {
    padding-top: 80px;
    font-family: 'Poppins', sans-serif;
    color: var(--neutral-dark);
    background-color: var(--neutral-light);
    overflow-x: hidden;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--neutral-medium);
    max-width: 700px;
    margin-bottom: 3rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header y navegación */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--neutral-light);
}

.btn-primary:hover {
    background-color: #e04a30;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--neutral-dark);
    border: 1px solid var(--neutral-dark);
}

.btn-secondary:hover {
    background-color: var(--neutral-dark);
    color: var(--neutral-light);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--neutral-light);
}

/* Hero Section */
.team-hero {
    height: 60vh;
    min-height: 400px;
    background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1471&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 2rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(46, 58, 71, 0.7), rgba(46, 58, 71, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    background: none;
}

.team-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.team-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

/* Team Introduction */
.team-intro {
    text-align: center;
    padding-bottom: 3rem;
}

.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.accent-line {
    height: 3px;
    width: 0;
    background-color: var(--primary);
    margin: 3rem auto 0;
    transition: width 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.accent-line.revealed {
    width: 800px;
}

/* Team Members Grid */
.team-members {
    background-color: white;
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

/* Team Member Card */
.team-card {
    background-color: var(--neutral-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
}

.team-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-image-container {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    transition: transform 0.8s ease;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.team-card:hover .card-image {
    transform: scale(1.05);
}

.team-card:hover .card-overlay {
    opacity: 1;
}

.card-content {
    padding: 1.5rem;
}

.team-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    color: var(--neutral-dark);
}

.team-card .position {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-card .bio {
    color: var(--neutral-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(0, 184, 200, 0.1);
    color: var(--primary);
    transition: all var(--transition-normal);
}

.social-icon:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Team Values Section */
.team-values {
    text-align: center;
    padding: 6rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.value-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.value-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(0, 184, 200, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    transition: transform var(--transition-normal);
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--neutral-medium);
    line-height: 1.6;
}

/* Join Team Section */
.join-team {
    background-color: white;
    padding: 6rem 0;
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.join-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.join-text p {
    color: var(--neutral-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.join-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.join-image.revealed {
    opacity: 1;
    transform: translateX(0);
}

.join-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.join-image:hover img {
    transform: scale(1.03);
}

/* Animation Classes */
.reveal-text {
    position: relative;
    overflow: hidden;
}

.reveal-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    transform: translateX(-100%);
    animation: revealText 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.reveal-text.delay-1::after {
    animation-delay: 0.2s;
}

.reveal-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-fade.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fade.delay-1 {
    transition-delay: 0.2s;
}

.reveal-fade.delay-2 {
    transition-delay: 0.4s;
}

.reveal-slide {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.reveal-slide.revealed {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

@keyframes revealText {
    0% {
        transform: translateX(-100%);
    }
    40% {
        transform: translateX(0);
    }
    60% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Footer */
/* Footer */
footer {
    background-color: var(--neutral-dark);
    color: var(--neutral-light);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-column p {
    margin-bottom: 0.8rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .team-hero h1 {
        font-size: 3rem;
    }
    
    .join-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .join-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .team-hero h1 {
        font-size: 2.5rem;
    }
    
    .team-hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .values-grid {
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .team-hero {
        height: 50vh;
    }
    
    .team-hero h1 {
        font-size: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
