/* banner start */
.banner {
    height: calc(100dvh - 2rem);
    overflow: hidden;
}

.rig-content {
    position: relative;
    z-index: 1;
}

.banner-form-title {
    position: relative;
    background-color: #fff;
    padding: 1.2rem 0rem;
    text-align: center;
    color: white;
    border-radius: 0.6rem 0.6rem 0rem 0rem;
    text-transform: uppercase;
}

.banner-form-title::before {
    content: "";
    position: absolute;
    bottom: -18%;
    left: 46%;
    width: 24px;
    height: 24px;
    background-color: #fff;
    transform: rotate(45deg);
}

.banner-form-title strong {
    font-size: 1.35rem;
    margin: 0;
    background: linear-gradient(90.99deg,
            rgba(0, 104, 199, 1) 0%,
            rgba(0, 0, 0, 1) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner-form {
    background: linear-gradient(148.22deg,
            rgba(0, 104, 199, 1) 0%,
            rgba(0, 0, 0, 1) 100%);
    border-radius: 0rem 0rem 0.6rem 0.6rem;
    padding: 2rem 2rem;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transition: 0.4s ease-in-out;
}

.banner-form-group {
    --pad: 0.75rem;
    position: relative;
}

.banner-form-group input {
    background-color: transparent;
    padding: var(--pad);
    border-radius: 0.3rem;
    border: 0.15rem solid var(--input-border-clr);
    width: 100%;
    outline: none;
    color: white;
}

.banner-form-group label {
    position: absolute;
    left: var(--pad);
    top: var(--pad);
    color: white;
    padding-inline: 0.3em;
    transition: transform 200ms;
    pointer-events: none;
    transform-origin: left;
    translate: -0.3em;
}

.banner-form-group input::placeholder {
    opacity: 0;
}

.banner-form-group input:focus+label,
.banner-form-group input:not(:placeholder-shown)+label {
    transform: translateY(calc(-50% - var(--pad))) scale(0.8);
    background-color: rgba(0, 104, 199, 1);
}

.banner-form-group input:focus {
    border: 0.15rem solid white;
}

.banner-flag-feild {
    display: flex;
    gap: 0.5rem;
    padding: 0.6rem;
    border-radius: 0.25rem;
    border: 0.15rem solid var(--input-border-clr);
    outline-color: #fff;
}

.banner-flag-feild .iti .iti__selected-dial-code {
    color: white;
}

.banner-flag-feild .iti__arrow {
    margin-left: var(--iti-arrow-padding);
    width: 0;
    height: 0;
    border-left: var(--iti-triangle-border) solid transparent;
    border-right: var(--iti-triangle-border) solid #00000000;
    border-top: var(--iti-arrow-height) solid #fefafa;
}

.banner-flag-group input {
    border: none;
    background-color: transparent;
    outline: none;
    width: 100%;
    color: white;
}

.banner-flag-group input::placeholder {
    color: white;
}

.banner-message-feild textarea {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.25rem;
    border: 0.15rem solid var(--input-border-clr);
    outline-color: #fff;
    background-color: transparent;
    color: white;
}

.banner-message-feild textarea::placeholder {
    color: white;
}

.banner-form-btn {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.25rem;
    background-image: linear-gradient(45deg,
            #0068c7 0%,
            #509cfb 51%,
            #0068c7 100%);
    transition: 0.5s;
    background-size: 200% auto;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.banner-form-btn:hover {
    background-position: right center;
}

.banner-form-btn:active {
    transform: scale(0.95);
}

/* Extra Small Devices (Phones) */
@media only screen and (max-width: 576px) {
    .banner {
        height: auto;
        overflow: hidden;
    }

    .banner-form-title strong {
        font-size: 1.15rem;
        margin: 0;
    }

    .banner-form {
        background-color: white;
        border-radius: 0rem 0rem 0.6rem 0.6rem;
        padding: 1rem 1rem;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        transition: 0.4s ease-in-out;
    }
}

/* Small Devices (Tablets) */
@media only screen and (min-width: 577px) and (max-width: 767px) {
    .banner {
        height: auto;
        overflow: hidden;
    }

    .banner-form-title strong {
        font-size: 1.15rem;
        margin: 0;
    }
}

/* Medium Devices (Laptops, Smaller Desktops) */
@media only screen and (min-width: 768px) and (max-width: 992px) {
    .banner {
        height: auto;
        overflow: hidden;
    }

    .banner-form-title strong {
        font-size: 1.25rem;
        margin: 0;
    }
}