/* ===== CINCO - Centro de Innovación y Conocimiento ===== */
/* Estilos CSS para la página web corporativa */

/* Reset y Configuración Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* ===== HEADER ===== */
header {
    background: #023047;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(2, 48, 71, 0.3);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.5rem 0;
}

header.scrolled .logo-image {
    height: 50px; /* Reducir de 80px a 50px */
}

header.scrolled .nav-links a {
    padding: 0.3rem 0.8rem;
    font-size: 0.95rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffb703;
}

.logo-image {
    height: 160px; /* Misma altura que tenía el logo-icon */
    width: auto; /* Mantiene las proporciones originales */
    object-fit: contain; /* Asegura que la imagen se ajuste sin distorsión */
    transition: transform 0.3s ease;
    transition: all 0.3s ease;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: #ffb703;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-icon::before {
    content: 'C';
    font-size: 1.8rem;
    font-weight: bold;
    color: #023047;
}

.logo-icon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #023047;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-links a:hover {
    background: rgba(255, 183, 3, 0.2);
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #023047 0%, #014157 50%, #023047 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffb703"><polygon points="0,0 1000,80 1000,100 0,100" opacity="0.1"/></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ffb703, #ffd60a);
    color: #023047;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 183, 3, 0.3);
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 183, 3, 0.4);
    background: linear-gradient(45deg, #ffd60a, #ffb703);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 183, 3, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 183, 3, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffb703;
}

/* ===== VALUE PROPOSITION ===== */
.value-prop {
    padding: 100px 0;
    background: #f8f9ff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e7ff;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #ffb703;
}

/* ===== SERVICES PREVIEW ===== */
.services-preview {
    padding: 100px 0;
    background: white;
}

.service-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.parrafoInt {
    text-align: start;
}

.service-card {
    background: linear-gradient(135deg, #f6f9fc 0%, #ffffff 100%);
    padding: 1.5rem;
    border-radius: 25px;
    text-align: center;
    border: 2px solid #e0e7ff;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #ffb703;
    box-shadow: 0 25px 50px rgba(255, 183, 3, 0.2);
}

.service-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #ffb703;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.mission-vision {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.mission-vision h3 {
    color: #023047;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.values {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.value-item {
    background: linear-gradient(135deg, #023047, #014157);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.value-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #ffb703;
}

.cofounders {
    display: flex;
    justify-content: space-around; /* Espacio entre los bloques */
    margin-top: 2rem; /* Espacio superior */
}

.cofounder {
    width: 45%; /* Ancho de cada bloque */
    text-align: center; /* Centrar texto */
}

.cofounder-image {
    width: 50%; /* Ajustar la imagen al ancho del bloque */
    height: auto; /* Mantener la proporción de la imagen */
    border-radius: 50%; /* Hacer la imagen circular */
    margin-bottom: 1rem; /* Espacio inferior */
}


/* Programs Section */
.programs {
    padding: 100px 0;
    background: white;
}

.program-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-button {
    padding: 1rem 2rem;
    background: #f8f9ff;
    border: 2px solid #e0e7ff;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-button.active,
.tab-button:hover {
    background: linear-gradient(135deg, #023047, #014157);
    color: white;
    border-color: #ffb703;
    box-shadow: 0 5px 20px rgba(2, 48, 71, 0.3);
}

/* Estilos para el contenedor de programas */
.programs-container {
    width: 100%;
}
/* Estilo base para todas las grids */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    transition: all 0.3s ease;
}
/* Clase para ocultar grids */
.program-grid:not(.active) {
    display: none;
}
/* Estilos responsivos */
@media (max-width: 768px) {
    .program-grid {
        grid-template-columns: 1fr;
    }
}


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

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

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

.program-card {
    background: white;
    border: 2px solid #e0e7ff;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.program-card:hover {
    border-color: #ffb703;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 183, 3, 0.15);
}

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

.program-badge {
    background: linear-gradient(135deg, #023047, #014157);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.program-price {
    background: #ffb703;
    color: #023047;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
}

/* Botón circular de WhatsApp */
.wa-icon-button {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background: #25D366;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.wa-icon-button img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.wa-icon-button:hover {
    background: #128C7E;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Animación de pulse opcional */
.wa-icon-button:hover {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6); }
    100% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3); }
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: #ffb703;
    border: 2px solid rgba(255, 183, 3, 0.3);
    color: white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ffb703;
    color: #023047;
    border-color: #ffb703;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 183, 3, 0.3);
}


/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #023047 0%, #014157 100%);
    color: white;
}

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

.testimonial-card {
    background: rgba(255, 183, 3, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 183, 3, 0.2);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffb703, #ffd60a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: #023047;
}

/* Footer Rediseñado */
footer {
    background: #1a1a2e;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: #ffb703;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

/* Sección de Información General */
.footer-section p {
    line-height: 1.8;
    margin-bottom: 0.8rem;
    color: #ccc;
}

.footer-nit {
    font-size: 0.95rem;
}

.footer-address {
    font-size: 0.95rem;
    margin-bottom: 1.5rem !important;
}

/* Redes Sociales */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 183, 3, 0.1);
    border: 1px solid rgba(255, 183, 3, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #ffb703;
}

.social-links a:hover {
    background: #ffb703;
    color: #1a1a2e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 183, 3, 0.3);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* Sección de Contacto */
.contact-info p {
    margin-bottom: 0.5rem;
}


.contact-number, .contact-email {
    font-size: 1.05rem;
    color: white !important;
}

/* Enlaces Rápidos */
.footer-link {
    display: block;
    color: #ccc;
    text-decoration: none;
    padding: 0.5rem 0;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-link:hover {
    color: #ffb703;
    padding-left: 10px;
    border-bottom: 1px solid #ffb703;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-number, .contact-email {
        margin-left: 0;
    }
    
    .footer-link {
        padding: 0.8rem 0;
    }
    
    .footer-link:hover {
        padding-left: 0;
    }
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
.keyboard-navigation *:focus {
    outline: 2px solid #ffb703 !important;
    outline-offset: 2px;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

.mobile-menu-open {
    animation: slideInRight 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        right: 20px;
        background: #023047;
        flex-direction: column;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        min-width: 200px;
    }
}
/* Responsive */
@media (max-width: 768px) {
   
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    .service-areas{
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .services-preview h1{
        font-size: 2rem;
    }
    
    .value-prop h1{
        font-size: 2rem;
    }

    .programs h1{
        font-size: 2rem;
    }

    .program-tabs {
        display: flex;
        flex-direction: column;
    }

    .programs-container{
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
}