* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3A3F72;
    --secondary-color: #6C75A3;
    --accent-color: #FFC857;
    --accent-secondary: #FF9F1C;
    --text-dark: #2B2B2B;
    --text-secondary: #7D7D7D;
    --text-light: #ffffff;
    --bg-light: #f5f5f5;
    --bg-white: #FFFFFF;
    --bg-dark: #3A3F72;
    /* --green-optional: #A4D65E; */
    --card-bg: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    padding-top: 90px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex_colum{
    display: flex;
    flex-direction: column;
}

.flex_row{
    display: flex;
    flex-direction: row;
}

/* Header & Navbar */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(58, 63, 114, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
    background: var(--accent-secondary);
}

/* Carousel Section */
.primera {
    width: 100%;
    padding: 0;
    margin: 0;
}

.carousel {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.carousel-slide {
    width: 33.333%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide-content {
    text-align: center;
    z-index: 2;
    color: var(--text-light);
}

.slide-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* Colores temporales para cada slide */
.slide-1 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.slide-2 {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-color) 100%);
}

.slide-3 {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--green-optional) 100%);
}

/* Indicadores del carrusel */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--accent-color);
    border-color: var(--text-light);
    transform: scale(1.3);
}

/* Segunda Sección - Nuestro Proyecto */
.segunda {
    padding: 5rem 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.segunda::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 200, 87, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(58, 63, 114, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.project-content {
    position: relative;
    z-index: 1;
}

.project-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.project-intro:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 200, 87, 0.2);
}

.intro-icon {
    margin: 0 auto 2rem;
    width: 80px;
    height: 80px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.intro-icon svg {
    filter: drop-shadow(0 4px 10px rgba(255, 200, 87, 0.3));
}

.project-intro p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-dark);
    text-align: justify;
}

.project-intro strong {
    color: var(--primary-color);
    font-weight: 700;
}

.project-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-item {
    background: linear-gradient(135deg, var(--bg-white) 0%, #f8f9ff 100%);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(58, 63, 114, 0.15);
    border-color: var(--secondary-color);
}

.feature-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    opacity: 0.3;
    transition: all 0.4s ease;
}

.feature-item:hover .feature-number {
    opacity: 0.8;
    transform: scale(1.1);
}

.feature-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.feature-item:hover h3 {
    color: var(--accent-secondary);
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Animaciones de entrada */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}

#hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#hero-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: var(--accent-color);
}

