:root {
    --primary-color: #003366;
    --secondary-color: #e67e22;
    --light-color: #f4f4f4;
    --dark-color: #333;
    --success-color: #28a745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Departments Header */
.departments-header {
    background: linear-gradient(rgba(10, 32, 82, 0.9), rgba(10, 32, 82, 0.9)),
                url('depart.jpg') center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.header-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Departments Layout */
.departments-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    padding: 60px 0;
}

/* Department Navigation */

.department-nav {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.nav-title {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
}

.nav-list {
    list-style: none;
    display: block;
}

.nav-item {
    margin-bottom: 12px;
}

.nav-link {
    display: block;
    padding: 12px;
    color: var(--dark);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary);
    color: white;
}

/* Department Content */
.department-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.department-card {
    margin-bottom: 60px;
}

.department-title {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
}

.programs-grid {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.program-card {
    padding: 20px;
    border-left: 4px solid var(--accent);
    background: var(--light);
    border-radius: 8px;
}

.program-level {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
}

.facilities-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--light);
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .departments-container {
        grid-template-columns: 1fr;
        padding: 40px 0;
    }
    .department-nav {
        position: static;
        margin-bottom: 00px;
    }
    .nav-list {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
    }

    .header-title {
        font-size: 2rem;
    }

    .department-content {
        padding: 30px;
    }
}

.contact-infor h3 {
    color: var(--secondary-color);
    margin: 20px 0 10px;
}