body {
    margin: 0;
    font-family: Arial, sans-serif;
}
*,*::before, *::after{
    box-sizing: border-box;
}

/* ****HEADEAR**** */
.header {
    height: 100vh;
    background-color: #004040;
    cursor: url('../images/cursor.cur'), auto;
}
.mitad {
    background: linear-gradient(180deg, #3C8376, #004040);
    width: 50%;
    height: 45vh;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #53C0BD, #004040);
    padding: 4vh 5vh 30vh 5vh;
}
.logo img {
    width: 70%;
}
.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
.nav-links li {
    margin: 0 5px;
}
.nav-links a {
    text-decoration: none;
    color: #fff;
    padding: 5px;
}
.nav-links a:hover {
    border-bottom: 5px solid #EE7D00;
}
.contact-link {
    border: 1px solid #fff;
    border-radius: 17px;
}
.contact-link:hover {
    background-color: #EE7D00;
    border: none;
}
.header .gif {
    text-align: center;
    margin-top: -52.5vh;
}
.header .gif img{
    width: 8%;
}
.frase-central {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    z-index: 2;
    width: 90%;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.frase-central .palabra-activa {
    color: #EE7D00;
    transition: opacity 0.3s ease-in-out;
}
.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}
.scroll-down img {
    width: 45px;
    height: auto;
}

/* Animación tipo rebote */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ***HOME*** */
.carousel-container {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin: 20px;
}
.carousel {
    display: flex;
    scroll-snap-type: x mandatory;
    overflow-x: scroll;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}
.arrow {
    background-color: transparent;
    color: #EE7D00;
    border: none;
    border-radius: 100%;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.arrow:hover{
    background-color: #EE7D00;
    color: #fff;
}
.left-arrow {
    left: 10px;
}.right-arrow {
    right: 10px;
  }
/* Estilo de cada tarjeta */
.card {
    flex: 0 0 80%;
    scroll-snap-align: start;
    max-width: 400px;
    margin: 10px;
    background-color: #004040;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}
.card2 {
    max-width: 400px;
    margin: 10px;
    background-color: #054261;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    scroll-snap-align: start;
    flex-shrink: 0;
}
.card3 {
    max-width: 400px;
    margin: 10px;
    background-color: #CB6C36;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    scroll-snap-align: start;
    flex-shrink: 0;
}
.card4 {
    max-width: 400px;
    margin: 10px;
    background-color: #403C5D;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    scroll-snap-align: start;
    flex-shrink: 0;
}
.card5 {
    max-width: 400px;
    margin: 10px;
    background-color: #006440;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    scroll-snap-align: start;
    flex-shrink: 0;
}
.card6 {
    max-width: 400px;
    margin: 10px;
    background-color: #202E63;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    scroll-snap-align: start;
    flex-shrink: 0;
}
.card7 {
    max-width: 400px;
    margin: 10px;
    background-color: #3BB3C3;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    scroll-snap-align: start;
    flex-shrink: 0;
}
.card8 {
    max-width: 400px;
    margin: 10px;
    background-color: #003480;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    scroll-snap-align: start;
    flex-shrink: 0;
}
.card9 {
    max-width: 400px;
    margin: 10px;
    background-color: #F8C301;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    scroll-snap-align: start;
    flex-shrink: 0;
}
.card img {
    width: 300px;
}
.card2 img {
    width: 250px;
    padding: 10px 0 10px 0;
}
.card3 img {
    width: 300px;
    padding: 10px 0 10px 0;
}
.card4 img {
    width: 300px;
    padding: 16px 0 16px 0;
}
.card5 img {
    width: 270px;
    padding: 5px 0 3px 0;
}
.card6 img {
    width: 270px;
    padding: 5px 0 10px 0;
}
.card7 img {
    width: 280px;
    padding: 5px 0 10px 0;
}
.card8 img {
    width: 130px;
    padding: 5px 0 3px 0;
} 
.card9 img {
    width: 370px;
    margin: 0 10px 0 20px;
}
.esquema {
    text-align: center;
}
.esquema img{
    width: 75%;
    margin: 30px;
}
/* text slider */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background-color: #EE7D00;
    height: 32px;
    display: flex;
    align-items: center;
    position: relative;
}
.marquee-text {
    display: inline-block;
    white-space: nowrap;
    color: #fff;
    font-size: 16px; 
    animation: marquee 20s linear infinite;
}
@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* ***NOSOTROS*** */
.about-us {
    padding: 50px 20px;
    background-color: #f0f8f8;
}
.about-us-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.about-text {
    flex: 1;
    padding: 20px;
}
.about-text h2 {
    color: #004040;
    margin-bottom: 20px;
}
.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.about-cards {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    flex-wrap: wrap;
}
.cardN {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 10px;
    text-align: center;
    flex: 1 1 30%; 
    transition: transform 0.3s;
}
.cardN img {
    width: 60px; 
    margin-bottom: 10px;
}
.cardN h3 {
    color: #004040;
    margin: 10px 0;
}
.cardN p {
    color: #333;
}
.cardN:hover {
    transform: translateY(-5px);
}
h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #004040;
}
/*.about-us {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    min-height: 100vh;*/
/*    padding: 50px 20px;*/
/*}*/
/*.about-us-container {*/
/*    display: flex;*/
/*    max-width: 1200px;*/
/*    background-color: #fff;*/
/*    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);*/
/*    border-radius: 10px;*/
/*    overflow: hidden;*/
/*}*/
/*.about-image {*/
/*    flex: 1;*/
/*}*/
/*.about-image img {*/
/*    width: 100%;*/
/*    object-fit: cover;*/
/*    transition: transform 0.5s ease;*/
/*}*/
/*.about-text {*/
/*    flex: 1;*/
/*    padding: 40px;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*}*/
/*.about-text h2 {*/
/*    color: #004040;*/
/*    margin-bottom: 20px;*/
/*}*/
/*button.toggle-text {*/
/*    padding: 3px 7px;*/
/*    background-color: white;*/
/*    border: 1px solid #004040;*/
/*    border-radius: 20px;*/
/*    cursor: pointer;*/
/*    transition: background-color 0.3s ease;*/
/*}*/
/*button.toggle-text:hover {*/
/*    background-color: #004040;*/
/*    color: white;*/
/*}*/
/* Slider de clientes */
.slider-container2 {
    overflow: hidden;
    padding: 20px 0;
}
.slider {
    display: flex;
    align-items: center;
}
.slide-track {
    display: flex;
    width: calc(250px * 8);
    animation: scroll 18s linear infinite;
}
.slide {
    width: 250px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
.slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
/* Animación del slider */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 4));
    }
}
/*TESTIMONIOS*/
.testimonios {
    /* max-width: 1200px; */
    margin: 40px auto 80px;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
.testimonio {
    position: relative;
    border: 1.5px solid #006440;
    border-radius: 25px 25px 25px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 28px 36px 36px;
    width: 350px;
    font-family: 'Georgia', serif;
    font-size: 15px;
    line-height: 1.5;
    color: #003333;
    font-style: normal;
}
.testimonio::before {
    content: "“";
    position: absolute;
    top: 16px;
    left: 20px;
    font-size: 15px;
    color: #e0f2f1;
    font-family: serif;
    font-weight: 900;
    user-select: none;
    pointer-events: none;
}
.testimonio p {
    margin: 0;
    padding-left: 14px;
    z-index: 1;
    position: relative;
    font-style: italic;
    color: #006440;
}
.testimonio h4 {
    margin-top: 18px;
    text-align: right;
    font-weight: 500;
    font-style: normal;
    color: #006440;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
}
.testimonio:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: none;
    cursor: default;
}

