@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:wght@100..900&family=Outfit:wght@100..900&display=swap');


body {
    font-family: "DM Sans", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;

}

header {
    background-color: #f3f3f3;
    color: black;
}

section {
    padding: 20px;
    margin: 20px 0;
}


nav ul li a {
    color: white;
    text-decoration: none;
}

nav {
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 10px 10px;
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: bold;
    transition: color 0.3s ease;
    color: rgba(7, 7, 7, 0.993);
    font-family: "DM Sans", sans-serif;
}

.navbar-nav .nav-link {
    font-size: 1.3rem;

    color: rgba(32, 32, 32, 0.993);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 0.5rem 1rem;
    font-family: "DM Sans", sans-serif;
}

.navbar-nav .nav-link:hover {
    color: #000;
    /* Cambiar color a negro */
    transform: scale(1.1);
    /* Agrandar ligeramente */
}

/* Efecto subrayado */
.navbar-nav .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #000;
    /* Color del subrayado */
    transition: width 0.3s ease;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

i{
    font-size: .8rem;
    color: #FFD700;
}


/*inicio */

#inicio {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: linear-gradient(rgba(39, 39, 39, 0.5), rgba(39, 39, 39, 0.5)), url("img-g.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

#inicio .pad-x {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}


@media (max-width: 768px) {
    #inicio .pad-top {
        padding-top: 5em;
        padding-left: 2em;
        padding-right: 2em;
    }
}


#inicio .card {
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 5%;
    padding-bottom: 5%;
    margin-left: 10%;
    margin-right: 10%;
    background: linear-gradient(rgba(77, 77, 77, 0.5), rgba(71, 71, 71, 0.5));
    border-radius: 10px;
    border-color: transparent;

}

@media (max-width: 768px) {
    #inicio .boton {
        display: flex;
        justify-content: center;
    }
}



@media (max-width: 768px) {
    #inicio .card {

        width: 90%;
        margin: 3em auto 3em auto;
    }
}



#inicio label {
    font-family: "Inter", sans-serif;
    color: #ffffff;
    font-weight: normal;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    font-weight: bold;
    font-size: 14px;
}

h1 {
    font-size: 70px;
    font-weight: bold;
    font-family: "Outfit", sans-serif;
    color: #f3f3f3;
}

h6, h5{
    color: #f3f3f3;
}

.button2 {
    font-family: inherit;
    font-size: 18px;
    background: linear-gradient(to bottom, #919191 0%, #6b6b6b 100%);
    color: #f3f3f3;
    padding: 0.8em 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 25px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.button2:hover {
    transform: translateY(-3px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

.button2:active {
    transform: scale(0.95);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.button2 span {
    display: block;
    margin-left: 0.4em;
    transition: all 0.3s;
}

.button2 svg {
    width: 18px;
    height: 18px;
    fill: white;
    transition: all 0.3s;
}

.button2 .svg-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    margin-right: 0.5em;
    transition: all 0.3s;
}

.button2:hover .svg-wrapper {
    background-color: rgba(255, 255, 255, 0.5);
}

.button2:hover svg {
    transform: rotate(45deg);
}

.button1 {
    --white: #ffffff;
    font-size: 15px;
    padding: 1em 4.5em;
    margin-top: 3.5em;
    letter-spacing: 0.06em;
    position: relative;
    border-radius: 2em;
    overflow: hidden;
    transition: all 0.3s;
    line-height: 1.4em;
    border: 2px solid var(--white);
    background: linear-gradient(to right, rgba(68, 70, 233, 0.1) 1%, transparent 40%, transparent 60%, rgba(79, 102, 228, 0.1) 100%);
    color: var(--white);

}

.button1:hover {
    color: white;
    box-shadow: inset 0 0 10px rgba(192, 191, 192, 0.6), 0 0 9px 3px rgba(240, 239, 239, 0.2);
}

.button1:before {
    content: "";
    position: absolute;
    left: -4em;
    width: 4em;
    height: 100%;
    top: 0;
    transition: transform .4s ease-in-out;
    background: linear-gradient(to right, transparent 1%, rgba(231, 233, 232, 0.164) 40%, rgba(27, 253, 156, 0.1) 60%, transparent 100%);
}

.button1:hover:before {
    transform: translateX(15em);
}
/* fin inicio */



/*sobre mi  */
#sobre-mi {
    padding-top: 5em;
}

@media (max-width: 768px) {
    #sobre-mi {
        padding-top: 2em;
    }
}

#sobre-mi .img {
    width: 600px;
    height: 550px;
    border-radius: 25px;
    background-image: linear-gradient(rgba(39, 39, 39, 0.212), rgba(39, 39, 39, 0.219)), url("img-c.webp");
    background-position: top;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

@media (max-width: 768px) {
    #sobre-mi p {
        text-align: justify;
    }
}

@media (max-width: 768px) {
    #sobre-mi .img {
        width: 90%;
        background-position: center;
        margin-left: auto;
        margin-right: auto;
    }
}

