/* Estilos Generales - SOLVEXA */
/* Definición de variables para colores corporativos */
:root {
    --solvexa-blue: #003459; /* Azul oscuro para el logo y elementos principales */
    --solvexa-orange: #00a8e8; /* Azul brillante para acentos y elementos destacados */
    --solvexa-green: #007ea7; /* Azul medio para elementos secundarios y checkmarks */
    --solvexa-gray: #00171f; /* Azul muy oscuro para textos secundarios */
    --solvexa-light-gray: #f5f5f5; /* Gris claro para fondos */
    --solvexa-white: #ffffff;
    --solvexa-dark: #00171f; /* Color oscuro para textos principales */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Roboto', sans-serif; /* Cambio a Poppins basado en las imágenes */
    color: var(--solvexa-dark);
    line-height: 1.6;
    background-color: var(--solvexa-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-block-end: 15px;
    color: var(--solvexa-blue);
}

p {
    margin-block-end: 15px;
}

a {
    text-decoration: none;
    color: var(--solvexa-blue);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--solvexa-orange);
}

ul {
    list-style: none;
}

img {
    max-inline-size: 100%;
    block-size: auto;
    display: block;
}

.container {
    inline-size: 100%;
    max-inline-size: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 50px 0;
}

.section-header {
    text-align: center;
    margin-block-end: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--solvexa-blue);
    position: relative;
    padding-block-end: 20px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    inset-block-end: 0;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    inline-size: 60px;
    block-size: 3px;
    background-color: var(--solvexa-orange);
}

.section-header p {
    font-size: 18px;
    color: var(--solvexa-gray);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: lowercase;
}

.btn-primary {
    background-color: var(--solvexa-blue);
    color: var(--solvexa-white);
}

.hero .btn-primary {
    background-color: #00a8e8; /* Color azul aqua */
    color: var(--solvexa-white);
}

.hero .btn-primary:hover {
    background-color: #0076a3; /* Azul aqua más oscuro para hover */
    color: var(--solvexa-white);
}

.btn-primary:hover {
    background-color: var(--solvexa-orange);
    color: var(--solvexa-white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--solvexa-white);
    border: 2px solid var(--solvexa-white);
}

.btn-secondary:hover {
    background-color: var(--solvexa-white);
    color: var(--solvexa-blue);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 14px;
}

.btn-cta {
    background-color: var(--solvexa-orange);
    color: var(--solvexa-white);
    padding: 15px 30px;
    font-size: 18px;
}

.btn-cta:hover {
    background-color: var(--solvexa-blue);
    color: var(--solvexa-white);
}

