@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');
*{
	padding: 0;
	margin: 0;
	font-family: "PT Sans", sans-serif;
	box-sizing: border-box;
}

body{
	min-height: 100vh;
	background-position: center;
	background-color: rgb(255, 255, 255);
	align-items: center;
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 10%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease-in-out;
}

.header.off {
    transform: translateY(-100%);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    backdrop-filter: blur(50px);
    z-index: -1;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
    translate: .5s;
}

.header:hover::after {
    left: 100%;
}

.logo {
    width: 130px;
}

.navbar a {
    font-size: 1.15rem;
    color: rgb(1, 1, 1);
    text-decoration: none;
    font-weight: 700;
    margin-left: 2.5rem;
    position: relative;
    display: inline-block; /* Asegúrate de que los enlaces sean elementos en línea */
    transition: color .35s ease; /* Transición suave para el color */
}

.navbar a::before,
.navbar a::after {
    content: '';
    height: 7px; /* Aumentado el tamaño de los triángulos */
    width: 7px; /* Aumentado el tamaño de los triángulos */
    position: absolute;
    transition: all .35s ease;
    opacity: 0;
}

.navbar a::before {
    right: -8px; /* Separa más el triángulo del texto */
    top: -8px; /* Separa más el triángulo del texto */
    border-top: 3px solid #3BAA33; /* Cambiado el color del borde superior */
    border-right: 3px solid #3BAA33; /* Cambiado el color del borde derecho */
    transform: translate(-100%, 50%);
}

.navbar a::after {
    left: -8px; /* Separa más el triángulo del texto */
    bottom: -8px; /* Separa más el triángulo del texto */
    border-bottom: 3px solid #3BAA33; /* Cambiado el color del borde inferior */
    border-left: 3px solid #3BAA33; /* Cambiado el color del borde izquierdo */
    transform: translate(100%, -50%);
}

.navbar a:hover::before,
.navbar a:hover::after {
    transform: translate(0, 0);
    opacity: 1;
}

.navbar a:hover {
    color: #1877f2; /* Cambia el color del texto al pasar el mouse */
}

#check {
    display: none;
}

.icons {
    position: absolute;
    right: 5%;
    font-size: 2.8rem;
    color: rgb(4, 4, 4);
    cursor: pointer;
    display: none;
}

.linea {
    width: 100%;
    height: 3px;
    position: absolute;
    bottom: -2px;
    left: 0;
    background: linear-gradient(to right, #3BAA33, #4954A3, #049BE2, #286522);
    background-size: 200% auto;
    animation: cambioColor 2.5s linear infinite;
    z-index: 99;
}

.contenedor-linea {
    position: relative;
}

.linea-footer {
    width: 100%;
    height: 3px;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to right, #3BAA33, #4954A3, #049BE2, #286522);
    background-size: 200% auto;
    animation: cambioColor 2.5s linear infinite;
    z-index: 99;
}

.bp {
    color: #f30c0c;
    text-decoration: none;
}

@keyframes cambioColor {
    0% {
        background-position: 0 0; /* Inicia desde el extremo izquierdo */
    }
    100% {
        background-position: 200% 0; /* Termina en el extremo derecho */
    }
}

/*BREAKPOINT*/
@media(max-width:992px) {
    .header {
        padding: 1.3rem 5%;
    }
}

@media(max-width:768px) {
    .icons {
        display: inline-flex;
    }
    
    #check:checked ~ .icons #menu-icon {
        display: none;
    }
    
    .icons #close-icon {
        display: none;
    }
    
    #check:checked ~ .icons #close-icon {
        display: block;
    }
    
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(0, 0, 0, 0.1);
        background-color: #fff;
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
        overflow: hidden;
        transition: .3s ease;
    }
    
    #check:checked ~ .navbar {
        height: 17.7rem;
    }
    
    .navbar a {
        display: block;
        font-size: 1.2rem;
        margin: 1.5rem 0;
        color: #000000;
        text-align: center;
        transform: translateY(-50px);
        opacity: 0;
        transition: .3s ease;
    }
    
    #check:checked ~ .navbar a {
        transform: translateY(0);
        transition-delay: calc(.15s * var(--i));
        opacity: 1;
    }
    
    .navbar a::before,
    .navbar a::after {
        content: none;
    }
}

