@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
    --primary-color: #3d5cb8;
    --primary-color-dark: #334c99;
    --primary-color-light: #e9f7f7;
    --body-color: #ffffff;
    --secondary-color: #cd2c2c;
    --text-dark: #f7e1e1;
    --text-light: #767268;
    --white: #ffffff;
    --max-width: 1500px;
}

/*New*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: "Poppins", sans-serif;
    background-color: var(--body-color);
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
}

/*New*/
.main {
    flex: 1;
    background-size: cover;
    background: linear-gradient(135deg, #D32F2F 0%, #F44336 35%, #FF9800 100%) no-repeat center;
    color: white;
    /*min-height: 100vh;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

/*New*/
.section__container {
    max-width: var(--max-width);
    margin: auto;
    padding: 10rem 5rem;
}

/*New*/
.sectionh__container {
    width: 100%;
    margin: auto;
    padding: 5rem 1rem;
}

/*New*/
.section__header {
    margin-bottom: 0.5rem;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
}

/*New*/
.hero__container {
    max-width: var(--max-width);
    margin: auto;
    padding: 10rem 5rem;
    display: flex;
    gap: 5rem;
}

/*New*/
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    max-width: var(--max-width);
    width: 100%;
    padding: 2rem;
    min-height: 80vh;
}

/*New*/
.hero_section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem;
    text-align: left;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h1:first-child {
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #FFE0B2;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.hero-content .tagline {
    font-size: 1.3rem;
    color: #FFC107;
    font-weight: 600;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.hero-card h2 {
    font-size: 2rem;
    color: #FFC107;
    margin-bottom: 1.5rem;
    font-weight: 600;
}


.service-item {
    background: rgba(255, 193, 7, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #FFC107;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: rgba(255, 193, 7, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.2);
}

.service-item h3 {
    font-size: 1.3rem;
    color: #FFC107;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-item p {
    font-size: 0.95rem;
    color: #FFE0B2;
    line-height: 1.6;
}

/*New*/
.hero_section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/*New*/
.hero_section h1:first-child {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

/*New*/
.hero_section h1:last-child {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/*New*/
.company-tagline {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: var(--primary-color-light);
    opacity: 0.8;
    font-weight: 300;
}

/*New*/
.index-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    max-width: var(--max-width);
    width: 100%;
    padding: 4rem 2rem;
    min-height: 90vh;
    justify-items: end;
}

.hero_form {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    color: white;
    width: 100%;
    max-width: 450px;
    justify-self: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/*New*/
.hero_form h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 600;
    color: var(--white);
}

/*New*/
.hero_form p {
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-size: 1rem;
    color: var(--primary-color-light);
}

/*New*/
.form-group {
    margin-bottom: 1.5rem;
}

/*New*/
.hero_form input, select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.errorlist li {
    color: #ff0000;
    list-style: none;
}

select.form-control:focus {
    background: rgba(255, 255, 255, 1);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 222, 0, 0.56);
}

/*New*/
.hero_form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(255, 222, 0, 0.56);
}

/*New*/
.hero_form input::placeholder {
    color: #666;
    opacity: 0.7;
}

.hero-option1 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.hero-option1 > div {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 600px;
    width: 100%;
    color: white;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #FFC107;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1rem;
}

p:first-of-type {
    font-size: 1.1rem;
    color: #FFE0B2;
    margin-bottom: 2rem;
}

strong {
    color: #FFC107;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid #FFC107;
}

.contact-icon {
    font-size: 1.5rem;
    color: #FFC107;
    margin-top: 0.2rem;
    min-width: 30px;
}

.contact-content {
    flex: 1;
}

.error-message {
    color: #ffcccb;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-align: center;
    background: rgba(255, 0, 0, 0.1);
    padding: 0.5rem;
    border-radius: 5px;
    border-left: 3px solid #ff6b6b;
}

/*New*/
.btn {
    width: 100%;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(135deg, #FFC107, #FFD54F);
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 222, 0, 0.56);
    margin-top: 1rem;
}

/*New*/
.btn:hover {
    background: linear-gradient(135deg, #FFC107, #FF9800);
    color: white;
    transform: translateY(-2px);
}

/*New*/
.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 222, 0, 0.56);
}

/*New*/
.btn span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

/*New*/
.btn span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

/*New*/
.btn_2 {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 222, 0, 0.56);
    margin-top: 1rem;
    border: 2px solid #FF9800;
}

/*New*/
.btn_2 span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

/*New*/
.btn_2 span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

