/* Global Styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-y: scroll; 
    scrollbar-width: none;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2); /* Soft gradient */
    color: #333;
}

/* Header */
header {
    background: #2c3e50; /* Darker shade for contrast */
    color: #ecf0f1;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Softer shadow */
}

header h1 {
    display: flex;
    justify-content: center; /* Horizontally center the content */
    align-items: center; /* Vertically center the content */
    background: #2c3e50; /* Darker shade for contrast */
    color: #ecf0f1;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Softer shadow */
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: space-between; /* Space items evenly */
    align-items: center; /* Center logo and links vertically */
    background: #34495e;
    padding: 0 20px; /* Adds space to avoid edge overflow */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    gap: 15px;
    flex-grow: 1; /* Allows this section to take up remaining space */
    justify-content: center; /* Centers items within this section */
}

.auth-links {
    display: flex;
    gap: 10px;
}

/* Logo and Brand Name Alignment */
nav .logo {
    display: flex;
    align-items: center;
    color: #ecf0f1;
    text-decoration: none;
}

/* Logo Image */
nav .logo img {
    border-radius: 50%; /* Circular logo */
    width: 50px; /* Adjusted size */
    height: 50px; /* Adjusted size */
    margin-right: 10px; /* Space between logo and text */
}

nav .logo:hover {
    transform: none; /* Reset transform on hover */
    background: none;
}

nav .logo .logo-text {
    font-size: 1.5em;
    font-style: italic;
    color: #ecf0f1;
}

.nav-links a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 10px 15px;
    margin: 0 10px;
    border-radius: 30px;
    transition: all 0.4s ease;
}

/* Navigation Links */
nav a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 30px;
    transition: all 0.2s ease;
}

/* Hover Effect for Links */
nav a:hover {
    background: #1abc9c;
    color: #fff;
    transform: translateY(-2px); /* Gentle lift effect */
}

/* Active Tab Styling */
nav a.active, .labs a.active {
    background: #ffffff;
    color: #2c3e50;
    font-weight: bold;
    border: 2px solid #16a085;
    box-shadow: 0 4px 15px rgba(26, 188, 156, 0.3); /* Soft shadow */
    cursor: pointer;
    transform: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Center align items for smaller screens */
    nav {
        flex-direction: column;
        align-items: center;
    }

    nav .logo {
        margin: 10px 0;
    }

    nav a {
        margin: 5px 0;
        padding: 8px 12px;
    }
    .nav-links, .auth-links {
        flex-direction: column;
        margin: 10px 0;
    }
}

/* Additional Styles for Signup and Login Links */

/* Auth Links (Signup and Login) */
.auth-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Login Button Style */
.auth-links .login-btn {
    color: #ecf0f1;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.auth-links .login-btn:hover {
    background: #1abc9c;
    color: #fff;
}

/* Signup Button Style */
.auth-links .signup-btn {
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.auth-links .signup-btn:hover {
    background: #1abc9c;
    color: #fff;
}

/* Responsive Adjustments for Auth Links */
@media (max-width: 768px) {
    .auth-links {
        flex-direction: column;
        gap: 5px;
    }

    .auth-links .signup-btn, .auth-links .login-btn {
        width: 100%;
        text-align: center;
    }
}

/* Main Content Container */
.container {
    width: 70%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 30px;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); /* Softer shadow */
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container:hover {
    transform: translateY(-5px); /* Gentle lift on hover */
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2); /* Stronger shadow */
}

/* Labs Section */
.labs {
    margin: 40px 0;
    text-align: center;
}

.labs h2 {
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: 600;
    color: #2c3e50;
}

/* Lab Tabs */
.labs ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.labs li {
    background: #16a085;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.labs li:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.labs a {
    padding: 15px 25px;
    color: #ffffff;
    text-decoration: none;
    display: block;
    text-align: center;
    border-radius: 30px; /* Consistent rounded shape */
}

/* Footer */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 20px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    nav a {
        padding: 10px 15px;
        margin: 0 5px;
    }

    .container {
        width: 95%;
        padding: 20px;
    }

    .labs ul {
        flex-direction: column;
        gap: 10px; /* Reduce space between items */
    }
}
/* Lab Page Specific Styles */
body.lab-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Full viewport height */
}

.container.lab-content {
    flex: 1; /* Take up remaining space */
}
.container.lab-content h1 {
    display: flex;
    justify-content: center;
}

footer.lab-footer {
    margin-top: auto; /* Push footer to the bottom */
}
/* Home Page Specific Styles */
.hero {
    text-align: center;
    margin: 40px 0;
}

.hero h1 {
    font-size: 2.5em;
    color: #2c3e50;
}

.hero p {
    font-size: 1.2em;
    margin: 20px 0;
}

.hero .btn {
    background: #16a085; /* Match the Labs tab color */
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.hero .btn:hover {
    background: #1abc9c; /* Slightly lighter on hover */
}

.features {
    margin: 40px 0;
}

.feature-grid {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.feature-item {
    background: #f5f7fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 30%; /* Adjust based on your layout */
    text-align: center;
}

.cta {
    text-align: center;
    margin: 40px 0;
}
/* Styles for Login Form */
.login-container {
    width: 100%;
    max-width: 400px; /* Limit max-width for better responsiveness */
    margin: 50px auto; /* Centering the login form */
    padding: 40px; /* Adjusted padding for better spacing */
    background-color: #fff; /* White background to contrast the gradient */
    border-radius: 15px; /* Rounded corners to match the container style */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); /* Soft shadow consistent with container */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hover effect */
}

.login-container:hover {
    transform: translateY(-5px); /* Lift on hover to match container */
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

.login-container h2 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 1em;
    color: #34495e;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px; /* Slightly rounded input fields */
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input:focus {
    border-color: #16a085;
    outline: none;
    box-shadow: 0 0 5px rgba(22, 160, 133, 0.5); /* Focus shadow effect */
}

.btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #16a085;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #1abc9c;
    transform: translateY(-2px); /* Lift effect on hover */
}

.links {
    margin-top: 15px;
}

.links a {
    color: #16a085;
    text-decoration: none;
    transition: color 0.3s ease;
}

.links a:hover {
    color: #1abc9c;
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
    .login-container {
        width: 90%;
    }
}
/* Home Page Specific Styles */
.hero {
    text-align: center;
    margin: 40px 0;
}

.hero h1 {
    font-size: 2.5em;
    color: #2c3e50;
}

.hero p {
    font-size: 1.2em;
    margin: 20px 0;
}

/* Adjusted button styles */
.hero .btn {
    max-width: 200px; /* Limit the max width */
    background: #16a085; /* Match the Labs tab color */
    color: white;
    padding: 10px 20px; /* Adjusted padding */
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease;
    display: inline-block; /* Allow for width control */
}

/* Button Styles */
.hero .btn, .cta .btn {
    background: #16a085; /* Match the Labs tab color */
    color: white;
    padding: 10px 20px; /* Reduced padding */
    border-radius: 30px; /* Rounded corners */
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 1em; /* Adjust font size */
    max-width: 250px; /* Limit the button width */
    margin: 10px auto; /* Center the buttons with auto margins */
    display: inline-block; /* Make the button inline-block for centering */
}

.hero .btn:hover, .cta .btn:hover {
    background: #1abc9c; /* Slightly lighter on hover */
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }

    .hero .btn {
        width: 90%; /* Full width for smaller screens */
    }

    .features {
        flex-direction: column; /* Stack features on smaller screens */
    }

    .feature-item {
        width: 90%; /* Make feature items responsive */
        margin: 10px auto; /* Center items */
    }
}
