:root{
    --background-gradiend-1: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgba(0, 21, 36, 0.84) 100%);
    --background-gradiend-2: radial-gradient(circle, rgba(59, 131, 246, 0.18) 0%, rgba(59, 130, 246, 0) 70%);
    --background-gradiend-3: radial-gradient(circle, rgba(138, 92, 246, 0.12) 0%, rgba(139, 92, 246, 0) 70%);
    --background-contact: linear-gradient(271deg, rgb(0 21 36) 0%, rgb(0 0 0) 100%);
    --background-contact-effect: rgba(255, 255, 255, 0.03);
    --title: #1a75ff;
    --subtitle: #64748b;
    --paragraphs: white;
    --button-hover: #0056d6;
    --font-type: 'Century Gothic', system-ui, sans-serif;
}

@font-face {
    font-family: 'Century Gothic';
    src: local('Century Gothic');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Century Gothic', system-ui, sans-serif;
}

/* ****************************/
/* Estilización del scrollbar */
/* ****************************/

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #6e57e0, #8f84ff);
    border-radius: 5px;
    border: 2px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #5a44c9, #7b71ff);
}
/* ********************************/
/* End Estilización del scrollbar */
/* ********************************/

body {
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
}
/* ***************************** */
/*El Background de toda la pagina*/
/* ***************************** */
.background-gradients {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.gradient-1 {
    position: absolute;
    inset: 0;
    background: var(--background-gradiend-1);
    animation: gradientPulse 8s infinite alternate;
}

.gradient-2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 700px;
    height: 700px;
    background: var(--background-gradiend-2);
    animation: gradientPulse 8s infinite alternate;
}

.gradient-3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 700px;
    height: 700px;
    background: var(--background-gradiend-3);
    animation: gradientPulse 8s infinite alternate;
}

