  @import url("style.css");

/* ==========================
   FACULTY SECTION
========================== */

.faculty-section{
    padding:60px 0;
}

.section-title{
    /* font-size:44px; */
    font-weight:700;
    margin-top:15px;
}

.section-purple-title{
    color: var(--primary);
}

/* ==========================
   FACULTY CARD
========================== */

.faculty-app-card{
    background:#fff;

    border-radius:12px;

    overflow:hidden;

    border:1px solid rgba(118,16,205,.08);

    box-shadow:0 15px 40px rgba(0,0,0,.05);

    transition:.35s ease;

    height:100%;
}

.faculty-app-card:hover{
    transform:translateY(-8px);

    box-shadow:
    0 20px 45px rgba(118,16,205,.12);
}

/* IMAGE */

.faculty-app-image{
    padding:12px 12px 0;
}

.faculty-app-image img{
    width:100%;
    height:290px;

    object-fit:cover;

    border-radius:12px;
}

/* CONTENT */

.faculty-app-content{
    padding:18px;
}

.faculty-app-content h4{
    font-size:1.25rem;
    font-weight:700;

    margin-bottom:4px;

    color:#111;
}

.designation{
    display:block;

    color:var(--primary);

    font-size:1rem;

    font-weight:600;

    margin-bottom:10px;
}

.qualification{
    color:#444;

    font-size:.95rem;

    margin-bottom:4px;
}

.specialization{
    color:#666;

    font-size:.82rem;

    line-height:1.6;

    min-height:40px;

    margin-bottom:16px;
}

/* BUTTON */

.faculty-btn{
    width:100%;

    border:none;

    border-radius:50px;

    padding:12px 16px;

    background:var(--gradient-main);

    color:#fff;

    font-size:.9rem;

    font-weight:600;

    cursor:pointer;

    transition:.3s;
}

.faculty-btn:hover{
    transform:translateY(-2px);
}

/* ==========================
   MODAL
========================== */

.faculty-modal{
    border:none;

    border-radius:24px;

    overflow:hidden;
}

.faculty-modal .modal-header{
    background:var(--gradient-main);

    border:none;

    padding:18px 24px;
}

.faculty-modal h5{
    color:#fff;

    margin:0;

    font-size:1.1rem;

    font-weight:700;
}

.faculty-modal .btn-close{
    filter:brightness(0) invert(1);
}

.faculty-modal .modal-body{
    padding:25px;
}

/* MODAL IMAGE */

.faculty-modal-image{
    text-align:center;

    margin-bottom:18px;
}

.faculty-modal-image img{
    width:130px;
    height:130px;

    border-radius:50%;

    object-fit:cover;

    border:4px solid #f3edff;
}

/* BASIC INFO */

.faculty-basic-info{
    text-align:center;

    margin-bottom:20px;
}

.faculty-basic-info h4{
    font-size:1rem;

    color:var(--primary);

    font-weight:700;

    margin-bottom:5px;
}

.faculty-basic-info p{
    margin-bottom:5px;

    color:#444;
}

.faculty-basic-info small{
    color:#777;

    display:block;
}

/* DETAILS */

.faculty-detail-row{
    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:15px;

    padding:12px 0;

    border-bottom:1px solid #eee;
}

.faculty-detail-row:last-child{
    border-bottom:none;
}

.faculty-detail-row span{
    color:#555;

    font-size:.9rem;
}

.faculty-detail-row strong{
    color:var(--primary);

    font-size:.9rem;

    font-weight:700;
}

/* ==========================
   HOVER EFFECT
========================== */

.faculty-app-card::before{
    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:4px;

    background:var(--gradient-main);

    transform:scaleX(0);

    transform-origin:left;

    transition:.35s ease;
}

.faculty-app-card{
    position:relative;
}

.faculty-app-card:hover::before{
    transform:scaleX(1);
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:991px){

    .faculty-app-image img{
        height:260px;
    }

    .faculty-app-content h4{
        font-size:1.15rem;
    }
}

@media(max-width:767px){

    .faculty-section{
        padding:40px 0;
    }

    .section-title{
        font-size:1.8rem;
    }

    .faculty-app-image img{
        height:240px;
    }

    .faculty-app-content{
        padding:15px;
    }

    .faculty-app-content h4{
        font-size:1rem;
    }

    .designation{
        font-size:.8rem;
    }

    .qualification{
        font-size:.85rem;
    }

    .specialization{
        font-size:.75rem;
        min-height:auto;
    }

    .faculty-btn{
        font-size:.82rem;
        padding:11px;
    }

    .faculty-detail-row{
        padding:10px 0;
    }

    .faculty-detail-row span,
    .faculty-detail-row strong{
        font-size:.82rem;
    }
}
