@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
/* START PROJECT */
/* HEADER */
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    transition: 0.5s;
}
header.sticky{
    background: rgb(242, 240, 223);
    padding: 20px 100px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
header .logo{
    color: #000;
    font-size: 24px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
}
header.sticky .logo{
    color:#111;
}
header ul{
    position: relative;
    display: flex;
}
header ul li{
    position: relative;
    list-style: none;
}
header ul li a{
    position: relative;
    display: inline-block;
    margin: 0  15px;
    color: #000;
    text-decoration: none;
} 
.social-icon-wrap {
    display: flex;
    position: relative;
    text-align: center;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
    gap: 5px;
}
.social-icon-wrap img{
    width: 32px;
    height: 32px;
}
.social-icon-wrap.style5 a {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 5px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 500ms ease;
}
.social-icon-wrap.style5 a:hover {
    background-color: lightgray;
    color: #fff;
}
header .social-icon-wrap {
    justify-self: end;
}
header .logo {
    justify-self: start;
}
header ul {
    justify-self: center;
}
header .toggle {
    display: none;
}
/* HEADER ENDS */
/* Sidebar styles */
.sidebar {
    position: fixed;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100%;
    background: var(--navbar-bg-color); /* Usa el mismo color de fondo que el navbar */
    color: var(--navbar-font-color); /* Usa el mismo color de texto que el navbar */
    font-family: var(--navbar-font-family); /* Usa la misma fuente que el navbar */
    backdrop-filter: blur(10px);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar ul li a {
    text-decoration: none;
    color: var(--navbar-font-color); /* Usa el mismo color de texto que el navbar */
    font-size: 18px;
    font-weight: bold;
}

.sidebar .close-btn {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 20px;
    color: var(--navbar-font-color); /* Usa el mismo color de texto que el navbar */
}

.open-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    display: none;
    color: var(--navbar-font-color); /* Usa el mismo color de texto que el navbar */
}

/* Ocultar navbar cuando el ancho es menor a 1110px */
@media (max-width: 1110px) {
    header ul {
        display: none;
    }

    .open-btn {
        display: block;
    }

    .sidebar {
        right: -50%;
    }

    .sidebar.active {
        right: 0;
    }

    .open-btn.hidden {
        display: none;
    }
}
/* Ocultar social icons cuando el ancho es menor a 1110px */
@media (max-width: 1110px) {
    .social-icon-wrap {
        display: none;
    }
}

/* Estilo para los íconos sociales dentro del sidebar */
.sidebar .social-icon-wrap {
    display: flex;
    justify-content: center; /* Centra los íconos horizontalmente */
    align-items: center;
    gap: 10px; /* Espaciado entre los íconos */
    margin-top: 20px; /* Espaciado superior opcional */
}

.sidebar .social-icon-wrap img {
    width: 32px; /* Tamaño de los íconos */
    height: 32px;
    transition: transform 0.3s ease; /* Efecto al pasar el cursor */
}

.sidebar .social-icon-wrap img:hover {
    transform: scale(1.1); /* Aumenta ligeramente el tamaño al pasar el cursor */
}
/* HIRE ME */
.hire-me {
    background: #f7f7f7;
    padding: 60px 0; /* Añadir padding arriba y abajo */
    text-align: left; /* Alinear el texto a la izquierda */
}
.hire-me .heading {
    margin-top: 100px; /* Añadir margen superior para separar del header */
    font-size: 20px; /* Ajustar el tamaño de la fuente si es necesario */
    font-weight: 600;
    text-align: center; /* Centrar el título */
}
.hire-me .content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 40px; /* Añadir margen superior para separar del heading */
    flex-wrap: wrap; /* Permitir que los elementos se envuelvan si es necesario */
}
.hire-me .content {
    flex: 1; /* Permitir que el contenido ocupe el espacio disponible */
    max-width: 45%; /* Limitar el ancho máximo del contenido */
    margin-left: 40px; /* Añadir margen izquierdo */
    text-align: justify; /* Justificar el texto */
}
.hire-me .content ol {
    list-style: decimal inside; /* Estilizar la lista numerada */
    padding-left: 20px; /* Añadir padding izquierdo */
    text-align: left; /* Alinear el texto de la lista a la izquierda */
    font-style: italic;
    font-weight: bold;
}

