* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', sans-serif;
    background: #eaf0f6;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background: linear-gradient(to right, #6ea8fe, #4d94ff);
    color: white;
    text-align: center;
    padding: 25px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin-bottom: 10px;
    font-size: 28px;
}

/* Navigation */
nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

nav button {
    background-color: white;
    color: #4d94ff;
    border: 2px solid #4d94ff;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

nav button:hover {
    background-color: #4d94ff;
    color: white;
}


section {
    display: none;
    background: white;
    padding: 30px;
    margin: 30px auto;
    max-width: 800px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

section.active {
    display: block;
}

/* Inputs and buttons */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0 20px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #4d94ff;
    outline: none;
}

button.submit,
section button {
    width: 100%;
    background: linear-gradient(to right, #4d94ff, #6ea8fe);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.3s ease;
}

button.submit:hover,
section button:hover {
    background: linear-gradient(to right, #357ae8, #5a9bff);
}

/* Faculty cards */
.faculty-card {
    background: #f9fbff;
    border: 1px solid #d6e2f0;
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
    box-shadow: 0 2px 6px rgba(100, 140, 255, 0.08);
}

.faculty-card strong {
    display: block;
    margin-top: 8px;
}

.faculty-card button {
    background-color: #4d94ff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 10px;
    margin-right: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faculty-card button:hover {
    background-color: #336dcc;
}

/* Headings */
h2 {
    color: #4d94ff;
    font-size: 24px;
    margin-bottom: 20px;
}

h3 {
    margin-top: 30px;
    font-size: 18px;
    color: #333;
}

/* Responsive */
@media (max-width: 600px) {
    nav button {
        width: 100%;
    }

    section {
        padding: 20px;
        margin: 20px 10px;
    }
}

/* Footer Styles */
footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 150px;
    font-size: 14px;
}

.footer-container {
    max-width: 800px;
    margin: auto;
}

.footer-nav {
    margin-top: 10px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #66b3ff;
}

footer a {
    color: #66b3ff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}



#materials a {
    color: #004080;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

#materials a:hover {
    text-decoration: underline;
    color: #0077cc;
}
