/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f9f9f9;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 24px;
    font-weight: bold;
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: center;
    background: #34495e;
    padding: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #f39c12;
}

/* Page Container */
.container {
    width: 80%;
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Home & About Section */
h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #2c3e50;
}

p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Registration Form */
.registration-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50;
}

.form-group input,
.form-group select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.submit-btn {
    background: #34495e;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #2c3e50;
}

/* Faculty Page - Card Layout */
.faculty-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.faculty-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-5px);
}

.faculty-card h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

/* Contact Page */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

/* Footer */
footer {
    text-align: center;
    background: #2c3e50;
    color: white;
    padding: 15px;
    margin-top: 30px;
    font-size: 14px;
}
