/* =========================================================
   FORMS.CSS
   HAZLO FACIL TRAVEL
========================================================= */

/* =========================================================
   SUBSCRIPTION SECTION
========================================================= */

.subscription-section {

    position: relative;

    padding:
        100px 0;

    z-index: 5;

}

/* =========================================================
   SUBSCRIPTION CARD
========================================================= */

.subscription-card {

    position: relative;

    overflow: hidden;

    max-width: 960px;

    margin: auto;

    padding: 60px;

    border-radius:
        var(--radius-xl);

    background:
        rgba(255,255,255,.08);

    border:
        1px solid rgba(255,255,255,.12);

    backdrop-filter:
        blur(24px);

    box-shadow:
        var(--shadow-lg);

}

/* =========================================================
   LIGHT EFFECT
========================================================= */

.subscription-card::before {

    content: '';

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.08),
            transparent
        );

    pointer-events: none;

}

.subscription-card::after {

    content: '';

    position: absolute;

    top: -80px;
    right: -80px;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(90,168,255,.18),
            transparent 70%
        );

    filter:
        blur(40px);

}

/* =========================================================
   FORM TITLE
========================================================= */

.subscription-card h3 {

    position: relative;

    z-index: 2;

    font-family:
        var(--font-primary);

    font-size:
        clamp(
            1.8rem,
            4vw,
            2.6rem
        );

    font-weight:
        var(--fw-black);

    line-height: 1.4;

    margin-bottom: 18px;

}

.subscription-card p {

    position: relative;

    z-index: 2;

    color:
        var(--text-light);

    margin-bottom: 35px;

    line-height: 1.8;

}

/* =========================================================
   FORM GROUP
========================================================= */

.form-group {

    position: relative;

    margin-bottom: 25px;

}

/* =========================================================
   CUSTOM INPUT
========================================================= */

.custom-input {

    width: 100%;

    height: 70px;

    border: none;

    border-radius:
        var(--radius-md);

    background:
        rgba(255,255,255,.10);

    border:
        1px solid rgba(255,255,255,.08);

    padding:
        0 22px
        0 60px;

    color: #fff;

    font-size: 1rem;

    transition:
        var(--transition-normal);

    outline: none;

}

/* =========================================================
   PLACEHOLDER
========================================================= */

.custom-input::placeholder {

    color:
        rgba(255,255,255,.55);

}

/* =========================================================
   INPUT FOCUS
========================================================= */

.custom-input:focus {

    background:
        rgba(255,255,255,.14);

    border-color:
        rgba(90,168,255,.45);

    box-shadow:
        0 0 25px rgba(90,168,255,.35);

}

/* =========================================================
   INPUT ICON
========================================================= */

.input-icon {

    position: absolute;

    top: 50%;
    left: 22px;

    transform:
        translateY(-50%);

    color:
        rgba(255,255,255,.55);

    font-size: 1rem;

    transition:
        var(--transition-normal);

}

.custom-input:focus + .input-icon {

    color:
        var(--accent);

}

/* =========================================================
   BUTTON
========================================================= */

.custom-btn {

    position: relative;

    overflow: hidden;

    width: 100%;

    height: 72px;

    border: none;

    border-radius:
        var(--radius-md);

    background:
        var(--gradient-primary);

    color: #fff;

    font-family:
        var(--font-primary);

    font-size: 1rem;

    font-weight:
        var(--fw-extrabold);

    letter-spacing: 2px;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        var(--transition-normal);

}

/* =========================================================
   BUTTON SHINE
========================================================= */

.custom-btn::before {

    content: '';

    position: absolute;

    top: 0;
    left: -100%;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.35),
            transparent
        );

    transition:
        .8s ease;

}

.custom-btn:hover::before {

    left: 120%;

}

/* =========================================================
   BUTTON HOVER
========================================================= */

.custom-btn:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 20px 35px rgba(12,99,255,.35);

}

/* =========================================================
   BUTTON ACTIVE
========================================================= */

.custom-btn:active {

    transform:
        scale(.98);

}

/* =========================================================
   SMALL TEXT
========================================================= */

.form-note {

    margin-top: 18px;

    font-size: .9rem;

    color:
        rgba(255,255,255,.55);

    line-height: 1.6;

}

/* =========================================================
   SUCCESS MESSAGE
========================================================= */

.success-message {

    display: none;

    margin-top: 25px;

    padding: 20px;

    border-radius:
        var(--radius-md);

    background:
        rgba(25,135,84,.15);

    border:
        1px solid rgba(25,135,84,.25);

    color:
        #A9FFD1;

    font-weight:
        var(--fw-semibold);

}

/* =========================================================
   ERROR MESSAGE
========================================================= */

.error-message {

    display: none;

    margin-top: 25px;

    padding: 20px;

    border-radius:
        var(--radius-md);

    background:
        rgba(220,53,69,.15);

    border:
        1px solid rgba(220,53,69,.25);

    color:
        #FFB7BF;

    font-weight:
        var(--fw-semibold);

}

/* =========================================================
   LOADING BUTTON
========================================================= */

.btn-loading {

    pointer-events: none;

    opacity: .85;

}

.btn-loading i {

    animation:
        rotateSlow 1s linear infinite;

}

/* =========================================================
   CHECKBOX
========================================================= */

.custom-checkbox {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin-top: 25px;

}

.custom-checkbox input {

    margin-top: 5px;

}

.custom-checkbox label {

    font-size: .92rem;

    color:
        var(--text-light);

    line-height: 1.6;

}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:768px){

    .subscription-card {

        padding: 40px;

    }

    .subscription-card h3 {

        font-size: 1.8rem;

    }

    .custom-input {

        height: 64px;

    }

    .custom-btn {

        height: 66px;

    }

}

@media(max-width:576px){

    .subscription-card {

        padding: 30px;

        border-radius:
            28px;

    }

    .subscription-card h3 {

        font-size: 1.5rem;

    }

    .custom-input {

        height: 60px;

        padding-left: 54px;

    }

    .custom-btn {

        height: 62px;

        font-size: .9rem;

    }

}