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

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

.header-pc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #111;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.logo-container img {
    max-width: 150px;
    height: auto;
}

.menu-container ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-container ul li {
    margin-left: 30px;
}

.menu-container ul li a {
    color: #fff;
    font-weight: bold;
    padding: 10px;
    transition: color 0.3s;
}

.menu-container ul li a:hover {
    color: #FFD700;
}

@media screen and (max-width: 768px) {
    .header-pc {
        justify-content: center;
        padding: 2px;
        background-color: #111;
    }

    .logo-container img {
        max-width: 150px;
        height: auto;
    }

    .menu-container {
        display: none;
    }
}

.impact-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    background-color: #111;
    margin-top: 70px;
}

.impact-section canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.main-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
}

.main-overlay h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.btn {
    background-color: #FFD700;
    color: #000;
    border: none;
    padding: 12px 24px;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2em;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: #e6c200;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 8px #FFD700;
}

.section-bloc {
    padding: 50px 20px;
    margin: 30px 0;
    background-color: #222;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.section-bloc:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
}

.section-bloc h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #FFD700;
}

.section-bloc p {
    font-size: 1.2em;
    color: #ddd;
    margin: 0 auto;
    max-width: 80%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.service-item {
    position: relative;
    overflow: hidden;
    background-color: #333;
    border-radius: 10px;
    transition: transform 0.5s, box-shadow 0.5s;
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-item:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
}

.service-item .service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-item:hover .service-overlay {
    opacity: 1;
}

.service-item .service-overlay h3 {
    color: #fff;
    font-size: 1.5em;
    text-align: center;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #111;
    color: #fff;
}

@media screen and (max-width: 768px) {
    .impact-section {
        height: 100vh;
    }

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

    .main-overlay h1 {
        font-size: 2em;
    }

    .section-bloc {
        padding: 30px 15px;
    }
}

@media screen and (max-width: 768px) {
    .services-carousel {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        gap: 20px;
        padding: 10px 0;
        scroll-snap-type: x mandatory;
    }

    .service-item {
        min-width: 250px;
        flex-shrink: 0;
        transition: transform 0.5s, box-shadow 0.5s;
        border-radius: 10px;
        scroll-snap-align: start;
    }

    .service-item img {
        width: 100%;
        height: 150px;
        object-fit: cover;
    }

    .services-carousel::-webkit-scrollbar {
        display: none;
    }
}

@media screen and (min-width: 769px) {
    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-top: 40px;
    }

    .service-item {
        transition: transform 0.5s, box-shadow 0.5s;
        border-radius: 10px;
    }

    .service-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .service-item:hover {
        transform: scale(1.05);
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
    }
}

.servicio-contenedor {
    background-color: #222;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.servicio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.texto-servicio {
    flex: 1;
}

.texto-servicio h2 {
    font-size: 2em;
    color: #FFD700;
    margin-bottom: 10px;
}

.texto-servicio p {
    font-size: 1.2em;
    color: #ddd;
    margin-bottom: 10px;
}

.leer-mas {
    background-color: #FFD700;
    color: #000;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.texto-completo {
    display: none;
    margin-top: 10px;
}