/* Header y Navegación - SOLVEXA */
header {
    position: fixed;
    inset-block-start: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    background-color: var(--solvexa-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    border-block-end: 3px solid var(--solvexa-blue);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-block-size: 40px;
    inline-size: auto;
}

/* Estilos antiguos del logo que mantenemos por compatibilidad */
.logo h1 {
    font-size: 24px;
    color: var(--solvexa-blue);
    margin: 0;
}

.logo span {
    color: var(--solvexa-orange);
}

.logo-slogan {
    font-size: 12px;
    color: var(--solvexa-gray);
    display: block;
    margin-block-start: -5px;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--solvexa-blue);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    inset-block-end: 0;
    inset-inline-start: 0;
    inline-size: 0;
    block-size: 2px;
    background-color: var(--solvexa-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    inline-size: 100%;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--solvexa-blue);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Clases para aplicar animaciones */
.animate {
    opacity: 0;
}

.animate.fadeIn.animation-active {
    opacity: 1;
    animation: fadeIn 0.8s ease-in-out forwards;
}

.animate.fadeInUp.animation-active {
    opacity: 1;
    animation: fadeInUp 0.8s ease-in-out forwards;
}

/* Los delays se manejan mediante JavaScript */
.animate.delayed {
    animation-play-state: paused;
}

/* Agregar margen superior a los servicios para mejor espaciado */
.service-details {
    margin-block-start: 30px;
}

/* Hero Section - SOLVEXA */
.hero {
    block-size: 100vh;
    background: linear-gradient(135deg, rgba(0,82,155,0.7) 0%, rgba(0,52,89,0.5) 100%), url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center/cover;
    color: var(--solvexa-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1.2s ease;
}

.hero::before {
    content: '';
    position: absolute;
    inset-block-start: 0;
    inset-inline-end: 0;
    inline-size: 40%;
    block-size: 100%;
    background-color: #00a8e8;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    opacity: 0.6;
    z-index: 1;
}

.hero-content {
    max-inline-size: 800px;
    padding: 0 15px;
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-block-end: 20px;
    color: var(--solvexa-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero h2 {
    font-size: 28px;
    font-weight: 500;
    margin-block-end: 15px;
    color: var(--solvexa-white);
    text-align: center;
}

.hero-description {
    font-size: 20px;
    margin-block-end: 25px;
    color: var(--solvexa-white);
    text-align: center;
    max-inline-size: 700px;
    margin-inline-start: auto;
    margin-inline-end: auto;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-buttons {
    display: flex;
    animation: fadeInUp 1s ease 0.9s both;
    justify-content: center;
    gap: 15px;
    margin-block-start: 30px;
}

/* Servicios Section */
/* Servicios Section */
.services-table {
    inline-size: 100%;
    margin-block-start: 50px;
}

.service-card-simple p {
    color: var(--solvexa-gray);
    font-size: 16px;
    line-height: 1.5;
}

.services-table {
    inline-size: 100%;
    margin-block-start: 50px;
}

/* Estilos para la estructura de servicios en tabla */
.services-row {
    display: table;
    inline-size: 100%;
    margin-block-end: 30px;
    table-layout: fixed;
}

.service-column {
    display: table-cell;
    inline-size: 33.333%;
    padding-inline-end: 15px;
    padding-inline-start: 15px;
    vertical-align: top;
}

.service-column:first-child {
    padding-inline-start: 0;
}

.service-column:last-child {
    padding-inline-end: 0;
}

.service-card.invisible {
    opacity: 0;
    visibility: hidden;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
    position: relative;
    text-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: auto;
    margin-block-end: 30px;
    display: flex;
    flex-direction: column;
    border-block-start: 5px solid var(--solvexa-orange);
    cursor: pointer;
}

.service-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    block-size: 100%;
}

.same-height {
    block-size: 630px !important;
    min-block-size: 630px !important;
    max-block-size: 630px !important;
    box-sizing: border-box !important;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.28);
    border-block-start-color: var(--solvexa-green);
}

.service-card .icon {
    inline-size: 70px;
    block-size: 70px;
    background-color: var(--solvexa-orange);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
}

.service-card .icon i {
    font-size: 50px;
    color: var(--solvexa-white);
}

.service-card h3 {
    font-size: 28px;
    margin-block-end: 25px;
    text-align: center;
    color: var(--solvexa-blue);
    font-weight: 600;
}

.more-link {
    display: inline-block;
    margin-block-start: 15px;
    color: var(--solvexa-blue);
    font-weight: 500;
}

.more-link i {
    margin-inline-start: 5px;
    transition: all 0.3s ease;
}

.more-link:hover i {
    transform: translateX(5px);
}

/* Estilos para subservicios */
.subservice {
    margin-block-end: 20px;
    padding-block-end: 15px;
    border-block-end: 1px solid rgba(0,0,0,0.05);
}

.subservice:last-child {
    border-block-end: none;
    padding-block-end: 0;
}

.subservice h4 {
    font-size: 18px;
    font-weight: 600;
    margin-block-end: 8px;
    color: var(--solvexa-blue);
}

.subservice p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--solvexa-gray);
    margin-block-end: 10px;
}

/* Media Queries para servicios responsivos */
@media screen and (max-width: 992px) {
    .services-row {
        display: block;
        margin-block-end: 0;
    }
    
    .service-column {
        display: block;
        inline-size: 100%;
        padding: 0;
        margin-block-end: 30px;
    }
    
    .service-column:last-child.service-column:nth-child(3) {
        display: none;
    }
}

/* Estilos para listas de servicios */
.service-list {
    list-style: none;
    padding: 0;
    margin-block-start: 25px;
    text-align: start;
    font-size: 16px;
}

.service-list li {
    margin-block-end: 15px;
    padding-inline-start: 30px;
    position: relative;
    line-height: 1.5;
}

.service-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 2px;
    color: var(--solvexa-green);
    font-size: 15px;
}