/* Adaptación móvil: tarjetas en columna, tamaño ajustado */
@media (max-width: 768px) {
    .testimonios {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin: 30px 10px 60px;
    }
    .testimonio {
        width: 90%;
        border-radius: 18px 18px 18px 8px;
        padding: 24px 28px 28px;
        font-size: 1rem;
    }
    .testimonio::before {
        font-size: 4.5rem;
        top: 12px;
        left: 14px;
    }
    .testimonio::after {
        width: 14px;
        height: 14px;
        bottom: 12px;
        left: 14px;
    }
    .about-us-container {
        display: block;
    }
}

/* **CONTACTO** */
.header2 {
    background-image: url('../images/fondo_ingreso.png');
    background-size: cover;
    background-position: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
.navbar2 {
    position: absolute;
    top: 30px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 4vh 5vh 5vh 5vh;
}
.logo3 img {
    margin-top: -20px;
    width: 70%;
}
.nav-links2 {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
.nav-links2 li {
    margin: 0 10px;
}
.nav-links2 a {
    text-decoration: none;
    color: #fff;
    padding: 10px;
}
.nav-links2 a:hover {
    border-bottom: 5px solid #EE7D00;
}
.contact-link2 {
    border: 1px solid #fff;
    border-radius: 17px;
}
.contact-link2:hover {
    background-color: #EE7D00;
    border: none;
}
/* **formulario** */
.form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 10px;
}
.contact-form2 {
    padding: 20px;
    border-radius: 10px;
    width: 450px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    border: solid 1px #ffffff;
}
.contact-form2 h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
}
.contact-form2 label {
    display: block;
    margin-bottom: 5px;
}
.contact-form2 input,
.contact-form2 textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.contact-form2 button {
    width: 100%;
    padding: 12px;
    background-color: #ee7d00;
    border: none;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}