.imagen-servicio {
    flex: 1;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.imagen-servicio img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.imagen-servicio:hover img {
    transform: scale(1.05);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
}

.servicio:nth-child(even) {
    flex-direction: row-reverse;
}

@media screen and (max-width: 768px) {
    .servicio {
        flex-direction: column;
    }

    .imagen-servicio {
        order: -1;
        margin-bottom: 20px;
    }
}

.iconos-servicios {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.icono-servicio {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
    flex: 1;
    min-width: 100px;
}

.icono-servicio i {
    font-size: 2em;
    color: #888;
    transition: color 0.3s, transform 0.3s;
}

.icono-servicio p {
    margin-top: 10px;
    font-size: 1em;
    color: #ddd;
}

.icono-servicio:hover i,
.icono-servicio:focus i {
    color: #FFD700;
    transform: scale(1.2);
}

.icono-servicio:hover,
.icono-servicio:focus {
    transform: scale(1.1);
}

@media screen and (max-width: 768px) {
    .iconos-servicios {
        justify-content: center;
    }

    .icono-servicio {
        flex: 0 0 30%;
        margin-bottom: 20px;
    }

    .icono-servicio:nth-last-child(-n+2) {
        flex: 0 0 45%;
    }
}

.cards-container {
    display: flex;
    justify-content: space-between;
    padding: 0 10%;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.card {
    width: 300px;
    height: 200px;
    perspective: 1000px;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.999s;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    padding: 20px;
    box-sizing: border-box;
}

.card-front {
    background-color: #222;
    border: 10px solid #222;
    color: #FFD700;
    transform: rotateY(0deg);
    font-weight: bold;
}

.card-back {
    background-color: rgba(85, 85, 85, 0.9);
    border: 10px;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    overflow-y: auto;
    transform: rotateY(180deg);
}

@media screen and (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        margin-bottom: 20px;
    }
}

.valores-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 80%;
    margin: 40px auto 0;
    text-align: center;
}

.valor-card {
    background-color: rgba(85, 85, 85, 0.9);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.valor-card i {
    font-size: 2em;
    color: #FFD700;
    margin-bottom: 10px;
}

.valor-card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #FFD700;
}

.valor-card p {
    font-size: 0.9em;
    color: #ddd;
}

@media screen and (max-width: 430px) {
    .valor-card {
        font-size: 0.9em;
        padding: 15px;
    }

    .valor-card h3 {
        font-size: 1em;
    }
}

.valores-section {
    background-color: #555;
    border-radius: 10px;
    padding: 20px;
    max-width: 80%;
    margin: 40px auto;
    text-align: center;
}

.sticky-icon {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 20px;
    z-index: 100;
    cursor: pointer;
    font-size: 2.5em;
    color: white;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    background-color: #25D366;
}

.contact-section {
    background-color: #222;
    padding: 40px 20px;
    margin-top: 220px;
    margin-bottom: 50px;
    border-radius: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.form-title {
    font-size: 2em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 10px;
}

.form-description {
    font-size: 1.1em;
    color: #ddd;
    text-align: center;
    margin-bottom: 30px;
}

.contact-form-container {
    background-color: #333;
    padding: 30px;
    border-radius: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-size: 1em;
    color: #FFD700;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
    border: none;
    background-color: #555;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
}

/* Estilo para los botones de archivo */
.file-buttons {
    display: flex;
    justify-content: center; 
    gap: 10px; 
    margin-top: 10px;
}

.file-buttons input[type="file"] {
    padding: 5px 10px;
    font-size: 0.9em;
    border-radius: 5px;
    border: none;
    background-color: #444;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    max-width: 200px; /* Limita el ancho del botón */
}

.file-buttons input[type="file"]:hover {
    background-color: #555;
    transform: scale(1.05);
}

/* Estilo del botón de envío */
.submit-btn {
    background-color: #FFD700;
    color: #000;
    padding: 12px;
    font-size: 1.2em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #fff;
    color: #000;
}

@media screen and (max-width: 768px) {
    .contact-section {
        padding: 20px 10px;
        margin-top: 220px;
        margin-bottom: 50px;
    }

    .form-title {
        font-size: 1.8em;
    }

    .form-description {
        font-size: 1em;
    }

    .submit-btn {
        width: 100%;
    }
}



.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-right: 20px;
}

.social-icons .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #555;
    border-radius: 50%;
    color: #fff;
    font-size: 35px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icons .icon:hover {
    background-color: #FFD700;
    transform: scale(1.1);
}

.icon.whatsapp {
    background-color: #25D366;
}

.icon.facebook {
    background-color: #3b5998;
}

.icon.contacto {
    background-color: #555;
}

@media screen and (max-width: 768px) {
    .social-icons {
        display: none; 
    }
}

.mobile-sticky-buttons {
    display: none;
}

@media screen and (max-width: 768px) {
    .mobile-sticky-buttons {
        display: flex;
        flex-direction: row;
        position: fixed;
        bottom: 20px;
        right: 20px;
        gap: 15px;
        z-index: 100;
    }

    .mobile-sticky-icon {
        width: 50px;
        height: 50px;
        background-color: #555;
        color: #fff;
        text-align: center;
        line-height: 50px;
        border-radius: 50%;
        font-size: 24px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s, background-color 0.3s;
    }

    .mobile-sticky-icon:hover {
        transform: scale(1.1);
        background-color: #FFD700;
    }

    .whatsapp-mobile {
        background-color: #25D366;
    }

    .facebook-mobile {
        background-color: #3b5998;
    }

    .contacto-mobile {
        background-color: #555;
    }
}

.form-response {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    background-color: #222;
    color: #FFD700;
    display: none;
    text-align: center;
}

.loading-animation {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    background-color: #333;
    color: #FFD700;
    text-align: center;
    display: none;
}