/*New*/
.btn_2:hover {
    background: linear-gradient(135deg, #FFC107, #ffffff);
    color: white;
    transform: translateY(-2px);
}

/*New*/
a {
    color: white;
    text-decoration: none;
}

a:hover {
    color: #FFC107;
    transform: translateY(-2px);
}

.link a {
    padding: 0.5rem;
    color: black;
    transition: all 0.3s ease;
    display: inline-block;
}

.link a:hover {
    color: #FFC107;
    transform: translateY(-2px);
}

/*New*/
header {
    /*position: fixed; !* Esto hace que el header se quede fijo en la parte superior *!*/
    position: relative;
    right: 0;
    top: 0;
    z-index: 100; /* Esto hace que el header se muestre por encima */
    width: 100%;
    display: flex; /* Esto hara que los elementos se pongan en linea */
    align-items: center; /* Centra verticalmente */
    justify-content: space-between; /* Que los elementos se separen */
    background-color: transparent;
}

/*New*/
.nav__actions {
    margin-left: auto; /* Empuja los botones a la derecha */
    display: flex;
    gap: 0.75rem; /* Espaciado entre botones */
    align-items: center;
    transition: all .5s ease;
}

/*New*/
.nav__actions a button {
    white-space: nowrap;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/*New*/
.navh__container {
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    flex-wrap: wrap; /* para responsividad */
}

/*New*/
.nav__container {
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
}

/*New*/
.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 222, 0, 0.56);
    cursor: pointer;
}

/*New*/
.nav__logo span {
    color: var(--secondary-color);
}

/*New*/
.nav__logo img {
    width: 50px; /* Ajusta el ancho según tus necesidades */
    height: auto; /* Esto mantiene la proporción de la imagen */
}

/*New*/
.nav__links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex: 1;
}

/* Header Styles*/

.header__container {
    display: flex;
    /*align-items: center;*/
    gap: 5rem;
}

.header__container h1 {
    margin-bottom: 1rem;
    max-width: 800px;
    font-size: 3.5rem;
    line-height: 4rem;
    color: var(--white);
}

.header__container p {
    margin-bottom: 2rem;
    max-width: 600px;
    color: var(--primary-color-light);
}

.header__form {
    width: 100%;
    max-width: 450px;
}

.header__form form {
    display: grid;
    gap: 0.5rem;
    padding: 2rem;
    background-color: rgba(255, 222, 0, 0.56);
    border-radius: 10px;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.header__form input {
    padding: 1rem;
    outline: none;
    border: none;
    font-size: 1rem;
    color: var(--primary-color);
    background-color: var(--primary-color-light);
    border-radius: 5px;
    width: 100%;
}

.header__form input::placeholder {
    color: var(--primary-color);
}

.header__form select {
    padding: 1rem;
    outline: none;
    border: none;
    font-size: 1rem;
    color: var(--primary-color);
    background-color: var(--primary-color-light);
    border-radius: 5px;
    width: 100%;
}

.form__btn {
    background-color: var(--primary-color);
    transition: 0.3s;
}

.form__btn:hover {
    background-color: var(--primary-color-dark);
}

.header__form h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

/* Footer Styles */

.footer {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 193, 7, 0.3);
}

.footer__bar__content h3 {
    color: #333;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.footer__bar {
    background: transparent;
}

.footer__bar__content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer__bar__content h3 {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.footer__socials {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 1rem;
}

.footer__socials a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.footer__socials a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #FFC107;
}


@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
        text-align: center;
    }

    .hero_section {
        padding: 2rem;
        align-items: center;
        text-align: center;
    }

    .hero_section h1 {
        font-size: 2.5rem;
    }

    .hero_section h1:first-child {
        font-size: 2rem;
    }

    .index-hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem 1rem;
        text-align: center;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content h1.company-name {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    .hero_section h1 {
        font-size: 2rem;
    }

    .hero_section h1:first-child {
        font-size: 1.5rem;
    }

    .hero_form {
        padding: 2rem;
        margin: 0 1rem;
    }

    .hero_form h1 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content h1.company-name {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0.5rem;
    }

    .hero_section {
        padding: 1rem;
    }

    .hero_section h1 {
        font-size: 1.8rem;
    }

    .hero_section h1:first-child {
        font-size: 1.3rem;
    }

    .hero_form {
        padding: 1.5rem;
    }

    .hero_form h1 {
        font-size: 1.8rem;
    }

    .hero-card {
        padding: 2rem;
    }
}

/* Animaciones */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content {
    animation: slideInLeft 0.8s ease-out;
}

.hero-card {
    animation: slideInRight 0.8s ease-out;
}

.service-item {
    animation: fadeInUp 0.6s ease-out;
}

.service-item:nth-child(1) {
    animation-delay: 0.1s;
}

.service-item:nth-child(2) {
    animation-delay: 0.2s;
}

.service-item:nth-child(3) {
    animation-delay: 0.3s;
}

.service-item:nth-child(4) {
    animation-delay: 0.4s;
}

.hero_section {
    animation: fadeInLeft 0.8s ease-out;
}

.hero_form {
    animation: fadeInRight 0.8s ease-out;
}