/*FOOTER*/
.pie-pagina{
    width: 100%;
    background-color: #ffffff;
	margin-top: auto;
}
.pie-pagina .grupo-1{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap:50px;
    padding: 45px 0px;
}
.pie-pagina .grupo-1 .box-footer figure{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pie-pagina .grupo-1 .box-footer figure img{
    width: 200px;
}
.pie-pagina .grupo-1 .box-footer h2{
    color: #049BE2;
    margin-bottom: 25px;
    font-size: 25px;
    font-weight: 700;
}
.pie-pagina .grupo-1 .box-footer p{
    color: #3BAA33;

    margin-bottom: 10px;
    font-weight: 700;
}
.pie-pagina .grupo-1 .red-social a{
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    border-radius: 50%;
    color: #ffffff;
    margin-right: 10px;
    text-align: center;
    transition: all 300ms ease;
}
.pie-pagina .grupo-2{
    background:#dcdddc ;
    padding: 15px 10px;
    text-align: center;
    font-weight: 700;
    color: #fff;
}
.pie-pagina .grupo-2 small{
    font-size: 15px;
	color: #020202;
}

.red-social a.instagram {
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045); 
}

.red-social a.facebook {
    background: linear-gradient(45deg, #3b5998, #1877f2); 
}

.red-social a.tiktok {
    background-color: #000000; 
}

.red-social a.twitter {
    background-color: #1da1f2; 
}

.red-social a:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}


@media screen and (max-width:800px){
    .pie-pagina .grupo-1{
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        grid-gap:30px;
        padding: 35px 0px;
    }
}

/*FOOTER*/
.titulos{
    font-weight: 700;
    font-size: 50px;
    color: #3BAA33;
    text-align: center;
}

/* contenedor about us */
.about {
    height: 100vh;
    width: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px; /* Añadir padding para evitar que el contenido toque los bordes en pantallas pequeñas */
    box-sizing: border-box;
}

.main {
    width: 100%;
    max-width: 1290px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.img-about-us {
    width: 100%;
    max-width: 600px;
    height: auto;
    padding: 0 10px;
    box-sizing: border-box;
    border-radius: 20px;
}

.all-text {
    width: 100%;
    max-width: 600px;
    padding: 0 10px;
    box-sizing: border-box;
}

.titulo {
    font-family: "PT Sans", sans-serif;
    font-size: 50px;
    position: relative;
    color: #111111;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #3BAA33;
}

.parrafo {
    font-family: "PT Sans", sans-serif;
    font-weight: 600;
    position: relative;
    font-size: 17px;
    line-height: 30px;
    margin-bottom: 35px;
}

/* Media queries para pantallas más pequeñas */
@media (max-width: 768px) {
    .titulo {
        font-size: 40px;
    }

    .parrafo {
        font-size: 25px;
        line-height: 28px;
    }
}

@media (max-width: 480px) {
    .titulo {
        font-size: 35px;
    }

    .parrafo {
        font-size: 14px;
        line-height: 26px;
    }
}
/* contenedor about us */

/* LINEAS DE NAV */
.custom-shape-divider-top-1716512297 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-top-1716512297 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 269px;
    transform: rotateY(180deg);
}

.custom-shape-divider-top-1716512297 .shape-fill {
    fill: #7ED321;
}

.custom-shape-divider-top-1716512256 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1716512256 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 333px;
    transform: rotateY(180deg);
}

.custom-shape-divider-top-1716512256 .shape-fill {
    fill: #219FD3;
}