.contact-form2 button:hover {
    background-color: #b25300;
}
/* POPUP */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}
.popup-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.popup-content button {
    margin-top: 10px;
    padding: 8px 15px;
    background: #EE7D00;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
.popup-content button:hover {
    background: #803002;
}

/* ***INICIAR SESION*** */
.header2 {
    height: 100vh;
    background-image: url("../images/fondo_ingreso.png");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.login-container {
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
}
.login-container p {
    text-align: center;
    margin-bottom: 25px;
    color: #fff;
}
.login_logo{
    display: flex;
    justify-content: center;
}
.login-form .input-group {
    margin-bottom: 20px;
}
.login-form label {
    margin-bottom: 5px;
    color: #fff;
}
.login-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}
.login-form input:focus {
    border-color: #EE7D00;
    outline: none;
}
.login-btn {
    width: 100%;
    padding: 10px;
    background-color: #EE7D00;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}
.login-btn:hover {
    background-color: #803002;
}
.options {
    margin-top: 20px;
}
.options a {
    color: #3BB3C3;
    text-decoration: none;
    margin: 0 10px;
}
.options a:hover {
    text-decoration: underline;
}

/* ***SOPORTE*** */
.header-soporte {
    background: linear-gradient(to right, #004040, #008080);
    border-bottom: 10px solid #EE7D00;
    padding: 40px 80px;
    display: flex;
    justify-content: center;
}
.header-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-soporte img {
    height: 75px;
}
.bienvenida-usuario p {
    font-size: 2rem;
    color: white;
    margin: 0;
    font-weight: 500;
}
.acciones-usuario .cerrar-sesion {
    background-color: #EE7D00;
    color: white;
    font-size: 1rem;
    padding: 14px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}
.acciones-usuario .cerrar-sesion:hover {
    background-color: #803002;
}
.soporte-container {
  display: flex;
  flex-wrap: wrap;
  padding: 40px;
  gap: 40px;
}
.soporte-menu {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  background: #f4f4f4;
  border-radius: 10px;
  padding: 20px;
}
.soporte-menu h2 {
  margin-bottom: 15px;
  color: #004040;
}
.soporte-menu ul {
  list-style: none;
  padding: 0;
}
.soporte-menu li {
  padding: 10px;
  margin-bottom: 8px;
  background-color: #fff;
  border: 1px solid #ddd;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.2s;
}
.soporte-menu li:hover {
  background-color: #e7f6f6;
}
.soporte-contenido {
  flex: 2;
  min-width: 300px;
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.soporte-contenido h3 {
  color: #004040;
  margin-bottom: 15px;
}
.contenido-oculto {
  display: none;
}
.imgError {
    width: 550px;
}
.contenido-activo {
  display: block;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .soporte-container {
    flex-direction: column;
  }
  .soporte-menu, .soporte-contenido {
    width: 100%;
  }
  .soporte-header {
    padding: 40px 20px;
  }
  .soporte-header h1 {
    font-size: 1.5rem;
  }
  .soporte-header p {
    font-size: 1rem;
  }
}



/* ***FOOTER*** */
footer {
    color: #fff;
    margin: 0;
    background-color: #004040;
}
.copy{
    text-align: center;
    padding: 0 0 10px 0;
    margin: 0;
}
.footer2 {
    display: flex;
    justify-content: space-between;
    font-size: large;
    background: linear-gradient(135deg, #53C0BD, #004040);
    padding: 10px 50px 2px 30px;
}
.datos {
    background: linear-gradient(180deg, #3C8376, #004040);
    width: 50%;
    padding: 10px 0 0 30px;
    margin-top: -0.5px;
}



/* ******RESPONSIVE***** */

/* Estilos del menú hamburguesa (responsive) */
.menu-icon {
    display: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}
#menu-toggle {
    display: none;
}

/* ***ESTILOS MOBILE*** */
@media (max-width: 768px) {
    .navbar {
        z-index: 5;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 90%;
        background-color: #EE7D00;
        position: absolute;
        top: 18vh;
        right: 0;
        text-align: center;
        border-radius: 20px 0 0 20px;
        z-index: 6;
    }
    .nav-links li {
        margin: 15px 0;
    }
    #menu-toggle:checked + .menu-icon + .nav-links {
        display: flex;
    }
    .menu-icon {
        display: block;
    }
    .contact-link {
        border: none;
    }
    .header .gif {
        text-align: center;
        margin: -50vh 0 10vh 0;
    }
    .header .gif img{
        width: 30%;
    }
    .esquema img{
        width: 85%;
        margin: 0 0 0 30px;
    }
    
    /*CONTACTO*/
    .nav-links2 {
        display: none;
        flex-direction: column;
        width: 90%;
        background-color: #EE7D00;
        position: absolute;
        top: 18vh;
        right: 0;
        text-align: center;
        border-radius: 20px 0 0 20px;
    }
    .nav-links2 li {
        margin: 15px 0;
    }
    #menu-toggle:checked + .menu-icon + .nav-links2 {
        display: flex;
    }
    .menu-icon {
        display: block;
    }
    .contact-link2 {
        border: none;
    }
    /*formulario*/
    .contact-form2 {
    padding: 10px;
    width: 300px;
    margin-top: 25px;
    }
    /* FOOTER */
    .footer2 {
        justify-content: space-between;
        font-size: medium;
        background: linear-gradient(135deg, #53C0BD, #004040);
        padding: 10px 15px 5px 20px;
    }
    .footer2 p{
        padding-left: 25px;
    }
    .datos {
        width: 60%;
    }
    
    
}
}