
/* ============================
   FACULTY SECTION
   ============================ */
.faculty2-section {
    padding: 80px 0 40px;      /* 🔥 Added top space */
    text-align: center;
}

.faculty2-badge {
    background:#2f54a3;
    padding:8px 20px;
    color:#fff;
    border-radius:25px;
    font-size:13px;
    font-weight:600;
    display:inline-block;
    margin-bottom:10px;
}

/* FACULTY TITLE + SUBTITLE — MATCH EXACT STYLE */
.faculty2-title {
    font-size: 42px;
    font-weight: 800;
    color: #1b2d59;          /* same rich navy blue */
    margin-top: 10px;         /* extra spacing from badge */
    margin-bottom: 10px;
}

.faculty2-subtitle {
    font-size: 16px;
    color: #6c7a99;          /* soft gray-blue */
    max-width: 600px;        /* centered with width limit */
    margin: 0 auto 35px;     /* proper space below */
    line-height: 1.5;
}

/* FACULTY BADGE (BLUE BUTTON STYLE) */
.faculty2-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    background: #2f54a3;
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}




/* ============================
   SWIPER MAIN CONTAINER
   ============================ */
.faculty2-swiper-container {
    padding: 0 60px;
    position: relative;
}

.faculty2-swiper {
    overflow: visible !important;
}

/* ============================
   CARD
   ============================ */
.faculty2-card {
    width: 96%;
    background: #fff;
    border-radius: 22px;
    border: 1px solid #e6e6e6;
    padding: 25px;
    text-align: center;
    box-shadow: none !important;
}

/* IMAGE BOX */
.faculty2-imgbox {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background:#fff;
    border:4px solid #e8edff;
    padding:5px;
    margin:0 auto 25px;    /* 🔥 Extra spacing under image */
    display:flex;
    justify-content:center;
    align-items:center;
}

.faculty2-img {
    width:100%;
    height:100%;
    border-radius:50%;
    object-fit:cover;
}