#sobre-mi .text-centrado {
    margin-left: 5em;
    margin-right: 5em;
    margin-top: 25%;
    margin-bottom: 1em;
}

@media (max-width: 768px) {
    #sobre-mi .text-centrado {
        margin-left: 1em;
        margin-right: 1em;
        margin-top: 15%;
        margin-bottom: 2em;
    }
}

#sobre-mi .text-centrado h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #1D1E20;
    font-family: "Outfit", sans-serif;
}

#sobre-mi .text-centrado strong {
    font-size: 1rem;
    color: #56585E;
}

#sobre-mi .card2 {
    width: 520px;
    height: 150px;
    background-color: #E8F1F2;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-radius: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    #sobre-mi .card2 {
        width: 90%;
        margin-left: auto;
        margin-right: auto;

    }
}


#sobre-mi .card2 p {
    font-size: 50px;
    padding-left: 40px;
    padding-right: 10px;

}

#sobre-mi .card2 strong {
    font-size: 1.2rem;
    color: #56585E;
    font-family: "Outfit", sans-serif;

}

.boton-centrado {

    margin-left: 5em;
    margin-right: 5em;
    margin-top: 4em;
    margin-bottom: 20px;

}

.button3 {
    --black: #1D1E20;
    font-size: 15px;
    padding: 1em 4.5em;
    margin-top: 3.5em;
    letter-spacing: 0.06em;
    border-radius: 2em;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
    line-height: 1.4em;
    border: 2px solid var(--black);
    color: var(--black);


}

.button3:hover {
    color: black;

}

/* fin sobre mi */


/* servicios */

#servicios {
    padding-top: 6em;
}


#servicios h2 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 1em;
    font-family: "Outfit", sans-serif;
    color: #1D1E20;
}

@media (max-width: 768px) {
    #servicios h2 {
        margin-top: 20%;
    }
}

#servicios h6 {
    font-size: 1rem;
    margin-top: 10px;
    margin-bottom: 70px;
    color: #56585E;
}

#servicios strong {
    color: #0D141A;
    font-family: "Outfit", sans-serif;
    font-size: 1.1rem;
}

#servicios p {
    font-size: 1rem;
    color: #56585E;
    padding: 0 10%;
}

@media (max-width: 768px) {
    #servicios p {
        text-align: justify;
    }
}

#servicios .card-container {
    position: relative;
    margin-bottom: 80px;
}

@media (max-width: 768px) {
    #servicios .card-container {
        margin-bottom: 160px;
    }
}

#servicios .card-image1,
#servicios .card-image2,
#servicios .card-image3,
#servicios .card-image4 {
    width: 100%;
    height: 350px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#servicios .card-image1 {
    background-image: url('1.webp');
    border-radius: 8px;
}

#servicios .card-image2 {
    background-image: url('2.webp');
    border-radius: 5px;
}

#servicios .card-image3 {
    background-image: url('4.webp');
    border-radius: 10px;
}

#servicios .card-image4 {
    background-image: url('3.webp');
    border-radius: 5px;
}

#servicios .cuadro-blanco {
    position: absolute;
    top: 230px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    min-height: 150px;
    padding: 20px;
    background-color: #fff;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#servicios .pad-abajo {
    margin-bottom: 3em;
}

