/* Global Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Container */
.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

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

/* Header Styles */
header {
    background: linear-gradient(90deg, #003366, #336699); /* Gradient from dark blue to lighter blue */
    color: #fff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #77B5FE 3px solid;
    animation: backgroundMove 10s ease infinite;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header ul {
    padding: 0;
    list-style: none;
}

header ul li {
    display: inline;
    padding: 0 20px;
}

/* Main Content Styles */
main {
    padding: 20px 0;
}

.announcements {
    display: flex;
    justify-content: space-between;
}

.announcements article {
    background: #fff;
    padding: 20px;
    margin: 10px;
    flex-basis: 30%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.announcements article h3 {
    margin-top: 0;
}
/*About */
#about , #home, #contant{
    text-align: center;
    padding: 50px 0;
    margin: 50px 0;
}

/* Login Section Styles */
#login {
    text-align: center;
    padding: 50px 0;
    margin: 50px 0; /* Space around the section */
}

#login .login-buttons {
    margin-top: 20px;
}

#login .btn {
    display: inline-block;
    text-decoration: none;
    background: #3c74b4;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 10px;
}

/* Footer Styles */
footer {
    background: linear-gradient(90deg, #003366, #336699); /* Same gradient as header */
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    animation: backgroundMove 10s ease infinite;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Content Styles */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    animation: fadeIn 1.5s ease-in-out;
}

.header-content h1 {
    font-size: 2.5em;
    color: #fff;
}

.welcome-image {
    width: 250px; /* Increased width from 150px to 250px */
    height: auto; /* Maintain aspect ratio */
    border-radius: 50%; /* Keep the image circular */
    margin-right: 20px;
}

/* For smaller screens */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .welcome-image {
        margin-bottom: 20px;
    }
}

/*Theis student and faculty image*/
.image-container {
    display: flex;
    justify-content: center; /* Center the images horizontally */
    gap: 30px; /* Space between images */
}

.image-container img {
    width: 300px; /* Set a fixed width for smaller images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional shadow */
}
