﻿
body {
    font-family: 'Roboto', sans-serif;
    background: #fff0f5;
    margin: 0;
    padding: 0;
}

.registration-box {
    min-height: 100vh;
}

.image-side {
    position: relative;
    background-image: url('/images/RegBannerImg.JPG');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #f8d7da;
    min-height: 100vh; /* Ensure full height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    /* Full overlay */
    .image-side .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.44); /* semi-dark overlay */
        z-index: 1;
    }
/* ✅ Fixed layout: Welcome To + Tuz Maz Jamal in one line */
.welcome-text {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    font-size: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    gap: 12px;
}

/*.welcome-text {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    color: #fff;
    padding: 2rem;
}*/

.static-text {
    font-weight: 500;
    color: #fff;
}
@keyframes typingTuzMaz {
    0%, 5% {
        content: "";
    }

    6% {
        content: "T";
    }

    12% {
        content: "Tu";
    }

    18% {
        content: "Tuz";
    }

    24% {
        content: "Tuz ";
    }

    30% {
        content: "Tuz M";
    }

    36% {
        content: "Tuz Ma";
    }

    42% {
        content: "Tuz Maz";
    }

    48% {
        content: "Tuz Maz ";
    }

    54% {
        content: "Tuz Maz J";
    }

    60% {
        content: "Tuz Maz Ja";
    }

    66% {
        content: "Tuz Maz Jam";
    }

    72% {
        content: "Tuz Maz Jama";
    }

    78% {
        content: "Tuz Maz Jamal";
    }

    90%, 100% {
        content: "";
    }
}


@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.typewriter {
    --caret: #fff;
    font-family: 'Playfair Display', serif;
    position: relative;
}

    .typewriter::before {
        content: "";
        animation: typingTuzMaz 6s steps(1) infinite;
    }

    .typewriter::after {
        content: "";
        border-right: 2px solid var(--caret);
        animation: blink 0.6s steps(1) infinite;
    }

.form-wrapper {
    background: #fff;
    display: flex;
    align-items: flex-start;
    padding: 4rem;
}

.form-inner {
    width: 100%;
}

.logo-container {
    max-width: 200px;
    margin: 0 auto 30px;
}

    .logo-container img {
        width: 100%;
    }

.form-title {
    font-size: 32px;
    color: #730403;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

label {
    color: rgb(86 91 96);
}

.form-control,
.form-select {
    color: rgb(147 162 183);
    font-size: 14px;
    padding: 10px 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease;
}

    .form-control:focus,
    .form-select:focus {
        border-color: #fa8500;
        box-shadow: 0 0 5px rgba(250, 133, 0, 0.3);
    }
.forgot-password-link {
    font-size: 0.9rem;
    color: rgb(86 91 96);
    text-decoration: none;
    font-weight: 500;
}

    .forgot-password-link:hover {
        text-decoration: underline;
        color: #fa8500;
    }

.Orange-Marroon button {
    background-color: #fa8500; /* initial orange */
    border: none;
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    overflow: hidden;
    padding: 5px 30px;
    position: relative;
    text-transform: capitalize;
    transition: all 0.3s linear;
    z-index: 2;
    cursor: pointer;
}

    .Orange-Marroon button:before,
    .Orange-Marroon button:after {
        content: "";
        position: absolute;
        transition-duration: 0.9s;
        z-index: 1;
    }

    .Orange-Marroon button:before {
        background: #730403; /* deep maroon on hover */
        border-radius: 80%;
        height: 170px;
        left: -50px;
        right: -50px;
        top: 110px;
        transform: translateY(-50px);
    }

    .Orange-Marroon button:after {
        background-color: rgba(0, 0, 0, 0.2); /* optional dark overlay */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
    }

    /* Hover Effects */
    .Orange-Marroon button:hover {
        background-color: #730403; /* fallback hover background */
    }

        .Orange-Marroon button:hover:before {
            top: -30px;
        }

        .Orange-Marroon button:hover:after {
            opacity: 0.1;
        }

    .Orange-Marroon button span {
        position: relative;
        z-index: 2;
    }
.signup-link:hover {
    color: #fa8500 !important;
    text-decoration-color: #fa8500 !important;
    text-decoration: underline !important;
}
/* 🖥️ XL Devices (Large desktops and TVs) */
@media (min-width: 1200px) {
    .welcome-text {
        font-size: 55px;
    }

    .form-title {
        font-size: 32px;
    }

    .logo-container {
        max-width: 200px;
    }
}

/* 🖥️ LG Devices (Desktops) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .registration-box {
        flex-direction: row;
    }

    .image-side {
        order: 0;
        min-height: 100vh;
    }

    .form-wrapper {
        padding: 2rem;
    }

    .form-title {
        font-size: 30px;
    }

    .welcome-text {
        font-size: 50px;
    }

    .logo-container {
        max-width: 190px;
    }

    .dropping-texts {
        width: 180px;
        height: 55px;
    }
}

/* 📱 MD Devices (Tablets) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .registration-box {
        flex-direction: column;
    }

    .image-side {
        order: -1;
        width: 100%;
        min-height: 625px;
    }

    .form-wrapper {
        padding: 3rem;
    }

    .form-title {
        font-size: 26px;
    }

    .welcome-text {
        font-size: 34px;
        white-space: normal;
    }

    .logo-container {
        max-width: 170px;
    }

    .btn-submit {
        font-size: 14px;
    }

    .dropping-texts {
        width: 140px;
        height: 45px;
    }
}

/* 📱 SM Devices (Large Phones) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .registration-box {
        flex-direction: column;
    }

    .image-side {
        order: -1;
        min-height: 450px;
    }

    .form-wrapper {
        padding: 3rem;
    }

    .form-title {
        font-size: 22px;
    }

    .welcome-text {
        font-size: 35px;
    }

    .logo-container {
        max-width: 150px;
    }

    .btn-submit {
        font-size: 13px;
        padding: 8px 30px;
    }

    .dropping-texts {
        width: 120px;
        height: 40px;
    }
}

/* 📱 XS Devices (Small Phones) */
@media (max-width: 575.98px) {
    .registration-box {
        flex-direction: column;
    }

    .image-side {
        order: -1;
        width: 100%;
        min-height: 360px;
    }

    .form-wrapper {
        padding: 3rem;
    }

    .form-title {
        font-size: 20px;
    }

    .welcome-text {
        font-size: 35px;
    }

    .logo-container {
        max-width: 130px;
    }

    .btn-submit {
        font-size: 12px;
        padding: 7px 22px;
    }

    .dropping-texts {
        width: 100px;
        height: 35px;
    }
}

/* 📱 XXS Devices (Extra Small Phones - 375px or below) */
@media (max-width: 400px) {
    .form-title {
        font-size: 18px;
    }

    .welcome-text {
        font-size: 30px;
    }

    .btn-submit {
        font-size: 11px;
        padding: 6px 18px;
    }

    .logo-container {
        max-width: 120px;
    }

    .dropping-texts {
        width: 90px;
        height: 30px;
    }
}