.modal-header {
    background: linear-gradient(135deg, #808081, #b4b4b6);
    color: #fff;
}

.modal-body {
    font-size: 1rem;
    color: #333;
}

.modal-body p,
.modal-body ul li {
    margin-bottom: 15px;
}

.modal-body ul {
    padding-left: 20px;
}


.button4 {
    font-family: inherit;
    font-size: 18px;
    background: linear-gradient(to bottom, #919191 0%, #6b6b6b 100%);
    color: #f3f3f3;
    padding: 0.8em 1.2em;
    border: none;
    border-radius: 25px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.button4:hover {
    transform: translateY(-3px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}



/* fin servicios */

/*testimonios*/
#testimonios h2 {
    font-size: 40px;
    font-weight: bold;
    font-family: "Outfit", sans-serif;
    color: #1D1E20;
    text-align: center;
    padding: 2em;
    padding-bottom: 1em;
}

@media (max-width: 768px) {
    #testimonios h2 {
        padding: .5em;
    }
}

#testimonios .color-fondo {
    background-color: #f1f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 4em 3em;
}

#testimonios .text {
    font-style: italic;
    color: #666;
}

@media (max-width: 768px) {
    #testimonios .text {
        text-align: justify;
    }
}

#testimonios .servicio-area {
    color: #555;
    font-size: 0.8em;

}

/*fin testimonios*/


/* contacto */
#contacto {
    padding-top: 5em;
}

#contacto h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 60px;
    font-family: "Outfit", sans-serif;
    color: #1D1E20;
}

@media (max-width: 768px) {
    #contacto h2 {
        margin-top: 20%;
        font-size: 2rem;
    }
}

#contacto .contacto-contenerdor {
    position: relative;
}

#contacto p {
    font-size: 1rem;
    color: #56585E;
}

#contacto form {
    position: relative;
    width: 600px;
    height: 500px;
    padding: 3em 3em 3em 3em;
    background-color: #E8F1F2;
    left: 130px;
    border-radius: 1.5em;
    z-index: 1;
}

@media (max-width: 768px) {
    #contacto form {
        width: 90%;
        left: 0;
        padding-left: 1rem;
        padding-right: 1rem;
        margin-left: auto;
        margin-right: auto;

    }
}

#contacto label {
    font-family: "Inter", sans-serif;
    color: #0D141A;
    font-weight: normal;
}

#contacto input {
    display: inline-flex;
    align-items: center;
    width: 100%;
    margin-top: 5px;
    color: #56585E;
    padding: 0.8rem 1rem;
    background-color: white;
    border: 1px solid rgba(120, 121, 120, 0.404);
    border-radius: 0.375rem;
    font-size: 1rem;
    color: #56585E;
    transition: background-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
}




#contacto input:focus,
input:active {
    border: none;
    outline: none;
    background-color: #f3f3f3;
    box-shadow: 0 0 0 2px rgba(185, 185, 184, 0.904), 0 0 0 4px rgba(120, 121, 120, 0.973);
}

#contacto textarea {
    display: inline-flex;
    align-items: center;
    margin-top: 5px;
    width: 100%;
    color: #56585E;
    padding: 0.8rem 1rem;
    background-color: white;
    border: 1px solid rgba(120, 121, 120, 0.404);
    border-radius: 0.375rem;
    font-size: 1rem;
    color: #56585E;
    transition: background-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
}


#contacto textarea:focus,
textarea:active {
    border: none;
    outline: none;

    background-color: #f3f3f3;
    box-shadow: 0 0 0 2px rgba(185, 185, 184, 0.904), 0 0 0 4px rgba(120, 121, 120, 0.973);

}

#contacto .card-container {

    position: relative;

    overflow: hidden;
    top: 3.2em;
    width: 550px;
    height: 410px;
    border-radius: 20px;
}

#contacto .img-contact {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img-contact.webp');
    background-position: center;
    background-size: cover;

}





/* fin contacto */


footer {
    background-color: #2c3e50;
    color: white;
    padding-top: 5rem;

}

footer .pad-x {
    padding-left: 2em;
    padding-right: 2em;
}

@media (max-width: 450px) {
    footer .pad-x {
        padding-left: .5em;
        padding-right: .5em;
    }
}



footer h5 {
    color: #f3f3f3;
    font-size: 1.7em;
}

footer strong {
    margin: 0;
    padding-bottom: 10px;

}

footer p {
    margin: 0;
    padding-bottom: 10px;

}

footer .icon-text {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

footer .icon-view {
    margin-right: 10px;
    color: white;
}


footer .social-icons {
    display: flex;
    gap: 20px;

}

footer .social-icons {
    padding-bottom: 20px;
}

footer .social-icons i {
    font-size: 2em;
    color: white;
    transition: color 0.3s;
}

footer .social-icons i:hover {
    color: #9a9b9b;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer iframe {
    width: 100%;
}