.steps li{
    list-style: decimal inside; /* Estilizar la lista numerada */
    padding-left: 20px; /* Añadir padding izquierdo */
    text-align: left; /* Alinear el texto de la lista a la izquierda */
    font-style: italic;
    font-weight: lighter;
}
.hire-me .content ol li {
    margin-bottom: 10px; /* Añadir espacio entre los elementos de la lista */
}
.hire-me .form-container {
    flex: 1; /* Permitir que el formulario ocupe el espacio disponible */
    max-width: 45%; /* Limitar el ancho máximo del formulario */
    margin-right: 40px; /* Añadir margen derecho */
    background: rgb(242, 240, 223); /* Fondo similar al footer */
    padding: 20px; /* Añadir padding interno */
    border-radius: 5px; /* Añadir bordes redondeados */
}
.hire-me .form-container form {
    display: flex;
    flex-direction: column;
}
.hire-me .form-container form label {
    margin-top: 5px; /* Reducir margen superior */
    margin-bottom: 5px; /* Reducir margen inferior */
}
.hire-me .form-container form input,
.hire-me .form-container form textarea {
    width: 100%;
    padding: 8px; /* Reducir padding */
    margin-top: 5px; /* Reducir margen superior */
    margin-bottom: 10px; /* Reducir margen inferior */
    border: 1px solid #ccc;
    border-radius: 5px;
}
.hire-me .form-container form button {
    margin-top: 10px; /* Reducir margen superior */
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    cursor: pointer;
}
.hire-me .form-container form button:hover {
    background-color: #555;
}
.hire-me .form-container p {
    margin-top: 10px; /* Reducir margen superior */
    font-weight: bold;
}
/* Responsividad para Hire Me */
@media (max-width: 768px) {
    .hire-me .content-wrapper {
        flex-direction: column; /* Cambia a diseño vertical */
        align-items: center; /* Centra los elementos */
    }

    .hire-me .content,
    .hire-me .form-container {
        max-width: 100%; /* Ocupa todo el ancho disponible */
        margin: 20px 0; /* Añade margen superior e inferior */
    }

    .hire-me .content {
        margin-left: 0; /* Elimina el margen izquierdo */
        text-align: center; /* Centra el texto */
    }

    .hire-me .form-container {
        margin-right: 0; /* Elimina el margen derecho */
    }
}
/* HIRE ME ENDS */
/* TESTIMONIAL */
.testimonials {
    background: #f7f7f7;
    padding: 30px 0; /* Reducir padding arriba y abajo */
    text-align: center; /* Centrar el texto */
}
.testimonials .heading {
    margin-top: 0px; /* Reducir margen superior para acercar a los renglones del formulario */
    font-size: 20px; /* Ajustar el tamaño de la fuente si es necesario */
    font-weight: 600;
}
.testimonials .content {
    display: flex;
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
    flex-wrap: wrap;
}
.testimonials .content .testimonialBx {
    max-width: calc(40% - 40px); /* Ajustar el ancho máximo para hacer los rectángulos menos largos */
    height: 300px; /* Establecer una altura fija */
    padding: 60px 40px;
    margin: 20px;
    background: rgb(242, 240, 223);
    text-align: left; /* Asegurarse de que el contenido esté alineado a la izquierda */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrar verticalmente el contenido */
}
.testimonials .content .testimonialBx p {
    text-align: justify; /* Justificar el texto dentro de los párrafos */
    flex-grow: 1; /* Permitir que el párrafo crezca para ocupar el espacio disponible */
    font-style: italic;
    font-size: 16px;
    font-weight: 300;
}
.testimonials .content .testimonialBx h3 {
    margin-top: 40px;
    text-align: end;
    font-weight: 600;
    font-size: 20px;
    line-height: 1em;
}
/* Responsividad para Testimonials */
@media (max-width: 768px) {
    .testimonials .content {
        flex-direction: column; /* Cambia a diseño vertical */
        align-items: center; /* Centra los elementos */
    }

    .testimonials .content .testimonialBx {
        max-width: 90%; /* Ajusta el ancho máximo */
        height: auto; /* Permite que la altura sea dinámica */
        margin: 20px 0; /* Añade margen superior e inferior */
        padding: 20px; /* Reduce el padding interno */
    }

    .testimonials .content .testimonialBx h3 {
        text-align: center; /* Centra el texto del nombre */
    }
}
/* TESTIMONIAL ENDS */
/* FOOTER */
footer {
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos se ajusten en varias líneas */
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 100px;
    background: rgb(242, 240, 223);
    color: #000;
}

footer div {
    flex: 1; /* Cada columna ocupa el mismo espacio */
    margin: 10px;
    text-align: center;
}

footer h4 {
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

footer a {
    display: block;
    text-decoration: none;
    color: #000;
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #555;
}

footer form input {
    width: 100%;
    max-width: 400px;
    height: 40px;
    border-radius: 4px;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
    outline: none;
    border: 1px solid #ccc;
}

footer form button {
    background: transparent;
    border: 2px solid #000;
    color: #000;
    border-radius: 30px;
    padding: 10px 30px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

footer form button:hover {
    background-color: #000;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    footer {
        flex-direction: column; /* Cambia a diseño vertical */
        align-items: center;
        padding: 20px;
    }

    footer div {
        margin: 20px 0; /* Añade espacio entre las columnas */
        text-align: center;
    }

    footer form input {
        width: 90%; /* Ajusta el ancho del input */
    }
}
/* Centrar los íconos de redes sociales */
footer .social-icon-wrap {
    display: flex;
    justify-content: center; /* Centra los íconos horizontalmente */
    align-items: center; /* Centra los íconos verticalmente */
    gap: 10px; /* Espaciado entre los íconos */
    margin-top: 20px; /* Espaciado superior opcional */
}

footer .social-icon-wrap img {
    width: 32px; /* Tamaño de los íconos */
    height: 32px;
    transition: transform 0.3s ease; /* Efecto al pasar el cursor */
}

footer .social-icon-wrap img:hover {
    transform: scale(1.1); /* Aumenta ligeramente el tamaño al pasar el cursor */
}
/* FOOTER ENDS */
