* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Barlow', sans-serif;
    padding-top: 81px;
    footer {
        background-color: #0b0c0e;
        h2 {
            position: relative;
            padding: 0 0 10px;
            margin-bottom: 10px;
        }
        
        h2::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: 0;
            height: 4px;
            width: 50px;
            border-radius: 2px;
            background-color: rgb(43, 147, 72);
            transform: translateX(-50%);
        }
    }
}
.nav-link.active-tab {
    color: rgb(43, 147, 72) !important;
    font-weight: bold;
}

.link {
    color: #ffffff;
    text-decoration: none;
}

.carrusel {
    h1 {
        font-size: 2.5em;
        font-family: 'Dosis', sans-serif;
        font-weight: 200;
    }
    p {
        font-size: 1.2em;
        font-family: 'Dosis', sans-serif;
        font-weight: 200;
    }
}

.contenedor {
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 60px auto;
    h1 {
        position: relative;
        padding: 0 0 10px;
        margin-bottom: 10px;
    }
    p {
        font-size: 1.2em;
        text-align: justify;
    }
    
    h1::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        height: 4px;
        width: 50px;
        border-radius: 2px;
        background-color: rgb(43, 147, 72);
        transform: translateX(-50%);
    }
}

.campoConoceMas {
    width: 100%;
    height: 240px;
}

.cartaTransparente {
    width: 290px;
    margin: 20px;
    border: transparent;
    h5 {
        font-weight: 300;
    }
    p {
        font-weight: 300;
    }
}

.section1 {
    width: 100%;
    height: 75vh;
    padding: 150px 120px;
    background-image: url(../IMG/dronSeccion1.jpg);
    color: #ffffff;
    h1 {
        font-size: 2.5em;
        font-family: 'Barlow', sans-serif;
        font-weight: 400;
    }

    p {
        font-size: 1.2em;
        font-family: 'Barlow', sans-serif;
        font-weight: 200;
    }
}

.botonInformacion {
    color: #ffffff;
    background-color: rgb(43, 147, 72);
    border-color: transparent;
    padding: 10px 15px;
    font-size: 20px;
    font-weight: 200;
    width: 200px;
    border-radius: 7px
}

.botonInformacion:hover {
    background-color: rgb(191, 210, 0);
    color: #ffffff;
    border-color: transparent;
    transition: 0.5s;
}

.botonEnviar {
    color: #ffffff;
    background-color: rgb(154, 168, 0);
    border-color: transparent;
    font-size: 1em; 
    font-weight: 500;
    padding: 5px 7px; 
    border-radius: 7px;
    width: 100%;
}

.botonEnviar:hover {
    transition: 0.5s;
    background-color: rgb(191, 210,0);
}

.botonServicios {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 40px;
    text-decoration: none;
    color: white;
    font-weight: 300;
    margin-top: 20px;
    transition: 0.5s;
    border: none;
}

.botonServicios:hover {
    background: rgba(0, 0, 0, 0.5);
}

#video-container {
    position: relative;
    height: 82vh;
    background-color: black;
    overflow: hidden;
}

.videosFondo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.texto-superpuesto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: rgb(246, 246, 209);
    font-family:'Dosis', sans-serif;;
    font-weight: 400;
    h1 {
        font-size: 3em;
    }
}

.contact-card-black {
    background-color: #000000bb;
    z-index: 1;
    position: relative;
    padding: 50px;
    width: 600px;
    height: 500px;
    border-radius: 10px;
    margin-left: 13%;
}

.contact-card-green {
    background-color: rgb(43, 147, 72); 
    position: absolute;
    top: 50%;
    left: -10%;
    transform: translateY(-50%);
    z-index: 2;
    width: 300px;
    height: 400px;
    padding: 20px; 
    border-radius: 10px;
}

