body {
    font-family: Arial, sans-serif;
    margin: 0;
    overflow: hidden;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
    background: radial-gradient(#c1efc0 0%, whitesmoke 30%, #bde7a8 70%);
}
.content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100% - 80px); /* Adjusted height to account for navbar */
    margin-top: 80px; /* Height of the navbar */
}

.login-container {
    display: flex;
    flex-direction: row;
    width: 80%;
    max-width: 1000px;
    max-height: 80%; /* Set a minimum height */
    box-shadow: 15px 0px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    overflow: hidden; /* Prevents any image overflow */
    border-radius: 25px;
}
.image-slideshow {
    width: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-slideshow img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* keep aspect ratio and fit within container */
    position: relative;
    opacity: 0; /* Hide all images by default (for slideshow support) */
    transition: opacity 0.6s ease-in-out;
}
.image-slideshow img.active {
    opacity: 1; /* Only the active image is shown */
    z-index: 1; /* Ensure active image is on top of others */
}
.center-image {
    display: block;
    margin: 0 auto; /* Center the image */
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
}
.login-form {
    width: 50%;
    padding: 35px;
    box-sizing: border-box; /* Include padding in the width */
}
.login-form h2 {
    margin-bottom: 20px;
    border-radius: 25px;
    color: #29a853; /* Green color for the header */
    text-shadow: 1px 1px 1px teal; /* Shadow effect for the header text */
    text-align: center; /* Center-align the header text */
}
.styled-dropdown {
    font-family: Arial, sans-serif; /* Choose your font */
    font-size: 16px; /* Set the font size */
    color: #333; /* Text color */
    padding: 10px; /* Add some padding */
    margin-top: 5px;
    margin-bottom: 8px;
    border: 1px solid #ccc; /* Border properties */
    border-radius: 5px; /* Rounded corners */
    background-color: #fff; /* Background color */
    cursor: pointer; /* Cursor to pointer to indicate it's clickable */
    width: 200%; /* Set width to 100% */
}
.styled-dropdown:hover {
    border-color: #888; /* Darker border on hover for visual feedback */
}
.styled-dropdown:focus {
    outline: none; /* Remove focus outline */
    border-color: #555; /* More noticeable border when focused */
}
.form-group {
    margin-bottom: 20px;
    display: flexbox;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
}
.form-group input {
    width: 200%; /* Set width to 100% */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Include padding in the width */
}
.btns {
    display: flex;
    justify-content: space-between;
}
.btns input {
    width: 48%;
    padding: 10px; /* Adjusted padding for better button size */
    border-radius: 5px; /* Rounded corners for buttons */
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth transition for background color */
}
.btns input[type="submit"]:hover,
.btns input[type="button"]:hover {
    background-color: #05a305; /* Darker green color on hover */
}
.footer {
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    position: absolute;
    bottom: 0;
    width: 100%;
}
.navbar {
    padding: 15px; /* Increased padding for better spacing */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #ffffff; /* White background for navbar */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Shadow effect for navbar */
    z-index: 1000;
}
.navbar b {
    color: #07ac07; /* Green color for navbar text */
    font-size: 24px; /* Increased font size for navbar text */
    padding-left: 10px; /* Add left padding to move the text to the right */
}

/*Media Query*/

@media (max-width : 780px) and (min-width: 150px){

   .login-container{
        flex-direction: column;
        width: 90%;
        height: auto;
   }

   .image-slideshow{
       order: -1;
       width: 100%;
       height:auto;
       display : block;
       justify-content:center;
       align-items: center;
       padding: 30px 75px;
   }

   .image-slideshow img{
       position: static;
       max-width: 100%;
       height: auto;
       opacity:1;
       object-fit: contain;
   }

   .image-slideshow img.active{
       opacity: 1;
       z-index: 1;

   }

   .login-form{
      width: 100%;
      padding: 20px;
   }

   .form-group input,
   .styled-dropdown,
   .btns input{
       width: 100%;
       box-sizing: border-box;


   }

   .btns{
        flex-direction: column;
        gap: 10px;
   }
}
