@font-face {
    font-family: 'Al-Font';
    src: url('/assets/alfont_com_AlFont_com_din-next-lt-w23-bold\ \(1\).ttf') format('Alfont');
    /* font-weight: normal; */
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Al-Font', sans-serif;
}

html, body {
    width: 100%;
    height: 100vh;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Al-Font', sans-serif;
}

body {
    background-color: white;
    color: #222;
;
}

/* Card Styles */
.card {
    background-size: cover;
    background-position: center;

    border-radius: 10px;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 30px;
    z-index: 0;
}

/* Logo Styles */
.logo {
    margin: 20px 0 20px 0;
}

.image {
    width: 100px;
    animation: 2.5s pulse infinite;
}

/* Language Switcher */
.lang-switcher {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.lang-btn {
    color: black;
    background: transparent;
    /* color: #d11124; */
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}

/* Text Content */
.text-content {
    text-align: center;
    align-items: center;;
    margin-bottom: 0.5rem;
    font-size: 24px;
    display: flex;
    flex-direction: column;
}

.text-content > p {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 20px;
    font-weight: 500;
}

/* Form Elements */
.form-group {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 20px;
}

.phone-container {
    padding: 0px 25px;
    color: black;
    border: 3px black solid;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    direction: ltr;
    font-weight: 600;
}

.phone-input {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    text-align: start;
    direction: ltr;
    outline: none;
    background: transparent;
    border: 2px black solid;

}

.phone-input::placeholder {
    color: black;
    opacity: 0.9;
}

.phone-input > input {
    background: transparent;
    border: none;
    color: black;
    width: 100%;
    font-size: 16px;
    outline: none;
}

#otp-helper {
    font-size:1rem;
    text-align: center;
}

.submit-button {
    width: 100%;
    padding: 15px;
    background-color: rgba(59, 195, 0, 1);
    color: black;
    border: none;
    border-radius: 5px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: rgba(59, 195, 0, 1);
}

/* Footer Info */
.footer-info {
    width: 100%;
    max-width: 700px;
    text-align: center;
    font-size: 20px;
    line-height: 1.5;
    margin-top: 10px;
    /* position: absolute;
    bottom: 1rem; */
}

.footer-info p {
    font-weight: 700;
}

/* Curve Shape */
.curve {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30%;
    height: 50%;
    background-color: white;
    border-radius: 100% 0 0 0;
}

/* White Section (Mobile) */
.white-section {
    color: #222;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    width: 100%;
    position: absolute;
    bottom: 0;
    display: none;
}

.digit-group {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.digit-group
input {
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: 2px black solid;
    border-radius: 10px;
    line-height: 50px;
    text-align: center;
    font-size: 24px;
    font-family: 'Raleway', sans-serif;
    font-weight: 200;
    margin: 0.5rem 0.3rem;
}
.input-nb[type="number"]::-webkit-inner-spin-button,
.input-nb[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Media Queries */
@media screen and (max-width: 1081px){
    .card {
        /* background-position: 60% 70%; */
        background-size: cover;
        height: 100vh;
        max-height: none;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }

    .footer-info {
        bottom: 2rem;
    }

    .footer-info p {
        color: black;
        font-weight: 700;
    }

    .digit-group input{
        width: 3rem;
        height: 3rem;
    }

    .text-content > p {
        text-align: center;
        font-size: 16px;
    }



    @media screen and (max-height: 800px) {
        .card {
            /* gap: 0.8rem; */
            gap:0;
            padding: 2% 3%;
        }

        .footer-info p {
            font-size: 0.9rem;
        }

        .image {
            width: 150px;
            height: auto;
        }

        .logo {
            margin: 0;
        }

        .text-content {
            font-size: 0.9rem;
        }
    }

    @media screen and (min-height: 801px) {
        .card {
            gap: 1rem;
            padding: 2% 4%;
        }

        .footer-info {
            bottom: 2rem;
        }

        .footer-info p {
            font-size: 1.2rem;
        }

        .text-content {
            font-size: 20px;
            padding-bottom: 20px
        }

        .image {
            width: 200px;
            height: auto;
        }
    }

}

@keyframes pulse {
    0%, 100% {
        scale: 1;
        opacity: 1;
    }
    50% {
        scale: 1.05;
        opacity: 0.95;
    }
}
