/* Ensure the background image works properly */
html, body {
    height: 100%; /* Full height for body */
    margin: 0; /* Remove default margin */
}

.landingPage___10M5r {
    background-image: url('pic.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center; /* Ensures the background is always centered */
    height: 100vh; /* Full viewport height */
    width: 100%;
    position: relative;
}

.form-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    position: absolute;
    right: 30px;
    top: 20%; /* Moves the form down */
    max-width: 350px;
    width: 100%;
    z-index: 10;
    transition: transform 0.3s ease-in-out;
}

.form-container:hover {
    transform: scale(1.05); /* Slight hover effect to make it more interactive */
}

.form-container h2 {
    font-family: "Arial", sans-serif;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.form-container .form-control {
    border: none;
    border-bottom: 2px solid #000;
    border-radius: 0;
    font-size: 16px;
    color: #000;
    background: transparent;
    margin-bottom: 15px;
}

.form-container .form-control:focus {
    box-shadow: none;
    border-color: #1562a1;
}

.form-container .btn {
    background-color: #f44336; /* Solid red background */
    color: #fff;
    border-radius: 25px;
    font-size: 18px;
    width: 100%;
    padding: 12px;
    border: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Add subtle shadow */
}

.form-container .btn:hover {
    background-color: #ff7961; /* Light red on hover */
    transform: scale(1.05); /* Button scale on hover */
    box-shadow: 0 8px 12px rgba(255, 69, 58, 0.6); /* Stronger shadow on hover */
    filter: brightness(1.2); /* Slight brightening effect on hover */
}

.form-container .btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 69, 58, 0.7); /* Glow effect when focused */
}

input[type="text"], input[type="email"], input[type="tel"] {
    padding: 12px;
    font-size: 16px;
    border-radius: 10px;
    margin-bottom: 15px;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) 

{
    .form-container {
        right: 10px;
        top: 35%; /* Moves the form lower */
        max-width: 90%;
    }
}

@media (max-width: 768px) {

.landingPage___10M5r {
background-image: url('mobilepic.jpg');}
position: top;
    .form-container {
        right: 10px;
        max-width: 90%;
        padding: 20px;
    }
}

@media (max-width: 480px) {

.landingPage___10M5r {
background-image: url('mobilepic.jpg');}

    .form-container {
        right: 10px;
        max-width: 95%;
        padding: 15px;
    }
}
