/* Reset básico y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Prompt", sans-serif;
    font-weight: 400;
    color: #000;
    line-height: 1.6;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Kdam Thmor Pro", sans-serif;
    font-weight: 400;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: #0057b8;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: #0057b8;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 87, 184, 0.4);
}

.btn-primary:hover {
    background-color: #004499;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 87, 184, 0.5);
}

.btn-secondary {
    background-color: #fff;
    color: #0057b8;
    border: 2px solid #0057b8;
}

.btn-secondary:hover {
    background-color: #0057b8;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 87, 184, 0.3);
}

/* Encabezado y navegación */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.main-logo {
    height: 50px;
    width: auto;
}
.main-logo-g {
    height: 100px;
    width: auto;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    position: relative;
    padding: 5px 0;
    font-weight: 500;
    color: #000;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0057b8;
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

/* Sección Hero */
.hero {
    position: relative;
    height: 75vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 87, 184, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0 50 L100 50 M50 0 L50 100" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    background-size: cover, 20px 20px;
    color: white;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    text-align: center;
    align-items: center;
    justify-content: center;
    align-content: center;
    justify-items: center;
    margin: 0 auto;
    padding-bottom: 100px;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-style: italic;
}

.description {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* Sección de servicios */
.services {
    background-color: #fff;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 87, 184, 0.1);
    border-bottom: 3px solid #0057b8;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #0057b8;
}

/* Sección de experiencia */
.experience {
    background-color: #f8f9fa;
}

.experience-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.experience-text {
    max-width: 800px;
    text-align: center;
}

.highlight {
    color: #0057b8;
    font-weight: 700;
}

.experience-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.experience-section {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #0057b8;
}

.experience-section h3 {
    color: #0057b8;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 150px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #0057b8;
    font-family: "Kdam Thmor Pro", sans-serif;
}

.stat-text {
    font-size: 1rem;
    color: #555;
}

/* Sección de colaboraciones */
.collaborations {
    background-color: #fff;
}

.collaboration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.collaboration-info {
    text-align: center;
    max-width: 800px;
}

.genealogy-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
}

.parent-companies {
    display: flex;
    justify-content: center;
    gap: 150px;
    margin-bottom: 20px;
}

.tree-connector {
    position: relative;
    height: 80px;
    width: 300px;
    margin: 10px 0;
}

.horizontal-line {
    position: absolute;
    background-color: #0057b8;
    height: 3px;
}

.horizontal-line.top {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.horizontal-line.bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
}

.vertical-line {
    position: absolute;
    background-color: #0057b8;
    width: 3px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.child-product {
    margin-top: 20px;
}

.collaboration-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.partner-logo {
    text-align: center;
}

.partner-img, .product-img {
    height: 80px;
    width: auto;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.product-img {
    height: 100px;
}

.partner-logo:hover img {
    transform: scale(1.1);
}

.genealogy-tree:hover .horizontal-line,
.genealogy-tree:hover .vertical-line {
    background-color: #004499;
    box-shadow: 0 0 10px rgba(0, 87, 184, 0.5);
}

.plus-sign, .equals-sign {
    font-size: 2rem;
    font-weight: bold;
    color: #0057b8;
    padding-bottom: 40px;
}

/* Sección de contacto */
.contact {
    background-color: #f8f9fa;
    text-align: center;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    font-size: 1.5rem;
    color: #0057b8;
}

/* Footer */
footer {
    background-color: #000;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-img {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links ul li a:hover {
    color: #0057b8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #0057b8;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Efectos visuales y animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logoBack{
    padding: 30px 20px 30px 20px;
    margin-bottom: 30px;
    border-radius: 50vw;
    width: fit-content;
    /* background-color: white; */
}

.logoBack img {
    -webkit-filter: drop-shadow( 1px 1px 23px rgba(255, 255, 255, 0.7))
    drop-shadow( 1px -1px 23px rgba(255, 255, 255, 0.7))
    drop-shadow( -1px -1px 23px rgba(255, 255, 255, 0.7))
    drop-shadow( -1px 1px 23px rgba(255, 255, 255, 0.7));
    filter: drop-shadow( 1px 1px 23px rgba(255, 255, 255, 0.7))
    drop-shadow( 1px -1px 23px rgba(255, 255, 255, 0.7))
    drop-shadow( -1px -1px 23px rgba(255, 255, 255, 0.7))
    drop-shadow( -1px 1px 23px rgba(255, 255, 255, 0.7));
}

.hero-content .logoBack, .hero-content .subtitle, .hero-content .description, .hero-content .btn {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

.hero-content .subtitle {
    animation-delay: 0.2s;
}

.hero-content .description {
    animation-delay: 0.4s;
}

.hero-content .btn {
    animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .collaboration-item {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        align-items: center;
    }

    .experience-sections {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .parent-companies {
        gap: 80px;
    }

    .tree-connector {
        width: 200px;
    }

    .collaboration-item {
        flex-direction: column;
    }

    nav ul {
        display: none;
    }
}
