/* --- Estilos Específicos para Proyectos --- */

/* Hero Section con Overlay Oscuro para legibilidad */
.hero-proyectos {
    background-image: url('../images/imagen_banner.png'); /* Usa tu banner existente */
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-overlay {
    background: rgba(0, 90, 156, 0.85); /* Capa azul semitransparente sobre la imagen */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    padding: 0 20px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    padding: 0 20px;
}

.btn-cta {
    background-color: #FFC107;
    color: #003366;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.btn-cta:hover {
    background-color: #ffca2c;
    transform: translateY(-3px);
}

/* Galería de Proyectos */
.galeria-proyectos {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.2rem;
}

.grid-proyectos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-proyecto {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.card-proyecto:hover {
    transform: translateY(-10px);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #e9ecef; /* Color de fondo si no carga la imagen */
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    color: #005A9C;
    margin: 15px 0 10px;
    font-size: 1.4rem;
}

.card-body p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Etiquetas de Carreras (Tags) */
.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.agricola { background-color: #28a745; }
.software { background-color: #6f42c1; }
.economia { background-color: #fd7e14; }
.comunica { background-color: #e83e8c; }
.salud { background-color: #dc3545; }
.diseno { background-color: #17a2b8; }

.colaboradores {
    border-top: 1px solid #eee;
    padding-top: 15px;
    font-size: 0.9rem;
    color: #005A9C;
    font-weight: 600;
}

/* Testimonios */
.testimonios-section {
    padding: 80px 20px;
    background-color: white;
}

.testimonios-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 50px;
}

.testimonios-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonio-card {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-left: 5px solid #FFC107;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonio-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.autor {
    display: flex;
    align-items: center;
    gap: 15px;
}

.autor img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.autor div {
    display: flex;
    flex-direction: column;
}

.autor strong {
    color: #005A9C;
}

.autor span {
    font-size: 0.85rem;
    color: #888;
}

/* CTA Final */
.cta-final {
    background-color: #005A9C;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.btn-white {
    background-color: white;
    color: #005A9C;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    margin-top: 30px;
    transition: transform 0.3s;
}

.btn-white:hover {
    transform: scale(1.05);
    background-color: #f0f0f0;
}