@keyframes gradientPulse {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/*************************************/
/*END El Background de toda la pagina*/
/*************************************/

/**********************************************/
/*Para ocultar el logo y el boton en el header*/
/**********************************************/
.logo-falcon-header {
    display: none;
}

.sign-up-header {
    display: none;
}
/* Cambiar de ubicación */
.menu-icon-header {
    position: absolute;
    top: 45px;
    right: 63px;
}
/**************************************************/
/*END Para ocultar el logo y el boton en el header*/
/**************************************************/

/*********************/
/*Cuerpo de la pagina*/
/*********************/
.container-contacts {
    display: flex;
    min-height: 100vh;
    position: relative;
    background: var(--background-contact);
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.form-section-contacts {
    width: 50%;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    -webkit-mask-image: linear-gradient(to right,
            #000 0%,
            #000 90%,
            transparent 100%);
    mask-image: linear-gradient(to right,
            #000000 0%,
            #000 90%,
            transparent 100%);
    opacity: 0;
    animation: slideFromLeft 1s ease-out 0.3s forwards;
}

.title-contacts {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    opacity: 0;
    animation: slideFromLeft 1s ease-out 0.6s forwards;
}

.title-contacts:hover {
    transform: translateY(-5px);
    text-shadow: 0 0 15px rgba(26, 117, 255, 0.5);
}

.title-contacts span {
    color: var(--title);
    transition: color 0.3s ease;
}

.title-contacts:hover span {
    color: #4a90ff;
}

.subtitle-contacts {
    color: var(--subtitle);
    margin-bottom: 3rem;
    font-size: 0.95rem;
    opacity: 0;
    animation: slideFromLeft 1s ease-out 0.9s forwards;
}

.subtitle-contacts a {
    color: var(--title);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.subtitle-contacts a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--title);
    transition: width 0.3s ease;
}

.subtitle-contacts a:hover::after {
    width: 100%;
}

.form-group-contacts {
    position: relative;
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideUp 0.5s ease forwards;
}

.form-group-contacts:nth-child(1) { animation-delay: 0.2s; }
.form-group-contacts:nth-child(2) { animation-delay: 0.4s; }
.form-group-contacts:nth-child(3) { animation-delay: 0.6s; }
.form-group-contacts:nth-child(4) { animation-delay: 0.8s; }

.form-group-contacts .title-contacts {
    display: block;
    color: var(--subtitle);
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.input-grid-contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideFromLeft 1s ease-out 1.2s forwards;
}

.form-control-contacts {
    width: 100%;
    padding: 1.2rem;
    background-color: var(--background-contact-effect);
    border: none;
    border-radius: 1rem;
    color: var(--paragraphs);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control-contacts::placeholder {
    color: var(--paragraphs);
    opacity: 1;
}

textarea.form-control-contacts {
    min-height: 150px;
    resize: vertical;
}

.form-control-contacts:focus {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.input-icon-contacts {
    position: absolute;
    right: 1rem;
    top: 62%;
    transform: translateY(-50%);
    color: var(--subtitle);
    font-size: 1.2rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Para quitar el auto inremento del input number Para navegadores WebKit (Chrome, Safari, Edge) */
#phoneNumber::-webkit-outer-spin-button,
#phoneNumber::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}                       

.form-group-contacts.with-textarea .input-icon-contacts {
    top: 2.5rem;
    opacity: 0;
    animation: slideFromLeft 1s ease-out 1.5s forwards;
}

.form-group-contacts:hover .input-icon-contacts {
    transform: translateY(-50%) scale(1.1);
    color: var(--title);
}

.form-footer-contacts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    opacity: 0;
    animation: slideFromLeft 1s ease-out 1.8s forwards;
}

.attachment-btn-contacts {
    color: var(--subtitle);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.attachment-btn-contacts:hover {
    opacity: 1;
    transform: translateX(5px);
    color: var(--title);
}

.radio-inputs {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    border-radius: 0.5rem;
    box-sizing: border-box;
    box-shadow: 0 0 0px 1px rgba(0, 0, 0, 0.06);
    padding: 0.25rem;
    width: 280px;
    font-size: 16px;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards;
}

.radio-inputs .radio {
    flex: 1 1 auto;
    text-align: center;
}

.radio-inputs .radio input {
    display: none;
}

.radio-inputs .radio .name {
    display: flex;
    cursor: pointer;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: none;
    padding: .5rem 0;
    color: var(--paragraphs);
    transition: all 0.3s ease;
}

.radio-inputs .radio input:checked+.name {
    background-color: var(--background-contact-effect);
    font-weight: 600;
}

.radio-inputs .radio .name:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.05);
}

.radio.sms:hover::after {
    content: "Applies only to cell phones";
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 5px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

.radio.sms:hover::after {
    opacity: 1;
}

.send-btn-contacts {
    background-color: var(--title);
    color: var(--paragraphs);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 2rem;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.send-btn-contacts:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(26, 117, 255, 0.3);
}

.send-btn-contacts::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.send-btn-contacts:active::after {
    width: 200px;
    height: 200px;
    opacity: 0;
}

.image-section-contacts {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 52%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to left,
            #000 0%,
            #000 90%,
            transparent 100%);
    mask-image: linear-gradient(to left,
            #000 0%,
            #000 90%,
            transparent 100%);
    opacity: 0;
    animation: slideFromRight 1s ease-out 1s forwards;
}

.image-section-contacts img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
    transition: all 0.5s ease;
}

.image-section-contacts:hover img {
    filter: brightness(60%) contrast(1.1);
    transform: scale(1.05);
}

/*************************/
/*END Cuerpo de la pagina*/
/*************************/

/*******************/
/*Responsive Phones*/
/*******************/

@media (max-width: 768px) {
    .container-contacts {
        flex-direction: column;
    }

    .form-section-contacts {
        width: 100%;
        padding: 2rem;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .image-section-contacts {
        display: none;
    }

    .title-contacts {
        font-size: 3rem;
    }

    .radio-inputs {
        max-width: 80%;
    }
}

@media screen and (max-width: 528px) {
    .title-contacts {
        font-size: 2.5rem;
    }

}

@media (max-width: 480px) {
    .radio-inputs {
        max-width: 90%;
    }
}

/***********************/
/*END Responsive Phones*/
/***********************/

/* Animación global para elementos principales */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animación para mensajes de error o éxito */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Animación al cargar la página */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Primero, agregamos las nuevas animaciones */
@keyframes slideFromRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideFromLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}