* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.content-wrapper {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    padding-bottom: 300px !important; /* 🔥 MAGIC FIX */
    margin: 0 auto;
    background-image: url('../images/final.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

/* #loaderGif {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }

    #loaderGif img {
      width: 45px;
    } */

    #loaderGif {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;         /* Hidden initially */
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.0);
    z-index: 9999;
}

#loaderGif img {
    width: 45px;
}


/* Logo Section */
.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
}

.logo-section img{
    width: 249px;
    height: 97px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

/* Form Styles */
form {
    width: 100%;
    margin-top: 10rem; 
}

.form-group {
    position: relative;
    margin-bottom: 0;
}

input[type="text"],
input[type="tel"] {
    width: 100%;
    padding: 15px 20px;
    background: #231F20;
    border: 2px solid #E9A721;
    border-radius: 10px;
    color: #E9A721;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

input[type="text"]::placeholder,
input[type="tel"]::placeholder {
    color: #E9A721;
    opacity: 1;
}

input[type="text"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: #E6C87E;
    box-shadow: 0 0 10px rgba(201, 169, 97, 0.3);
}

input.error {
    border-color: #ff4444;
}

.error-message {
    color: #ff4444;
    font-size: 12px;
    display: block;
    margin-top: 5px;
    margin-left: 5px;
    min-height: 18px;
}

/* Upload Section */
.upload-group {
    margin-top: 0;
    margin-bottom: 0;
}

.upload-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #231F20;
    border: 2px solid #E9A721;
    border-radius: 10px;
    color: #E9A721;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-label:hover {
    border-color: #E6C87E;
    box-shadow: 0 0 10px rgba(201, 169, 97, 0.3);
}

.upload-icon {
    font-size: 20px;
}

/* OTP Section */
.otp-section {
    margin-top: 0px;
}

/* Submit Button */
.submit-btn {
    width: 70%;
    max-width: 250px;
    padding: 15px 30px;
    background: url(../images/Rectangle\ 5.png) no-repeat center center;
    background-size: 100% 100%;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 15px auto;
    text-transform: uppercase;
}

.submit-btn:hover {
    background: #f4c858;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.4);
}

.submit-btn:disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.5;
}

/* Resend OTP Button */
.resend-btn {
    background: transparent;
    border: 1px solid #E9A721;
    color: #E9A721;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 10px auto;
    text-transform: uppercase;
}

.resend-btn:hover {
    background: #E9A721;
    color: #000;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: url(../images/form-bg.png) no-repeat center center;
    background-size: 100% 100%;
    border-radius: 12px;
    padding: 50px 40px;
    text-align: center;
    max-width: 350px;
    width: 90%;
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.modal-text {
    color: #231F20;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 1.5px;
}

.modal-btn {
    background: transparent;
    border: 2px solid #231F20;
    color: #231F20;
    padding: 10px 40px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.modal-btn:hover {
    background: #231F20;
    color: #E9A721;
}

/* Thank You Box */
.thankyou-box {
    background: url(../images/form-bg.png) no-repeat center center;
    background-size: 100% 100%;
    border-radius: 12px;
    padding: 60px 40px;
    margin: 80px 0;
    text-align: center;
    margin-top: 10rem;
}

.thankyou-text {
    color: #231F20;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: 1.5px;
}

/* Footer Logo */
/* .footer-logo {
    text-align: right;
    margin-top: 100px;
} */

.footer-logo {
    text-align: right;
    margin-top: auto;
    padding-bottom: 20px;
}

.footer-logo img {
    max-width: 120px;
    height: auto;
}

/* Responsive Design */
@media (max-width: 600px) {
    .content-wrapper {
        padding: 30px 15px;
    }

    .logo-section {
        margin-bottom: 30px;
    }

    input[type="text"],
    input[type="tel"],
    .upload-label {
        font-size: 13px;
    }

    .submit-btn {
        font-size: 14px;
        padding: 12px 25px;
    }

    .resend-btn {
        font-size: 11px;
        padding: 6px 15px;
    }

    .thankyou-box {
        padding: 40px 30px;
        /* margin: 60px 0; */
    }

    .thankyou-text {
        font-size: 16px;
    }

    .modal-content {
        padding: 40px 30px;
    }

    .modal-text {
        font-size: 16px;
    }
}

@media (max-width: 400px) {
    .thankyou-box {
        padding: 50px 20px;
    }

    .thankyou-text {
        font-size: 14px;
    }
}

/* Animation for page load */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-wrapper {
    animation: fadeIn 0.6s ease-out;
}