/* Department Section Styles - Tailored for Spiritual Wellness Theme */
.department_section {
    padding: 80px 0;
    background: linear-gradient(135deg, #E8F0EE 0%, #D4E4DD 50%, #B8D4C7 100%);
    position: relative;
    overflow: hidden;
}

.department_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    opacity: 0.3;
}

.department_section .heading_container h2 {
    color: #2d3a3c;
    font-family: 'Georgia', serif;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.department_section .heading_container p {
    color: #3E4E50;
    font-family: 'Georgia', serif;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.pp-UFF9L29LFXTL6 {
    text-align: center;
    border: none;
    border-radius: 0.25rem;
    min-width: 11.625rem;
    padding: 0 2rem;
    height: 2.625rem;
    font-weight: bold;
    background: linear-gradient(135deg, #4a65a0 0%, #6b82c4 100%);
    color: #ffffff;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.25rem;
    cursor: pointer;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(74, 101, 160, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.pp-UFF9L29LFXTL6:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 101, 160, 0.4);
}

.box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 30px 20px;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(184, 212, 199, 0.3);
    position: relative;
    overflow: hidden;
}

.box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a65a0, #6b82c4, #8fa3d1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.box:hover::before {
    opacity: 1;
}

.img-box {
    margin-bottom: 20px;
    position: relative;
}

.img-box img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.box:hover .img-box img {
    transform: scale(1.1);
}

.detail-box h5 {
    color: #111149;
    font-family: 'Georgia', serif;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-box p {
    color: #3E4E50;
    font-family: 'Georgia', serif;
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .department_section {
        padding: 60px 0;
    }

    .box {
        padding: 20px 15px;
        margin: 15px 0;
    }

    .img-box img {
        width: 60px;
        height: 60px;
    }

    .department_section .heading_container p {
        font-size: 16px;
    }
}