/* ===============================
   Faculty Section Container
================================= */
.wsbf-faculty {
    padding: 160px 0;
    background-color: #080808;
    /* Deep black background for contrast */
    font-family: "din-2014", sans-serif;
}

.faculty-title {
    font-weight: 800 !important;
    font-size: clamp(32px, 5vw, 48px);
    text-align: center;
    margin-bottom: 60px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.faculty-title span {
    color: #0073ba;
    display: block;
    font-size: 16px;
    letter-spacing: 5px;
    margin-top: 10px;
}


/* ===============================
   Modern Profile Card (Glassmorphism)
================================= */
.profile-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin: 15px 0;

    /* Base deep obsidian blue */
    background-color: #01111d;

    /* Layered Abstract Gradients */
    background-image:
        radial-gradient(circle at 15% 15%, rgba(2, 51, 79, 0.7) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(2, 51, 79, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 115, 186, 0.15) 0%, transparent 60%),
        /* Dynamic Wave Effect */
        linear-gradient(135deg, rgba(2, 51, 79, 0.2) 0%, transparent 50%, rgba(2, 51, 79, 0.1) 100%);

    background-attachment: fixed;

    position: relative;
    overflow: hidden;

    border: 1px solid rgba(8, 58, 108, 0.1);
    border-radius: 24px;

    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    transform: none;
    border-color: #0073ba;
    /* background: rgba(255, 255, 255, 0.07); */
    box-shadow: 0 20px 40px rgba(38, 151, 212, 0.15);
}

/* Hover Shine Effect */
.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    transition: 0.5s;
}

.profile-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #0073ba;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 20px 40px rgba(0, 183, 172, 0.15);
}

.profile-card:hover::before {
    left: 100%;
}

/* ===============================
   Profile Image & Ring Animation
================================= */
.profile-img-wrapper {
    position: relative;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-img {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    filter: grayscale(20%);
    transition: 0.4s ease;
    border: 2px solid #ffffff;
}

/* Gradient Ring */
.profile-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(45deg, #034ea1, #0073ba);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: 0.4s;
}

.profile-card:hover .profile-img {
    filter: grayscale(0%);
    /* transform: rotate(5deg); */
}

.profile-card:hover .profile-img-wrapper::after {
    opacity: 1;
    transform: scale(1.1);
}

/* ===============================
   Profile Info Typography
================================= */
.profile-info {
    flex: 1;
    z-index: 2;
}

.profile-name {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    transition: 0.3s;
}

.profile-card:hover .profile-name {
    color: #0073ba;
}

.profile-country {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-country i {
    color: #ffffff;
    font-size: 14px;
}

/* ===============================
   Responsive Adjustments
================================= */
@media (max-width: 991px) {
    .profile-card {
        padding: 15px;
    }

    .profile-img {
        width: 70px;
        height: 70px;
        min-width: 70px;
    }
}

@media (max-width: 767px) {
    .wsbf-faculty {
        padding: 60px 15px;
    }

    .profile-card {
        gap: 15px;
        border-radius: 18px;
    }

    .profile-name {
        font-size: 16px;
    }
}

/* Entrance Animation (Optional) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-card {
    animation: fadeInUp 0.6s ease backwards;
}

/* Staggered load effect (if you have many cards) */
.profile-card:nth-child(1) {
    animation-delay: 0.1s;
}

.profile-card:nth-child(2) {
    animation-delay: 0.2s;
}

.profile-card:nth-child(3) {
    animation-delay: 0.3s;
}
.badge span{
    margin-right: 5px !important;
}
.badge{
    padding-left: 0;
}