/* Proyectos Section */
.projects {
    background-color: #f9f9f9;
}

.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-block-end: 30px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #00a8e8;
    color: #fff;
    border-color: #00a8e8;
}

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

.project-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-img {
    block-size: 250px;
    overflow: hidden;
}

.project-img img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 20px;
    margin-block-end: 10px;
}

.project-info p {
    margin-block-end: 20px;
    color: #6bbef9;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    margin-block-start: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 36px;
    color: var(--solvexa-blue);
    margin-block-end: 5px;
}

.stat-item p {
    font-size: 16px;
    color: #6bbef9;
}

.about-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Estilos para iconos de contacto */
.contact-info .info-item i,
.office-card i,
footer .info-item i {
    color: var(--solvexa-gray);
    font-size: 22px;
    margin-inline-end: 15px;
    inline-size: 24px;
    text-align: center;
}

/* Estilos para iconos de redes sociales */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 36px;
    block-size: 36px;
    background-color: var(--solvexa-blue);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #007cb2;
}

/* Testimonials Section */
.testimonials {
    background-color: #00171f;
    color: #fff;
}

.testimonials .section-header h2 {
    color: #fff;
}

.testimonials .section-header p {
    color: #6bbef9;
}

.testimonials-slider {
    display: flex;

    .quote {
        position: absolute;
        inset-block-start: 20px;
        inset-inline-start: 20px;
        color: rgba(255, 255, 255, 0.2);
        font-size: 30px;
    }

    .testimonial-card p {
        font-style: italic;
        margin: 30px 0;
    }
    inset-block-start: 20px;
    inset-inline-start: 20px;
    color: rgba(255, 255, 255, 0.2);
    font-size: 30px;
}

.testimonial-card p {
    font-style: italic;
    margin: 30px 0;
}

.client-info h4 {
    font-size: 18px;
    margin-block-end: 5px;
}

.client-info p {
    font-size: 14px;
    margin: 0;
    color: #6bbef9;
}

/* Contact Section */
.contact {
    background-color: #f9f9f9;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    margin-block-end: 30px;
}

.contact-info .info-item i {
    font-size: 24px;
    color: var(--solvexa-blue);
    margin-inline-end: 20px;
    margin-block-start: 5px;
}

.contact-info .info-item h4 {
    font-size: 18px;
    margin-block-end: 5px;
}

.contact-info .info-item p {
    color: #6bbef9;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-block-start: 30px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    inline-size: 40px;
    block-size: 40px;
    background-color: #00a8e8;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #007ea7;
    transform: translateY(-3px);
}