/* TEXT */
.faculty2-name { font-size:18px; font-weight:700; margin-bottom:5px; }
.faculty2-role { font-size:15px; font-weight:600; color:#2f54a3; }
.faculty2-edu { font-size:14px; color:#777; margin-bottom:10px; }
.faculty2-tags { font-size:14px; color:#444; font-style:italic; margin-bottom:15px; }

/* BUTTON */
.faculty2-btn {
    width:100%;
    background:#2f54a3;
    color:#fff;
    padding:12px;
    border:none;
    border-radius:12px;
    margin-top:10px;
    cursor:pointer;
}
.faculty2-card:hover {
    border-color: #2f54a3 !important;
    box-shadow: 0 8px 30px rgba(47, 84, 163, 0.20) !important;

}

/* ============================
   NAVIGATION BUTTONS
   ============================ */
.faculty2-nav {
    width:40px;
    height:40px;
    border-radius:50%;
    background:#fff;
    border:2px solid #2f54a3;
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:50;
    cursor:pointer;
    box-shadow:0 4px 10px rgba(0,0,0,0.15);
}

.faculty2-prev { left:10px; }
.faculty2-next { right:10px; }

.faculty2-prev::after { content:"←"; font-size:20px; color:#2f54a3; }
.faculty2-next::after { content:"→"; font-size:20px; color:#2f54a3; }

/* ============================
   RESPONSIVE
   ============================ */

/* TABLET */
@media (max-width: 991px) {
    .faculty2-swiper-container { padding:0 20px; }

    .faculty2-swiper .swiper-slide { width:50% !important; }
    .faculty2-card { width:90% !important; }

    .faculty2-prev { left:5px !important; }
    .faculty2-next { right:5px !important; }
}

/* MOBILE */
@media (max-width: 600px) {

    .faculty2-swiper .swiper-slide { width:90% !important; }

    .faculty2-card { width:95% !important; }

    .faculty2-prev { left:0 !important; }
    .faculty2-next { right:0 !important; }

    .faculty2-nav {
        top:55% !important;   /* Arrow perfect position */
    }
}/* FIX: Completely hide overflow in faculty slider */
.faculty2-swiper-container {
    overflow: hidden !important;
}

.faculty2-swiper {
    overflow: hidden !important;
}

.faculty2-slider .swiper-wrapper {
    overflow: hidden !important;
}
.faculty2-badge i {
    margin-right: 6px;
    font-size: 16px;
}
/* CARD OUTER */
.faculty2-card {
    width: 95%;
    background: #fff;
    border-radius: 22px;
    border: 1px solid #dce6ff;      /* Light blue border */
    padding: 25px 20px;
    text-align: center;
    box-shadow: none !important;
}

/* IMAGE CIRCLE */
.faculty2-imgbox {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 6px solid #2f54a3;      /* Blue circle border */
    margin: 0 auto;
    overflow: hidden;               /* ensures image stays inside */
    display: flex;
    justify-content: center;
    align-items: center;
}

.faculty2-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* EXPERIENCE PILL */
.faculty2-exp {
    margin: 10px auto 15px;
    background: #2f54a3;
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.faculty2-exp i {
    font-size: 14px;
}

/* Name */
.faculty2-name {
    font-size: 22px;
    font-weight: 700;
    color: #1b2d59;
    margin-bottom: 8px;
}

/* Role */
.faculty2-role {
    font-size: 16px;
    font-weight: 600;
    color: #2f54a3;
    margin-bottom: 8px;
}

/* Education */
.faculty2-edu {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

/* TAGS */
.faculty2-tags {
    display: inline-block;
    padding: 8px 18px;
    background: #f2f6ff;
    border-radius: 30px;
    font-size: 14px;
    color: #2f54a3;
    font-weight: 500;
    margin-bottom: 20px;
}

/* BUTTON */
.faculty2-btn {
    width: 100%;
    background: #2f54a3;
    color: #fff;
    padding: 12px;
    border:none;
    border-radius:12px;
    font-size:16px;
    font-weight:600;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
}

.faculty2-btn i {
    font-size: 18px;
}
/* ======================================================
   🔵 TABLETS (max-width: 991px)
====================================================== */
@media (max-width: 991px) {

    .faculty2-section {
        padding: 60px 0 30px;
        text-align: center;
    }

    .faculty2-title {
        font-size: 34px;
        line-height: 1.2;
    }

    .faculty2-subtitle {
        font-size: 15px;
        max-width: 520px;
        margin: 0 auto 25px;
    }

    /* Make slider similar to student slider */
    .faculty2-swiper-container {
        padding: 0 20px !important;
        overflow: hidden !important;
    }

    .faculty2-swiper .swiper-slide {
        width: 55% !important;
    }

    .faculty2-card {
        width: 90% !important;
        padding: 24px 18px;
    }

    .faculty2-prev {
        left: 8px !important;
    }

    .faculty2-next {
        right: 8px !important;
    }
}


/* ======================================================
   🔵 MOBILE (max-width: 768px)
====================================================== */
@media (max-width: 768px) {

    /* Make headings behave like student section */
    .faculty2-title,
    .faculty2-subtitle {
        text-align: center !important;
    }

    .faculty2-title {
        font-size: 28px;
    }

    .faculty2-subtitle {
        font-size: 14px;
        max-width: 90%;
        margin: 0 auto 25px;
    }

    /* Card same as student card width */
    .faculty2-swiper .swiper-slide {
        width: 85% !important;
    }

    .faculty2-card {
        width: 92% !important;
        border-radius: 20px;
        padding: 22px 18px;
    }

    .faculty2-imgbox {
        width: 130px;
        height: 130px;
    }

    .faculty2-name {
        font-size: 19px;
    }

    .faculty2-role {
        font-size: 15px;
    }

    /* Match student slider arrow behavior */
    .faculty2-nav {
        width: 36px;
        height: 36px;
        top: 56% !important;
    }
}


/* ======================================================
   🔵 SMALL MOBILE (max-width: 576px)
====================================================== */
@media (max-width: 576px) {

    .faculty2-title {
        font-size: 25px;
    }

    .faculty2-subtitle {
        font-size: 13px;
    }

    .faculty2-swiper-container {
        padding: 0 10px !important;
    }

    /* Just like student section */
    .faculty2-swiper .swiper-slide {
        width: 95% !important;
    }

    .faculty2-card {
        width: 100% !important;
        padding: 20px 15px;
    }

    .faculty2-imgbox {
        width: 115px;
        height: 115px;
    }

    .faculty2-prev { left: -2px !important; }
    .faculty2-next { right: -2px !important; }
}


/* ======================================================
   🔵 VERY SMALL MOBILE (max-width: 420px)
====================================================== */
@media (max-width: 420px) {

    .faculty2-title {
        font-size: 23px;
        line-height: 1.3;
    }

    .faculty2-subtitle {
        font-size: 12.4px;
    }

    .faculty2-card {
        padding: 18px 12px;
    }

    .faculty2-imgbox {
        width: 105px;
        height: 105px;
    }

    .faculty2-name { font-size: 17px; }
}


/* ======================================================
   🔵 SUPER SMALL (max-width: 360px)
====================================================== */
@media (max-width: 360px) {

    .faculty2-title { font-size: 21px; }
    .faculty2-subtitle { font-size: 12px; }

    .faculty2-imgbox {
        width: 95px;
        height: 95px;
    }

    .faculty2-name { font-size: 16px; }

    .faculty2-card {
        padding: 16px 10px;
    }

    .faculty2-btn {
        font-size: 14px;
        padding: 10px;
    }
}
/* ================================================
   📱 TRUE ONE-CARD SLIDER ON MOBILE (FINAL FIX)
================================================= */
@media (max-width: 768px) {

    /* Remove side padding so card fits full width */
    .faculty2-swiper-container {
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Slide must be 100% width */
    .faculty2-swiper .swiper-slide {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    /* Card full width + centered */
    .faculty2-card {
        width: 100% !important;
        max-width: 360px !important;   /* perfect on mobile */
        margin: 0 auto !important;
    }

    /* Image resize */
    .faculty2-imgbox {
        width: 120px;
        height: 120px;
    }

    /* Center arrows */
    .faculty2-nav {
        top: 55% !important;
        width: 34px;
        height: 34px;
    }

    .faculty2-prev { left: -8px !important; }
    .faculty2-next { right: -8px !important; }
}

/* Small mobiles */
@media (max-width: 480px) {

    .faculty2-card {
        max-width: 320px !important;
    }

    .faculty2-nav {
        width: 32px;
        height: 32px;
        top: 58% !important;
    }

    .faculty2-prev { left: -6px !important; }
    .faculty2-next { right: -6px !important; }
}

/* Extra small devices */
@media (max-width: 360px) {

    .faculty2-card {
        max-width: 290px !important;
    }

    .faculty2-prev { left: -4px !important; }
    .faculty2-next { right: -4px !important; }
}