@media (max-width: 768px) {
    .main {
        flex-direction: column-reverse; /* Cambia el orden de los elementos en columnas para poner la imagen debajo */
        align-items: center; /* Centra verticalmente los elementos */
    }

    .img-about-us {
        max-width: 100%; /* Asegura que la imagen ocupe todo el ancho disponible */
        margin-bottom: 20px; /* Espacio entre la imagen y el texto */
    }

    .all-text {
        max-width: 100%; /* Asegura que el texto ocupe todo el ancho disponible */
        text-align: center; /* Centra el texto */
        margin-top: 20px; /* Espacio entre el texto y la imagen */
    }

    /* Ajustes específicos para las líneas SVG en dispositivos móviles */
    .custom-shape-divider-top-1716512297,
    .custom-shape-divider-top-1716512256 {
        display: none; /* Oculta las líneas SVG en dispositivos móviles */
    }
}
/* LINEAS DE NAV */

/* CARTAS DE SERVICIOS */
.body-services{
    width: 100%;
    display: grid;
    place-items: center;
    padding: 1em; /* Ajusta el padding según sea necesario */
}
.section-heading{
    margin-bottom: 25px;
    font-weight: 700;
    color: #3BAA33;
    font-size: 50px;
    text-align: center;
}

.row{
    display: flex;
    flex-wrap: wrap;
}
.columns{
    width: 100%;
    padding: 0 1em 1em 1em;
    text-align: center;
}
.card {
    width: 100%;
    height: 100%;
    padding: 2em 1.5em;
    background: linear-gradient(#ffffff 50%, #049BE2 50%);
    background-size: 100% 200%;
    background-position: 0 1.5%;
    border-radius: 5px;
    box-shadow: 0 0 35px rgba(0, 0, 0, .12);
    cursor: pointer;
    transition: 0.5s;
}
.titulo-service{
    font-size: 20px;
    font-weight: 700;
    color: #3BAA33;
    padding: 1em 0;
}
.p-services{
    color: #000000;
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: 0.03em;
    font-weight: 400;
}
.icon-wrapper{
    background-color: #049BE2;
    position: relative;
    margin: auto;
    font-size: 30px;
    height: 2.5em;
    width: 2.5em;
    color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: 0.5s;
}
.card:hover,
.card.hover-active {
    background-position: 0 100%;
}

.card:hover .icon-wrapper,
.card.hover-active .icon-wrapper {
    background-color: #ffffff;
    color: #049BE2;
}

.card:hover .titulo-service,
.card.hover-active .titulo-service {
    color: #ffffff;
}

.card:hover .p-services,
.card.hover-active .p-services {
    color: #f0f0f0;
}
@media screen and (min-width: 768px){
    .body-services{
        padding: 0 2em;
    }
    .columns{
        flex: 0 50%;
        max-width: 50%;
    }

}
@media screen and (min-width: 992px){
    .body-services{
        padding: 1em 3em;
    }
    .columns{
        flex: 0 0 33.33%;
        max-width: 33.33%;

    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

about {
    animation: fadeIn 1s ease-in-out;
}

.main {
    animation: fadeIn 1.2s ease-in-out;
}

.img-about-us {
    animation: fadeIn 1.3s ease-in-out;
}

.all-text {
    animation: slideInUp 1.4s ease-in-out;
}

.titulo {
    animation: slideInUp 1.5s ease-in-out;
}

.parrafo {
    animation: fadeIn 1.5s ease-in-out;
}

.body-services {
    animation: fadeIn 1.7s ease-in-out;
}

.section-heading {
    animation: slideInUp 1.8s ease-in-out;
}

.row {
    animation: fadeIn 1.6s ease-in-out;
}

.columns {
    animation: fadeIn 2.6s ease-in-out;
}

.card {
    animation: cardSlideUp 2.6s ease-in-out;
}

.titulo-service {
    animation: fadeIn 2.7s ease-in-out;
}

.p-services {
    animation: fadeIn 2.8s ease-in-out;
}

.icon-wrapper {
    animation: fadeIn 2.9s ease-in-out;
}

/* CASRTAS DE SERVICIOS */
::-webkit-scrollbar {
    display: none;
}