/* Departments Section CSS - departments.css */

.departments-section {
    padding: 50px 20px;
    background: #ffffff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #2980b9;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2980b9;
    border-radius: 2px;
}

/* Departments List */
.departments-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.department-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.department-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.department-item:last-child {
    border-bottom: none;
}

.department-item i {
    font-size: 18px;
    color: #2980b9;
    margin-top: 2px;
    flex-shrink: 0;
}

.dept-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    display: block;
    margin-bottom: 4px;
}

.dept-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #666;
    line-height: 1.4;
    display: block;
}

.department-item .dept-name,
.department-item .dept-desc {
    flex: 1;
}

.department-item .dept-name {
    margin-bottom: 4px;
}

/* Tablet View */
@media (max-width: 992px) {
    .department-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }
    
    .department-item {
        gap: 12px;
        padding: 12px 0;
    }
    
    .dept-name {
        font-size: 0.95rem;
    }
    
    .dept-desc {
        font-size: 0.8rem;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .departments-section {
        padding: 40px 15px;
    }
    
    .department-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .department-item {
        gap: 12px;
        padding: 15px 10px;
        border-bottom: 1px solid #e5e5e5;
        background: #ffffff;
        margin-bottom: 2px;
        border-radius: 6px;
    }
    
    .department-item:last-child {
        border-bottom: 1px solid #e5e5e5;
    }
    
    .department-item i {
        font-size: 18px;
        background: #2980b9;
        color: #ffffff;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0;
    }
    
    .dept-name {
        font-size: 0.95rem;
        margin-bottom: 3px;
    }
    
    .dept-desc {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .departments-section {
        padding: 30px 10px;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }
    
    .departments-list {
        gap: 15px;
    }
    
    .department-item {
        padding: 12px 8px;
        gap: 10px;
    }
    
    .department-item i {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .dept-name {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }
    
    .dept-desc {
        font-size: 0.75rem;
        line-height: 1.2;
    }
}