/* After Slider Intro CSS */

.sectwbg {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffeefb90;
    padding: 30px;
    border-radius: 7px;
}

.sectwbg div {
    text-align: center;
}

.sectwbg div img {
    margin-bottom: 20px;
    width: 100%;
    max-width: 70px;
    height: 70px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

.sectwbg div:hover img{
    transform: scale(1.2);
}

/* Why Choose Us */

.flwcu {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.card {
    width: 270px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 50px 30px;
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #ffeefb; /* indigo-600 */
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: scaleX(1.5);
    transform-origin: bottom;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
}

.card:hover::after {
    height: 50%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icon-wrap {
    display: block;
    margin: auto;
    width: 100%;
    max-width: 70px;
    background: #ffeefb90;
    padding: 10px;
    border-radius: 50px;
}

.wcu_card h5 {
    margin-top: 20px;
}

.wcu_card p {
    margin-top: 10px;
}


/* Our Faculty CSS */

.facility-section {
    padding: 100px 50px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)), 
                url('/assets/img/gallery/about.jpg') no-repeat center;
    background-size: cover;
    color: #fff;
}

.facility-section h2 {
    text-align: center;
    color: #fff;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.stat {
    background: #fff;
    color: #333;
    padding: 15px;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    text-align: center;
}

.stat span {
    font-size: 2rem;
    color: #A02883;
}

.facility-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 1);
    color: #333;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    height: 250px;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.icon_stats {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    
    .sectwbg {
        flex-direction: column;
        width: 100%;
        margin: 0 10px;
    }
    
    .stats {
        flex-direction: column;
        align-items: center;
    }

    .facility-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        margin-bottom: 10px;
    }
    
    .flwcu {
        flex-direction: column;
    }
}
