body {
    margin: 0;
    padding: 0;
    background-image: url('../images/lab-background-v2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* 80% opacity for a darker overlay */
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.logo {
    width: 90%;
    max-width: 450px;
    margin-bottom: -100px;
    margin-top: 450px; /* Added to move the logo upward */
}

.social-links {
    display: flex;
    gap: 30px; /* Increased from 20px to 30px for wider spacing */
}

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

.social-links img {
    width: 50px;
    height: 50px;
}

/* Responsive design for mobile */
@media (max-width: 600px) {
    .container {
        justify-content: flex-end; /* Mobile: Align at the bottom */
        padding-bottom: 20px; /* Mobile: Small offset from the bottom edge */
        margin-top: 0; /* Mobile: Reset any top margin */
    }

    .logo {
        max-width: 300px; /* Mobile: Slightly smaller logo for better fit */
        margin-top: 0; /* Mobile: Override the desktop margin-top */
        margin-bottom: 10px; /* Mobile: Tight gap between logo and icons */
    }

    .social-links {
        flex-direction: row; /* Mobile: Arrange icons side by side */
        gap: 20px; /* Mobile: Adjust gap for horizontal layout */
    }

    .social-links img {
        width: 50px; /* Mobile: Keep icon size consistent */
        height: 50px;
    }

    .social-links a {
        transition: transform 0.3s ease; /* Mobile: Keep the scale transition */
    }

    .social-links a:hover {
        transform: scale(1.1); /* Mobile: Keep the scale effect on hover */
    }


}