﻿
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden; /* 🚫 Prevent scroll */
    font-family: Arial, sans-serif;
}

.membership-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100vh; /* Full screen height */
    box-sizing: border-box;
    padding: 0 0 0 5%;
    position: relative;
}

/* ---- Left Form ---- */
.form-box {
 flex: 0 0 50%;
    width: 100%;
    background: #fff;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
    margin-right: -200px;/* Overlapping effect */
   /* overflow-y: auto; *//* scroll inside form if needed */
    height: 90vh;
}

    .form-box h2 {
        font-size: 33px;
        margin-top: 0;
        color: #ff5d22;
    }

.sub-text {
    font-size: 14px;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

input, select {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.terms {
    font-size: 12px;
    color: #555;
}

    .terms a {
        color: #FF5D22;
        text-decoration: none;
    }

button {
    width: 100%;
    padding: 12px;
    background: #333;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.form-control {
    border: 1px solid #ffbfa8;
    
}

/* ---- Right Image ---- */
.image-side {
    flex: 0 0 75%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

    .image-side img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
    }


.submit-btn {


    font-size: 22px;
    color: #fff;
    padding: 8px 8px ;
    text-transform: uppercase;
    position: relative;
    cursor: pointer;
    text-align: center;
    border-radius: 50px;
    font-weight: 600;
    overflow: hidden;
    border: none;
    background: #ff5d22;
    box-shadow: 0 3px 24px rgb(0 0 0 / 10%);
    transition: all .5s ease-in-out;
    z-index: 1;
    margin-top:2rem;
    width:80%;
}

    .submit-btn i {
        height: 36px;
        width: 36px;
        line-height: 36px;
        color: #ff5d22;
        background: #fff;
        margin-left: 12px;
        border-radius: 50px;
        transition: all .5s ease-in-out;
    }
        .submit-btn:hover{
           background-color:#333;
           color:#fff;
        }

        /* ---- Responsive ---- */
        @media (max-width: 992px) {
            html, body {
        overflow-y: auto; /* Allow scroll only on small screens */
    }

    .membership-section {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .form-box {
        /* margin: 0 auto 20px;*/
        max-width: 100%;
        margin-right: 0;
        height: auto;
    }

    .image-side {
        width: 100%;
        height: auto;
    }

        .image-side img {
            height: auto;
        }
    .form-box h2 {
        font-size: 25px;
    }

}


@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }
}



.regis img{
    height:12vh;
    width:25vh;
}















/*body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fff;
}

.membership-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 100vh;
    padding: 0 0 50px 5%;
    box-sizing: border-box;
    position: relative;
}

.form-box {
    flex: 0 0 20%;
    max-width: 500px;
    background: #fff;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
    margin-right: -200px;
}

    .form-box h2 {
        font-size: 24px;
        margin-top: 0;
    }

.sub-text {
    font-size: 14px;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

input, select, .form-control {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.terms {
    font-size: 12px;
    color: #555;
}

    .terms a {
        color: #007BFF;
        text-decoration: none;
    }

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #333;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.image-side {
    flex: 0 0 75%;
    margin-top: 0;
    position: relative;
}

    .image-side img {
        width: 100%;
        height: auto;
        border-radius: 4px;
    }

.tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #A52A2A;
    color: #fff;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-radius: 4px;
    text-transform: uppercase;
    line-height: 1.3em;
}

@media (max-width: 992px) {
    .membership-section {
        flex-direction: column;
        padding: 20px;
    }

    .form-box {
        margin: 0 auto 20px;
        max-width: 100%;
    }

    .image-side {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }
}*/