.nav-pills .nav-link {
    color: #2c3e50;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-pills .nav-link:hover {
    background-color: rgba(40, 167, 69, 0.1);
    transform: translateY(-2px);
}

.nav-pills .nav-link.active {
    background-color: #28a745;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.faculty-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.faculty-img {
    height: 250px;
    object-fit: contain;
    border-bottom: 3px solid #28a745;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.text-success {
    color: #28a745 !important;
    font-weight: 500;
}

.btn-outline-success {
    border-width: 2px;
    padding: 10px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.btn-outline-success:hover {
    background-color: #28a745;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.2);
}

/* CTA Section */
.bg-success {
    background: linear-gradient(45deg, #006919, #11b684) !important;
}

/* Department Header */
.department-header {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
}

.department-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #28a745;
    border-radius: 3px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faculty-card {
    animation: fadeInUp 0.6s ease backwards;
}

.faculty-card:nth-child(2) {
    animation-delay: 0.2s;
}

.faculty-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .nav-pills .nav-link {
        margin: 0.25rem;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .faculty-img {
        height: 200px;
    }

    .card-body {
        padding: 1rem;
    }
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.bg-light-green {
    background-color: #e8f5e9;
}

.bg-success-light {
    background-color: rgba(40, 167, 69, 0.1);
}

.hover-card {
    transition: transform 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
}

.hover-card:hover .icon-circle {
    transform: scale(1.1);
}

.icon-circle i {
    font-size: 20px;
}

.card {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.icon-circle i {
    font-size: 24px;
}

.resource-list li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #495057;
}

.resource-list i {
    margin-right: 12px;
    font-size: 1.1rem;
}

/* Join Faculty CTA Styles */
.join-faculty-cta {
    background-color: #f8f9fa;
}

.cta-wrapper {
    background: linear-gradient(45deg, #016618, #003827);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.2);
}

.z-index-1 {
    z-index: 1;
}

.cta-features i {
    color: #fff;
    font-size: 1.25rem;
}

.cta-buttons .btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cta-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.shape-dots {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 20px 20px;
    bottom: -100px;
    left: -100px;
    opacity: 0.5;
}

@media (max-width: 991.98px) {
    .cta-wrapper {
        text-align: center;
    }
    
    .cta-features .row {
        justify-content: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .cta-buttons .btn {
        margin: 0.5rem;
    }
}

/* Faculty Message Section Styles */
.faculty-message {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.message-wrapper {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.section-header {
    position: relative;
}

.message-divider {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.divider-line {
    height: 2px;
    width: 40px;
    background-color: #28a745;
    display: inline-block;
}

.message-divider i {
    font-size: 1.25rem;
    color: #28a745;
}

.message-content {
    color: #495057;
}

.message-content .lead {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.8;
}

.message-content p {
    line-height: 1.7;
}

.message-stats {
    border-top: 1px solid #e9ecef;
    padding-top: 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 600;
}

.stat-item p {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.message-image-wrapper {
    position: relative;
    padding: 1rem;
}

.message-image-wrapper img {
    position: relative;
    z-index: 2;
    border-radius: 15px;
}

.image-shape-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.image-shape-2 {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background-color: rgba(40, 167, 69, 0.15);
    border-radius: 50%;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .message-wrapper {
        text-align: center;
    }
    
    .message-divider {
        justify-content: center;
    }
    
    .message-image-wrapper {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .message-wrapper {
        padding: 1.5rem;
    }
    
    .message-content .lead {
        font-size: 1.1rem;
    }
}

.cta-image img{
    height: 290px;
    object-fit: cover;
    border-radius: 15px;
}