.contact-form .form-group {
    margin-block-end: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    inline-size: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.contact-form textarea {
    block-size: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00a8e8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?ixlib=rb-1.2.1&auto=format&fit=crop&w=2100&q=80') no-repeat center center/cover;
    text-align: center;
    color: #fff !important;
    padding: 100px 0;
}

.cta-section h2 {
    color: #00a8e8 !important;
    -webkit-text-fill-color: #00a8e8 !important;
    font-size: 36px !important;
    margin-block-end: 20px !important;
    text-shadow: none !important;
}

.cta-section h2, .white-text {
    font-size: 36px !important;
    margin-block-end: 20px !important;
    color: #ffffff !important;
}

.cta-section h2 {
    color: #ffffff !important;
}

.cta-section p {
    font-size: 18px;
    margin-block-end: 35px;
}

/* Footer */
footer {
    background-color: #00171f;
    color: #fff;
    padding-block-start: 70px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-block-end: 40px;
}

.footer-img-logo {
    max-width: 160px;
    height: auto;
    margin-bottom: 15px;
}

.footer-logo h2 {
    color: var(--solvexa-green);
    margin-block-end: 20px;
}

.footer-logo p {
    color: var(--solvexa-orange);
}

footer h3 {
    font-size: 18px;
    margin-block-end: 20px;
    color: #fff;
}

footer ul li {
    margin-block-end: 12px;
}

footer ul li a {
    color: #6bbef9;
    transition: all 0.3s ease;
}

footer ul li a:hover {
    color: #00a8e8;
    padding-inline-start: 5px;
}

.footer-newsletter p {
    color: #6bbef9;
    margin-block-end: 20px;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.footer-newsletter button {
    background-color: #00a8e8;
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-newsletter button:hover {
    background-color: #007ea7;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-block-start: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #6bbef9;
    margin: 0;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 42px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-img {
        order: -1;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Service Details Section - Nueva maquetación */
.service-details {
    padding: 0;
    margin: 0;
}

.service-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-block-end: 0;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-text {
    flex: 1;
    padding: 5rem;
    min-inline-size: 300px;
}

.service-image {
    flex: 1;
    min-inline-size: 300px;
    block-size: 500px; /* Altura fija para todas las imágenes */
}

.service-image img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    display: block;
}

.service-icon {
    background-color: var(--solvexa-orange);
    color: white;
    inline-size: 70px;
    block-size: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-block-end: 0.5rem;
    margin-block-start: 3.5rem;
}

.service-icon i {
    font-size: 30px;
}

.service-text h3 {
    font-size: 28px;
    color: var(--solvexa-blue);
    margin-block-start: 0;
    margin-block-end: 0.5rem;
}

.service-text p {
    margin-block-end: 1.5rem;
    line-height: 1.6;
    color: var(--solvexa-dark);
}

.service-text .btn {
    margin-block-start: 1rem;
}

@media (max-width: 992px) {
    .service-row, .service-row.reverse {
        flex-direction: column;
    }
    
    .service-text {
        padding: 3rem;
        order: 2;
    }
    
    .service-image {
        inline-size: 100%;
        order: 1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content h2 {
        font-size: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 30px;
    }
    
    .testimonials-slider {
        display: block;
    }
    
    .testimonial-card {
        margin-block-end: 30px;
        max-inline-size: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Estilos para los contadores de estadísticas */
.stats-container {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
    text-align: center;
}

.stat-item h3 {
    font-size: 42px;
    font-weight: 700;
    color: var(--solvexa-orange); /* Usar el nuevo color azul brillante */
    margin-block-end: 10px;
}

.stat-item p {
    font-size: 16px;
    color: var(--solvexa-gray);
}

/* Estilos para Philosophy Box - SOLVEXA */
.philosophy-box {
    margin: 40px 0;
    padding: 30px;
    background-color: rgba(10, 29, 105, 0.05);
    border-inline-start: 4px solid var(--solvexa-blue);
    border-radius: 6px;
}

.philosophy-box p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.philosophy-box .tagline {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--solvexa-blue);
    margin-block-start: 20px;
}

.mt-4 {
    margin-block-start: 30px;
}

/* Botón flotante de WhatsApp */
.whatsapp-btn {
    position: fixed;
    inset-block-end: 30px;
    inset-inline-end: 30px;
    background-color: #007ea7;
    color: white;
    border-radius: 50%;
    inline-size: 60px;
    block-size: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-decoration: none;
    font-size: 30px;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Animación de salto para el botón de WhatsApp */
@keyframes jump {
    0% { transform: translateY(0); }
    20% { transform: translateY(-15px); }
    40% { transform: translateY(0); }
    60% { transform: translateY(-8px); }
    80% { transform: translateY(0); }
    100% { transform: translateY(0); }
}

.jump {
    animation: jump 1s ease;
}

/* Estilos específicos para la página Nosotros */

/* Animaciones para nosotros.html */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate {
    opacity: 0;
}

.animation-active {
    animation: fadeIn 1s forwards;
}

/* Estilos de la sección Nosotros */
.section-title {
    font-size: 40px;
    font-weight: 700;
    color: #0a375f;
    margin-bottom: 15px;
    text-align: center;
    width: 100%;
    display: block;
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: #0099cc;
    margin: 0 auto 20px;
    display: block;
}

.section-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
    text-align: center;
    width: 100%;
    display: block;
}

/* Sección Historia */
.historia-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.historia-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.historia-text {
    flex: 1;
}

.historia-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15); /* Sombra más pronunciada */
}

.historia-image img {
    width: 100%;
    height: auto;
    display: block;
}

.solvexa-title {
    font-size: 28px;
    font-weight: 700;
    color: #0099cc; /* Color azul aqua de SOLVEXA */
    margin-bottom: 20px;
}

.historia-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
    color: #333; /* Texto más oscuro para mejor legibilidad */
    font-family: 'Poppins', sans-serif;
}

.pilares-list {
    list-style: none;
    padding-left: 0;
    margin-top: 30px;
}

.pilares-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.pilares-list li:before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #0099cc; /* Color azul aqua de SOLVEXA */
}

.quote-box {
    background-color: rgba(0, 153, 204, 0.05); /* Fondo azul muy sutil */
    padding: 40px;
    border-left: 5px solid #0099cc; /* Color azul aqua de SOLVEXA */
    border-radius: 0 8px 8px 0;
    margin: 40px 0;
    font-style: italic;
    box-shadow: 0 5px 20px rgba(0, 153, 204, 0.1); /* Sombra sutil del color corporativo */
}

.quote-box p:last-child {
    font-weight: 600;
    margin-bottom: 0;
}

.mision-section {
    background-color: #f0f8fa; /* Azul muy claro para contraste con la marca */
    padding: 100px 0;
}

/* Estilos para la sección de Identidad Corporativa */
.identidad-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.identidad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.identidad-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 153, 204, 0.1);
    transition: transform 0.3s ease;
}