.fondoContacto {
    background-image: url('../IMG/fondoContacto.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 15px; 
}

.inputTransparente {
    background-color: transparent;;
    border: none; 
    border-bottom: 2px solid white;
    border-radius: 0;
    outline: none; 
    width: 100%;
    padding: 5px 0;
    font-size: 1.2rem;
    color: white;
}

.inputTransparente::placeholder {
    color: rgb(177, 176, 176);
}

.inputTransparente:focus {
    background-color: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    border-bottom: 2px solid rgb(43, 147, 72);
    color: white
}

.containerServicios {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.containerServicios .boxServicios {
    position: relative;
    width: 288px;
    padding: 30px;
    background: #242526;
    border-radius: 20px;
    box-sizing: border-box;
    margin: 10px;
    text-align: center;
    overflow: hidden;
}

.containerServicios .boxServicios .iconServicios {
    position: relative;
    width: 90px;
    height: 90px;
    background: #000;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border-radius: 50%;
    font-size: 38px;
    font-weight: 700;
    transition: 0.5s;
    overflow: hidden;
}

.containerServicios .boxServicios .iconServicios:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: 0.5s;
}

.containerServicios .boxServicios:hover .iconServicios:before {
    opacity: 1;
}

.containerServicios .boxServicios .iconServicios span {
    font-size: 1em;
    position: relative;
    z-index: 1000;
}

.containerServicios .boxServicios:nth-child(1) .iconServicios {
    box-shadow: 0 0 0 0 rgb(43, 147, 72); 
    background: rgb(43, 147, 72);
}

.containerServicios .boxServicios:nth-child(1):hover .iconServicios {
    box-shadow: 0 0 0 400px rgb(43, 147, 72); 
    background: rgb(43, 147, 72);
}

.containerServicios .boxServicios:nth-child(2) .iconServicios {
    box-shadow: 0 0 0 0 rgb(161, 210, 0); 
    background: rgb(161, 210, 0);
}

.containerServicios .boxServicios:nth-child(2):hover .iconServicios {
    box-shadow: 0 0 0 400px rgb(161, 210,0); 
    background: rgb(161, 210, 0);
}

.containerServicios .boxServicios:nth-child(3) .iconServicios {
    box-shadow: 0 0 0 0 rgb(159, 184, 67); 
    background: rgb(159, 184, 67);
}

.containerServicios .boxServicios:nth-child(3):hover .iconServicios {
    box-shadow: 0 0 0 400px rgb(159, 184, 67); 
    background: rgb(159, 184, 67);
}

.containerServicios .boxServicios .contentServicios {
    position: relative;
    z-index: 1000;
    transition: 0.5s;
    color: white;
}

.containerServicios .boxServicios .contentServicios h5 {
    font-size: 22px;
    letter-spacing: 1px;
    margin: 20px 0;
}

.containerServicios .boxServicios .contentServicios p {
    font-size: 15px;
}


.wrapperAcercaDe {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
}

.containerAcercaDe {
    height: 400px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: start;
    border: none;
}

.cardAcercaDe {
    width: 80px;
    border-radius: 0.75rem;
    background-size: cover;
    cursor: pointer;
    overflow: hidden;
    border-radius: 2rem;
    margin: 0 10px;
    display: flex;
    align-items: flex-end;
    transition: 0.6s cubic-bezier(0.28,-0.03,0,0.99);
    box-shadow: 0px 10px 30px -5px rgba(0, 0, 0, 0.8);
    border: none;
}

.inputAcercaDe {
    display: none;
}

.inputAcercaDe:checked + label {
    width: 600px;
}

.cardAcercaDe[for="c1"] {
    background-image: url(../IMG/acercaDe1.png);
}

.cardAcercaDe[for="c2"] {
    background-image: url(../IMG/acercaDe2.png);
}

.cardAcercaDe[for="c3"] {
    background-image: url(../IMG/acercaDe3.png);
}

.cardAcercaDe[for="c4"] {
    background-image: url(../IMG/acercaDe4.png);
}

.social-icons a {
    color: rgb(105, 105, 105);
    transition: color 0.3s ease, font-size 0.3s ease;
    font-size: 1.7em;
}

  /* Color al pasar el mouse, distinto para cada red social */
.social-icons a.facebook:hover {
    color: #3b5998;
    font-size: 2em;
}
.social-icons a.instagram:hover {
    color: #be1a56;
    font-size: 2em;
}
.social-icons a.tiktok:hover {
    color: #ffffff;
    font-size: 2em;
}

@media (max-width: 768px) {
    .carousel-caption {
        top: 47%;
        transform: translateY(-50%);
        h1 {
            font-size: 2em;
        }
    }

    #video-container {
        height: 27vh;
    }   
    .texto-superpuesto {
        h1 {
            font-size: 2em;
        }
    }

    .contact-card-black {
        width: 90%;
        height: auto;
        margin-left: 5%;
        padding: 30px;
    }

    .contact-card-green {
        width: 250px;
        height: auto;
        top: 50%;
        left: -5%;
        transform: translateY(-50%);
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .contact-card-black {
        width: 350px;
        height: auto;
        padding: 0;
        margin: 0;
    }

    .fondoContacto {
        padding: 15px 5px;
    }

    .inputTransparente {
        font-size: 1rem;
    }

    .botonEnviar {
        font-size: 0.9em;
    }
}