
:root {
    --primary-black: #222222;
    --primary-yellow: #F4EBD3;
    --primary-grey: #317b53;
    --light-grey: #f8f9fa;
    --dark-grey: #333333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header Styles */
.top-bar {
    background-color: #317b53;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
}

.top-bar a:hover {
    color: var(--primary-yellow);
}

/* Navigation */
.navbar {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 60px;
}

.nav-link {
    color: var(--primary-black) !important;
    font-weight: 600;
    padding: 10px 15px !important;
    text-transform: uppercase;
    font-size: 14px;
}

.nav-link:hover, .nav-link:focus {
    color: var(--primary-yellow) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    color: var(--primary-black);
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1585435557343-3b092031a831?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0 60px;
    margin-bottom: 40px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-yellow);
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: white;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--primary-yellow);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: white;
}

/* Department Cards */
.dept-card {
    border: none;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    height: 100%;
}

.dept-card:hover {
    transform: translateY(-10px);
}

.dept-img {
    height: 200px;
    overflow: hidden;
}

.dept-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dept-card:hover .dept-img img {
    transform: scale(1.05);
}

.dept-info {
    padding: 25px;
}

.dept-name {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-black);
    border-bottom: 2px solid var(--primary-yellow);
    padding-bottom: 10px;
}

.dept-head {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.head-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-yellow);
    margin-right: 15px;
}

.head-name {
    font-weight: 700;
    margin-bottom: 5px;
}

.head-title {
    color: var(--primary-grey);
    font-size: 14px;
}

.dept-description {
    color: var(--primary-grey);
    margin-bottom: 20px;
}

.dept-contact a {
    display: block;
    color: var(--primary-black);
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
}

.dept-contact a:hover {
    color: var(--primary-yellow);
}

.dept-contact i {
    width: 20px;
    color: var(--primary-yellow);
    margin-right: 8px;
}

/* Filter Buttons */
.dept-filter {
    margin-bottom: 30px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px 20px;
    margin: 0 5px 10px;
    font-weight: 600;
    color: var(--primary-black);
    position: relative;
}

.filter-btn.active, .filter-btn:hover {
    color: var(--primary-yellow);
}

.filter-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: var(--primary-yellow);
}

/* Services Section */
.services-section {
    background-color: var(--light-grey);
    padding: 60px 0;
}

.section-title {
    color: var(--primary-black);
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-yellow);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.service-item {
    background-color: white;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

.service-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-black);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .dept-filter {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 14px;
    }
}







/* Footer */
.footer {
    background-color: var(--primary-black);
    color: white;
    padding: 60px 0 0;
}

.footer-title {
    color: var(--primary-yellow);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-yellow);
}

.footer-contact-item {
    display: flex;
    margin-bottom: 15px;
}

.footer-contact-icon {
    color: var(--primary-yellow);
    margin-right: 15px;
    width: 20px;
}

.social-icons a {
    color: white;
    background-color: var(--primary-grey);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.social-icons a:hover {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
}

.copyright {
    background-color: var(--dark-grey);
    padding: 20px 0;
    margin-top: 30px;
}