.identidad-card p {
    text-align: justify;
}

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

.identidad-card-title {
    color: #0099cc;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.valores-section {
    margin-top: 50px;
}

.valores-title {
    color: #0a375f;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.valor-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 153, 204, 0.08);
    position: relative;
    padding-top: 50px;
    transition: transform 0.3s ease;
}

.valor-card p {
    text-align: justify;
}

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

.valor-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: #0099cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.valor-title {
    color: #0099cc;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.mision-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mision-title {
    font-size: 36px;
    font-weight: 700;
    color: #0099cc; /* Color azul aqua de SOLVEXA */
    margin-bottom: 20px;
}

/* Estilos para la información de contacto en la cabecera */
.contact-info-header {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 25px;
    margin-bottom: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 153, 204, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 153, 204, 0.2);
}

.contact-method i {
    color: #0099cc;
    font-size: 20px;
    margin-right: 10px;
}

.contact-method a, 
.contact-method span {
    color: #333;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
}

.contact-method a:hover {
    color: #0099cc;
}

/* Media Queries para la página Nosotros */
@media (max-width: 992px) {
    .historia-container {
        flex-direction: column;
    }
    
    .historia-text, .historia-image {
        width: 100%;
    }
    
    .historia-image {
        order: 0;
        margin-bottom: 30px;
    }
    
    .identidad-grid {
        grid-template-columns: 1fr;
    }
    
    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .valores-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilos para la página de contacto */
.contact-margin {
    margin-top: 4%;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 50px;
    justify-content: space-between;
}

.contact-form-container {
    flex: 0 0 50%;
    width: 50%;
    box-sizing: border-box;
}

.contact-image {
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-image img {
    width: 100%;
    max-height: 675px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 153, 204, 0.3);
    transition: transform 0.3s ease;
}

.contact-image img:hover {
    transform: scale(1.02);
}

.contact-form {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group.full-width {
    width: 100%;
    flex-basis: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.form-group .required {
    color: #0099cc;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

.form-group select {
    background-color: white;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path d="M0 0l6 6 6-6z" fill="%23666"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background-color: #0099cc;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #0a375f;
}

@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
}