.hero-loader {
    border: 4px solid rgba(212, 175, 55, 0.3);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-loading-text {
    font-size: 1.2em;
    margin-top: 10px;
    color: var(--accent-color);
}

.hero-content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--text-light);
    z-index: 5;
    pointer-events: none;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-top: 100px;
    letter-spacing: 0.1em;
    text-align: center;
    background: linear-gradient(45deg, var(--text-light), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.hero-bottom-content {
    text-align: center;
    margin-bottom: 80px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s backwards;
    color: var(--text-light);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 1s ease 0.6s backwards;
    pointer-events: all;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

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

/* Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Project Section */
.project-section {
    background: var(--bg-light);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.project-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.project-card p {
    color: #666;
    line-height: 1.8;
}

/* Estilos adicionales para la sección de proyecto del segundo CSS */
.project-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
}

.subsection {
    margin-bottom: 4rem;
}

.subsection-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.75rem;
    font-weight: 600;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.vm-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.vm-card h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.vm-card p {
    color: #555;
    line-height: 1.8;
}

.urc-content {
    max-width: 900px;
    margin: 0 auto;
}

.urc-description {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    line-height: 1.8;
    color: #555;
}

.urc-objectives {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.objective-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s ease;
}

.objective-card:hover {
    transform: translateX(5px);
}

.objective-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.objective-card p {
    color: #666;
    font-size: 0.95rem;
}

.timeline {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.timeline-item {
    padding: 1.5rem;
    border-left: 3px solid var(--accent-color);
    margin-left: 1rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 1.5rem;
    width: 13px;
    height: 13px;
    background: var(--accent-color);
    border-radius: 50%;
}

.timeline-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: #666;
    line-height: 1.6;
}

.location-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.location-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.location-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.feature-icon {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.date-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.date-card:hover {
    transform: scale(1.05);
}

.date-month {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.date-event {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Mission Section */
.mission-section {
    background: var(--card-bg);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.mission-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
}

.mission-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rover-placeholder {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.rover-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.rover-icon {
    font-size: 8rem;
    z-index: 1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.closing-text {
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 15px;
    text-align: center;
    font-style: italic;
    line-height: 1.8;
    box-shadow: var(--shadow-lg);
}

/* Team Section */
.team-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Missions Container */
.missions-container {
    margin-bottom: 5rem;
}

.missions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.mission-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.mission-card:hover::before {
    transform: scaleX(1);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.mission-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s ease;
}

.mission-card:hover .mission-icon {
    transform: scale(1.2) rotate(5deg);
}

.mission-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.mission-card p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Leaders Container */
.leaders-container {
    margin-top: 4rem;
}

.leaders-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 3rem;
    justify-content: center;
}

.leader-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
    flex: 0 0 280px;
}

.leader-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(26, 71, 42, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.leader-card:hover::after {
    opacity: 1;
}

.leader-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.leader-card.ceo-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff9e6 100%);
    border-color: var(--accent-color);
    flex: 0 0 100%;
    max-width: 400px;
    margin: 0 auto 2rem auto;
    order: -1;
}

.leader-card.ceo-card .leader-avatar {
    background: linear-gradient(135deg, var(--accent-color), #f4c85e);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.leader-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(26, 71, 42, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.leader-card:hover .leader-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(26, 71, 42, 0.5);
}

.avatar-icon {
    font-size: 3rem;
    filter: brightness(1.2);
}

.leader-name {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.leader-role {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.leader-description {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.team-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-card p {
    color: #666;
}

/* Contact Section */
.contact-section {
    background: var(--primary-color);
    color: var(--text-light);
}

.contact-section .section-title {
    color: var(--text-light);
}

.contact-section .section-title::after {
    background: var(--accent-color);
}

.contact-content {
    text-align: center;
}

.contact-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

/* Estilos adicionales de contacto del segundo CSS */
.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-section h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-form {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    color: var(--text-dark);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    margin: 0.25rem 0;
}

.info-card a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: var(--accent-color);
}

.media-kit-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.media-kit-button:hover {
    background: var(--secondary-color);
    transform: translateX(5px);
}

.social-card {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

/* Sección Tercera - Visión y Misión */
.tercera {
    padding: 5rem 0;
    background: var(--bg-light);
}

.tercera .flex_colum {
    gap: 4rem;
}

.ter_cont1,
.ter_cont2 {
    display: flex;
    align-items: center;
    gap: 3rem;
    min-height: 450px;
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.ter_cont1:hover,
.ter_cont2:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(58, 63, 114, 0.15);
}

.ter_image {
    flex: 1;
    min-height: 450px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-image {
    background: linear-gradient(135deg, #6C75A3 0%, #3A3F72 100%);
}

.mision-image {
    background: linear-gradient(135deg, #FFC857 0%, #FF9F1C 100%);
}

/* Placeholder para cuando no hay imagen */
.ter_image::before {
    content: 'Imagen';
    color: rgba(255, 255, 255, 0.3);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Cuando tengas la imagen, puedes usar esto */
.ter_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.ter_text {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ter_icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 200, 87, 0.1), rgba(58, 63, 114, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.ter_cont1:hover .ter_icon,
.ter_cont2:hover .ter_icon {
    transform: scale(1.1) rotate(5deg);
}

.ter_text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    position: relative;
    display: inline-block;
}

.ter_text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.ter_text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: justify;
    margin: 0;
    padding-top: 1rem;
}

/* Sección Cuarta - Áreas de Trabajo */
.cuarta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9ff 0%, var(--bg-white) 100%);
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.carousel-container::before,
.carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(90deg, #f8f9ff 0%, transparent 100%);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(270deg, #f8f9ff 0%, transparent 100%);
}

.areas-carousel {
    display: flex;
    gap: 2rem;
    animation: scroll-infinite 30s linear infinite;
    width: fit-content;
}

/* Pausar animación al hacer hover */
.areas-carousel:hover {
    animation-play-state: paused;
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.area-card {
    min-width: 280px;
    max-width: 280px;
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.area-card:hover::before {
    transform: scaleX(1);
}

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(108, 117, 163, 0.2);
    border-color: var(--secondary-color);
}

.area-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(108, 117, 163, 0.1), rgba(255, 200, 87, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.area-card:hover .area-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(255, 200, 87, 0.2), rgba(108, 117, 163, 0.2));
}

.area-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.area-card:hover h3 {
    color: var(--accent-secondary);
}

.area-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Sección Quinta - Equipo de Liderazgo */
.quinta {
    padding: 5rem 0;
    background: var(--bg-light);
    overflow: hidden;
}

.quinta .container {
    gap: 3rem;
}

.quinta .flex_colum {
    flex: 1;
    gap: 2rem;
}

.Quin_Cont_Tex {
    text-align: left;
}

.Quin_Tittle {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.Quin_Tittle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.Quin_Text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: justify;
    margin-top: 1.5rem;
}

.Quin_Image {
    flex: 1;
    min-height: 600px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Quin_Image::before {
    content: 'Imagen del Equipo';
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Carrusel de Líderes */
.Quin_Cards {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    padding: 2rem 0;
}

.leaders-track {
    display: flex;
    width: 500%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.leader-slide {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.leader-card-content {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.leader-card-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(58, 63, 114, 0.2);
    border-color: var(--secondary-color);
}

/* CEO Card - Destacada */
.ceo-slide .leader-card-content {
    background: linear-gradient(135deg, #fff9e6 0%, #fffaf0 100%);
    border-color: var(--accent-color);
    box-shadow: 0 15px 45px rgba(255, 200, 87, 0.25);
}

.ceo-slide .leader-card-content:hover {
    box-shadow: 0 20px 55px rgba(255, 200, 87, 0.4);
    border-color: var(--accent-secondary);
}

.leader-photo-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(108, 117, 163, 0.15), rgba(58, 63, 114, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.ceo-slide .leader-photo-circle {
    background: linear-gradient(135deg, rgba(255, 200, 87, 0.25), rgba(255, 159, 28, 0.25));
    box-shadow: 0 8px 25px rgba(255, 200, 87, 0.35);
}

.leader-card-content:hover .leader-photo-circle {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.leader-card-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.ceo-slide .leader-card-content h3 {
    color: var(--text-dark);
}

.leader-card-content:hover h3 {
    color: var(--accent-secondary);
}

.leader-role {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.ceo-slide .leader-role {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.leader-stars {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin: 1rem 0;
    letter-spacing: 3px;
}

.leader-bio {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    text-align: center;
}

/* Indicadores del carrusel de líderes */
.leaders-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.leader-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(108, 117, 163, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.leader-indicator:hover {
    background: rgba(108, 117, 163, 0.6);
    transform: scale(1.2);
}

.leader-indicator.active {
    background: var(--accent-color);
    border-color: var(--primary-color);
    transform: scale(1.3);
}

.team-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.leaders-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.leaders-carousel-container::before,
.leaders-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.leaders-carousel-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-white) 0%, transparent 100%);
}

.leaders-carousel-container::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-white) 0%, transparent 100%);
}

.leaders-carousel {
    display: flex;
    gap: 2.5rem;
    animation: scroll-leaders 35s linear infinite;
    width: fit-content;
}

.leaders-carousel:hover {
    animation-play-state: paused;
}

@keyframes scroll-leaders {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.leader-card {
    min-width: 320px;
    max-width: 320px;
    background: linear-gradient(135deg, #f8f9ff 0%, var(--bg-white) 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid #e8e9f3;
    position: relative;
    overflow: hidden;
}

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.leader-card:hover::before {
    transform: scaleX(1);
}

.leader-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(108, 117, 163, 0.25);
    border-color: var(--secondary-color);
}

/* CEO Card - Destacado */
.leader-card.ceo-card {
    background: linear-gradient(135deg, #fff9e6 0%, #fffaf0 100%);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(255, 200, 87, 0.2);
}

.leader-card.ceo-card::before {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
}

.leader-card.ceo-card:hover {
    box-shadow: 0 20px 50px rgba(255, 200, 87, 0.35);
    border-color: var(--accent-secondary);
}

.leader-photo {
    margin: 0 auto 1.5rem;
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(108, 117, 163, 0.1), rgba(58, 63, 114, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.leader-card.ceo-card .photo-placeholder {
    background: linear-gradient(135deg, rgba(255, 200, 87, 0.2), rgba(255, 159, 28, 0.2));
    box-shadow: 0 5px 20px rgba(255, 200, 87, 0.3);
}

.leader-card:hover .photo-placeholder {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Cuando agregues fotos reales */
.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.leader-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.leader-card.ceo-card h3 {
    color: var(--text-dark);
}

.leader-card:hover h3 {
    color: var(--accent-secondary);
}

.leader-position {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.leader-card.ceo-card .leader-position {
    color: var(--accent-color);
    font-weight: 700;
}

.leader-stars {
    margin: 1rem 0;
    font-size: 1.2rem;
}

.leader-stars span {
    margin: 0 2px;
}

.leader-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d3259 100%);
    color: var(--text-light);
    padding: 4rem 0 0;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
}

.footer-logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 200, 87, 0.3);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--accent-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        height: 45px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .carousel {
        height: 400px;
    }

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

    .slide-content p {
        font-size: 1.2rem;
    }

    .project-intro {
        padding: 2rem;
    }

    .intro-icon {
        width: 60px;
        height: 60px;
    }

    .intro-icon svg {
        width: 60px;
        height: 60px;
    }

    .project-intro p {
        font-size: 1rem;
        text-align: left;
    }

    .project-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-item {
        padding: 2rem 1.5rem;
    }

    .tercera .flex_colum {
        gap: 2.5rem;
    }

    .ter_cont1,
    .ter_cont2 {
        flex-direction: column;
        min-height: auto;
        gap: 0;
    }

    .ter_image {
        width: 100%;
        min-height: 300px;
    }

    .ter_text {
        padding: 2.5rem 2rem;
    }

    .ter_text h2 {
        font-size: 2rem;
    }

    .ter_text p {
        font-size: 1rem;
    }

    .ter_icon {
        width: 60px;
        height: 60px;
    }

    .ter_icon svg {
        width: 50px;
        height: 50px;
    }

    .carousel-container::before,
    .carousel-container::after {
        width: 50px;
    }

    .areas-carousel {
        gap: 1.5rem;
    }

    .area-card {
        min-width: 240px;
        max-width: 240px;
        padding: 2rem 1.5rem;
    }

    .area-icon {
        width: 70px;
        height: 70px;
    }

    .area-card h3 {
        font-size: 1.2rem;
    }

    .area-card p {
        font-size: 0.95rem;
    }

    /* Quinta sección responsive */
    .quinta .container {
        flex-direction: column;
    }

    .Quin_Image {
        min-height: 400px;
    }

    .Quin_Tittle {
        font-size: 2rem;
    }

    .Quin_Text {
        font-size: 1rem;
    }

    .leader-card-content {
        padding: 2.5rem 2rem;
    }

    .leader-photo-circle {
        width: 100px;
        height: 100px;
    }

    .leader-photo-circle svg {
        width: 70px;
        height: 70px;
    }

    .leader-card-content h3 {
        font-size: 1.4rem;
    }

    .leader-role {
        font-size: 1rem;
    }

    .leader-stars {
        font-size: 1.2rem;
    }

    .leader-bio {
        font-size: 0.95rem;
    }

    .team-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
    }

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

    .leaders-carousel-container::before,
    .leaders-carousel-container::after {
        width: 50px;
    }

    .leaders-carousel {
        gap: 2rem;
    }

    .leader-card {
        min-width: 280px;
        max-width: 280px;
        padding: 2rem 1.5rem;
    }

    .photo-placeholder {
        width: 100px;
        height: 100px;
    }

    .photo-placeholder svg {
        width: 70px;
        height: 70px;
    }

    .leader-card h3 {
        font-size: 1.2rem;
    }

    .leader-position {
        font-size: 1rem;
    }

    .leader-description {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 3rem;
        margin-top: 80px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-bottom-content {
        margin-bottom: 60px;
        padding: 1.5rem;
        max-width: 90%;
    }

    .mission-content {
        grid-template-columns: 1fr;
    }

    .rover-placeholder {
        width: 300px;
        height: 300px;
    }

    .rover-icon {
        font-size: 6rem;
    }

    .mission-stats {
        justify-content: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

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

    .leaders-grid {
        flex-direction: column;
        align-items: center;
    }

    .leader-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
    }

    .leader-card.ceo-card {
        order: -1;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

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

    .timeline-item {
        margin-left: 0.5rem;
    }

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

@media (max-width: 480px) {
    .logo {
        height: 40px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .carousel {
        height: 300px;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

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

    .carousel-indicators {
        bottom: 15px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .project-intro {
        padding: 1.5rem;
    }

    .intro-icon {
        width: 50px;
        height: 50px;
    }

    .intro-icon svg {
        width: 50px;
        height: 50px;
    }

    .project-intro p {
        font-size: 0.95rem;
    }

    .feature-number {
        font-size: 2.5rem;
    }

    .feature-item h3 {
        font-size: 1.3rem;
    }

    .feature-item p {
        font-size: 0.95rem;
    }

    .tercera .flex_colum {
        gap: 2rem;
    }

    .ter_image {
        min-height: 250px;
    }

    .ter_text {
        padding: 2rem 1.5rem;
    }

    .ter_text h2 {
        font-size: 1.8rem;
    }

    .ter_text p {
        font-size: 0.95rem;
    }

    .ter_icon {
        width: 50px;
        height: 50px;
    }

    .ter_icon svg {
        width: 40px;
        height: 40px;
    }

    .carousel-container::before,
    .carousel-container::after {
        width: 30px;
    }

    .areas-carousel {
        gap: 1rem;
        animation: scroll-infinite 20s linear infinite;
    }

    .area-card {
        min-width: 220px;
        max-width: 220px;
        padding: 1.5rem 1rem;
    }

    .area-icon {
        width: 60px;
        height: 60px;
    }

    .area-icon svg {
        width: 45px;
        height: 45px;
    }

    .area-card h3 {
        font-size: 1.1rem;
    }

    .area-card p {
        font-size: 0.9rem;
    }

    /* Quinta sección responsive mobile */
    .Quin_Image {
        min-height: 300px;
    }

    .Quin_Tittle {
        font-size: 1.8rem;
    }

    .Quin_Text {
        font-size: 0.95rem;
    }

    .leader-card-content {
        padding: 2rem 1.5rem;
        max-width: 350px;
    }

    .leader-photo-circle {
        width: 90px;
        height: 90px;
    }

    .leader-photo-circle svg {
        width: 60px;
        height: 60px;
    }

    .leader-card-content h3 {
        font-size: 1.2rem;
    }

    .leader-role {
        font-size: 0.95rem;
    }

    .leader-stars {
        font-size: 1.1rem;
    }

    .leader-bio {
        font-size: 0.9rem;
    }

    .team-intro {
        font-size: 0.95rem;
    }

    /* Footer responsive mobile */
    .footer {
        padding: 3rem 0 0;
        margin-top: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section:first-child {
        grid-column: 1;
    }

    .footer-logo-img {
        height: 40px;
    }

    .footer-logo h3 {
        font-size: 1.5rem;
    }

    .footer-description {
        font-size: 0.9rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-bottom {
        padding: 1.5rem 0;
    }

    .leaders-carousel-container::before,
    .leaders-carousel-container::after {
        width: 30px;
    }

    .leaders-carousel {
        gap: 1.5rem;
        animation: scroll-leaders 25s linear infinite;
    }

    .leader-card {
        min-width: 260px;
        max-width: 260px;
        padding: 1.5rem 1rem;
    }

    .photo-placeholder {
        width: 90px;
        height: 90px;
    }

    .photo-placeholder svg {
        width: 60px;
        height: 60px;
    }

    .leader-card h3 {
        font-size: 1.1rem;
    }

    .leader-position {
        font-size: 0.95rem;
    }

    .leader-stars {
        font-size: 1rem;
    }

    .leader-description {
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-top: 70px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-bottom-content {
        padding: 1rem;
        margin-bottom: 40px;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .mission-card {
        padding: 2rem 1.5rem;
    }

    .mission-icon {
        font-size: 3rem;
    }

    .mission-card h4 {
        font-size: 1.1rem;
    }

    .leader-card {
        padding: 2rem 1.5rem;
    }

    .leader-avatar {
        width: 80px;
        height: 80px;
    }

    .avatar-icon {
        font-size: 2.5rem;
    }

    .leader-name {
        font-size: 1.2rem;
    }

    .leader-role {
        font-size: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .social-links {
        flex-wrap: wrap;
    }
}