/* General body styling */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Container adjustments for padding and borders */
.container {
    padding: 30px 180px 30px 180px;
}
.container-fluid.d-flex.justify-content-center.align-items-center
{
    height:100vh;
}

/* Image centering and responsiveness */
img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
    min-height: 50px; /* Ensures the logo has a minimum height */
}


/* Text and button adjustments for mobile scaling */
h1 {
    font-size: 24px;
    font-weight: bold;
}

p {
    font-size: 14px;
    line-height: 1.6;
}

.lead {
    font-size: 13px;
}

/* Button styling */
.btn {
    font-size: 13px;
    transition: all 0.3s ease;
    background-color: #fff;
    border-color: #d3d3d3;
}

button.btn.btn-warning {
    background-color: #1F51FF;
    color:#fff;
    padding: 10px 25px;
    transition: all 0.3s ease-in-out; /* Smooth transition for all properties */
}
button.btn.btn-warning:hover {
    background-color: #1F51FF;
    color:#fff;
    padding: 10px 25px;
    transform: scale(1.1); /* Grows the button by 10% */
    transition: all 0.3s ease-in-out; /* Ensures smooth animation */
}

/* Make input field centered */
input.form-control.mb-3.w-100 {
    text-align: center;
    font-size:13px;
    padding:15px 0px 15px 0px;
}

/* Footer styling */
.footer {
    background-color: transparent;
    text-align: center;
    font-size: 14px;
    padding-bottom: 20px;
    padding-top: 10px;
    position: relative; /* Ensures footer follows content */
    width: 100%; /* Ensures the footer takes full width */
}

.btn.btn-outline-dark.w-100:hover {
    color: #000;
    background-color: #fff;
    border-color: #d3d3d3;
    cursor:default;
    
}

/* Adjustments for small screens (mobile phones) */
@media (max-width: 768px) {
    
    .container-fluid.d-flex.justify-content-center.align-items-center
{
    height:auto !important;
}
    
    /* Container adjustments for padding and borders */
    .container {
    padding: 100px 0px 100px 0px !important;
    }

    
    h1 {
        font-size: 20px;
    }

    p {
        font-size: 13px;
    }

    .container {
        padding: 10px; /* Less padding for small screens */
    }

    /* Ensure buttons take full width on mobile */
    .btn {
        font-size: 14px;
        padding: 20px; /* Adjust padding for buttons */
    }

    /* Adjust button layout for smaller screens */
    .col-md-4, .col-md-6 {
        width: 100%;
        margin-bottom: 10px;
    }

    /* Input field full width on mobile */
     .footer {
        font-size: 12px; /* Reduce footer text size */
        padding-bottom: 40px; /* Extra padding for mobile screens */
    }

    /* Reduce logo size further */
    img {
        max-width: 120px; /* Adjust logo size */
    }

    /* Ensure input fields and buttons don't overlap */
    input.form-control.mb-3.w-100, 
    button.btn.btn-warning {
        margin-bottom: 20px; /* Add space between fields */
    }
}

/* Adjustments for tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    h1 {
        font-size: 22px;
    }

    p {
        font-size: 14px;
    }

    /* Ensure buttons have sufficient padding and scaling */
    .btn {
        padding: 25px;
    }

    /* Adjust container padding for tablet screens */
    .container {
        padding: 15px;
    }
}

/* For larger screens, apply a max-width constraint */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px; /* Limit max width for large screens */
    }
}
