body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to top, #f9fbfd, #e2e6ea);
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Prevents scrolling of the body */
}

.index {
    text-align: center;
    background-color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    width: 95%;
    position: absolute;
    left: 50%; /* Center horizontally */
    top: calc(50% - 15px); /* Adjust vertical centering considering navbar and footer */
    transform: translate(-50%, -50%); /* Shift up by half its height and left by half its width */
    max-height: calc(100vh - 90px); /* Adjust for navbar and footer */
    z-index: 1; /* Ensures it's above the base layer */
    overflow: auto; /* Prevents scrolling of the body */
}

.index h1 {
    color: #2a2a2a;
    font-size: 2.5rem;
}

.index h2 {
    color: #2a2a2a;
    font-size: 2rem;
    padding: 5px;
    background: linear-gradient(to right, #c9d6ff, #e2e6ea); /* Lighter and softer gradient */
    border-radius: 5px;
}

.index p {
    color: #666;
    font-size: 1.2rem;
    line-height: 1.6;
}

.image-container {
    display: flex;
    justify-content: center;
    gap: 40px;}

.logo {
    height: 75px; /* Reduced size for logos */
    width: auto;
    transition: transform 0.3s ease-in-out;
}

#seren_logo{
    position: relative;
    top: -15px;
    height: 100px; /* Reduced size for logos */
    width: auto;
    transition: transform 0.3s ease-in-out;
 }

.logo:hover {
    transform: scale(1.1);
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #367c39;
    transform: scale(1.05);
}
