/* Base reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: url('../images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
}

/* Header and footer */
header, footer {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* Content Area */
.content {
    padding: 20px;
    text-align: center;  /* Center the content horizontally */
    margin-left: 270px;   /* Account for sidebar width */
}

.main-content {
    width: 80%;               /* Set the width to 80% for a responsive layout */
    margin: 20px auto;        /* Center the main content container horizontally */
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

/* Table Styling */
.course-table {
    margin: 20px auto;        /* Center the table horizontally */
    border-collapse: collapse;
    width: 80%;               /* Make the table width responsive */
    text-align: center;       /* Center text inside table cells */
}

.course-table th, .course-table td {
    border: 1px solid #ddd;
    padding: 10px;
}

.course-table th {
    background-color: #3498db;
    color: white;
}

.course-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.course-table tr:hover {
    background-color: #ddd;
}

.course-table a {
    text-decoration: none;
    color: #2980b9;
}

.course-table a:hover {
    color: #3498db;
}

footer {
    font-size: 0.9rem;
}
.header-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 600;
}

nav .home-button {
    background-color: #3498db;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    transition: background 0.3s;
    font-weight: 500;
}

nav .home-button:hover {
    background-color: #2980b9;
}

/* Sections */
section {
    background: rgba(255, 255, 255, 0.95);
    margin: 40px auto;
    padding: 50px;
    max-width: 1000px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-in-out;
}

h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

/* Team section */
.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-member {
    background: #fff;
    padding: 20px;
    width: 220px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.team-member h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 10px 0 5px;
}

.team-member p {
    font-size: 0.95rem;
    color: #777;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    section {
        padding: 30px;
    }
    .team-container {
        flex-direction: column;
        align-items: center;
    }
}
