/* Base Styles */
body {
    font-family: 'Georgia', serif;
    background: linear-gradient(to bottom, #65baf7, #5b2d7f);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden; /* Ensure background animation stays in bounds */
}

/* Background Animation */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(2, 119, 189, 0.8); /* Blue with transparency */
    padding: 1em 2em;
    color: #fff;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px); /* Apply blur effect to the navbar */
}

.navbar .brand {
    font-size: 2em;
    font-weight: bold;
    color: #ffffff; /* Light Blue */
}

.navbar .nav-links {
    display: flex;
    list-style: none;
}

.navbar .nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.navbar .nav-links a:hover {
    background-color: #0288d1; /* Darker Blue */
    color: #fff;
    border-radius: 5px;
}

/* Navbar Toggler (Hamburger Menu) */
.navbar .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.navbar .hamburger div {
    height: 4px;
    width: 100%;
    background-color: #fff;
    border-radius: 2px;
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
        flex-direction: column;
        background-color: rgba(2, 119, 189, 0.9); /* Blue with transparency */
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 10px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }

    .navbar .nav-links.active {
        display: flex;
    }

    .navbar .nav-links a {
        text-align: center;
        padding: 12px;
    }

    .navbar .hamburger {
        display: flex;
    }

    .welcome-box {
        max-width: 100%;
        margin: 20px;
        padding: 20px;
        color: #fff;
        background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
        border-radius: 10px;
    }

    h1 {
        font-size: 2em;
    }

    .info p {
        font-size: 1em;
    }
}

/* Additional Styling for Welcome Box */
.welcome-box {
    max-width: 1200px;
    height: auto;
    margin: auto;
    margin-top: 20px ;
    padding: 40px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7); /* Light background for text */
    border-radius: 20px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.welcome-box h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #0277bd;
}

.welcome-box .info {
    margin-top: 20px;
}

.welcome-box .info p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #333;
}

.welcome-box .btn {
    background-color: #0277bd;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 1.1em;
    transition: background-color 0.3s;
}

.welcome-box .btn:hover {
    background-color: #01579b;
}
